# Snapshot report for `lib/parse-config.test.js`

The actual snapshot is saved in `parse-config.test.js.snap`.

Generated by [AVA](https://ava.li).

## custom-metrics

> Snapshot 1

    {
      name: 'solder',
      openapi: 'https://etl-activecampaign.herokuapp.com/openapi.json',
      pricingPlans: [
        {
          amount: 0,
          metrics: [
            {
              amount: 0,
              rateLimit: '100 rows per request',
              slug: 'rows',
            },
          ],
          name: 'Free',
          rateLimit: null,
        },
        {
          amount: 0,
          metrics: [
            {
              amount: 0.2,
              slug: 'rows',
            },
          ],
          name: 'Unlimited',
          rateLimit: null,
        },
      ],
      saas: {
        heading: '**An ETL Tool For The Masses**',
        name: 'solder.sh',
        sections: {
          navFooter: {
            email: 'mailto:noahsahar@gmail.com',
            github: false,
            location: 'Great Neck, NY',
            logo: false,
          },
          navHeader: {
            logo: false,
            support: 'mailto:noahsahar@gmail.com',
          },
        },
        subheading: 'An API that allows you to extract, transfer, and load data from ActiveCampaign to PostgreSQL.',
        theme: {
          buttonStyle: 'rounded',
          codeBlockDark: true,
          color: '#a81016',
          gradientDark: true,
          name: 'waves',
        },
      },
      saasifyVersion: 1,
      services: [],
      version: '0.1.0',
    }

## hello-world

> Snapshot 1

    {
      name: 'hello-world',
      saas: {},
      saasifyVersion: 1,
      services: [
        {
          httpMethod: 'get',
          name: 'helloWorld',
          src: 'functions/hello-world.ts',
        },
      ],
      version: '1.0.0',
    }

## hello-world-http

> Snapshot 1

    {
      backendUrl: 'https://httpbin.org',
      description: 'Most basic possible http deployment without any API validation',
      name: 'hello-world-http',
      saas: {},
      saasifyVersion: 1,
      services: [],
      version: '0.1.0',
    }

## pricing-plans-billing-scheme-tiered

> Snapshot 1

    {
      name: 'hello-world',
      pricingPlans: [
        {
          amount: 0,
          name: 'Free',
          rateLimit: {
            requestsInterval: '1h',
            requestsMaxPerInterval: 25,
          },
          slug: 'free',
        },
        {
          amount: 999,
          name: 'Unlimited',
          requests: {
            billingScheme: 'tiered',
            tiers: [
              {
                unitAmount: 0,
                upTo: '1000',
              },
              {
                unitAmount: 0.04,
                upTo: '10000',
              },
              {
                unitAmount: 0.02,
                upTo: 'inf',
              },
            ],
          },
          slug: 'unlimited',
        },
      ],
      saas: {},
      saasifyVersion: 1,
      services: [
        {
          httpMethod: 'get',
          immutable: true,
          rateLimit: {
            requestsInterval: '1d',
            requestsMaxPerInterval: 1000,
          },
          reportUsage: false,
          src: 'functions/hello-world.ts',
        },
        {
          httpMethod: 'get',
          pricingPlanConfig: {
            free: {
              enabled: true,
              rateLimit: {
                requestsInterval: 3600,
                requestsMaxPerInterval: 5,
              },
            },
            unlimited: {
              reportUsage: false,
            },
          },
          src: 'functions/nala.ts',
        },
      ],
      version: '1.0.0',
    }

## pricing-plans-service-overrides

> Snapshot 1

    {
      name: 'hello-world',
      pricingPlans: [
        {
          amount: 0,
          name: 'Free',
          rateLimit: {
            requestsInterval: '1h',
            requestsMaxPerInterval: 25,
          },
          slug: 'free',
        },
        {
          amount: 99,
          name: 'Unlimited',
          rateLimit: null,
          requests: {
            amount: 0.04,
          },
          slug: 'unlimited',
        },
      ],
      saas: {},
      saasifyVersion: 1,
      services: [
        {
          httpMethod: 'get',
          immutable: true,
          rateLimit: null,
          reportUsage: false,
          src: 'functions/hello-world.ts',
        },
        {
          httpMethod: 'get',
          pricingPlanConfig: {
            free: {
              enabled: false,
            },
            unlimited: {
              reportUsage: false,
            },
          },
          src: 'functions/nala.ts',
        },
      ],
      version: '1.0.0',
    }

## pricing-plans-simple

> Snapshot 1

    {
      name: 'hello-world',
      pricingPlans: [
        {
          amount: 0,
          name: 'Free',
          rateLimit: {
            requestsInterval: '1h',
            requestsMaxPerInterval: 25,
          },
          slug: 'free',
        },
        {
          amount: 99,
          name: 'Unlimited',
          rateLimit: null,
          slug: 'unlimited',
        },
      ],
      saas: {},
      saasifyVersion: 1,
      services: [
        {
          httpMethod: 'get',
          src: 'functions/hello-world.ts',
        },
      ],
      version: '1.0.0',
    }
