Skip to content

Commit 88eae40

Browse files
feat: sync SDK to OpenAPI doc v2.9.0 (#110)
Automated pull request triggered by OpenAPI document update. SDK Code generated using [OpenAPI generator](https://openapi-generator.tech/) Co-authored-by: Ashutosh Ukey <ashutosh.ukey@circle.com>
1 parent 0da2d30 commit 88eae40

File tree

4 files changed

+35
-13
lines changed

4 files changed

+35
-13
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.0
1+
2.9.0

sdk.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77
],
88
"info": {
9-
"version": "2.8.0",
9+
"version": "2.9.0",
1010
"title": "All Circle APIs",
1111
"description": "Circle's General, Core Functionality, Payments, Payouts, Accounts, and Crypto Payments APIs bundled into one OpenAPI Specification."
1212
},
@@ -1731,7 +1731,8 @@
17311731
"addressTag": "123456789",
17321732
"chain": "ALGO",
17331733
"currency": "USD",
1734-
"description": "My USDC address at a cryptocurrency exchange"
1734+
"description": "My USDC address at a cryptocurrency exchange",
1735+
"status": "active"
17351736
}
17361737
}
17371738
}
@@ -1771,7 +1772,7 @@
17711772
}
17721773
],
17731774
"summary": "List all recipient addresses",
1774-
"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",
1775+
"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",
17751776
"operationId": "listBusinessRecipientAddresses",
17761777
"tags": ["Addresses"],
17771778
"responses": {
@@ -1805,7 +1806,8 @@
18051806
"addressTag": "123456789",
18061807
"chain": "ALGO",
18071808
"currency": "USD",
1808-
"description": "My USDC address at a cryptocurrency exchange"
1809+
"description": "My USDC address at a cryptocurrency exchange",
1810+
"status": "active"
18091811
}
18101812
]
18111813
}
@@ -1833,6 +1835,7 @@
18331835
}
18341836
],
18351837
"summary": "Delete a recipient address",
1838+
"description": "Deletes an external blockchain address. The recipient address must be in an 'active' or 'pending' state in order to be deleted successfully.\n",
18361839
"operationId": "deleteBusinessRecipientAddress",
18371840
"tags": ["Addresses"],
18381841
"responses": {
@@ -8401,6 +8404,10 @@
84018404
},
84028405
"description": {
84038406
"$ref": "#/components/schemas/AddressDescription"
8407+
},
8408+
"status": {
8409+
"type": "string",
8410+
"enum": ["active", "pending_verification", "verification_succeeded"]
84048411
}
84058412
}
84068413
},

src/generated/apis/addresses-api.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const AddressesApiAxiosParamCreator = function (
162162
};
163163
},
164164
/**
165-
*
165+
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
166166
* @summary Delete a recipient address
167167
* @param {string} id Universally unique identifier (UUID v4) of a resource.
168168
* @param {*} [options] Override http request option.
@@ -256,7 +256,7 @@ export const AddressesApiAxiosParamCreator = function (
256256
};
257257
},
258258
/**
259-
* 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.
259+
* 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.
260260
* @summary List all recipient addresses
261261
* @param {string} [from] Queries items created since the specified date-time (inclusive).
262262
* @param {string} [to] Queries items created before the specified date-time (inclusive).
@@ -398,7 +398,7 @@ export const AddressesApiFp = function (configuration?: Configuration) {
398398
);
399399
},
400400
/**
401-
*
401+
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
402402
* @summary Delete a recipient address
403403
* @param {string} id Universally unique identifier (UUID v4) of a resource.
404404
* @param {*} [options] Override http request option.
@@ -446,7 +446,7 @@ export const AddressesApiFp = function (configuration?: Configuration) {
446446
);
447447
},
448448
/**
449-
* 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.
449+
* 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.
450450
* @summary List all recipient addresses
451451
* @param {string} [from] Queries items created since the specified date-time (inclusive).
452452
* @param {string} [to] Queries items created before the specified date-time (inclusive).
@@ -533,7 +533,7 @@ export const AddressesApiFactory = function (
533533
.then((request) => request(axios, basePath));
534534
},
535535
/**
536-
*
536+
* Deletes an external blockchain address. The recipient address must be in an \'active\' or \'pending\' state in order to be deleted successfully.
537537
* @summary Delete a recipient address
538538
* @param {string} id Universally unique identifier (UUID v4) of a resource.
539539
* @param {*} [options] Override http request option.
@@ -561,7 +561,7 @@ export const AddressesApiFactory = function (
561561
.then((request) => request(axios, basePath));
562562
},
563563
/**
564-
* 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.
564+
* 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.
565565
* @summary List all recipient addresses
566566
* @param {string} [from] Queries items created since the specified date-time (inclusive).
567567
* @param {string} [to] Queries items created before the specified date-time (inclusive).
@@ -638,7 +638,7 @@ export class AddressesApi extends BaseAPI {
638638
}
639639

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

670670
/**
671-
* 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.
671+
* 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.
672672
* @summary List all recipient addresses
673673
* @param {string} [from] Queries items created since the specified date-time (inclusive).
674674
* @param {string} [to] Queries items created before the specified date-time (inclusive).

src/generated/models/business-recipient-address-object.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,19 @@ export interface BusinessRecipientAddressObject {
5555
* @memberof BusinessRecipientAddressObject
5656
*/
5757
description?: string;
58+
/**
59+
*
60+
* @type {string}
61+
* @memberof BusinessRecipientAddressObject
62+
*/
63+
status?: BusinessRecipientAddressObjectStatusEnum;
5864
}
65+
66+
export const BusinessRecipientAddressObjectStatusEnum = {
67+
Active: "active",
68+
PendingVerification: "pending_verification",
69+
VerificationSucceeded: "verification_succeeded"
70+
} as const;
71+
72+
export type BusinessRecipientAddressObjectStatusEnum =
73+
typeof BusinessRecipientAddressObjectStatusEnum[keyof typeof BusinessRecipientAddressObjectStatusEnum];

0 commit comments

Comments
 (0)