Skip to content

Commit

Permalink
fix: sync SDK to OpenAPI doc v2.6.1 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot authored Oct 16, 2023
1 parent 4408def commit 3b64e46
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.0
2.6.1
8 changes: 4 additions & 4 deletions sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.6.0",
"version": "2.6.1",
"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 @@ -1578,7 +1578,7 @@
}
],
"summary": "Create a deposit address",
"description": "Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you're requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit.\n",
"description": "Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you're requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status. \n",
"operationId": "createBusinessDepositAddress",
"tags": ["Addresses"],
"requestBody": {
Expand Down Expand Up @@ -1692,7 +1692,7 @@
}
],
"summary": "Create a recipient address",
"description": "Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address.\n",
"description": "Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.\n",
"operationId": "createBusinessRecipientAddress",
"tags": ["Addresses"],
"requestBody": {
Expand Down Expand Up @@ -10919,7 +10919,7 @@
"example": "0x4cebf8f90c9243a23c77e4ae20df691469e4b933b295a73376292843968f7a63"
},
"status": {
"description": "Status of the transfer. Status `pending` indicates that the transfer is in the process of running; `complete` indicates it finished successfully; `failed` indicates it failed.",
"description": "Status of the transfer. Status `pending` indicates that the transfer is in the process of running; `complete` indicates it finished successfully; `failed` indicates it failed. Circle Mint Singapore customers may have transfers in the `pending` status if the recipient addresses are not verified.",
"type": "string",
"enum": ["pending", "complete", "failed"]
},
Expand Down
16 changes: 8 additions & 8 deletions src/generated/apis/addresses-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const AddressesApiAxiosParamCreator = function (
) {
return {
/**
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit.
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a deposit address
* @param {BusinessGenerateAddressRequest} [businessGenerateAddressRequest]
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -108,7 +108,7 @@ export const AddressesApiAxiosParamCreator = function (
};
},
/**
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address.
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a recipient address
* @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest]
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -289,7 +289,7 @@ export const AddressesApiFp = function (configuration?: Configuration) {
AddressesApiAxiosParamCreator(configuration);
return {
/**
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit.
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a deposit address
* @param {BusinessGenerateAddressRequest} [businessGenerateAddressRequest]
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -317,7 +317,7 @@ export const AddressesApiFp = function (configuration?: Configuration) {
);
},
/**
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address.
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a recipient address
* @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest]
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -422,7 +422,7 @@ export const AddressesApiFactory = function (
const localVarFp = AddressesApiFp(configuration);
return {
/**
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit.
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a deposit address
* @param {BusinessGenerateAddressRequest} [businessGenerateAddressRequest]
* @param {*} [options] Override http request option.
Expand All @@ -437,7 +437,7 @@ export const AddressesApiFactory = function (
.then((request) => request(axios, basePath));
},
/**
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address.
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a recipient address
* @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest]
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -508,7 +508,7 @@ export const AddressesApiFactory = function (
*/
export class AddressesApi extends BaseAPI {
/**
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit.
* Generates a new blockchain address for a wallet for a given currency/chain pair. Circle may reuse addresses on blockchains that support reuse. For example, if you\'re requesting two addresses for depositing USD and ETH, both on Ethereum, you may see the same Ethereum address returned. Depositing cryptocurrency to a generated address will credit the associated wallet with the value of the deposit. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a deposit address
* @param {BusinessGenerateAddressRequest} [businessGenerateAddressRequest]
* @param {*} [options] Override http request option.
Expand All @@ -525,7 +525,7 @@ export class AddressesApi extends BaseAPI {
}

/**
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address.
* Stores an external blockchain address. Once added, the recipient address must be verified to ensure that you know and trust each new address. Note: Circle Mint Singapore customers must verify all transfer recipients using the UI in the Circle Console, as transfers from unverified addresses will be held in `pending` status.
* @summary Create a recipient address
* @param {BusinessRecipientAddressCreationRequest} [businessRecipientAddressCreationRequest]
* @param {*} [options] Override http request option.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface Transfer {
*/
transactionHash?: string;
/**
* Status of the transfer. Status `pending` indicates that the transfer is in the process of running; `complete` indicates it finished successfully; `failed` indicates it failed.
* Status of the transfer. Status `pending` indicates that the transfer is in the process of running; `complete` indicates it finished successfully; `failed` indicates it failed. Circle Mint Singapore customers may have transfers in the `pending` status if the recipient addresses are not verified.
* @type {string}
* @memberof Transfer
*/
Expand Down

0 comments on commit 3b64e46

Please sign in to comment.