@cobo/cobo-waas2 1.34.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/PaymentApi.js +126 -91
- package/dist/api/TravelRuleApi.js +293 -6
- package/dist/index.js +133 -7
- package/dist/model/AddressVerification.js +172 -0
- package/dist/model/AddressVerificationDetail.js +204 -0
- package/dist/model/AddressVerificationDetailSatoshiTestDetail.js +299 -0
- package/dist/model/AddressVerificationDetailSignatureDetail.js +172 -0
- package/dist/model/AddressVerificationMethod.js +61 -0
- package/dist/model/AddressVerificationStatus.js +66 -0
- package/dist/model/ApprovalUserDetail.js +9 -0
- package/dist/model/{UpdateBankAccountByIdRequest.js → CancelSatoshiTestChallengeRequest.js} +31 -28
- package/dist/model/ChainInfo.js +13 -0
- package/dist/model/CreateBulkSendRequest.js +13 -0
- package/dist/model/CreateSatoshiTestChallengeRequest.js +176 -0
- package/dist/model/GetTransactionLimitation200Response.js +10 -1
- package/dist/model/ListAddressVerifications200Response.js +147 -0
- package/dist/model/ListBulkSends200Response.js +123 -0
- package/dist/model/ListPayerTransactions200Response.js +123 -0
- package/dist/model/ListTopUpPayers200ResponseDataInner.js +14 -1
- package/dist/model/OrderLinkBusinessInfo.js +2 -2
- package/dist/model/OriginalMainGroupHandling.js +61 -0
- package/dist/model/PaymentBulkSend.js +13 -0
- package/dist/model/PaymentBulkSendEvent.js +18 -0
- package/dist/model/SatoshiTestCancelResult.js +144 -0
- package/dist/model/SatoshiTestChallenge.js +239 -0
- package/dist/model/SatoshiTestChallengeAction.js +61 -0
- package/dist/model/SatoshiTestChallengeStatus.js +81 -0
- package/dist/model/SignatureChallenge.js +137 -0
- package/dist/model/SignatureDetail.js +146 -0
- package/dist/model/TransactionCoboCategory.js +20 -0
- package/dist/model/TravelRuleTransactionType.js +61 -0
- package/dist/model/UpdateKeyShareHolderGroupByIdRequest.js +9 -0
- package/dist/model/WebhookEventData.js +1 -1
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/AddressVerification.md +14 -0
- package/docs/AddressVerificationDetail.md +16 -0
- package/docs/AddressVerificationDetailSatoshiTestDetail.md +19 -0
- package/docs/AddressVerificationDetailSignatureDetail.md +12 -0
- package/docs/AddressVerificationMethod.md +12 -0
- package/docs/AddressVerificationStatus.md +14 -0
- package/docs/ApprovalUserDetail.md +1 -0
- package/docs/CancelSatoshiTestChallengeRequest.md +9 -0
- package/docs/ChainInfo.md +1 -0
- package/docs/CreateBulkSendRequest.md +1 -0
- package/docs/CreateSatoshiTestChallengeRequest.md +14 -0
- package/docs/GetTransactionLimitation200Response.md +2 -1
- package/docs/ListAddressVerifications200Response.md +10 -0
- package/docs/ListBulkSends200Response.md +10 -0
- package/docs/ListPayerTransactions200Response.md +10 -0
- package/docs/ListTopUpPayers200ResponseDataInner.md +2 -1
- package/docs/OrderLinkBusinessInfo.md +1 -1
- package/docs/OriginalMainGroupHandling.md +12 -0
- package/docs/PaymentApi.md +107 -83
- package/docs/PaymentBulkSend.md +1 -0
- package/docs/PaymentBulkSendEvent.md +1 -0
- package/docs/SatoshiTestCancelResult.md +21 -0
- package/docs/SatoshiTestChallenge.md +19 -0
- package/docs/SatoshiTestChallengeAction.md +12 -0
- package/docs/SatoshiTestChallengeStatus.md +20 -0
- package/docs/SignatureChallenge.md +11 -0
- package/docs/SignatureDetail.md +12 -0
- package/docs/TransactionCoboCategory.md +8 -0
- package/docs/TravelRuleApi.md +325 -1
- package/docs/TravelRuleTransactionType.md +12 -0
- package/docs/UpdateKeyShareHolderGroupByIdRequest.md +1 -0
- package/docs/WebhookEventData.md +1 -1
- package/docs/WebhookEventType.md +2 -0
- package/package.json +1 -1
- package/docs/UpdateBankAccountByIdRequest.md +0 -9
|
@@ -5,9 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _AddressVerificationDetail = _interopRequireDefault(require("../model/AddressVerificationDetail"));
|
|
9
|
+
var _AddressVerificationStatus = _interopRequireDefault(require("../model/AddressVerificationStatus"));
|
|
10
|
+
var _CancelSatoshiTestChallengeRequest = _interopRequireDefault(require("../model/CancelSatoshiTestChallengeRequest"));
|
|
11
|
+
var _CreateSatoshiTestChallengeRequest = _interopRequireDefault(require("../model/CreateSatoshiTestChallengeRequest"));
|
|
8
12
|
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
9
13
|
var _GetTransactionLimitation200Response = _interopRequireDefault(require("../model/GetTransactionLimitation200Response"));
|
|
14
|
+
var _ListAddressVerifications200Response = _interopRequireDefault(require("../model/ListAddressVerifications200Response"));
|
|
10
15
|
var _ListSupportedCountries200ResponseInner = _interopRequireDefault(require("../model/ListSupportedCountries200ResponseInner"));
|
|
16
|
+
var _SatoshiTestCancelResult = _interopRequireDefault(require("../model/SatoshiTestCancelResult"));
|
|
17
|
+
var _SatoshiTestChallenge = _interopRequireDefault(require("../model/SatoshiTestChallenge"));
|
|
18
|
+
var _SignatureChallenge = _interopRequireDefault(require("../model/SignatureChallenge"));
|
|
11
19
|
var _SubmitDepositTravelRuleInfo201Response = _interopRequireDefault(require("../model/SubmitDepositTravelRuleInfo201Response"));
|
|
12
20
|
var _TravelRuleDepositRequest = _interopRequireDefault(require("../model/TravelRuleDepositRequest"));
|
|
13
21
|
var _TravelRuleWithdrawRequest = _interopRequireDefault(require("../model/TravelRuleWithdrawRequest"));
|
|
@@ -45,13 +53,234 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
/**
|
|
48
|
-
*
|
|
49
|
-
* This operation
|
|
50
|
-
* @param {
|
|
51
|
-
* @param {
|
|
52
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
56
|
+
* Cancel Satoshi Test challenge
|
|
57
|
+
* This operation cancels a Satoshi Test challenge that is currently in `PREPARE` or `PENDING` status. Typical use case: the counterparty decides to switch verification methods before transferring. Once cancelled, the challenge status becomes `DELETED` and the on-chain match will no longer be observed. Challenges already in `MATCHED`, `VERIFIED`, `EXPIRED`, or `DELETED` state cannot be cancelled.
|
|
58
|
+
* @param {Object} opts Optional parameters
|
|
59
|
+
* @param {module:model/CancelSatoshiTestChallengeRequest} [CancelSatoshiTestChallengeRequest]
|
|
60
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SatoshiTestCancelResult} and HTTP response
|
|
53
61
|
*/
|
|
54
62
|
return _createClass(TravelRuleApi, [{
|
|
63
|
+
key: "cancelSatoshiTestChallengeWithHttpInfo",
|
|
64
|
+
value: function cancelSatoshiTestChallengeWithHttpInfo(opts) {
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
var postBody = opts['CancelSatoshiTestChallengeRequest'];
|
|
67
|
+
if (postBody && postBody.toJSON) {
|
|
68
|
+
postBody = postBody.toJSON();
|
|
69
|
+
}
|
|
70
|
+
var pathParams = {};
|
|
71
|
+
var queryParams = {};
|
|
72
|
+
var headerParams = {};
|
|
73
|
+
var formParams = {};
|
|
74
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
75
|
+
var contentTypes = ['application/json'];
|
|
76
|
+
var accepts = ['application/json'];
|
|
77
|
+
var returnType = _SatoshiTestCancelResult["default"];
|
|
78
|
+
return this.apiClient.callApi('/travel_rule/satoshi_test/challenge/cancel', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Cancel Satoshi Test challenge
|
|
83
|
+
* This operation cancels a Satoshi Test challenge that is currently in `PREPARE` or `PENDING` status. Typical use case: the counterparty decides to switch verification methods before transferring. Once cancelled, the challenge status becomes `DELETED` and the on-chain match will no longer be observed. Challenges already in `MATCHED`, `VERIFIED`, `EXPIRED`, or `DELETED` state cannot be cancelled.
|
|
84
|
+
* @param {Object} opts Optional parameters
|
|
85
|
+
* @param {module:model/CancelSatoshiTestChallengeRequest} opts.CancelSatoshiTestChallengeRequest
|
|
86
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SatoshiTestCancelResult}
|
|
87
|
+
*/
|
|
88
|
+
}, {
|
|
89
|
+
key: "cancelSatoshiTestChallenge",
|
|
90
|
+
value: function cancelSatoshiTestChallenge(opts) {
|
|
91
|
+
return this.cancelSatoshiTestChallengeWithHttpInfo(opts).then(function (response_and_data) {
|
|
92
|
+
return response_and_data.data;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Create Satoshi Test challenge
|
|
98
|
+
* This operation creates a Satoshi Test challenge for self-custody address verification. Satoshi Test verifies address ownership by having the counterparty transfer a small, uniquely-generated amount from their wallet to a Cobo-controlled verification address. A single endpoint covers both flows via the `action` parameter: - **Two-step flow** (`action=PREPARE` then `action=SUBMIT`): Preview the verification details first, then activate. The 180-minute countdown only starts on `SUBMIT`. The server uses `(chain_id, from_address)` as the idempotency key, so the second call automatically targets the prepared challenge. For extra safety, pass the `challenge_id` returned by `PREPARE` in the subsequent `SUBMIT` call — it pins the activation to that specific challenge. - **One-shot flow** (`action=SUBMIT` directly, without `challenge_id`): Prepare and submit in a single call. The challenge is created directly in `PENDING` state with the countdown started. If the counterparty address has already been verified, the operation returns HTTP 400 `ADDRESS_ALREADY_VERIFIED`. Call [List address verifications](#operation/list_address_verifications) with `chain_id`, `address`, and `status=VERIFIED` first to pre-check. Supported chains: `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`.
|
|
99
|
+
* @param {Object} opts Optional parameters
|
|
100
|
+
* @param {module:model/CreateSatoshiTestChallengeRequest} [CreateSatoshiTestChallengeRequest]
|
|
101
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SatoshiTestChallenge} and HTTP response
|
|
102
|
+
*/
|
|
103
|
+
}, {
|
|
104
|
+
key: "createSatoshiTestChallengeWithHttpInfo",
|
|
105
|
+
value: function createSatoshiTestChallengeWithHttpInfo(opts) {
|
|
106
|
+
opts = opts || {};
|
|
107
|
+
var postBody = opts['CreateSatoshiTestChallengeRequest'];
|
|
108
|
+
if (postBody && postBody.toJSON) {
|
|
109
|
+
postBody = postBody.toJSON();
|
|
110
|
+
}
|
|
111
|
+
var pathParams = {};
|
|
112
|
+
var queryParams = {};
|
|
113
|
+
var headerParams = {};
|
|
114
|
+
var formParams = {};
|
|
115
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
116
|
+
var contentTypes = ['application/json'];
|
|
117
|
+
var accepts = ['application/json'];
|
|
118
|
+
var returnType = _SatoshiTestChallenge["default"];
|
|
119
|
+
return this.apiClient.callApi('/travel_rule/satoshi_test/challenge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Create Satoshi Test challenge
|
|
124
|
+
* This operation creates a Satoshi Test challenge for self-custody address verification. Satoshi Test verifies address ownership by having the counterparty transfer a small, uniquely-generated amount from their wallet to a Cobo-controlled verification address. A single endpoint covers both flows via the `action` parameter: - **Two-step flow** (`action=PREPARE` then `action=SUBMIT`): Preview the verification details first, then activate. The 180-minute countdown only starts on `SUBMIT`. The server uses `(chain_id, from_address)` as the idempotency key, so the second call automatically targets the prepared challenge. For extra safety, pass the `challenge_id` returned by `PREPARE` in the subsequent `SUBMIT` call — it pins the activation to that specific challenge. - **One-shot flow** (`action=SUBMIT` directly, without `challenge_id`): Prepare and submit in a single call. The challenge is created directly in `PENDING` state with the countdown started. If the counterparty address has already been verified, the operation returns HTTP 400 `ADDRESS_ALREADY_VERIFIED`. Call [List address verifications](#operation/list_address_verifications) with `chain_id`, `address`, and `status=VERIFIED` first to pre-check. Supported chains: `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`.
|
|
125
|
+
* @param {Object} opts Optional parameters
|
|
126
|
+
* @param {module:model/CreateSatoshiTestChallengeRequest} opts.CreateSatoshiTestChallengeRequest
|
|
127
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SatoshiTestChallenge}
|
|
128
|
+
*/
|
|
129
|
+
}, {
|
|
130
|
+
key: "createSatoshiTestChallenge",
|
|
131
|
+
value: function createSatoshiTestChallenge(opts) {
|
|
132
|
+
return this.createSatoshiTestChallengeWithHttpInfo(opts).then(function (response_and_data) {
|
|
133
|
+
return response_and_data.data;
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Get address verification
|
|
139
|
+
* Retrieve a single self-custody address verification record by its `verification_id`, including method-specific provenance: - `verification_method=SIGNATURE` → `signature_detail` is populated. - `verification_method=SATOSHI_TEST` → `satoshi_test_detail` carries the latest challenge state (`status`, `remaining_seconds`, `matched_txid`). Use [List address verifications](#operation/list_address_verifications) to discover `verification_id` values.
|
|
140
|
+
* @param {String} verification_id The unique identifier of the address verification record.
|
|
141
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddressVerificationDetail} and HTTP response
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "getAddressVerificationWithHttpInfo",
|
|
145
|
+
value: function getAddressVerificationWithHttpInfo(verification_id) {
|
|
146
|
+
var postBody = null;
|
|
147
|
+
if (postBody && postBody.toJSON) {
|
|
148
|
+
postBody = postBody.toJSON();
|
|
149
|
+
}
|
|
150
|
+
// verify the required parameter 'verification_id' is set
|
|
151
|
+
if (verification_id === undefined || verification_id === null) {
|
|
152
|
+
throw new Error("Missing the required parameter 'verification_id' when calling getAddressVerification");
|
|
153
|
+
}
|
|
154
|
+
var pathParams = {
|
|
155
|
+
'verification_id': verification_id
|
|
156
|
+
};
|
|
157
|
+
var queryParams = {};
|
|
158
|
+
var headerParams = {};
|
|
159
|
+
var formParams = {};
|
|
160
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
161
|
+
var contentTypes = [];
|
|
162
|
+
var accepts = ['application/json'];
|
|
163
|
+
var returnType = _AddressVerificationDetail["default"];
|
|
164
|
+
return this.apiClient.callApi('/travel_rule/address_verifications/{verification_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Get address verification
|
|
169
|
+
* Retrieve a single self-custody address verification record by its `verification_id`, including method-specific provenance: - `verification_method=SIGNATURE` → `signature_detail` is populated. - `verification_method=SATOSHI_TEST` → `satoshi_test_detail` carries the latest challenge state (`status`, `remaining_seconds`, `matched_txid`). Use [List address verifications](#operation/list_address_verifications) to discover `verification_id` values.
|
|
170
|
+
* @param {String} verification_id The unique identifier of the address verification record.
|
|
171
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddressVerificationDetail}
|
|
172
|
+
*/
|
|
173
|
+
}, {
|
|
174
|
+
key: "getAddressVerification",
|
|
175
|
+
value: function getAddressVerification(verification_id) {
|
|
176
|
+
return this.getAddressVerificationWithHttpInfo(verification_id).then(function (response_and_data) {
|
|
177
|
+
return response_and_data.data;
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Get Satoshi Test challenge
|
|
183
|
+
* This operation returns the current state of a Satoshi Test challenge — useful for polling after submission. The response contains the challenge `status` and `remaining_seconds`. Recommended polling interval: 10–30 seconds. The challenge will transition through `PENDING` → `MATCHED` → `VERIFIED` once the counterparty's transfer is observed and confirmed on chain. If the challenge is not matched within 180 minutes, the status becomes `EXPIRED`.
|
|
184
|
+
* @param {String} challenge_id The Satoshi Test challenge ID returned by the `prepare` or `submit` operation.
|
|
185
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SatoshiTestChallenge} and HTTP response
|
|
186
|
+
*/
|
|
187
|
+
}, {
|
|
188
|
+
key: "getSatoshiTestChallengeWithHttpInfo",
|
|
189
|
+
value: function getSatoshiTestChallengeWithHttpInfo(challenge_id) {
|
|
190
|
+
var postBody = null;
|
|
191
|
+
if (postBody && postBody.toJSON) {
|
|
192
|
+
postBody = postBody.toJSON();
|
|
193
|
+
}
|
|
194
|
+
// verify the required parameter 'challenge_id' is set
|
|
195
|
+
if (challenge_id === undefined || challenge_id === null) {
|
|
196
|
+
throw new Error("Missing the required parameter 'challenge_id' when calling getSatoshiTestChallenge");
|
|
197
|
+
}
|
|
198
|
+
var pathParams = {};
|
|
199
|
+
var queryParams = {
|
|
200
|
+
'challenge_id': challenge_id
|
|
201
|
+
};
|
|
202
|
+
var headerParams = {};
|
|
203
|
+
var formParams = {};
|
|
204
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
205
|
+
var contentTypes = [];
|
|
206
|
+
var accepts = ['application/json'];
|
|
207
|
+
var returnType = _SatoshiTestChallenge["default"];
|
|
208
|
+
return this.apiClient.callApi('/travel_rule/satoshi_test/challenge/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Get Satoshi Test challenge
|
|
213
|
+
* This operation returns the current state of a Satoshi Test challenge — useful for polling after submission. The response contains the challenge `status` and `remaining_seconds`. Recommended polling interval: 10–30 seconds. The challenge will transition through `PENDING` → `MATCHED` → `VERIFIED` once the counterparty's transfer is observed and confirmed on chain. If the challenge is not matched within 180 minutes, the status becomes `EXPIRED`.
|
|
214
|
+
* @param {String} challenge_id The Satoshi Test challenge ID returned by the `prepare` or `submit` operation.
|
|
215
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SatoshiTestChallenge}
|
|
216
|
+
*/
|
|
217
|
+
}, {
|
|
218
|
+
key: "getSatoshiTestChallenge",
|
|
219
|
+
value: function getSatoshiTestChallenge(challenge_id) {
|
|
220
|
+
return this.getSatoshiTestChallengeWithHttpInfo(challenge_id).then(function (response_and_data) {
|
|
221
|
+
return response_and_data.data;
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Get self-custody signature challenge
|
|
227
|
+
* This operation issues a one-time, time-bounded message for a self-custody wallet address to sign, in order to prove wallet ownership. The signature is then submitted via [Submit Travel Rule information for deposits](#operation/submit_deposit_travel_rule_info) or [withdrawals](#operation/submit_withdraw_travel_rule_info). Use this endpoint when you want to verify the counterparty's self-custody address via off-chain signature. For address verification via on-chain micro-deposit, use the Satoshi Test endpoints (`/travel_rule/satoshi_test/...`) instead. The challenge is valid for a short window (returned as `expires_in`, currently 30 seconds). Calling this endpoint again for the same transaction rotates the challenge — only the latest issued value will verify.
|
|
228
|
+
* @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
|
|
229
|
+
* @param {String} transaction_id The transaction ID.
|
|
230
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignatureChallenge} and HTTP response
|
|
231
|
+
*/
|
|
232
|
+
}, {
|
|
233
|
+
key: "getSignatureChallengeWithHttpInfo",
|
|
234
|
+
value: function getSignatureChallengeWithHttpInfo(transaction_type, transaction_id) {
|
|
235
|
+
var postBody = null;
|
|
236
|
+
if (postBody && postBody.toJSON) {
|
|
237
|
+
postBody = postBody.toJSON();
|
|
238
|
+
}
|
|
239
|
+
// verify the required parameter 'transaction_type' is set
|
|
240
|
+
if (transaction_type === undefined || transaction_type === null) {
|
|
241
|
+
throw new Error("Missing the required parameter 'transaction_type' when calling getSignatureChallenge");
|
|
242
|
+
}
|
|
243
|
+
// verify the required parameter 'transaction_id' is set
|
|
244
|
+
if (transaction_id === undefined || transaction_id === null) {
|
|
245
|
+
throw new Error("Missing the required parameter 'transaction_id' when calling getSignatureChallenge");
|
|
246
|
+
}
|
|
247
|
+
var pathParams = {};
|
|
248
|
+
var queryParams = {
|
|
249
|
+
'transaction_type': transaction_type,
|
|
250
|
+
'transaction_id': transaction_id
|
|
251
|
+
};
|
|
252
|
+
var headerParams = {};
|
|
253
|
+
var formParams = {};
|
|
254
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
255
|
+
var contentTypes = [];
|
|
256
|
+
var accepts = ['application/json'];
|
|
257
|
+
var returnType = _SignatureChallenge["default"];
|
|
258
|
+
return this.apiClient.callApi('/travel_rule/signature_challenge', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Get self-custody signature challenge
|
|
263
|
+
* This operation issues a one-time, time-bounded message for a self-custody wallet address to sign, in order to prove wallet ownership. The signature is then submitted via [Submit Travel Rule information for deposits](#operation/submit_deposit_travel_rule_info) or [withdrawals](#operation/submit_withdraw_travel_rule_info). Use this endpoint when you want to verify the counterparty's self-custody address via off-chain signature. For address verification via on-chain micro-deposit, use the Satoshi Test endpoints (`/travel_rule/satoshi_test/...`) instead. The challenge is valid for a short window (returned as `expires_in`, currently 30 seconds). Calling this endpoint again for the same transaction rotates the challenge — only the latest issued value will verify.
|
|
264
|
+
* @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
|
|
265
|
+
* @param {String} transaction_id The transaction ID.
|
|
266
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignatureChallenge}
|
|
267
|
+
*/
|
|
268
|
+
}, {
|
|
269
|
+
key: "getSignatureChallenge",
|
|
270
|
+
value: function getSignatureChallenge(transaction_type, transaction_id) {
|
|
271
|
+
return this.getSignatureChallengeWithHttpInfo(transaction_type, transaction_id).then(function (response_and_data) {
|
|
272
|
+
return response_and_data.data;
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Retrieve transaction limitations
|
|
278
|
+
* <Note>The `self_custody_wallet_challenge` field in the response is deprecated. To obtain a signature challenge, call [Get self-custody signature challenge](#operation/get_signature_challenge) instead. This operation itself is not deprecated and continues to return the VASP list, threshold info, connect wallet list, and Satoshi Test support.</Note> This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
|
|
279
|
+
* @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
|
|
280
|
+
* @param {String} transaction_id The transaction ID.
|
|
281
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTransactionLimitation200Response} and HTTP response
|
|
282
|
+
*/
|
|
283
|
+
}, {
|
|
55
284
|
key: "getTransactionLimitationWithHttpInfo",
|
|
56
285
|
value: function getTransactionLimitationWithHttpInfo(transaction_type, transaction_id) {
|
|
57
286
|
var postBody = null;
|
|
@@ -82,7 +311,7 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
82
311
|
|
|
83
312
|
/**
|
|
84
313
|
* Retrieve transaction limitations
|
|
85
|
-
* This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
|
|
314
|
+
* <Note>The `self_custody_wallet_challenge` field in the response is deprecated. To obtain a signature challenge, call [Get self-custody signature challenge](#operation/get_signature_challenge) instead. This operation itself is not deprecated and continues to return the VASP list, threshold info, connect wallet list, and Satoshi Test support.</Note> This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
|
|
86
315
|
* @param {module:model/String} transaction_type The transaction type. Possible values include: - `DEPOSIT`: A deposit transaction. - `WITHDRAW`: A withdrawal transaction.
|
|
87
316
|
* @param {String} transaction_id The transaction ID.
|
|
88
317
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTransactionLimitation200Response}
|
|
@@ -95,6 +324,64 @@ var TravelRuleApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
95
324
|
});
|
|
96
325
|
}
|
|
97
326
|
|
|
327
|
+
/**
|
|
328
|
+
* List address verifications
|
|
329
|
+
* List self-custody address verification records under the current organization with optional filters and cursor-based pagination. Records are sorted by creation time descending (most recent first). Use `limit` plus `before` / `after` cursors from the previous page's `pagination` block to traverse pages. Each record's `status` is one of `PENDING`, `VERIFIED`, or `FAILED`.
|
|
330
|
+
* @param {Object} opts Optional parameters
|
|
331
|
+
* @param {module:model/AddressVerificationStatus} [status] Filter by verification status. Allowed values: - `PENDING`: A Satoshi Test challenge is in progress (countdown active or awaiting confirmation). - `VERIFIED`: The address ownership has been confirmed (by signature or by a matched Satoshi Test transfer). - `FAILED`: The verification attempt did not succeed (Satoshi Test expired without match, or signature verification rejected). Omit this parameter to return records of all three statuses.
|
|
332
|
+
* @param {String} [chain_id] Filter by chain ID (e.g. `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`).
|
|
333
|
+
* @param {String} [address] Filter by counterparty (self-custody) wallet address.
|
|
334
|
+
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
335
|
+
* @param {String} [before] A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
336
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
337
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListAddressVerifications200Response} and HTTP response
|
|
338
|
+
*/
|
|
339
|
+
}, {
|
|
340
|
+
key: "listAddressVerificationsWithHttpInfo",
|
|
341
|
+
value: function listAddressVerificationsWithHttpInfo(opts) {
|
|
342
|
+
opts = opts || {};
|
|
343
|
+
var postBody = null;
|
|
344
|
+
if (postBody && postBody.toJSON) {
|
|
345
|
+
postBody = postBody.toJSON();
|
|
346
|
+
}
|
|
347
|
+
var pathParams = {};
|
|
348
|
+
var queryParams = {
|
|
349
|
+
'status': opts['status'],
|
|
350
|
+
'chain_id': opts['chain_id'],
|
|
351
|
+
'address': opts['address'],
|
|
352
|
+
'limit': opts['limit'],
|
|
353
|
+
'before': opts['before'],
|
|
354
|
+
'after': opts['after']
|
|
355
|
+
};
|
|
356
|
+
var headerParams = {};
|
|
357
|
+
var formParams = {};
|
|
358
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
359
|
+
var contentTypes = [];
|
|
360
|
+
var accepts = ['application/json'];
|
|
361
|
+
var returnType = _ListAddressVerifications200Response["default"];
|
|
362
|
+
return this.apiClient.callApi('/travel_rule/address_verifications', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* List address verifications
|
|
367
|
+
* List self-custody address verification records under the current organization with optional filters and cursor-based pagination. Records are sorted by creation time descending (most recent first). Use `limit` plus `before` / `after` cursors from the previous page's `pagination` block to traverse pages. Each record's `status` is one of `PENDING`, `VERIFIED`, or `FAILED`.
|
|
368
|
+
* @param {Object} opts Optional parameters
|
|
369
|
+
* @param {module:model/AddressVerificationStatus} opts.status Filter by verification status. Allowed values: - `PENDING`: A Satoshi Test challenge is in progress (countdown active or awaiting confirmation). - `VERIFIED`: The address ownership has been confirmed (by signature or by a matched Satoshi Test transfer). - `FAILED`: The verification attempt did not succeed (Satoshi Test expired without match, or signature verification rejected). Omit this parameter to return records of all three statuses.
|
|
370
|
+
* @param {String} opts.chain_id Filter by chain ID (e.g. `BTC`, `ETH`, `BASE_ETH`, `BSC_BNB`, `TRON`).
|
|
371
|
+
* @param {String} opts.address Filter by counterparty (self-custody) wallet address.
|
|
372
|
+
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
373
|
+
* @param {String} opts.before A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.
|
|
374
|
+
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
375
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListAddressVerifications200Response}
|
|
376
|
+
*/
|
|
377
|
+
}, {
|
|
378
|
+
key: "listAddressVerifications",
|
|
379
|
+
value: function listAddressVerifications(opts) {
|
|
380
|
+
return this.listAddressVerificationsWithHttpInfo(opts).then(function (response_and_data) {
|
|
381
|
+
return response_and_data.data;
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
|
|
98
385
|
/**
|
|
99
386
|
* List supported countries
|
|
100
387
|
* This operation retrieves a list of supported countries that can be used when submitting Travel Rule information. Use this endpoint to obtain valid country values for: - Place of incorporation of a legal entity - Place of birth of a natural person
|
package/dist/index.js
CHANGED
|
@@ -111,6 +111,42 @@ Object.defineProperty(exports, "AddressTransferDestinationUtxoOutputsInner", {
|
|
|
111
111
|
return _AddressTransferDestinationUtxoOutputsInner["default"];
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
|
+
Object.defineProperty(exports, "AddressVerification", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function get() {
|
|
117
|
+
return _AddressVerification["default"];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "AddressVerificationDetail", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function get() {
|
|
123
|
+
return _AddressVerificationDetail["default"];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "AddressVerificationDetailSatoshiTestDetail", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _AddressVerificationDetailSatoshiTestDetail["default"];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "AddressVerificationDetailSignatureDetail", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function get() {
|
|
135
|
+
return _AddressVerificationDetailSignatureDetail["default"];
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "AddressVerificationMethod", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function get() {
|
|
141
|
+
return _AddressVerificationMethod["default"];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "AddressVerificationStatus", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function get() {
|
|
147
|
+
return _AddressVerificationStatus["default"];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
114
150
|
Object.defineProperty(exports, "AddressesEventData", {
|
|
115
151
|
enumerable: true,
|
|
116
152
|
get: function get() {
|
|
@@ -483,6 +519,12 @@ Object.defineProperty(exports, "CallbackMessage", {
|
|
|
483
519
|
return _CallbackMessage["default"];
|
|
484
520
|
}
|
|
485
521
|
});
|
|
522
|
+
Object.defineProperty(exports, "CancelSatoshiTestChallengeRequest", {
|
|
523
|
+
enumerable: true,
|
|
524
|
+
get: function get() {
|
|
525
|
+
return _CancelSatoshiTestChallengeRequest["default"];
|
|
526
|
+
}
|
|
527
|
+
});
|
|
486
528
|
Object.defineProperty(exports, "ChainInfo", {
|
|
487
529
|
enumerable: true,
|
|
488
530
|
get: function get() {
|
|
@@ -903,6 +945,12 @@ Object.defineProperty(exports, "CreateSafeWalletParams", {
|
|
|
903
945
|
return _CreateSafeWalletParams["default"];
|
|
904
946
|
}
|
|
905
947
|
});
|
|
948
|
+
Object.defineProperty(exports, "CreateSatoshiTestChallengeRequest", {
|
|
949
|
+
enumerable: true,
|
|
950
|
+
get: function get() {
|
|
951
|
+
return _CreateSatoshiTestChallengeRequest["default"];
|
|
952
|
+
}
|
|
953
|
+
});
|
|
906
954
|
Object.defineProperty(exports, "CreateSettlement", {
|
|
907
955
|
enumerable: true,
|
|
908
956
|
get: function get() {
|
|
@@ -1923,6 +1971,12 @@ Object.defineProperty(exports, "ListAddressBooks200Response", {
|
|
|
1923
1971
|
return _ListAddressBooks200Response["default"];
|
|
1924
1972
|
}
|
|
1925
1973
|
});
|
|
1974
|
+
Object.defineProperty(exports, "ListAddressVerifications200Response", {
|
|
1975
|
+
enumerable: true,
|
|
1976
|
+
get: function get() {
|
|
1977
|
+
return _ListAddressVerifications200Response["default"];
|
|
1978
|
+
}
|
|
1979
|
+
});
|
|
1926
1980
|
Object.defineProperty(exports, "ListAddresses200Response", {
|
|
1927
1981
|
enumerable: true,
|
|
1928
1982
|
get: function get() {
|
|
@@ -1995,6 +2049,12 @@ Object.defineProperty(exports, "ListBulkSendItems200Response", {
|
|
|
1995
2049
|
return _ListBulkSendItems200Response["default"];
|
|
1996
2050
|
}
|
|
1997
2051
|
});
|
|
2052
|
+
Object.defineProperty(exports, "ListBulkSends200Response", {
|
|
2053
|
+
enumerable: true,
|
|
2054
|
+
get: function get() {
|
|
2055
|
+
return _ListBulkSends200Response["default"];
|
|
2056
|
+
}
|
|
2057
|
+
});
|
|
1998
2058
|
Object.defineProperty(exports, "ListCallbackMessages200Response", {
|
|
1999
2059
|
enumerable: true,
|
|
2000
2060
|
get: function get() {
|
|
@@ -2085,6 +2145,12 @@ Object.defineProperty(exports, "ListMpcVaults200Response", {
|
|
|
2085
2145
|
return _ListMpcVaults200Response["default"];
|
|
2086
2146
|
}
|
|
2087
2147
|
});
|
|
2148
|
+
Object.defineProperty(exports, "ListPayerTransactions200Response", {
|
|
2149
|
+
enumerable: true,
|
|
2150
|
+
get: function get() {
|
|
2151
|
+
return _ListPayerTransactions200Response["default"];
|
|
2152
|
+
}
|
|
2153
|
+
});
|
|
2088
2154
|
Object.defineProperty(exports, "ListPaymentOrders200Response", {
|
|
2089
2155
|
enumerable: true,
|
|
2090
2156
|
get: function get() {
|
|
@@ -2463,6 +2529,12 @@ Object.defineProperty(exports, "OrganizationsApi", {
|
|
|
2463
2529
|
return _OrganizationsApi["default"];
|
|
2464
2530
|
}
|
|
2465
2531
|
});
|
|
2532
|
+
Object.defineProperty(exports, "OriginalMainGroupHandling", {
|
|
2533
|
+
enumerable: true,
|
|
2534
|
+
get: function get() {
|
|
2535
|
+
return _OriginalMainGroupHandling["default"];
|
|
2536
|
+
}
|
|
2537
|
+
});
|
|
2466
2538
|
Object.defineProperty(exports, "OtcFee", {
|
|
2467
2539
|
enumerable: true,
|
|
2468
2540
|
get: function get() {
|
|
@@ -2973,6 +3045,30 @@ Object.defineProperty(exports, "SafeWalletDelegatesTransfer", {
|
|
|
2973
3045
|
return _SafeWalletDelegatesTransfer["default"];
|
|
2974
3046
|
}
|
|
2975
3047
|
});
|
|
3048
|
+
Object.defineProperty(exports, "SatoshiTestCancelResult", {
|
|
3049
|
+
enumerable: true,
|
|
3050
|
+
get: function get() {
|
|
3051
|
+
return _SatoshiTestCancelResult["default"];
|
|
3052
|
+
}
|
|
3053
|
+
});
|
|
3054
|
+
Object.defineProperty(exports, "SatoshiTestChallenge", {
|
|
3055
|
+
enumerable: true,
|
|
3056
|
+
get: function get() {
|
|
3057
|
+
return _SatoshiTestChallenge["default"];
|
|
3058
|
+
}
|
|
3059
|
+
});
|
|
3060
|
+
Object.defineProperty(exports, "SatoshiTestChallengeAction", {
|
|
3061
|
+
enumerable: true,
|
|
3062
|
+
get: function get() {
|
|
3063
|
+
return _SatoshiTestChallengeAction["default"];
|
|
3064
|
+
}
|
|
3065
|
+
});
|
|
3066
|
+
Object.defineProperty(exports, "SatoshiTestChallengeStatus", {
|
|
3067
|
+
enumerable: true,
|
|
3068
|
+
get: function get() {
|
|
3069
|
+
return _SatoshiTestChallengeStatus["default"];
|
|
3070
|
+
}
|
|
3071
|
+
});
|
|
2976
3072
|
Object.defineProperty(exports, "Scopes", {
|
|
2977
3073
|
enumerable: true,
|
|
2978
3074
|
get: function get() {
|
|
@@ -3033,6 +3129,18 @@ Object.defineProperty(exports, "SettlementType", {
|
|
|
3033
3129
|
return _SettlementType["default"];
|
|
3034
3130
|
}
|
|
3035
3131
|
});
|
|
3132
|
+
Object.defineProperty(exports, "SignatureChallenge", {
|
|
3133
|
+
enumerable: true,
|
|
3134
|
+
get: function get() {
|
|
3135
|
+
return _SignatureChallenge["default"];
|
|
3136
|
+
}
|
|
3137
|
+
});
|
|
3138
|
+
Object.defineProperty(exports, "SignatureDetail", {
|
|
3139
|
+
enumerable: true,
|
|
3140
|
+
get: function get() {
|
|
3141
|
+
return _SignatureDetail["default"];
|
|
3142
|
+
}
|
|
3143
|
+
});
|
|
3036
3144
|
Object.defineProperty(exports, "SkipCheckType", {
|
|
3037
3145
|
enumerable: true,
|
|
3038
3146
|
get: function get() {
|
|
@@ -4707,6 +4815,12 @@ Object.defineProperty(exports, "TravelRuleDepositRequestTravelRuleInfo", {
|
|
|
4707
4815
|
return _TravelRuleDepositRequestTravelRuleInfo["default"];
|
|
4708
4816
|
}
|
|
4709
4817
|
});
|
|
4818
|
+
Object.defineProperty(exports, "TravelRuleTransactionType", {
|
|
4819
|
+
enumerable: true,
|
|
4820
|
+
get: function get() {
|
|
4821
|
+
return _TravelRuleTransactionType["default"];
|
|
4822
|
+
}
|
|
4823
|
+
});
|
|
4710
4824
|
Object.defineProperty(exports, "TravelRuleWithdrawExchangesOrVASP", {
|
|
4711
4825
|
enumerable: true,
|
|
4712
4826
|
get: function get() {
|
|
@@ -4791,12 +4905,6 @@ Object.defineProperty(exports, "UpdateAddressBookParam", {
|
|
|
4791
4905
|
return _UpdateAddressBookParam["default"];
|
|
4792
4906
|
}
|
|
4793
4907
|
});
|
|
4794
|
-
Object.defineProperty(exports, "UpdateBankAccountByIdRequest", {
|
|
4795
|
-
enumerable: true,
|
|
4796
|
-
get: function get() {
|
|
4797
|
-
return _UpdateBankAccountByIdRequest["default"];
|
|
4798
|
-
}
|
|
4799
|
-
});
|
|
4800
4908
|
Object.defineProperty(exports, "UpdateCounterpartyRequest", {
|
|
4801
4909
|
enumerable: true,
|
|
4802
4910
|
get: function get() {
|
|
@@ -5058,6 +5166,12 @@ var _AddressRiskLevel = _interopRequireDefault(require("./model/AddressRiskLevel
|
|
|
5058
5166
|
var _AddressTransferDestination = _interopRequireDefault(require("./model/AddressTransferDestination"));
|
|
5059
5167
|
var _AddressTransferDestinationAccountOutput = _interopRequireDefault(require("./model/AddressTransferDestinationAccountOutput"));
|
|
5060
5168
|
var _AddressTransferDestinationUtxoOutputsInner = _interopRequireDefault(require("./model/AddressTransferDestinationUtxoOutputsInner"));
|
|
5169
|
+
var _AddressVerification = _interopRequireDefault(require("./model/AddressVerification"));
|
|
5170
|
+
var _AddressVerificationDetail = _interopRequireDefault(require("./model/AddressVerificationDetail"));
|
|
5171
|
+
var _AddressVerificationDetailSatoshiTestDetail = _interopRequireDefault(require("./model/AddressVerificationDetailSatoshiTestDetail"));
|
|
5172
|
+
var _AddressVerificationDetailSignatureDetail = _interopRequireDefault(require("./model/AddressVerificationDetailSignatureDetail"));
|
|
5173
|
+
var _AddressVerificationMethod = _interopRequireDefault(require("./model/AddressVerificationMethod"));
|
|
5174
|
+
var _AddressVerificationStatus = _interopRequireDefault(require("./model/AddressVerificationStatus"));
|
|
5061
5175
|
var _AddressesEventData = _interopRequireDefault(require("./model/AddressesEventData"));
|
|
5062
5176
|
var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./model/AddressesEventDataAllOfAddresses"));
|
|
5063
5177
|
var _AllocationItem = _interopRequireDefault(require("./model/AllocationItem"));
|
|
@@ -5117,6 +5231,7 @@ var _BridgingFee = _interopRequireDefault(require("./model/BridgingFee"));
|
|
|
5117
5231
|
var _BroadcastSignedTransactions201ResponseInner = _interopRequireDefault(require("./model/BroadcastSignedTransactions201ResponseInner"));
|
|
5118
5232
|
var _BroadcastSignedTransactionsRequest = _interopRequireDefault(require("./model/BroadcastSignedTransactionsRequest"));
|
|
5119
5233
|
var _CallbackMessage = _interopRequireDefault(require("./model/CallbackMessage"));
|
|
5234
|
+
var _CancelSatoshiTestChallengeRequest = _interopRequireDefault(require("./model/CancelSatoshiTestChallengeRequest"));
|
|
5120
5235
|
var _ChainInfo = _interopRequireDefault(require("./model/ChainInfo"));
|
|
5121
5236
|
var _ChainsEventData = _interopRequireDefault(require("./model/ChainsEventData"));
|
|
5122
5237
|
var _ChangeGuardPubkey200Response = _interopRequireDefault(require("./model/ChangeGuardPubkey200Response"));
|
|
@@ -5186,6 +5301,7 @@ var _CreateRefundLinkRequest = _interopRequireDefault(require("./model/CreateRef
|
|
|
5186
5301
|
var _CreateRefundRequest = _interopRequireDefault(require("./model/CreateRefundRequest"));
|
|
5187
5302
|
var _CreateReportRequest = _interopRequireDefault(require("./model/CreateReportRequest"));
|
|
5188
5303
|
var _CreateSafeWalletParams = _interopRequireDefault(require("./model/CreateSafeWalletParams"));
|
|
5304
|
+
var _CreateSatoshiTestChallengeRequest = _interopRequireDefault(require("./model/CreateSatoshiTestChallengeRequest"));
|
|
5189
5305
|
var _CreateSettlement = _interopRequireDefault(require("./model/CreateSettlement"));
|
|
5190
5306
|
var _CreateSettlementRequestRequest = _interopRequireDefault(require("./model/CreateSettlementRequestRequest"));
|
|
5191
5307
|
var _CreateSmartContractWalletParams = _interopRequireDefault(require("./model/CreateSmartContractWalletParams"));
|
|
@@ -5350,6 +5466,7 @@ var _Link = _interopRequireDefault(require("./model/Link"));
|
|
|
5350
5466
|
var _LinkDisplayInfo = _interopRequireDefault(require("./model/LinkDisplayInfo"));
|
|
5351
5467
|
var _ListAddressBalancesByToken200Response = _interopRequireDefault(require("./model/ListAddressBalancesByToken200Response"));
|
|
5352
5468
|
var _ListAddressBooks200Response = _interopRequireDefault(require("./model/ListAddressBooks200Response"));
|
|
5469
|
+
var _ListAddressVerifications200Response = _interopRequireDefault(require("./model/ListAddressVerifications200Response"));
|
|
5353
5470
|
var _ListAddresses200Response = _interopRequireDefault(require("./model/ListAddresses200Response"));
|
|
5354
5471
|
var _ListAllocationItems200Response = _interopRequireDefault(require("./model/ListAllocationItems200Response"));
|
|
5355
5472
|
var _ListApprovalRequests200Response = _interopRequireDefault(require("./model/ListApprovalRequests200Response"));
|
|
@@ -5362,6 +5479,7 @@ var _ListBabylonEligibleStakings200ResponseDataInner = _interopRequireDefault(re
|
|
|
5362
5479
|
var _ListBabylonStakingRegistrations200Response = _interopRequireDefault(require("./model/ListBabylonStakingRegistrations200Response"));
|
|
5363
5480
|
var _ListBatchAllocations200Response = _interopRequireDefault(require("./model/ListBatchAllocations200Response"));
|
|
5364
5481
|
var _ListBulkSendItems200Response = _interopRequireDefault(require("./model/ListBulkSendItems200Response"));
|
|
5482
|
+
var _ListBulkSends200Response = _interopRequireDefault(require("./model/ListBulkSends200Response"));
|
|
5365
5483
|
var _ListCallbackMessages200Response = _interopRequireDefault(require("./model/ListCallbackMessages200Response"));
|
|
5366
5484
|
var _ListCounterparties200Response = _interopRequireDefault(require("./model/ListCounterparties200Response"));
|
|
5367
5485
|
var _ListCounterpartyEntries200Response = _interopRequireDefault(require("./model/ListCounterpartyEntries200Response"));
|
|
@@ -5377,6 +5495,7 @@ var _ListMerchantBalances200Response = _interopRequireDefault(require("./model/L
|
|
|
5377
5495
|
var _ListMerchants200Response = _interopRequireDefault(require("./model/ListMerchants200Response"));
|
|
5378
5496
|
var _ListMpcProjects200Response = _interopRequireDefault(require("./model/ListMpcProjects200Response"));
|
|
5379
5497
|
var _ListMpcVaults200Response = _interopRequireDefault(require("./model/ListMpcVaults200Response"));
|
|
5498
|
+
var _ListPayerTransactions200Response = _interopRequireDefault(require("./model/ListPayerTransactions200Response"));
|
|
5380
5499
|
var _ListPaymentOrders200Response = _interopRequireDefault(require("./model/ListPaymentOrders200Response"));
|
|
5381
5500
|
var _ListPaymentWalletBalances200Response = _interopRequireDefault(require("./model/ListPaymentWalletBalances200Response"));
|
|
5382
5501
|
var _ListPayouts200Response = _interopRequireDefault(require("./model/ListPayouts200Response"));
|
|
@@ -5438,6 +5557,7 @@ var _OrderLinkBusinessInfoCustomExchangeRatesInner = _interopRequireDefault(requ
|
|
|
5438
5557
|
var _OrderLinkBusinessInfoPayableAmountsInner = _interopRequireDefault(require("./model/OrderLinkBusinessInfoPayableAmountsInner"));
|
|
5439
5558
|
var _OrderStatus = _interopRequireDefault(require("./model/OrderStatus"));
|
|
5440
5559
|
var _OrgInfo = _interopRequireDefault(require("./model/OrgInfo"));
|
|
5560
|
+
var _OriginalMainGroupHandling = _interopRequireDefault(require("./model/OriginalMainGroupHandling"));
|
|
5441
5561
|
var _OtcFee = _interopRequireDefault(require("./model/OtcFee"));
|
|
5442
5562
|
var _Pagination = _interopRequireDefault(require("./model/Pagination"));
|
|
5443
5563
|
var _PayerAccount = _interopRequireDefault(require("./model/PayerAccount"));
|
|
@@ -5521,6 +5641,10 @@ var _SafeWallet = _interopRequireDefault(require("./model/SafeWallet"));
|
|
|
5521
5641
|
var _SafeWalletDelegates = _interopRequireDefault(require("./model/SafeWalletDelegates"));
|
|
5522
5642
|
var _SafeWalletDelegatesContractCall = _interopRequireDefault(require("./model/SafeWalletDelegatesContractCall"));
|
|
5523
5643
|
var _SafeWalletDelegatesTransfer = _interopRequireDefault(require("./model/SafeWalletDelegatesTransfer"));
|
|
5644
|
+
var _SatoshiTestCancelResult = _interopRequireDefault(require("./model/SatoshiTestCancelResult"));
|
|
5645
|
+
var _SatoshiTestChallenge = _interopRequireDefault(require("./model/SatoshiTestChallenge"));
|
|
5646
|
+
var _SatoshiTestChallengeAction = _interopRequireDefault(require("./model/SatoshiTestChallengeAction"));
|
|
5647
|
+
var _SatoshiTestChallengeStatus = _interopRequireDefault(require("./model/SatoshiTestChallengeStatus"));
|
|
5524
5648
|
var _Scopes = _interopRequireDefault(require("./model/Scopes"));
|
|
5525
5649
|
var _SelectedEntityType = _interopRequireDefault(require("./model/SelectedEntityType"));
|
|
5526
5650
|
var _SelfCustodyWallet = _interopRequireDefault(require("./model/SelfCustodyWallet"));
|
|
@@ -5530,6 +5654,8 @@ var _Settlement = _interopRequireDefault(require("./model/Settlement"));
|
|
|
5530
5654
|
var _SettlementDetail = _interopRequireDefault(require("./model/SettlementDetail"));
|
|
5531
5655
|
var _SettlementInfo = _interopRequireDefault(require("./model/SettlementInfo"));
|
|
5532
5656
|
var _SettlementType = _interopRequireDefault(require("./model/SettlementType"));
|
|
5657
|
+
var _SignatureChallenge = _interopRequireDefault(require("./model/SignatureChallenge"));
|
|
5658
|
+
var _SignatureDetail = _interopRequireDefault(require("./model/SignatureDetail"));
|
|
5533
5659
|
var _SkipCheckType = _interopRequireDefault(require("./model/SkipCheckType"));
|
|
5534
5660
|
var _SmartContractInitiator = _interopRequireDefault(require("./model/SmartContractInitiator"));
|
|
5535
5661
|
var _SmartContractWalletInfo = _interopRequireDefault(require("./model/SmartContractWalletInfo"));
|
|
@@ -5804,6 +5930,7 @@ var _TravelRuleDepositLegalEntity = _interopRequireDefault(require("./model/Trav
|
|
|
5804
5930
|
var _TravelRuleDepositNaturalEntity = _interopRequireDefault(require("./model/TravelRuleDepositNaturalEntity"));
|
|
5805
5931
|
var _TravelRuleDepositRequest = _interopRequireDefault(require("./model/TravelRuleDepositRequest"));
|
|
5806
5932
|
var _TravelRuleDepositRequestTravelRuleInfo = _interopRequireDefault(require("./model/TravelRuleDepositRequestTravelRuleInfo"));
|
|
5933
|
+
var _TravelRuleTransactionType = _interopRequireDefault(require("./model/TravelRuleTransactionType"));
|
|
5807
5934
|
var _TravelRuleWithdrawExchangesOrVASP = _interopRequireDefault(require("./model/TravelRuleWithdrawExchangesOrVASP"));
|
|
5808
5935
|
var _TravelRuleWithdrawExchangesOrVASPEntityInfo = _interopRequireDefault(require("./model/TravelRuleWithdrawExchangesOrVASPEntityInfo"));
|
|
5809
5936
|
var _TravelRuleWithdrawLegalEntity = _interopRequireDefault(require("./model/TravelRuleWithdrawLegalEntity"));
|
|
@@ -5818,7 +5945,6 @@ var _TronContractCallDestination = _interopRequireDefault(require("./model/TronC
|
|
|
5818
5945
|
var _UTXO = _interopRequireDefault(require("./model/UTXO"));
|
|
5819
5946
|
var _UnfreezeDisposition = _interopRequireDefault(require("./model/UnfreezeDisposition"));
|
|
5820
5947
|
var _UpdateAddressBookParam = _interopRequireDefault(require("./model/UpdateAddressBookParam"));
|
|
5821
|
-
var _UpdateBankAccountByIdRequest = _interopRequireDefault(require("./model/UpdateBankAccountByIdRequest"));
|
|
5822
5948
|
var _UpdateCounterpartyRequest = _interopRequireDefault(require("./model/UpdateCounterpartyRequest"));
|
|
5823
5949
|
var _UpdateCustodialWalletParams = _interopRequireDefault(require("./model/UpdateCustodialWalletParams"));
|
|
5824
5950
|
var _UpdateDestinationBankAccount = _interopRequireDefault(require("./model/UpdateDestinationBankAccount"));
|