From 056bbc7dbc82307dcddfe2202a770e446eb0bc6d Mon Sep 17 00:00:00 2001 From: dcoplowe Date: Wed, 17 Jul 2024 09:30:02 +0100 Subject: [PATCH] New workflows --- .github/workflows/accounting_generate.yaml | 5 + .github/workflows/assess_generate.yaml | 5 + .github/workflows/bank_feeds_generate.yaml | 5 + .github/workflows/banking_generate.yaml | 5 + .github/workflows/commerce_generate.yaml | 5 + .github/workflows/common_generate.yaml | 5 + .github/workflows/files_generate.yaml | 5 + .github/workflows/lending_generate.yaml | 5 + .github/workflows/platform_generate.yaml | 2 +- .github/workflows/platform_release.yaml | 12 +- .../workflows/sync_for_commerce_generate.yaml | 5 + .../sync_for_commerce_version_1_generate.yaml | 5 + .../workflows/sync_for_expenses_generate.yaml | 5 + .../sync_for_expenses_version_1_generate.yaml | 5 + .../workflows/sync_for_payables_generate.yaml | 5 + .../sync_for_payables_version_1_generate.yaml | 5 + .../workflows/sync_for_payroll_generate.yaml | 5 + .speakeasy/workflow.yaml | 330 +++++++++++------- bank-feeds/gen.yaml | 24 +- lending/gen.yaml | 24 +- platform/gen.yaml | 3 +- previous-versions/accounting/gen.yaml | 22 +- previous-versions/assess/gen.yaml | 22 +- previous-versions/banking/gen.yaml | 33 +- previous-versions/commerce/gen.yaml | 33 +- previous-versions/common/gen.yaml | 33 +- previous-versions/files/gen.yaml | 22 +- .../sync-for-commerce-version-1/gen.yaml | 22 +- .../sync-for-expenses-version-1/gen.yaml | 22 +- .../sync-for-payables-version-1/gen.yaml | 24 +- sync-for-commerce/gen.yaml | 24 +- sync-for-expenses/gen.yaml | 22 +- sync-for-payables/gen.yaml | 32 ++ sync-for-payroll/gen.yaml | 24 +- 34 files changed, 634 insertions(+), 171 deletions(-) diff --git a/.github/workflows/accounting_generate.yaml b/.github/workflows/accounting_generate.yaml index de31b5a95..c04108662 100644 --- a/.github/workflows/accounting_generate.yaml +++ b/.github/workflows/accounting_generate.yaml @@ -6,6 +6,9 @@ name: Generate Accounting library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: accounting-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/assess_generate.yaml b/.github/workflows/assess_generate.yaml index 1de1c897d..b645cf162 100644 --- a/.github/workflows/assess_generate.yaml +++ b/.github/workflows/assess_generate.yaml @@ -6,6 +6,9 @@ name: Generate Assess library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: assess-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/bank_feeds_generate.yaml b/.github/workflows/bank_feeds_generate.yaml index a8f531b40..3fd2640e8 100644 --- a/.github/workflows/bank_feeds_generate.yaml +++ b/.github/workflows/bank_feeds_generate.yaml @@ -6,6 +6,9 @@ name: Generate Bank Feeds library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: bank-feeds-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/banking_generate.yaml b/.github/workflows/banking_generate.yaml index 79f39ccb4..c8b4daf1d 100644 --- a/.github/workflows/banking_generate.yaml +++ b/.github/workflows/banking_generate.yaml @@ -6,6 +6,9 @@ name: Generate Banking library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: banking-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/commerce_generate.yaml b/.github/workflows/commerce_generate.yaml index a0fdffe48..2da1eacf3 100644 --- a/.github/workflows/commerce_generate.yaml +++ b/.github/workflows/commerce_generate.yaml @@ -6,6 +6,9 @@ name: Generate Commerce library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: commerce-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/common_generate.yaml b/.github/workflows/common_generate.yaml index 5f77e0281..8c89b8709 100644 --- a/.github/workflows/common_generate.yaml +++ b/.github/workflows/common_generate.yaml @@ -6,6 +6,9 @@ name: Generate Common library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: common-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/files_generate.yaml b/.github/workflows/files_generate.yaml index 0e5f0928f..eb9834d38 100644 --- a/.github/workflows/files_generate.yaml +++ b/.github/workflows/files_generate.yaml @@ -6,6 +6,9 @@ name: Generate Files library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: files-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/lending_generate.yaml b/.github/workflows/lending_generate.yaml index 2d0d7f5b4..9b471fd32 100644 --- a/.github/workflows/lending_generate.yaml +++ b/.github/workflows/lending_generate.yaml @@ -6,6 +6,9 @@ name: Generate Lending library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: lending-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/platform_generate.yaml b/.github/workflows/platform_generate.yaml index 0b0ab5cc8..430b55a9a 100644 --- a/.github/workflows/platform_generate.yaml +++ b/.github/workflows/platform_generate.yaml @@ -14,8 +14,8 @@ jobs: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 with: mode: pr - force: ${{ github.event.inputs.force }} speakeasy_version: latest + force: ${{ github.event.inputs.force }} set_version: ${{ github.event.inputs.set_version }} target: platform-library secrets: diff --git a/.github/workflows/platform_release.yaml b/.github/workflows/platform_release.yaml index 52ce7f007..e3bccd0de 100644 --- a/.github/workflows/platform_release.yaml +++ b/.github/workflows/platform_release.yaml @@ -4,12 +4,12 @@ name: Release Platform library paths: - platform/RELEASES.md branches: - - main + - main jobs: publish: uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15 - secrets: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} - slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} - npm_token: ${{ secrets.NPM_TOKEN }} + secrets: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} + slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_commerce_generate.yaml b/.github/workflows/sync_for_commerce_generate.yaml index bea183563..a69fabb84 100644 --- a/.github/workflows/sync_for_commerce_generate.yaml +++ b/.github/workflows/sync_for_commerce_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Commerce library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-commerce-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_commerce_version_1_generate.yaml b/.github/workflows/sync_for_commerce_version_1_generate.yaml index e6b5ead75..4fa4065e9 100644 --- a/.github/workflows/sync_for_commerce_version_1_generate.yaml +++ b/.github/workflows/sync_for_commerce_version_1_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Commerce version 1 library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-commerce-version-1-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_expenses_generate.yaml b/.github/workflows/sync_for_expenses_generate.yaml index 01c250700..c3c913524 100644 --- a/.github/workflows/sync_for_expenses_generate.yaml +++ b/.github/workflows/sync_for_expenses_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Expenses library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-expenses-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_expenses_version_1_generate.yaml b/.github/workflows/sync_for_expenses_version_1_generate.yaml index 8aa9e2f7b..f59060520 100644 --- a/.github/workflows/sync_for_expenses_version_1_generate.yaml +++ b/.github/workflows/sync_for_expenses_version_1_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Expenses version 1 library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-expenses-version-1-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_payables_generate.yaml b/.github/workflows/sync_for_payables_generate.yaml index 91cdf0efe..06552ce6f 100644 --- a/.github/workflows/sync_for_payables_generate.yaml +++ b/.github/workflows/sync_for_payables_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Payables library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-payables-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_payables_version_1_generate.yaml b/.github/workflows/sync_for_payables_version_1_generate.yaml index 681cb8108..8dad9b4b2 100644 --- a/.github/workflows/sync_for_payables_version_1_generate.yaml +++ b/.github/workflows/sync_for_payables_version_1_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Payables version 1 library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-payables-version-1-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/sync_for_payroll_generate.yaml b/.github/workflows/sync_for_payroll_generate.yaml index 401f1fa01..2f3e72761 100644 --- a/.github/workflows/sync_for_payroll_generate.yaml +++ b/.github/workflows/sync_for_payroll_generate.yaml @@ -6,6 +6,9 @@ name: Generate Sync for Payroll library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 @@ -13,8 +16,10 @@ jobs: mode: pr speakeasy_version: latest force: ${{ github.event.inputs.force }} + set_version: ${{ github.event.inputs.set_version }} target: sync-for-payroll-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 5b31d70af..0f77c45f7 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,121 +1,217 @@ workflowVersion: 1.0.0 speakeasyVersion: latest sources: - accounting-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml - assess-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml - bank-feeds-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml - banking-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml - commerce-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml - common-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml - files-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml - lending-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml - platform-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml - registry: - location: registry.speakeasyapi.dev/codat/codat/platform-source - sync-for-commerce-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml - sync-for-commerce-version-1-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce-v1.yaml - sync-for-expenses-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml - sync-for-expenses-version-1-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses-v1.yaml - sync-for-payables-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables.yaml - sync-for-payables-version-1-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables-v1.yaml - sync-for-payroll-source: - inputs: - - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payroll.yaml + accounting-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml + assess-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml + bank-feeds-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml + banking-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml + commerce-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml + common-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml + files-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Files.yaml + lending-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml + platform-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml + registry: + location: registry.speakeasyapi.dev/codat/codat/platform-source + sync-for-commerce-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml + sync-for-commerce-version-1-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce-v1.yaml + sync-for-expenses-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml + sync-for-expenses-version-1-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses-v1.yaml + sync-for-payables-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables.yaml + sync-for-payables-version-1-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables-v1.yaml + sync-for-payroll-source: + inputs: + - location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payroll.yaml targets: - accounting-library: - target: typescript - source: accounting-source - output: ./previous-versions/accounting - assess-library: - target: typescript - source: assess-source - output: ./previous-versions/assess - bank-feeds-library: - target: typescript - source: bank-feeds-source - output: ./bank-feeds - banking-library: - target: typescript - source: banking-source - output: ./previous-versions/banking - commerce-library: - target: typescript - source: commerce-source - output: ./previous-versions/commerce - common-library: - target: typescript - source: common-source - output: ./previous-versions/common - files-library: - target: typescript - source: files-source - output: ./previous-versions/files - lending-library: - target: typescript - source: lending-source - output: ./lending - platform-library: - target: typescript - source: platform-source - output: platform - publish: - npm: - token: $npm_token - sync-for-commerce-library: - target: typescript - source: sync-for-commerce-source - output: ./sync-for-commerce - sync-for-commerce-version-1-library: - target: typescript - source: sync-for-commerce-version-1-source - output: ./previous-versions/sync-for-commerce-version-1 - sync-for-expenses-library: - target: typescript - source: sync-for-expenses-source - output: ./sync-for-expenses - sync-for-expenses-version-1-library: - target: typescript - source: sync-for-expenses-version-1-source - output: ./previous-versions/sync-for-expenses-version-1 - sync-for-payables-library: - target: typescript - source: sync-for-payables-source - output: ./sync-for-payables - sync-for-payables-version-1-library: - target: typescript - source: sync-for-payables-version-1-source - output: ./previous-versions/sync-for-payables-version-1 - sync-for-payroll-library: - target: typescript - source: sync-for-payroll-source - output: ./sync-for-payroll + accounting-library: + target: typescript + source: accounting-source + output: ./previous-versions/accounting + assess-library: + target: typescript + source: assess-source + output: ./previous-versions/assess + bank-feeds-library: + target: typescript + source: bank-feeds-source + output: ./bank-feeds + banking-library: + target: typescript + source: banking-source + output: ./previous-versions/banking + commerce-library: + target: typescript + source: commerce-source + output: ./previous-versions/commerce + common-library: + target: typescript + source: common-source + output: ./previous-versions/common + files-library: + target: typescript + source: files-source + output: ./previous-versions/files + lending-library: + target: typescript + source: lending-source + output: ./lending + platform-library: + target: typescript + source: platform-source + output: platform + publish: + npm: + token: $npm_token + sync-for-commerce-library: + target: typescript + source: sync-for-commerce-source + output: ./sync-for-commerce + sync-for-commerce-version-1-library: + target: typescript + source: sync-for-commerce-version-1-source + output: ./previous-versions/sync-for-commerce-version-1 + sync-for-expenses-library: + target: typescript + source: sync-for-expenses-source + output: ./sync-for-expenses + sync-for-expenses-version-1-library: + target: typescript + source: sync-for-expenses-version-1-source + output: ./previous-versions/sync-for-expenses-version-1 + sync-for-payables-library: + target: typescript + source: sync-for-payables-source + output: ./sync-for-payables + sync-for-payables-version-1-library: + target: typescript + source: sync-for-payables-version-1-source + output: ./previous-versions/sync-for-payables-version-1 + sync-for-payroll-library: + target: typescript + source: sync-for-payroll-source + output: ./sync-for-payroll + common-source: + target: typescript + source: common-source + output: previous-versions/common + publish: + npm: $npm_token + platform-source: + target: typescript + source: platform-source + output: platform + publish: + npm: $npm_token + bank-feeds-source: + target: typescript + source: bank-feeds-source + output: bank-feeds + publish: + npm: $npm_token + sync-for-commerce-source: + target: typescript + source: sync-for-commerce-source + output: sync-for-commerce + publish: + npm: $npm_token + sync-for-expenses-source: + target: typescript + source: sync-for-expenses-source + output: sync-for-expenses + publish: + npm: $npm_token + lending-source: + target: typescript + source: lending-source + output: lending + publish: + npm: $npm_token + sync-for-payroll-source: + target: typescript + source: sync-for-payroll-source + output: sync-for-payroll + publish: + npm: $npm_token + sync-for-payables-source: + target: typescript + source: sync-for-payables-source + output: sync-for-payables + publish: + npm: $npm_token + accounting-source: + target: typescript + source: accounting-source + output: previous-versions/accounting + publish: + npm: $npm_token + banking-source: + target: typescript + source: banking-source + output: previous-versions/banking + publish: + npm: $npm_token + commerce-source: + target: typescript + source: commerce-source + output: previous-versions/commerce + publish: + npm: $npm_token + assess-source: + target: typescript + source: assess-source + output: previous-versions/assess + publish: + npm: $npm_token + sync-for-commerce-version-1-source: + target: typescript + source: sync-for-commerce-version-1-source + output: previous-versions/sync-for-commerce-version-1 + publish: + npm: $npm_token + sync-for-expenses-version-1-source: + target: typescript + source: sync-for-expenses-version-1-source + output: previous-versions/sync-for-expenses-version-1 + publish: + npm: $npm_token + sync-for-payables-version-1-source: + target: typescript + source: sync-for-payables-version-1-source + output: previous-versions/sync-for-payables-version-1 + publish: + npm: $npm_token + files-source: + target: typescript + source: files-source + output: previous-versions/files + publish: + npm: $npm_token diff --git a/bank-feeds/gen.yaml b/bank-feeds/gen.yaml index 6ec464404..ddd6b80f1 100644 --- a/bank-feeds/gen.yaml +++ b/bank-feeds/gen.yaml @@ -4,17 +4,21 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + auth: + oAuth2ClientCredentialsEnabled: false typescript: version: 4.1.1 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Set up bank feeds from accounts in your application to supported accounting platforms. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -28,3 +32,13 @@ typescript: outputModelSuffix: output packageName: '@codat/bank-feeds' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/lending/gen.yaml b/lending/gen.yaml index 30bd7b81c..f25870d8e 100644 --- a/lending/gen.yaml +++ b/lending/gen.yaml @@ -4,17 +4,21 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + auth: + oAuth2ClientCredentialsEnabled: false typescript: version: 4.3.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Make credit decisions backed by enhanced financials, metrics, reports, and data integrity features. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -28,3 +32,13 @@ typescript: outputModelSuffix: output packageName: '@codat/lending' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/platform/gen.yaml b/platform/gen.yaml index 9e867da83..4711a1ca0 100644 --- a/platform/gen.yaml +++ b/platform/gen.yaml @@ -20,7 +20,8 @@ typescript: additionalPackageJSON: {} author: Codat clientServerStatusCodesAsErrors: true - description: Manage the building blocks of Codat, including companies, connections, and more. + description: Manage the building blocks of Codat, including companies, connections, + and more. enumFormat: union flattenGlobalSecurity: true imports: diff --git a/previous-versions/accounting/gen.yaml b/previous-versions/accounting/gen.yaml index 69b31a936..f73767e05 100644 --- a/previous-versions/accounting/gen.yaml +++ b/previous-versions/accounting/gen.yaml @@ -11,6 +11,14 @@ generation: usageSnippets: optionalPropertyRendering: withExample telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: acceptHeaders: 2.81.1 @@ -25,9 +33,9 @@ features: typescript: version: 0.42.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Access standardized accounting data from our accounting integrations. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -44,3 +52,13 @@ typescript: published: true repoSubDirectory: previous-versions/accounting templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/assess/gen.yaml b/previous-versions/assess/gen.yaml index f620b6303..46f5fa289 100644 --- a/previous-versions/assess/gen.yaml +++ b/previous-versions/assess/gen.yaml @@ -11,6 +11,14 @@ generation: usageSnippets: optionalPropertyRendering: withExample telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: acceptHeaders: 2.81.1 @@ -24,10 +32,10 @@ features: typescript: version: 0.36.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Make credit decisions backed by enhanced financials, metrics, reports, and data integrity features. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -44,3 +52,13 @@ typescript: published: true repoSubDirectory: previous-versions/assess templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/banking/gen.yaml b/previous-versions/banking/gen.yaml index 93d6f96c9..0e00ac1eb 100644 --- a/previous-versions/banking/gen.yaml +++ b/previous-versions/banking/gen.yaml @@ -8,6 +8,16 @@ generation: sdkClassName: CodatBanking singleTagPerOp: false telemetryEnabled: true + maintainOpenAPIOrder: true + usageSnippets: + optionalPropertyRendering: withExample + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: core: 2.90.4 @@ -21,7 +31,28 @@ typescript: version: 0.30.0 author: Codat description: Access standardized banking data from our banking integrations. - flattenGlobalSecurity: false + flattenGlobalSecurity: true maxMethodParams: 0 packageName: '@codat/banking' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + clientServerStatusCodesAsErrors: true + enumFormat: union + imports: + option: openapi + paths: + callbacks: sdk/models/callbacks + errors: sdk/models/errors + operations: sdk/models/operations + shared: sdk/models/shared + webhooks: sdk/models/webhooks + inputModelSuffix: input + methodArguments: infer-optional-args + moduleFormat: commonjs + outputModelSuffix: output + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/commerce/gen.yaml b/previous-versions/commerce/gen.yaml index 91323e192..003bcfd55 100644 --- a/previous-versions/commerce/gen.yaml +++ b/previous-versions/commerce/gen.yaml @@ -8,6 +8,16 @@ generation: sdkClassName: CodatCommerce singleTagPerOp: false telemetryEnabled: true + maintainOpenAPIOrder: true + usageSnippets: + optionalPropertyRendering: withExample + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: core: 2.90.4 @@ -20,7 +30,28 @@ typescript: version: 0.37.0 author: Codat description: Access standardized commerce data from our commerce integrations. - flattenGlobalSecurity: false + flattenGlobalSecurity: true maxMethodParams: 0 packageName: '@codat/commerce' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + clientServerStatusCodesAsErrors: true + enumFormat: union + imports: + option: openapi + paths: + callbacks: sdk/models/callbacks + errors: sdk/models/errors + operations: sdk/models/operations + shared: sdk/models/shared + webhooks: sdk/models/webhooks + inputModelSuffix: input + methodArguments: infer-optional-args + moduleFormat: commonjs + outputModelSuffix: output + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/common/gen.yaml b/previous-versions/common/gen.yaml index b4f1dfdf5..10177241c 100644 --- a/previous-versions/common/gen.yaml +++ b/previous-versions/common/gen.yaml @@ -8,6 +8,16 @@ generation: sdkClassName: CodatCommon singleTagPerOp: false telemetryEnabled: true + maintainOpenAPIOrder: true + usageSnippets: + optionalPropertyRendering: withExample + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: core: 2.90.4 @@ -22,7 +32,28 @@ typescript: author: Codat description: Manage the building blocks of Codat, including companies, connections, and more. - flattenGlobalSecurity: false + flattenGlobalSecurity: true maxMethodParams: 0 packageName: '@codat/common' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + clientServerStatusCodesAsErrors: true + enumFormat: union + imports: + option: openapi + paths: + callbacks: sdk/models/callbacks + errors: sdk/models/errors + operations: sdk/models/operations + shared: sdk/models/shared + webhooks: sdk/models/webhooks + inputModelSuffix: input + methodArguments: infer-optional-args + moduleFormat: commonjs + outputModelSuffix: output + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/files/gen.yaml b/previous-versions/files/gen.yaml index 8cfc12f22..a0cbd8ef8 100644 --- a/previous-versions/files/gen.yaml +++ b/previous-versions/files/gen.yaml @@ -11,6 +11,14 @@ generation: usageSnippets: optionalPropertyRendering: withExample telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: acceptHeaders: 2.81.1 @@ -22,9 +30,9 @@ features: typescript: version: 0.37.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Use Codat's Files API to upload your SMB customers' files. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -41,3 +49,13 @@ typescript: published: true repoSubDirectory: previous-versions/files templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/sync-for-commerce-version-1/gen.yaml b/previous-versions/sync-for-commerce-version-1/gen.yaml index 3e7267a41..08fcc740f 100644 --- a/previous-versions/sync-for-commerce-version-1/gen.yaml +++ b/previous-versions/sync-for-commerce-version-1/gen.yaml @@ -11,6 +11,14 @@ generation: usageSnippets: optionalPropertyRendering: withExample telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false features: typescript: core: 3.3.3 @@ -23,10 +31,10 @@ features: typescript: version: 0.4.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Push merchants' data from your ecommerce or point-of-sale (POS) platform into your merchants' accounting platform. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -43,3 +51,13 @@ typescript: published: true repoSubDirectory: previous-versions/sync-for-commerce-version-1 templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/sync-for-expenses-version-1/gen.yaml b/previous-versions/sync-for-expenses-version-1/gen.yaml index 8b876247b..3e2333cde 100644 --- a/previous-versions/sync-for-expenses-version-1/gen.yaml +++ b/previous-versions/sync-for-expenses-version-1/gen.yaml @@ -4,18 +4,20 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true auth: oAuth2ClientCredentialsEnabled: false telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true typescript: version: 0.7.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Push expenses to accounting platforms. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -29,3 +31,13 @@ typescript: outputModelSuffix: output packageName: '@codat/sync-for-expenses-version-1' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/previous-versions/sync-for-payables-version-1/gen.yaml b/previous-versions/sync-for-payables-version-1/gen.yaml index 22c111e34..06aa2c5e4 100644 --- a/previous-versions/sync-for-payables-version-1/gen.yaml +++ b/previous-versions/sync-for-payables-version-1/gen.yaml @@ -4,16 +4,20 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + auth: + oAuth2ClientCredentialsEnabled: false typescript: version: 2.2.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Push expenses to accounting platforms. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -27,3 +31,13 @@ typescript: outputModelSuffix: output packageName: '@codat/sync-for-payables-version-1' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/sync-for-commerce/gen.yaml b/sync-for-commerce/gen.yaml index 3da8b600c..11593247e 100644 --- a/sync-for-commerce/gen.yaml +++ b/sync-for-commerce/gen.yaml @@ -4,17 +4,21 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + auth: + oAuth2ClientCredentialsEnabled: false typescript: version: 3.0.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Push merchants' data from your ecommerce or point-of-sale (POS) platform into your merchants' accounting platform. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -28,3 +32,13 @@ typescript: outputModelSuffix: output packageName: '@codat/sync-for-commerce' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/sync-for-expenses/gen.yaml b/sync-for-expenses/gen.yaml index 7664a7748..bdb4c94ac 100644 --- a/sync-for-expenses/gen.yaml +++ b/sync-for-expenses/gen.yaml @@ -4,18 +4,20 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true auth: oAuth2ClientCredentialsEnabled: false telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true typescript: version: 5.1.1 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Push expenses to accounting platforms. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -29,3 +31,13 @@ typescript: outputModelSuffix: output packageName: '@codat/sync-for-expenses' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true diff --git a/sync-for-payables/gen.yaml b/sync-for-payables/gen.yaml index 0b0c57703..f6ead1612 100644 --- a/sync-for-payables/gen.yaml +++ b/sync-for-payables/gen.yaml @@ -7,6 +7,16 @@ management: generation: sdkClassName: CodatSyncPayables telemetryEnabled: true + maintainOpenAPIOrder: true + usageSnippets: + optionalPropertyRendering: withExample + useClassNamesForArrayFields: true + fixes: + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true + auth: + oAuth2ClientCredentialsEnabled: false typescript: version: 0.0.0 author: Codat @@ -14,3 +24,25 @@ typescript: maxMethodParams: 0 packageName: '@codat/sync-for-payables' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + clientServerStatusCodesAsErrors: true + enumFormat: union + flattenGlobalSecurity: true + imports: + option: openapi + paths: + callbacks: sdk/models/callbacks + errors: sdk/models/errors + operations: sdk/models/operations + shared: sdk/models/shared + webhooks: sdk/models/webhooks + inputModelSuffix: input + methodArguments: infer-optional-args + moduleFormat: commonjs + outputModelSuffix: output + responseFormat: flat + useIndexModules: true diff --git a/sync-for-payroll/gen.yaml b/sync-for-payroll/gen.yaml index be5485269..2bcfc93b0 100644 --- a/sync-for-payroll/gen.yaml +++ b/sync-for-payroll/gen.yaml @@ -4,16 +4,20 @@ generation: usageSnippets: optionalPropertyRendering: withExample fixes: - nameResolutionDec2023: false - parameterOrderingFeb2024: false - requestResponseComponentNamesFeb2024: false + nameResolutionDec2023: true + parameterOrderingFeb2024: true + requestResponseComponentNamesFeb2024: true telemetryEnabled: true + maintainOpenAPIOrder: true + useClassNamesForArrayFields: true + auth: + oAuth2ClientCredentialsEnabled: false typescript: version: 2.0.0 author: Codat - clientServerStatusCodesAsErrors: false + clientServerStatusCodesAsErrors: true description: Push payroll to accounting platforms. - flattenGlobalSecurity: false + flattenGlobalSecurity: true imports: option: openapi paths: @@ -27,3 +31,13 @@ typescript: outputModelSuffix: output packageName: '@codat/sync-for-payroll' templateVersion: v2 + additionalDependencies: + dependencies: {} + devDependencies: {} + peerDependencies: {} + additionalPackageJSON: {} + enumFormat: union + methodArguments: infer-optional-args + moduleFormat: commonjs + responseFormat: flat + useIndexModules: true