From 6db59ac34ca36247d8bbf4dbbedc83642ef98019 Mon Sep 17 00:00:00 2001 From: circle-github-action-bot Date: Thu, 14 Sep 2023 08:01:58 -0400 Subject: [PATCH] feat: sync SDK to OpenAPI doc v2.4.0 (#87) --- OPENAPI_VERSION | 2 +- sdk.json | 4 +++- src/generated/apis/payouts-api.ts | 12 ++++++++---- src/generated/models/chain.ts | 1 + 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 276cbf9..197c4d5 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -2.3.0 +2.4.0 diff --git a/sdk.json b/sdk.json index 4d7b4b7..2173ad1 100644 --- a/sdk.json +++ b/sdk.json @@ -6,7 +6,7 @@ } ], "info": { - "version": "2.3.0", + "version": "2.4.0", "title": "All Circle APIs", "description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification." }, @@ -7069,6 +7069,7 @@ "FLOW", "HBAR", "MATIC", + "NEAR", "NOBLE", "OP", "SOL", @@ -11653,6 +11654,7 @@ "FLOW", "HBAR", "MATIC", + "NEAR", "NOBLE", "OP", "SOL", diff --git a/src/generated/apis/payouts-api.ts b/src/generated/apis/payouts-api.ts index 3c937cb..df1cf8c 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' | 'NOBLE' | 'OP' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | '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. @@ -404,6 +404,7 @@ export const PayoutsApiAxiosParamCreator = function ( | "FLOW" | "HBAR" | "MATIC" + | "NEAR" | "NOBLE" | "OP" | "SOL" @@ -675,7 +676,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' | 'NOBLE' | 'OP' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | '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. @@ -708,6 +709,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) { | "FLOW" | "HBAR" | "MATIC" + | "NEAR" | "NOBLE" | "OP" | "SOL" @@ -866,7 +868,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' | 'NOBLE' | 'OP' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | '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. @@ -899,6 +901,7 @@ export const PayoutsApiFactory = function ( | "FLOW" | "HBAR" | "MATIC" + | "NEAR" | "NOBLE" | "OP" | "SOL" @@ -1051,7 +1054,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' | 'NOBLE' | 'OP' | 'SOL' | 'TRX' | 'XLM'} [chain] Queries items with the specified chain. Matches any chain if unspecified + * @param {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | '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. @@ -1078,6 +1081,7 @@ export class PayoutsApi extends BaseAPI { | "FLOW" | "HBAR" | "MATIC" + | "NEAR" | "NOBLE" | "OP" | "SOL" diff --git a/src/generated/models/chain.ts b/src/generated/models/chain.ts index bd70f77..32fb6b5 100644 --- a/src/generated/models/chain.ts +++ b/src/generated/models/chain.ts @@ -22,6 +22,7 @@ export const Chain = { Flow: "FLOW", Hbar: "HBAR", Matic: "MATIC", + Near: "NEAR", Noble: "NOBLE", Op: "OP", Sol: "SOL",