Skip to content

Commit

Permalink
feat: sync SDK to OpenAPI doc v2.9.0 (#110)
Browse files Browse the repository at this point in the history
Automated pull request triggered by OpenAPI document update. SDK Code
generated using [OpenAPI generator](https://openapi-generator.tech/)

Co-authored-by: Ashutosh Ukey <[email protected]>
  • Loading branch information
circle-github-action-bot and ashutosh-ukey authored Mar 28, 2024
1 parent 0da2d30 commit 88eae40
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 13 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.0
2.9.0
15 changes: 11 additions & 4 deletions sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
],
"info": {
"version": "2.8.0",
"version": "2.9.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 @@ -1731,7 +1731,8 @@
"addressTag": "123456789",
"chain": "ALGO",
"currency": "USD",
"description": "My USDC address at a cryptocurrency exchange"
"description": "My USDC address at a cryptocurrency exchange",
"status": "active"
}
}
}
Expand Down Expand Up @@ -1771,7 +1772,7 @@
}
],
"summary": "List all recipient addresses",
"description": "Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.\n",
"description": "Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.\n",
"operationId": "listBusinessRecipientAddresses",
"tags": ["Addresses"],
"responses": {
Expand Down Expand Up @@ -1805,7 +1806,8 @@
"addressTag": "123456789",
"chain": "ALGO",
"currency": "USD",
"description": "My USDC address at a cryptocurrency exchange"
"description": "My USDC address at a cryptocurrency exchange",
"status": "active"
}
]
}
Expand Down Expand Up @@ -1833,6 +1835,7 @@
}
],
"summary": "Delete a recipient address",
"description": "Deletes an external blockchain address. The recipient address must be in an 'active' or 'pending' state in order to be deleted successfully.\n",
"operationId": "deleteBusinessRecipientAddress",
"tags": ["Addresses"],
"responses": {
Expand Down Expand Up @@ -8401,6 +8404,10 @@
},
"description": {
"$ref": "#/components/schemas/AddressDescription"
},
"status": {
"type": "string",
"enum": ["active", "pending_verification", "verification_succeeded"]
}
}
},
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 @@ -162,7 +162,7 @@ export const AddressesApiAxiosParamCreator = function (
};
},
/**
*
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
* @summary Delete a recipient address
* @param {string} id Universally unique identifier (UUID v4) of a resource.
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -256,7 +256,7 @@ export const AddressesApiAxiosParamCreator = function (
};
},
/**
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.
* @summary List all recipient addresses
* @param {string} [from] Queries items created since the specified date-time (inclusive).
* @param {string} [to] Queries items created before the specified date-time (inclusive).
Expand Down Expand Up @@ -398,7 +398,7 @@ export const AddressesApiFp = function (configuration?: Configuration) {
);
},
/**
*
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
* @summary Delete a recipient address
* @param {string} id Universally unique identifier (UUID v4) of a resource.
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -446,7 +446,7 @@ export const AddressesApiFp = function (configuration?: Configuration) {
);
},
/**
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.
* @summary List all recipient addresses
* @param {string} [from] Queries items created since the specified date-time (inclusive).
* @param {string} [to] Queries items created before the specified date-time (inclusive).
Expand Down Expand Up @@ -533,7 +533,7 @@ export const AddressesApiFactory = function (
.then((request) => request(axios, basePath));
},
/**
*
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
* @summary Delete a recipient address
* @param {string} id Universally unique identifier (UUID v4) of a resource.
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -561,7 +561,7 @@ export const AddressesApiFactory = function (
.then((request) => request(axios, basePath));
},
/**
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.
* @summary List all recipient addresses
* @param {string} [from] Queries items created since the specified date-time (inclusive).
* @param {string} [to] Queries items created before the specified date-time (inclusive).
Expand Down Expand Up @@ -638,7 +638,7 @@ export class AddressesApi extends BaseAPI {
}

/**
*
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
* @summary Delete a recipient address
* @param {string} id Universally unique identifier (UUID v4) of a resource.
* @param {*} [options] Override http request option.
Expand Down Expand Up @@ -668,7 +668,7 @@ export class AddressesApi extends BaseAPI {
}

/**
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending verification are not included in the response.
* Returns a list of recipient addresses that have each been verified and are eligible for transfers. Any recipient addresses pending administrator verification are not included in the response.
* @summary List all recipient addresses
* @param {string} [from] Queries items created since the specified date-time (inclusive).
* @param {string} [to] Queries items created before the specified date-time (inclusive).
Expand Down
15 changes: 15 additions & 0 deletions src/generated/models/business-recipient-address-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,19 @@ export interface BusinessRecipientAddressObject {
* @memberof BusinessRecipientAddressObject
*/
description?: string;
/**
*
* @type {string}
* @memberof BusinessRecipientAddressObject
*/
status?: BusinessRecipientAddressObjectStatusEnum;
}

export const BusinessRecipientAddressObjectStatusEnum = {
Active: "active",
PendingVerification: "pending_verification",
VerificationSucceeded: "verification_succeeded"
} as const;

export type BusinessRecipientAddressObjectStatusEnum =
typeof BusinessRecipientAddressObjectStatusEnum[keyof typeof BusinessRecipientAddressObjectStatusEnum];

0 comments on commit 88eae40

Please sign in to comment.