Skip to content

Commit

Permalink
feat: sync SDK to OpenAPI doc v2.5.0 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot authored Sep 19, 2023
1 parent a78d465 commit 33345de
Show file tree
Hide file tree
Showing 4 changed files with 13 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.4.0
2.5.0
4 changes: 3 additions & 1 deletion sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.4.0",
"version": "2.5.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 @@ -7072,6 +7072,7 @@
"NEAR",
"NOBLE",
"OP",
"PAH",
"SOL",
"TRX",
"XLM"
Expand Down Expand Up @@ -11657,6 +11658,7 @@
"NEAR",
"NOBLE",
"OP",
"PAH",
"SOL",
"TRX",
"XLM"
Expand Down
12 changes: 8 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' | '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 {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | '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 Down Expand Up @@ -407,6 +407,7 @@ export const PayoutsApiAxiosParamCreator = function (
| "NEAR"
| "NOBLE"
| "OP"
| "PAH"
| "SOL"
| "TRX"
| "XLM",
Expand Down Expand Up @@ -676,7 +677,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' | '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 {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | '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 Down Expand Up @@ -712,6 +713,7 @@ export const PayoutsApiFp = function (configuration?: Configuration) {
| "NEAR"
| "NOBLE"
| "OP"
| "PAH"
| "SOL"
| "TRX"
| "XLM",
Expand Down Expand Up @@ -868,7 +870,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' | '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 {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | '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 Down Expand Up @@ -904,6 +906,7 @@ export const PayoutsApiFactory = function (
| "NEAR"
| "NOBLE"
| "OP"
| "PAH"
| "SOL"
| "TRX"
| "XLM",
Expand Down Expand Up @@ -1054,7 +1057,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' | '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 {'ALGO' | 'ARB' | 'AVAX' | 'BASE' | 'BTC' | 'ETH' | 'FLOW' | 'HBAR' | 'MATIC' | 'NEAR' | 'NOBLE' | 'OP' | 'PAH' | '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 Down Expand Up @@ -1084,6 +1087,7 @@ export class PayoutsApi extends BaseAPI {
| "NEAR"
| "NOBLE"
| "OP"
| "PAH"
| "SOL"
| "TRX"
| "XLM",
Expand Down
1 change: 1 addition & 0 deletions src/generated/models/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const Chain = {
Near: "NEAR",
Noble: "NOBLE",
Op: "OP",
Pah: "PAH",
Sol: "SOL",
Trx: "TRX",
Xlm: "XLM"
Expand Down

0 comments on commit 33345de

Please sign in to comment.