diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml index 5386753..deafedb 100644 --- a/.github/workflows/pull_request_checks.yml +++ b/.github/workflows/pull_request_checks.yml @@ -21,3 +21,7 @@ jobs: run: yarn build - name: Running unit test's run: yarn test + + scan: + needs: lint + uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e96b6d..663e0ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ jobs: runs-on: ubuntu-latest outputs: did-create-release: ${{ steps.release.outputs.release_created }} + release-tag: ${{ steps.release.outputs.tag_name }} steps: - uses: google-github-actions/release-please-action@v3 id: release @@ -26,3 +27,10 @@ jobs: if: needs.release-please.outputs.did-create-release uses: ./.github/workflows/npm-publish.yml secrets: inherit + + release-sbom: + needs: release-please + if: needs.release-please.outputs.did-create-release + uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1 + with: + release_tag: ${{ needs.release-please.outputs.release-tag }} diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 097a15a..24ba9a3 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -2.6.2 +2.7.0 diff --git a/sdk.json b/sdk.json index 0b03736..5904ecd 100644 --- a/sdk.json +++ b/sdk.json @@ -6,7 +6,7 @@ } ], "info": { - "version": "2.6.2", + "version": "2.7.0", "title": "All Circle APIs", "description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification." }, @@ -7068,7 +7068,6 @@ "ETH", "FLOW", "HBAR", - "MATIC", "NEAR", "NOBLE", "OP", @@ -11658,7 +11657,6 @@ "ETH", "FLOW", "HBAR", - "MATIC", "NEAR", "NOBLE", "OP", diff --git a/src/generated/apis/payouts-api.ts b/src/generated/apis/payouts-api.ts index d5e24a4..1fb6642 100644 --- a/src/generated/apis/payouts-api.ts +++ b/src/generated/apis/payouts-api.ts @@ -371,7 +371,7 @@ export const PayoutsApiAxiosParamCreator = function ( * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -403,7 +403,6 @@ export const PayoutsApiAxiosParamCreator = function ( | "ETH" | "FLOW" | "HBAR" - | "MATIC" | "NEAR" | "NOBLE" | "OP" @@ -678,7 +677,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) { * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -710,7 +709,6 @@ export const PayoutsApiFp = function (configuration?: Configuration) { | "ETH" | "FLOW" | "HBAR" - | "MATIC" | "NEAR" | "NOBLE" | "OP" @@ -872,7 +870,7 @@ export const PayoutsApiFactory = function ( * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -904,7 +902,6 @@ export const PayoutsApiFactory = function ( | "ETH" | "FLOW" | "HBAR" - | "MATIC" | "NEAR" | "NOBLE" | "OP" @@ -1060,7 +1057,7 @@ export class PayoutsApi extends BaseAPI { * @param {Set} [status] Queries items with the specified status. Matches any status if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [sourceCurrency] Queries items with the specified source currency `amount.currency`. Matches any source currency if unspecified. * @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency `toAmount.currency`. Matches any destination currency if unspecified. - * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | 'POLY' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified * @param {string} [from] Queries items created since the specified date-time (inclusive). * @param {string} [to] Queries items created before the specified date-time (inclusive). * @param {string} [pageBefore] A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next `n` items before the id, with `n` being specified by `pageSize`. The items will be returned in the natural order of the collection. The resource will return the first page if neither `pageAfter` nor `pageBefore` are specified. SHOULD NOT be used in conjuction with pageAfter. @@ -1086,7 +1083,6 @@ export class PayoutsApi extends BaseAPI { | "ETH" | "FLOW" | "HBAR" - | "MATIC" | "NEAR" | "NOBLE" | "OP" diff --git a/src/generated/models/chain.ts b/src/generated/models/chain.ts index 4cc68de..ae3392d 100644 --- a/src/generated/models/chain.ts +++ b/src/generated/models/chain.ts @@ -21,7 +21,6 @@ export const Chain = { Eth: "ETH", Flow: "FLOW", Hbar: "HBAR", - Matic: "MATIC", Near: "NEAR", Noble: "NOBLE", Op: "OP",