Skip to content

Commit

Permalink
feat: sync SDK to OpenAPI doc v2.2.0 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot authored Sep 5, 2023
1 parent f8d1558 commit a688c6b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.2.0
8 changes: 7 additions & 1 deletion sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.1.0",
"version": "2.2.0",
"title": "All Circle APIs",
"description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification."
},
Expand Down Expand Up @@ -7061,12 +7061,15 @@
"description": "A blockchain that a given currency is available on.",
"enum": [
"ALGO",
"ARB",
"AVAX",
"BASE",
"BTC",
"ETH",
"FLOW",
"HBAR",
"MATIC",
"OP",
"SOL",
"TRX",
"XLM"
Expand Down Expand Up @@ -11641,12 +11644,15 @@
"type": "string",
"enum": [
"ALGO",
"ARB",
"AVAX",
"BASE",
"BTC",
"ETH",
"FLOW",
"HBAR",
"MATIC",
"OP",
"SOL",
"TRX",
"XLM"
Expand Down
20 changes: 16 additions & 4 deletions src/generated/apis/payouts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export const PayoutsApiAxiosParamCreator = function (
* @param {Set<PayoutStatus>} [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 &#x60;amount.currency&#x60;. Matches any source currency if unspecified.
* @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency &#x60;toAmount.currency&#x60;. Matches any destination currency if unspecified.
* @param {'ALGO' | 'AVAX' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | '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' | '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 &#x60;n&#x60; items before the id, with &#x60;n&#x60; being specified by &#x60;pageSize&#x60;. The items will be returned in the natural order of the collection. The resource will return the first page if neither &#x60;pageAfter&#x60; nor &#x60;pageBefore&#x60; are specified. SHOULD NOT be used in conjuction with pageAfter.
Expand All @@ -396,12 +396,15 @@ export const PayoutsApiAxiosParamCreator = function (
| "MAN",
chain?:
| "ALGO"
| "ARB"
| "AVAX"
| "BASE"
| "BTC"
| "ETH"
| "FLOW"
| "HBAR"
| "MATIC"
| "OP"
| "SOL"
| "TRX"
| "XLM",
Expand Down Expand Up @@ -671,7 +674,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) {
* @param {Set<PayoutStatus>} [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 &#x60;amount.currency&#x60;. Matches any source currency if unspecified.
* @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency &#x60;toAmount.currency&#x60;. Matches any destination currency if unspecified.
* @param {'ALGO' | 'AVAX' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | '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' | '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 &#x60;n&#x60; items before the id, with &#x60;n&#x60; being specified by &#x60;pageSize&#x60;. The items will be returned in the natural order of the collection. The resource will return the first page if neither &#x60;pageAfter&#x60; nor &#x60;pageBefore&#x60; are specified. SHOULD NOT be used in conjuction with pageAfter.
Expand All @@ -696,12 +699,15 @@ export const PayoutsApiFp = function (configuration?: Configuration) {
| "MAN",
chain?:
| "ALGO"
| "ARB"
| "AVAX"
| "BASE"
| "BTC"
| "ETH"
| "FLOW"
| "HBAR"
| "MATIC"
| "OP"
| "SOL"
| "TRX"
| "XLM",
Expand Down Expand Up @@ -858,7 +864,7 @@ export const PayoutsApiFactory = function (
* @param {Set<PayoutStatus>} [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 &#x60;amount.currency&#x60;. Matches any source currency if unspecified.
* @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency &#x60;toAmount.currency&#x60;. Matches any destination currency if unspecified.
* @param {'ALGO' | 'AVAX' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | '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' | '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 &#x60;n&#x60; items before the id, with &#x60;n&#x60; being specified by &#x60;pageSize&#x60;. The items will be returned in the natural order of the collection. The resource will return the first page if neither &#x60;pageAfter&#x60; nor &#x60;pageBefore&#x60; are specified. SHOULD NOT be used in conjuction with pageAfter.
Expand All @@ -883,12 +889,15 @@ export const PayoutsApiFactory = function (
| "MAN",
chain?:
| "ALGO"
| "ARB"
| "AVAX"
| "BASE"
| "BTC"
| "ETH"
| "FLOW"
| "HBAR"
| "MATIC"
| "OP"
| "SOL"
| "TRX"
| "XLM",
Expand Down Expand Up @@ -1039,7 +1048,7 @@ export class PayoutsApi extends BaseAPI {
* @param {Set<PayoutStatus>} [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 &#x60;amount.currency&#x60;. Matches any source currency if unspecified.
* @param {'USD' | 'EUR' | 'BTC' | 'ETH' | 'MTC' | 'FLW' | 'MAN'} [destinationCurrency] Queries items with the specified destination currency &#x60;toAmount.currency&#x60;. Matches any destination currency if unspecified.
* @param {'ALGO' | 'AVAX' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | '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' | '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 &#x60;n&#x60; items before the id, with &#x60;n&#x60; being specified by &#x60;pageSize&#x60;. The items will be returned in the natural order of the collection. The resource will return the first page if neither &#x60;pageAfter&#x60; nor &#x60;pageBefore&#x60; are specified. SHOULD NOT be used in conjuction with pageAfter.
Expand All @@ -1058,12 +1067,15 @@ export class PayoutsApi extends BaseAPI {
destinationCurrency?: "USD" | "EUR" | "BTC" | "ETH" | "MTC" | "FLW" | "MAN",
chain?:
| "ALGO"
| "ARB"
| "AVAX"
| "BASE"
| "BTC"
| "ETH"
| "FLOW"
| "HBAR"
| "MATIC"
| "OP"
| "SOL"
| "TRX"
| "XLM",
Expand Down
3 changes: 3 additions & 0 deletions src/generated/models/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@

export const Chain = {
Algo: "ALGO",
Arb: "ARB",
Avax: "AVAX",
Base: "BASE",
Btc: "BTC",
Eth: "ETH",
Flow: "FLOW",
Hbar: "HBAR",
Matic: "MATIC",
Op: "OP",
Sol: "SOL",
Trx: "TRX",
Xlm: "XLM"
Expand Down

0 comments on commit a688c6b

Please sign in to comment.