@cobo/cobo-waas2 1.30.0 → 1.32.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 +9 -36
- package/dist/ApiClient.js +1 -1
- package/dist/api/AutoSweepApi.js +4 -4
- package/dist/api/FeeStationApi.js +4 -4
- package/dist/api/PaymentApi.js +76 -929
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/api/WalletsApi.js +83 -0
- package/dist/index.js +35 -105
- package/dist/model/Balance.js +14 -0
- package/dist/model/BridgingFee.js +9 -0
- package/dist/model/ContractCallParams.js +16 -0
- package/dist/model/CreateDestinationBankAccount.js +26 -0
- package/dist/model/CreatePaymentOrderRequest.js +4 -3
- package/dist/model/CreateTopUpAddresses.js +2 -2
- package/dist/model/CreateWalletAddress.js +2 -2
- package/dist/model/DestinationBankAccount.js +26 -0
- package/dist/model/DestinationBankAccountDetail.js +26 -0
- package/dist/model/IntermediaryBankInfo.js +4 -6
- package/dist/model/MerchantBalance.js +4 -6
- package/dist/model/PaymentBridgeStatus.js +61 -0
- package/dist/model/PaymentBulkSendItem.js +9 -9
- package/dist/model/PaymentPayout.js +35 -4
- package/dist/model/PaymentPayoutDetail.js +49 -13
- package/dist/model/PaymentPayoutEvent.js +49 -13
- package/dist/model/PreCheck.js +89 -0
- package/dist/model/ReportType.js +5 -0
- package/dist/model/SkipCheckType.js +56 -0
- package/dist/model/SupportedToken.js +17 -17
- package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +26 -0
- package/dist/model/TransactionRawTxInfo.js +32 -1
- package/dist/model/TransactionSelectedUtxo.js +39 -0
- package/dist/model/TransactionUtxoChange.js +13 -0
- package/dist/model/TransferParams.js +16 -0
- package/dist/model/TriggerTestPaymentWebhookEventResponse.js +83 -0
- package/dist/model/{QueryDestinationWhitelistEnabled200Response.js → TriggerTestPaymentsWebhookEventRequest.js} +35 -26
- package/dist/model/UTXO.js +48 -0
- package/dist/model/UpdateDestinationBankAccount.js +26 -0
- package/dist/model/WebhookEventData.js +6 -0
- package/dist/model/WebhookEventType.js +25 -0
- package/docs/AutoSweepApi.md +2 -2
- package/docs/Balance.md +1 -0
- package/docs/BridgingFee.md +1 -0
- package/docs/ContractCallParams.md +1 -0
- package/docs/CreateDestinationBankAccount.md +2 -0
- package/docs/CreatePaymentOrderRequest.md +2 -2
- package/docs/CreateTopUpAddresses.md +1 -1
- package/docs/CreateWalletAddress.md +1 -1
- package/docs/DestinationBankAccount.md +2 -0
- package/docs/DestinationBankAccountDetail.md +2 -0
- package/docs/FeeStationApi.md +2 -2
- package/docs/IntermediaryBankInfo.md +1 -1
- package/docs/MerchantBalance.md +1 -1
- package/docs/PaymentApi.md +185 -1153
- package/docs/PaymentBridgeStatus.md +12 -0
- package/docs/PaymentBulkSendItem.md +5 -5
- package/docs/PaymentPayout.md +2 -1
- package/docs/PaymentPayoutDetail.md +2 -1
- package/docs/PaymentPayoutEvent.md +2 -1
- package/docs/PreCheck.md +9 -0
- package/docs/ReportType.md +2 -0
- package/docs/SkipCheckType.md +10 -0
- package/docs/SupportedToken.md +10 -10
- package/docs/TransactionDepositToAddressDestinationTxInfo.md +2 -0
- package/docs/TransactionRawTxInfo.md +2 -1
- package/docs/TransactionSelectedUtxo.md +3 -0
- package/docs/TransactionUtxoChange.md +1 -0
- package/docs/TransactionsApi.md +2 -2
- package/docs/TransferParams.md +1 -0
- package/docs/TriggerTestPaymentWebhookEventResponse.md +9 -0
- package/docs/TriggerTestPaymentsWebhookEventRequest.md +10 -0
- package/docs/UTXO.md +4 -0
- package/docs/UpdateDestinationBankAccount.md +2 -0
- package/docs/WalletsApi.md +71 -0
- package/docs/WebhookEventData.md +1 -0
- package/docs/WebhookEventType.md +10 -0
- package/package.json +1 -1
- package/dist/model/CreateCounterpartyWalletAddressRequest.js +0 -140
- package/dist/model/CreateDestinationBankAccountRequest.js +0 -272
- package/dist/model/CreateDestinationWalletAddressRequest.js +0 -140
- package/dist/model/DeleteCounterparty200Response.js +0 -110
- package/dist/model/DeleteCounterpartyWalletAddress200Response.js +0 -110
- package/dist/model/DeleteDestination200Response.js +0 -110
- package/dist/model/DeleteDestinationBankAccount200Response.js +0 -110
- package/dist/model/DeleteDestinationWalletAddress200Response.js +0 -110
- package/dist/model/EnableDestinationWhitelistRequest.js +0 -106
- package/dist/model/ListCounterpartyWalletAddress200Response.js +0 -123
- package/dist/model/ListDestinationBankAccounts200Response.js +0 -123
- package/dist/model/ListDestinationWalletAddresses200Response.js +0 -123
- package/dist/model/UpdateCounterpartyByIdRequest.js +0 -160
- package/dist/model/UpdateDestinationByIdRequest.js +0 -173
- package/docs/CreateCounterpartyWalletAddressRequest.md +0 -11
- package/docs/CreateDestinationBankAccountRequest.md +0 -20
- package/docs/CreateDestinationWalletAddressRequest.md +0 -11
- package/docs/DeleteCounterparty200Response.md +0 -9
- package/docs/DeleteCounterpartyWalletAddress200Response.md +0 -9
- package/docs/DeleteDestination200Response.md +0 -9
- package/docs/DeleteDestinationBankAccount200Response.md +0 -9
- package/docs/DeleteDestinationWalletAddress200Response.md +0 -9
- package/docs/EnableDestinationWhitelistRequest.md +0 -9
- package/docs/ListCounterpartyWalletAddress200Response.md +0 -10
- package/docs/ListDestinationBankAccounts200Response.md +0 -10
- package/docs/ListDestinationWalletAddresses200Response.md +0 -10
- package/docs/QueryDestinationWhitelistEnabled200Response.md +0 -9
- package/docs/UpdateCounterpartyByIdRequest.md +0 -13
- package/docs/UpdateDestinationByIdRequest.md +0 -14
|
@@ -665,8 +665,8 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
665
665
|
* @param {module:model/WalletType} [wallet_type] The wallet type. - `Custodial`: [Custodial Wallets](https://manuals.cobo.com/en/portal/custodial-wallets/introduction) - `MPC`: [MPC Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction) - `SmartContract`: [Smart Contract Wallets](https://manuals.cobo.com/en/portal/smart-contract-wallets/introduction) - `Exchange`: [Exchange Wallets](https://manuals.cobo.com/en/portal/exchange-wallets/introduction)
|
|
666
666
|
* @param {module:model/WalletSubtype} [wallet_subtype] The wallet subtype. - `Asset`: Custodial Wallets (Asset Wallets) - `Web3`: Custodial Wallets (Web3 Wallets) - `Main`: Exchange Wallets (Main Account) - `Sub`: Exchange Wallets (Sub Account) - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets) - `User-Controlled`: MPC Wallets (User-Controlled Wallets) - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet})
|
|
667
667
|
* @param {String} [project_id] (This parameter is only applicable to User-Controlled Wallets.) The project ID, which you can retrieve by calling [List all projects](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-projects).
|
|
668
|
-
* @param {Number} [min_created_timestamp] The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change.
|
|
669
|
-
* @param {Number} [max_created_timestamp] The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change.
|
|
668
|
+
* @param {Number} [min_created_timestamp] The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If you specify `min_created_timestamp` without specifying `max_created_timestamp`, `max_created_timestamp` is automatically set to `min_created_timestamp` + 90 days. If you specify both, the time range cannot exceed 90 days. If not provided, the default value is 90 days before the current time. This default value is subject to change.
|
|
669
|
+
* @param {Number} [max_created_timestamp] The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If you specify `max_created_timestamp` without specifying `min_created_timestamp`, `min_created_timestamp` is automatically set to `max_created_timestamp` - 90 days. If you specify both, the time range cannot exceed 90 days. If not provided, the default value is the current time. This default value is subject to change.
|
|
670
670
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
671
671
|
* @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.
|
|
672
672
|
* @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.
|
|
@@ -731,8 +731,8 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
731
731
|
* @param {module:model/WalletType} opts.wallet_type The wallet type. - `Custodial`: [Custodial Wallets](https://manuals.cobo.com/en/portal/custodial-wallets/introduction) - `MPC`: [MPC Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction) - `SmartContract`: [Smart Contract Wallets](https://manuals.cobo.com/en/portal/smart-contract-wallets/introduction) - `Exchange`: [Exchange Wallets](https://manuals.cobo.com/en/portal/exchange-wallets/introduction)
|
|
732
732
|
* @param {module:model/WalletSubtype} opts.wallet_subtype The wallet subtype. - `Asset`: Custodial Wallets (Asset Wallets) - `Web3`: Custodial Wallets (Web3 Wallets) - `Main`: Exchange Wallets (Main Account) - `Sub`: Exchange Wallets (Sub Account) - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets) - `User-Controlled`: MPC Wallets (User-Controlled Wallets) - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet})
|
|
733
733
|
* @param {String} opts.project_id (This parameter is only applicable to User-Controlled Wallets.) The project ID, which you can retrieve by calling [List all projects](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-projects).
|
|
734
|
-
* @param {Number} opts.min_created_timestamp The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change.
|
|
735
|
-
* @param {Number} opts.max_created_timestamp The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change.
|
|
734
|
+
* @param {Number} opts.min_created_timestamp The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If you specify `min_created_timestamp` without specifying `max_created_timestamp`, `max_created_timestamp` is automatically set to `min_created_timestamp` + 90 days. If you specify both, the time range cannot exceed 90 days. If not provided, the default value is 90 days before the current time. This default value is subject to change.
|
|
735
|
+
* @param {Number} opts.max_created_timestamp The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If you specify `max_created_timestamp` without specifying `min_created_timestamp`, `min_created_timestamp` is automatically set to `max_created_timestamp` - 90 days. If you specify both, the time range cannot exceed 90 days. If not provided, the default value is the current time. This default value is subject to change.
|
|
736
736
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
737
737
|
* @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.
|
|
738
738
|
* @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.
|
package/dist/api/WalletsApi.js
CHANGED
|
@@ -1292,6 +1292,89 @@ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1292
1292
|
});
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
|
+
/**
|
|
1296
|
+
* List transaction UTXOs
|
|
1297
|
+
* The operation retrieves a list of UTXOs for a specified transaction of a wallet. You must specify the wallet, chain, and transaction hash. <Note>This operation is applicable to MPC and Custodial Web3 Wallets.</Note>
|
|
1298
|
+
* @param {String} wallet_id The wallet ID.
|
|
1299
|
+
* @param {String} chain_id The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
1300
|
+
* @param {String} tx_hash The transaction hash to filter UTXOs by.
|
|
1301
|
+
* @param {Object} opts Optional parameters
|
|
1302
|
+
* @param {Boolean} [is_change] Filter UTXOs by whether they are change outputs.
|
|
1303
|
+
* @param {Number} [vout_n] The output index of the UTXO to filter by.
|
|
1304
|
+
* @param {String} [token_id] The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
1305
|
+
* @param {String} [address]
|
|
1306
|
+
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
1307
|
+
* @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.
|
|
1308
|
+
* @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.
|
|
1309
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListUtxos200Response} and HTTP response
|
|
1310
|
+
*/
|
|
1311
|
+
}, {
|
|
1312
|
+
key: "listTransactionUtxosWithHttpInfo",
|
|
1313
|
+
value: function listTransactionUtxosWithHttpInfo(wallet_id, chain_id, tx_hash, opts) {
|
|
1314
|
+
opts = opts || {};
|
|
1315
|
+
var postBody = null;
|
|
1316
|
+
if (postBody && postBody.toJSON) {
|
|
1317
|
+
postBody = postBody.toJSON();
|
|
1318
|
+
}
|
|
1319
|
+
// verify the required parameter 'wallet_id' is set
|
|
1320
|
+
if (wallet_id === undefined || wallet_id === null) {
|
|
1321
|
+
throw new Error("Missing the required parameter 'wallet_id' when calling listTransactionUtxos");
|
|
1322
|
+
}
|
|
1323
|
+
// verify the required parameter 'chain_id' is set
|
|
1324
|
+
if (chain_id === undefined || chain_id === null) {
|
|
1325
|
+
throw new Error("Missing the required parameter 'chain_id' when calling listTransactionUtxos");
|
|
1326
|
+
}
|
|
1327
|
+
// verify the required parameter 'tx_hash' is set
|
|
1328
|
+
if (tx_hash === undefined || tx_hash === null) {
|
|
1329
|
+
throw new Error("Missing the required parameter 'tx_hash' when calling listTransactionUtxos");
|
|
1330
|
+
}
|
|
1331
|
+
var pathParams = {
|
|
1332
|
+
'wallet_id': wallet_id
|
|
1333
|
+
};
|
|
1334
|
+
var queryParams = {
|
|
1335
|
+
'chain_id': chain_id,
|
|
1336
|
+
'tx_hash': tx_hash,
|
|
1337
|
+
'is_change': opts['is_change'],
|
|
1338
|
+
'vout_n': opts['vout_n'],
|
|
1339
|
+
'token_id': opts['token_id'],
|
|
1340
|
+
'address': opts['address'],
|
|
1341
|
+
'limit': opts['limit'],
|
|
1342
|
+
'before': opts['before'],
|
|
1343
|
+
'after': opts['after']
|
|
1344
|
+
};
|
|
1345
|
+
var headerParams = {};
|
|
1346
|
+
var formParams = {};
|
|
1347
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
1348
|
+
var contentTypes = [];
|
|
1349
|
+
var accepts = ['application/json'];
|
|
1350
|
+
var returnType = _ListUtxos200Response["default"];
|
|
1351
|
+
return this.apiClient.callApi('/wallets/{wallet_id}/transaction_utxos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* List transaction UTXOs
|
|
1356
|
+
* The operation retrieves a list of UTXOs for a specified transaction of a wallet. You must specify the wallet, chain, and transaction hash. <Note>This operation is applicable to MPC and Custodial Web3 Wallets.</Note>
|
|
1357
|
+
* @param {String} wallet_id The wallet ID.
|
|
1358
|
+
* @param {String} chain_id The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
1359
|
+
* @param {String} tx_hash The transaction hash to filter UTXOs by.
|
|
1360
|
+
* @param {Object} opts Optional parameters
|
|
1361
|
+
* @param {Boolean} opts.is_change Filter UTXOs by whether they are change outputs.
|
|
1362
|
+
* @param {Number} opts.vout_n The output index of the UTXO to filter by.
|
|
1363
|
+
* @param {String} opts.token_id The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
1364
|
+
* @param {String} opts.address
|
|
1365
|
+
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
1366
|
+
* @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.
|
|
1367
|
+
* @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.
|
|
1368
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListUtxos200Response}
|
|
1369
|
+
*/
|
|
1370
|
+
}, {
|
|
1371
|
+
key: "listTransactionUtxos",
|
|
1372
|
+
value: function listTransactionUtxos(wallet_id, chain_id, tx_hash, opts) {
|
|
1373
|
+
return this.listTransactionUtxosWithHttpInfo(wallet_id, chain_id, tx_hash, opts).then(function (response_and_data) {
|
|
1374
|
+
return response_and_data.data;
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1295
1378
|
/**
|
|
1296
1379
|
* List UTXOs
|
|
1297
1380
|
* The operation retrieves a list of **unspent** transaction outputs (UTXOs) for a specified wallet and token. <Note>This operation returns only UTXOs that are not used by any transaction. It does not return all UTXOs.</Note> <Info>This operation is applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) only.</Info>
|
package/dist/index.js
CHANGED
|
@@ -765,12 +765,6 @@ Object.defineProperty(exports, "CreateCounterpartyRequest", {
|
|
|
765
765
|
return _CreateCounterpartyRequest["default"];
|
|
766
766
|
}
|
|
767
767
|
});
|
|
768
|
-
Object.defineProperty(exports, "CreateCounterpartyWalletAddressRequest", {
|
|
769
|
-
enumerable: true,
|
|
770
|
-
get: function get() {
|
|
771
|
-
return _CreateCounterpartyWalletAddressRequest["default"];
|
|
772
|
-
}
|
|
773
|
-
});
|
|
774
768
|
Object.defineProperty(exports, "CreateCryptoAddressRequest", {
|
|
775
769
|
enumerable: true,
|
|
776
770
|
get: function get() {
|
|
@@ -789,12 +783,6 @@ Object.defineProperty(exports, "CreateDestinationBankAccount", {
|
|
|
789
783
|
return _CreateDestinationBankAccount["default"];
|
|
790
784
|
}
|
|
791
785
|
});
|
|
792
|
-
Object.defineProperty(exports, "CreateDestinationBankAccountRequest", {
|
|
793
|
-
enumerable: true,
|
|
794
|
-
get: function get() {
|
|
795
|
-
return _CreateDestinationBankAccountRequest["default"];
|
|
796
|
-
}
|
|
797
|
-
});
|
|
798
786
|
Object.defineProperty(exports, "CreateDestinationEntry201Response", {
|
|
799
787
|
enumerable: true,
|
|
800
788
|
get: function get() {
|
|
@@ -813,12 +801,6 @@ Object.defineProperty(exports, "CreateDestinationRequest", {
|
|
|
813
801
|
return _CreateDestinationRequest["default"];
|
|
814
802
|
}
|
|
815
803
|
});
|
|
816
|
-
Object.defineProperty(exports, "CreateDestinationWalletAddressRequest", {
|
|
817
|
-
enumerable: true,
|
|
818
|
-
get: function get() {
|
|
819
|
-
return _CreateDestinationWalletAddressRequest["default"];
|
|
820
|
-
}
|
|
821
|
-
});
|
|
822
804
|
Object.defineProperty(exports, "CreateExchangeWalletParams", {
|
|
823
805
|
enumerable: true,
|
|
824
806
|
get: function get() {
|
|
@@ -1119,12 +1101,6 @@ Object.defineProperty(exports, "DeleteAddressBookById201Response", {
|
|
|
1119
1101
|
return _DeleteAddressBookById201Response["default"];
|
|
1120
1102
|
}
|
|
1121
1103
|
});
|
|
1122
|
-
Object.defineProperty(exports, "DeleteCounterparty200Response", {
|
|
1123
|
-
enumerable: true,
|
|
1124
|
-
get: function get() {
|
|
1125
|
-
return _DeleteCounterparty200Response["default"];
|
|
1126
|
-
}
|
|
1127
|
-
});
|
|
1128
1104
|
Object.defineProperty(exports, "DeleteCounterpartyById200Response", {
|
|
1129
1105
|
enumerable: true,
|
|
1130
1106
|
get: function get() {
|
|
@@ -1137,30 +1113,12 @@ Object.defineProperty(exports, "DeleteCounterpartyEntry200Response", {
|
|
|
1137
1113
|
return _DeleteCounterpartyEntry200Response["default"];
|
|
1138
1114
|
}
|
|
1139
1115
|
});
|
|
1140
|
-
Object.defineProperty(exports, "DeleteCounterpartyWalletAddress200Response", {
|
|
1141
|
-
enumerable: true,
|
|
1142
|
-
get: function get() {
|
|
1143
|
-
return _DeleteCounterpartyWalletAddress200Response["default"];
|
|
1144
|
-
}
|
|
1145
|
-
});
|
|
1146
1116
|
Object.defineProperty(exports, "DeleteCryptoAddress201Response", {
|
|
1147
1117
|
enumerable: true,
|
|
1148
1118
|
get: function get() {
|
|
1149
1119
|
return _DeleteCryptoAddress201Response["default"];
|
|
1150
1120
|
}
|
|
1151
1121
|
});
|
|
1152
|
-
Object.defineProperty(exports, "DeleteDestination200Response", {
|
|
1153
|
-
enumerable: true,
|
|
1154
|
-
get: function get() {
|
|
1155
|
-
return _DeleteDestination200Response["default"];
|
|
1156
|
-
}
|
|
1157
|
-
});
|
|
1158
|
-
Object.defineProperty(exports, "DeleteDestinationBankAccount200Response", {
|
|
1159
|
-
enumerable: true,
|
|
1160
|
-
get: function get() {
|
|
1161
|
-
return _DeleteDestinationBankAccount200Response["default"];
|
|
1162
|
-
}
|
|
1163
|
-
});
|
|
1164
1122
|
Object.defineProperty(exports, "DeleteDestinationById200Response", {
|
|
1165
1123
|
enumerable: true,
|
|
1166
1124
|
get: function get() {
|
|
@@ -1173,12 +1131,6 @@ Object.defineProperty(exports, "DeleteDestinationEntry200Response", {
|
|
|
1173
1131
|
return _DeleteDestinationEntry200Response["default"];
|
|
1174
1132
|
}
|
|
1175
1133
|
});
|
|
1176
|
-
Object.defineProperty(exports, "DeleteDestinationWalletAddress200Response", {
|
|
1177
|
-
enumerable: true,
|
|
1178
|
-
get: function get() {
|
|
1179
|
-
return _DeleteDestinationWalletAddress200Response["default"];
|
|
1180
|
-
}
|
|
1181
|
-
});
|
|
1182
1134
|
Object.defineProperty(exports, "DeleteGuardPubkey201Response", {
|
|
1183
1135
|
enumerable: true,
|
|
1184
1136
|
get: function get() {
|
|
@@ -1305,12 +1257,6 @@ Object.defineProperty(exports, "EigenlayerValidator", {
|
|
|
1305
1257
|
return _EigenlayerValidator["default"];
|
|
1306
1258
|
}
|
|
1307
1259
|
});
|
|
1308
|
-
Object.defineProperty(exports, "EnableDestinationWhitelistRequest", {
|
|
1309
|
-
enumerable: true,
|
|
1310
|
-
get: function get() {
|
|
1311
|
-
return _EnableDestinationWhitelistRequest["default"];
|
|
1312
|
-
}
|
|
1313
|
-
});
|
|
1314
1260
|
Object.defineProperty(exports, "EntryType", {
|
|
1315
1261
|
enumerable: true,
|
|
1316
1262
|
get: function get() {
|
|
@@ -2055,30 +2001,12 @@ Object.defineProperty(exports, "ListCounterpartyEntries200Response", {
|
|
|
2055
2001
|
return _ListCounterpartyEntries200Response["default"];
|
|
2056
2002
|
}
|
|
2057
2003
|
});
|
|
2058
|
-
Object.defineProperty(exports, "ListCounterpartyWalletAddress200Response", {
|
|
2059
|
-
enumerable: true,
|
|
2060
|
-
get: function get() {
|
|
2061
|
-
return _ListCounterpartyWalletAddress200Response["default"];
|
|
2062
|
-
}
|
|
2063
|
-
});
|
|
2064
|
-
Object.defineProperty(exports, "ListDestinationBankAccounts200Response", {
|
|
2065
|
-
enumerable: true,
|
|
2066
|
-
get: function get() {
|
|
2067
|
-
return _ListDestinationBankAccounts200Response["default"];
|
|
2068
|
-
}
|
|
2069
|
-
});
|
|
2070
2004
|
Object.defineProperty(exports, "ListDestinationEntries200Response", {
|
|
2071
2005
|
enumerable: true,
|
|
2072
2006
|
get: function get() {
|
|
2073
2007
|
return _ListDestinationEntries200Response["default"];
|
|
2074
2008
|
}
|
|
2075
2009
|
});
|
|
2076
|
-
Object.defineProperty(exports, "ListDestinationWalletAddresses200Response", {
|
|
2077
|
-
enumerable: true,
|
|
2078
|
-
get: function get() {
|
|
2079
|
-
return _ListDestinationWalletAddresses200Response["default"];
|
|
2080
|
-
}
|
|
2081
|
-
});
|
|
2082
2010
|
Object.defineProperty(exports, "ListDestinations200Response", {
|
|
2083
2011
|
enumerable: true,
|
|
2084
2012
|
get: function get() {
|
|
@@ -2553,6 +2481,12 @@ Object.defineProperty(exports, "PaymentApi", {
|
|
|
2553
2481
|
return _PaymentApi["default"];
|
|
2554
2482
|
}
|
|
2555
2483
|
});
|
|
2484
|
+
Object.defineProperty(exports, "PaymentBridgeStatus", {
|
|
2485
|
+
enumerable: true,
|
|
2486
|
+
get: function get() {
|
|
2487
|
+
return _PaymentBridgeStatus["default"];
|
|
2488
|
+
}
|
|
2489
|
+
});
|
|
2556
2490
|
Object.defineProperty(exports, "PaymentBulkSend", {
|
|
2557
2491
|
enumerable: true,
|
|
2558
2492
|
get: function get() {
|
|
@@ -2769,6 +2703,12 @@ Object.defineProperty(exports, "PoolSummary", {
|
|
|
2769
2703
|
return _PoolSummary["default"];
|
|
2770
2704
|
}
|
|
2771
2705
|
});
|
|
2706
|
+
Object.defineProperty(exports, "PreCheck", {
|
|
2707
|
+
enumerable: true,
|
|
2708
|
+
get: function get() {
|
|
2709
|
+
return _PreCheck["default"];
|
|
2710
|
+
}
|
|
2711
|
+
});
|
|
2772
2712
|
Object.defineProperty(exports, "PrimeBrokerApi", {
|
|
2773
2713
|
enumerable: true,
|
|
2774
2714
|
get: function get() {
|
|
@@ -2787,12 +2727,6 @@ Object.defineProperty(exports, "QueryApprovalStatement200Response", {
|
|
|
2787
2727
|
return _QueryApprovalStatement200Response["default"];
|
|
2788
2728
|
}
|
|
2789
2729
|
});
|
|
2790
|
-
Object.defineProperty(exports, "QueryDestinationWhitelistEnabled200Response", {
|
|
2791
|
-
enumerable: true,
|
|
2792
|
-
get: function get() {
|
|
2793
|
-
return _QueryDestinationWhitelistEnabled200Response["default"];
|
|
2794
|
-
}
|
|
2795
|
-
});
|
|
2796
2730
|
Object.defineProperty(exports, "QueryGuardPubkey200Response", {
|
|
2797
2731
|
enumerable: true,
|
|
2798
2732
|
get: function get() {
|
|
@@ -3081,6 +3015,12 @@ Object.defineProperty(exports, "SettlementType", {
|
|
|
3081
3015
|
return _SettlementType["default"];
|
|
3082
3016
|
}
|
|
3083
3017
|
});
|
|
3018
|
+
Object.defineProperty(exports, "SkipCheckType", {
|
|
3019
|
+
enumerable: true,
|
|
3020
|
+
get: function get() {
|
|
3021
|
+
return _SkipCheckType["default"];
|
|
3022
|
+
}
|
|
3023
|
+
});
|
|
3084
3024
|
Object.defineProperty(exports, "SmartContractInitiator", {
|
|
3085
3025
|
enumerable: true,
|
|
3086
3026
|
get: function get() {
|
|
@@ -4785,6 +4725,18 @@ Object.defineProperty(exports, "TravelRuleWithdrawRequestTravelRuleInfo", {
|
|
|
4785
4725
|
return _TravelRuleWithdrawRequestTravelRuleInfo["default"];
|
|
4786
4726
|
}
|
|
4787
4727
|
});
|
|
4728
|
+
Object.defineProperty(exports, "TriggerTestPaymentWebhookEventResponse", {
|
|
4729
|
+
enumerable: true,
|
|
4730
|
+
get: function get() {
|
|
4731
|
+
return _TriggerTestPaymentWebhookEventResponse["default"];
|
|
4732
|
+
}
|
|
4733
|
+
});
|
|
4734
|
+
Object.defineProperty(exports, "TriggerTestPaymentsWebhookEventRequest", {
|
|
4735
|
+
enumerable: true,
|
|
4736
|
+
get: function get() {
|
|
4737
|
+
return _TriggerTestPaymentsWebhookEventRequest["default"];
|
|
4738
|
+
}
|
|
4739
|
+
});
|
|
4788
4740
|
Object.defineProperty(exports, "TriggerTestWebhookEvent201Response", {
|
|
4789
4741
|
enumerable: true,
|
|
4790
4742
|
get: function get() {
|
|
@@ -4827,12 +4779,6 @@ Object.defineProperty(exports, "UpdateBankAccountByIdRequest", {
|
|
|
4827
4779
|
return _UpdateBankAccountByIdRequest["default"];
|
|
4828
4780
|
}
|
|
4829
4781
|
});
|
|
4830
|
-
Object.defineProperty(exports, "UpdateCounterpartyByIdRequest", {
|
|
4831
|
-
enumerable: true,
|
|
4832
|
-
get: function get() {
|
|
4833
|
-
return _UpdateCounterpartyByIdRequest["default"];
|
|
4834
|
-
}
|
|
4835
|
-
});
|
|
4836
4782
|
Object.defineProperty(exports, "UpdateCounterpartyRequest", {
|
|
4837
4783
|
enumerable: true,
|
|
4838
4784
|
get: function get() {
|
|
@@ -4851,12 +4797,6 @@ Object.defineProperty(exports, "UpdateDestinationBankAccount", {
|
|
|
4851
4797
|
return _UpdateDestinationBankAccount["default"];
|
|
4852
4798
|
}
|
|
4853
4799
|
});
|
|
4854
|
-
Object.defineProperty(exports, "UpdateDestinationByIdRequest", {
|
|
4855
|
-
enumerable: true,
|
|
4856
|
-
get: function get() {
|
|
4857
|
-
return _UpdateDestinationByIdRequest["default"];
|
|
4858
|
-
}
|
|
4859
|
-
});
|
|
4860
4800
|
Object.defineProperty(exports, "UpdateDestinationEntry200Response", {
|
|
4861
4801
|
enumerable: true,
|
|
4862
4802
|
get: function get() {
|
|
@@ -5205,15 +5145,12 @@ var _CreateClaimActivityRequest = _interopRequireDefault(require("./model/Create
|
|
|
5205
5145
|
var _CreateCounterpartyEntry201Response = _interopRequireDefault(require("./model/CreateCounterpartyEntry201Response"));
|
|
5206
5146
|
var _CreateCounterpartyEntryRequest = _interopRequireDefault(require("./model/CreateCounterpartyEntryRequest"));
|
|
5207
5147
|
var _CreateCounterpartyRequest = _interopRequireDefault(require("./model/CreateCounterpartyRequest"));
|
|
5208
|
-
var _CreateCounterpartyWalletAddressRequest = _interopRequireDefault(require("./model/CreateCounterpartyWalletAddressRequest"));
|
|
5209
5148
|
var _CreateCryptoAddressRequest = _interopRequireDefault(require("./model/CreateCryptoAddressRequest"));
|
|
5210
5149
|
var _CreateCustodialWalletParams = _interopRequireDefault(require("./model/CreateCustodialWalletParams"));
|
|
5211
5150
|
var _CreateDestinationBankAccount = _interopRequireDefault(require("./model/CreateDestinationBankAccount"));
|
|
5212
|
-
var _CreateDestinationBankAccountRequest = _interopRequireDefault(require("./model/CreateDestinationBankAccountRequest"));
|
|
5213
5151
|
var _CreateDestinationEntry201Response = _interopRequireDefault(require("./model/CreateDestinationEntry201Response"));
|
|
5214
5152
|
var _CreateDestinationEntryRequest = _interopRequireDefault(require("./model/CreateDestinationEntryRequest"));
|
|
5215
5153
|
var _CreateDestinationRequest = _interopRequireDefault(require("./model/CreateDestinationRequest"));
|
|
5216
|
-
var _CreateDestinationWalletAddressRequest = _interopRequireDefault(require("./model/CreateDestinationWalletAddressRequest"));
|
|
5217
5154
|
var _CreateExchangeWalletParams = _interopRequireDefault(require("./model/CreateExchangeWalletParams"));
|
|
5218
5155
|
var _CreateKeyShareHolder = _interopRequireDefault(require("./model/CreateKeyShareHolder"));
|
|
5219
5156
|
var _CreateKeyShareHolderGroupRequest = _interopRequireDefault(require("./model/CreateKeyShareHolderGroupRequest"));
|
|
@@ -5264,16 +5201,11 @@ var _CustodialWeb3ContractCallSource = _interopRequireDefault(require("./model/C
|
|
|
5264
5201
|
var _CustodialWeb3MessageSignSource = _interopRequireDefault(require("./model/CustodialWeb3MessageSignSource"));
|
|
5265
5202
|
var _CustodialWeb3TransferSource = _interopRequireDefault(require("./model/CustodialWeb3TransferSource"));
|
|
5266
5203
|
var _DeleteAddressBookById201Response = _interopRequireDefault(require("./model/DeleteAddressBookById201Response"));
|
|
5267
|
-
var _DeleteCounterparty200Response = _interopRequireDefault(require("./model/DeleteCounterparty200Response"));
|
|
5268
5204
|
var _DeleteCounterpartyById200Response = _interopRequireDefault(require("./model/DeleteCounterpartyById200Response"));
|
|
5269
5205
|
var _DeleteCounterpartyEntry200Response = _interopRequireDefault(require("./model/DeleteCounterpartyEntry200Response"));
|
|
5270
|
-
var _DeleteCounterpartyWalletAddress200Response = _interopRequireDefault(require("./model/DeleteCounterpartyWalletAddress200Response"));
|
|
5271
5206
|
var _DeleteCryptoAddress201Response = _interopRequireDefault(require("./model/DeleteCryptoAddress201Response"));
|
|
5272
|
-
var _DeleteDestination200Response = _interopRequireDefault(require("./model/DeleteDestination200Response"));
|
|
5273
|
-
var _DeleteDestinationBankAccount200Response = _interopRequireDefault(require("./model/DeleteDestinationBankAccount200Response"));
|
|
5274
5207
|
var _DeleteDestinationById200Response = _interopRequireDefault(require("./model/DeleteDestinationById200Response"));
|
|
5275
5208
|
var _DeleteDestinationEntry200Response = _interopRequireDefault(require("./model/DeleteDestinationEntry200Response"));
|
|
5276
|
-
var _DeleteDestinationWalletAddress200Response = _interopRequireDefault(require("./model/DeleteDestinationWalletAddress200Response"));
|
|
5277
5209
|
var _DeleteGuardPubkey201Response = _interopRequireDefault(require("./model/DeleteGuardPubkey201Response"));
|
|
5278
5210
|
var _DeleteKeyShareHolderGroupById201Response = _interopRequireDefault(require("./model/DeleteKeyShareHolderGroupById201Response"));
|
|
5279
5211
|
var _DeleteWalletById201Response = _interopRequireDefault(require("./model/DeleteWalletById201Response"));
|
|
@@ -5292,7 +5224,6 @@ var _DispositionType = _interopRequireDefault(require("./model/DispositionType")
|
|
|
5292
5224
|
var _EigenLayerLstStakeExtra = _interopRequireDefault(require("./model/EigenLayerLstStakeExtra"));
|
|
5293
5225
|
var _EigenLayerNativeStakeExtra = _interopRequireDefault(require("./model/EigenLayerNativeStakeExtra"));
|
|
5294
5226
|
var _EigenlayerValidator = _interopRequireDefault(require("./model/EigenlayerValidator"));
|
|
5295
|
-
var _EnableDestinationWhitelistRequest = _interopRequireDefault(require("./model/EnableDestinationWhitelistRequest"));
|
|
5296
5227
|
var _EntryType = _interopRequireDefault(require("./model/EntryType"));
|
|
5297
5228
|
var _ErrorResponse = _interopRequireDefault(require("./model/ErrorResponse"));
|
|
5298
5229
|
var _EstimateClaimFee = _interopRequireDefault(require("./model/EstimateClaimFee"));
|
|
@@ -5414,10 +5345,7 @@ var _ListBulkSendItems200Response = _interopRequireDefault(require("./model/List
|
|
|
5414
5345
|
var _ListCallbackMessages200Response = _interopRequireDefault(require("./model/ListCallbackMessages200Response"));
|
|
5415
5346
|
var _ListCounterparties200Response = _interopRequireDefault(require("./model/ListCounterparties200Response"));
|
|
5416
5347
|
var _ListCounterpartyEntries200Response = _interopRequireDefault(require("./model/ListCounterpartyEntries200Response"));
|
|
5417
|
-
var _ListCounterpartyWalletAddress200Response = _interopRequireDefault(require("./model/ListCounterpartyWalletAddress200Response"));
|
|
5418
|
-
var _ListDestinationBankAccounts200Response = _interopRequireDefault(require("./model/ListDestinationBankAccounts200Response"));
|
|
5419
5348
|
var _ListDestinationEntries200Response = _interopRequireDefault(require("./model/ListDestinationEntries200Response"));
|
|
5420
|
-
var _ListDestinationWalletAddresses200Response = _interopRequireDefault(require("./model/ListDestinationWalletAddresses200Response"));
|
|
5421
5349
|
var _ListDestinations200Response = _interopRequireDefault(require("./model/ListDestinations200Response"));
|
|
5422
5350
|
var _ListExchanges200ResponseInner = _interopRequireDefault(require("./model/ListExchanges200ResponseInner"));
|
|
5423
5351
|
var _ListForcedSweepRequests200Response = _interopRequireDefault(require("./model/ListForcedSweepRequests200Response"));
|
|
@@ -5494,6 +5422,7 @@ var _Pagination = _interopRequireDefault(require("./model/Pagination"));
|
|
|
5494
5422
|
var _PayerAccount = _interopRequireDefault(require("./model/PayerAccount"));
|
|
5495
5423
|
var _PaymentAddressUpdateEventData = _interopRequireDefault(require("./model/PaymentAddressUpdateEventData"));
|
|
5496
5424
|
var _PaymentAllocationAmount = _interopRequireDefault(require("./model/PaymentAllocationAmount"));
|
|
5425
|
+
var _PaymentBridgeStatus = _interopRequireDefault(require("./model/PaymentBridgeStatus"));
|
|
5497
5426
|
var _PaymentBulkSend = _interopRequireDefault(require("./model/PaymentBulkSend"));
|
|
5498
5427
|
var _PaymentBulkSendEvent = _interopRequireDefault(require("./model/PaymentBulkSendEvent"));
|
|
5499
5428
|
var _PaymentBulkSendExecutionMode = _interopRequireDefault(require("./model/PaymentBulkSendExecutionMode"));
|
|
@@ -5530,9 +5459,9 @@ var _PolicyFieldValueType = _interopRequireDefault(require("./model/PolicyFieldV
|
|
|
5530
5459
|
var _PoolDetails = _interopRequireDefault(require("./model/PoolDetails"));
|
|
5531
5460
|
var _PoolDetailsAllOfValidatorsInfo = _interopRequireDefault(require("./model/PoolDetailsAllOfValidatorsInfo"));
|
|
5532
5461
|
var _PoolSummary = _interopRequireDefault(require("./model/PoolSummary"));
|
|
5462
|
+
var _PreCheck = _interopRequireDefault(require("./model/PreCheck"));
|
|
5533
5463
|
var _PspBalance = _interopRequireDefault(require("./model/PspBalance"));
|
|
5534
5464
|
var _QueryApprovalStatement200Response = _interopRequireDefault(require("./model/QueryApprovalStatement200Response"));
|
|
5535
|
-
var _QueryDestinationWhitelistEnabled200Response = _interopRequireDefault(require("./model/QueryDestinationWhitelistEnabled200Response"));
|
|
5536
5465
|
var _QueryGuardPubkey200Response = _interopRequireDefault(require("./model/QueryGuardPubkey200Response"));
|
|
5537
5466
|
var _QueryGuardPubkey200ResponseAddressesInner = _interopRequireDefault(require("./model/QueryGuardPubkey200ResponseAddressesInner"));
|
|
5538
5467
|
var _RefreshAddressBalancesByToken200Response = _interopRequireDefault(require("./model/RefreshAddressBalancesByToken200Response"));
|
|
@@ -5580,6 +5509,7 @@ var _Settlement = _interopRequireDefault(require("./model/Settlement"));
|
|
|
5580
5509
|
var _SettlementDetail = _interopRequireDefault(require("./model/SettlementDetail"));
|
|
5581
5510
|
var _SettlementInfo = _interopRequireDefault(require("./model/SettlementInfo"));
|
|
5582
5511
|
var _SettlementType = _interopRequireDefault(require("./model/SettlementType"));
|
|
5512
|
+
var _SkipCheckType = _interopRequireDefault(require("./model/SkipCheckType"));
|
|
5583
5513
|
var _SmartContractInitiator = _interopRequireDefault(require("./model/SmartContractInitiator"));
|
|
5584
5514
|
var _SmartContractWalletInfo = _interopRequireDefault(require("./model/SmartContractWalletInfo"));
|
|
5585
5515
|
var _SmartContractWalletOperationType = _interopRequireDefault(require("./model/SmartContractWalletOperationType"));
|
|
@@ -5859,6 +5789,8 @@ var _TravelRuleWithdrawLegalEntity = _interopRequireDefault(require("./model/Tra
|
|
|
5859
5789
|
var _TravelRuleWithdrawNaturalEntity = _interopRequireDefault(require("./model/TravelRuleWithdrawNaturalEntity"));
|
|
5860
5790
|
var _TravelRuleWithdrawRequest = _interopRequireDefault(require("./model/TravelRuleWithdrawRequest"));
|
|
5861
5791
|
var _TravelRuleWithdrawRequestTravelRuleInfo = _interopRequireDefault(require("./model/TravelRuleWithdrawRequestTravelRuleInfo"));
|
|
5792
|
+
var _TriggerTestPaymentWebhookEventResponse = _interopRequireDefault(require("./model/TriggerTestPaymentWebhookEventResponse"));
|
|
5793
|
+
var _TriggerTestPaymentsWebhookEventRequest = _interopRequireDefault(require("./model/TriggerTestPaymentsWebhookEventRequest"));
|
|
5862
5794
|
var _TriggerTestWebhookEvent201Response = _interopRequireDefault(require("./model/TriggerTestWebhookEvent201Response"));
|
|
5863
5795
|
var _TriggerTestWebhookEventRequest = _interopRequireDefault(require("./model/TriggerTestWebhookEventRequest"));
|
|
5864
5796
|
var _TronContractCallDestination = _interopRequireDefault(require("./model/TronContractCallDestination"));
|
|
@@ -5866,11 +5798,9 @@ var _UTXO = _interopRequireDefault(require("./model/UTXO"));
|
|
|
5866
5798
|
var _UnfreezeDisposition = _interopRequireDefault(require("./model/UnfreezeDisposition"));
|
|
5867
5799
|
var _UpdateAddressBookParam = _interopRequireDefault(require("./model/UpdateAddressBookParam"));
|
|
5868
5800
|
var _UpdateBankAccountByIdRequest = _interopRequireDefault(require("./model/UpdateBankAccountByIdRequest"));
|
|
5869
|
-
var _UpdateCounterpartyByIdRequest = _interopRequireDefault(require("./model/UpdateCounterpartyByIdRequest"));
|
|
5870
5801
|
var _UpdateCounterpartyRequest = _interopRequireDefault(require("./model/UpdateCounterpartyRequest"));
|
|
5871
5802
|
var _UpdateCustodialWalletParams = _interopRequireDefault(require("./model/UpdateCustodialWalletParams"));
|
|
5872
5803
|
var _UpdateDestinationBankAccount = _interopRequireDefault(require("./model/UpdateDestinationBankAccount"));
|
|
5873
|
-
var _UpdateDestinationByIdRequest = _interopRequireDefault(require("./model/UpdateDestinationByIdRequest"));
|
|
5874
5804
|
var _UpdateDestinationEntry200Response = _interopRequireDefault(require("./model/UpdateDestinationEntry200Response"));
|
|
5875
5805
|
var _UpdateDestinationEntryRequest = _interopRequireDefault(require("./model/UpdateDestinationEntryRequest"));
|
|
5876
5806
|
var _UpdateDestinationRequest = _interopRequireDefault(require("./model/UpdateDestinationRequest"));
|
package/dist/model/Balance.js
CHANGED
|
@@ -77,6 +77,9 @@ var Balance = /*#__PURE__*/function () {
|
|
|
77
77
|
if (data.hasOwnProperty('locked')) {
|
|
78
78
|
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'String');
|
|
79
79
|
}
|
|
80
|
+
if (data.hasOwnProperty('frozen')) {
|
|
81
|
+
obj['frozen'] = _ApiClient["default"].convertToType(data['frozen'], 'String');
|
|
82
|
+
}
|
|
80
83
|
}
|
|
81
84
|
return obj;
|
|
82
85
|
}
|
|
@@ -120,6 +123,10 @@ var Balance = /*#__PURE__*/function () {
|
|
|
120
123
|
if (data['locked'] && !(typeof data['locked'] === 'string' || data['locked'] instanceof String)) {
|
|
121
124
|
throw new Error("Expected the field `locked` to be a primitive type in the JSON string but got " + data['locked']);
|
|
122
125
|
}
|
|
126
|
+
// ensure the json data is a string
|
|
127
|
+
if (data['frozen'] && !(typeof data['frozen'] === 'string' || data['frozen'] instanceof String)) {
|
|
128
|
+
throw new Error("Expected the field `frozen` to be a primitive type in the JSON string but got " + data['frozen']);
|
|
129
|
+
}
|
|
123
130
|
return true;
|
|
124
131
|
}
|
|
125
132
|
}]);
|
|
@@ -151,4 +158,11 @@ Balance.prototype['pending'] = '0';
|
|
|
151
158
|
* @default '0'
|
|
152
159
|
*/
|
|
153
160
|
Balance.prototype['locked'] = '0';
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Amount frozen due to compliance inspection. To learn more, see [Balances and transaction amounts for MPC Wallets](https://www.cobo.com/developers/v2/guides/mpc-wallets/balance-amounts) for more details.
|
|
164
|
+
* @member {String} frozen
|
|
165
|
+
* @default '0'
|
|
166
|
+
*/
|
|
167
|
+
Balance.prototype['frozen'] = '0';
|
|
154
168
|
var _default = exports["default"] = Balance;
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _PaymentBridgeStatus = _interopRequireDefault(require("./PaymentBridgeStatus"));
|
|
8
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
11
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -71,6 +72,9 @@ var BridgingFee = /*#__PURE__*/function () {
|
|
|
71
72
|
if (data.hasOwnProperty('received_amount')) {
|
|
72
73
|
obj['received_amount'] = _ApiClient["default"].convertToType(data['received_amount'], 'String');
|
|
73
74
|
}
|
|
75
|
+
if (data.hasOwnProperty('bridge_status')) {
|
|
76
|
+
obj['bridge_status'] = _PaymentBridgeStatus["default"].constructFromObject(data['bridge_status']);
|
|
77
|
+
}
|
|
74
78
|
}
|
|
75
79
|
return obj;
|
|
76
80
|
}
|
|
@@ -133,4 +137,9 @@ BridgingFee.prototype['received_token_id'] = undefined;
|
|
|
133
137
|
* @member {String} received_amount
|
|
134
138
|
*/
|
|
135
139
|
BridgingFee.prototype['received_amount'] = undefined;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @member {module:model/PaymentBridgeStatus} bridge_status
|
|
143
|
+
*/
|
|
144
|
+
BridgingFee.prototype['bridge_status'] = undefined;
|
|
136
145
|
var _default = exports["default"] = BridgingFee;
|
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _AutoFuelType = _interopRequireDefault(require("./AutoFuelType"));
|
|
9
9
|
var _ContractCallDestination = _interopRequireDefault(require("./ContractCallDestination"));
|
|
10
10
|
var _ContractCallSource = _interopRequireDefault(require("./ContractCallSource"));
|
|
11
|
+
var _PreCheck = _interopRequireDefault(require("./PreCheck"));
|
|
11
12
|
var _TransactionProcessType = _interopRequireDefault(require("./TransactionProcessType"));
|
|
12
13
|
var _TransactionRequestFee = _interopRequireDefault(require("./TransactionRequestFee"));
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -101,6 +102,9 @@ var ContractCallParams = /*#__PURE__*/function () {
|
|
|
101
102
|
if (data.hasOwnProperty('auto_fuel')) {
|
|
102
103
|
obj['auto_fuel'] = _AutoFuelType["default"].constructFromObject(data['auto_fuel']);
|
|
103
104
|
}
|
|
105
|
+
if (data.hasOwnProperty('pre_check')) {
|
|
106
|
+
obj['pre_check'] = _PreCheck["default"].constructFromObject(data['pre_check']);
|
|
107
|
+
}
|
|
104
108
|
}
|
|
105
109
|
return obj;
|
|
106
110
|
}
|
|
@@ -165,6 +169,13 @@ var ContractCallParams = /*#__PURE__*/function () {
|
|
|
165
169
|
_TransactionRequestFee["default"].validateJSON(data['fee']);
|
|
166
170
|
}
|
|
167
171
|
}
|
|
172
|
+
// validate the optional field `pre_check`
|
|
173
|
+
if (data['pre_check']) {
|
|
174
|
+
// data not null
|
|
175
|
+
if (!!_PreCheck["default"].validateJSON) {
|
|
176
|
+
_PreCheck["default"].validateJSON(data['pre_check']);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
168
179
|
return true;
|
|
169
180
|
}
|
|
170
181
|
}]);
|
|
@@ -219,4 +230,9 @@ ContractCallParams.prototype['transaction_process_type'] = undefined;
|
|
|
219
230
|
* @member {module:model/AutoFuelType} auto_fuel
|
|
220
231
|
*/
|
|
221
232
|
ContractCallParams.prototype['auto_fuel'] = undefined;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @member {module:model/PreCheck} pre_check
|
|
236
|
+
*/
|
|
237
|
+
ContractCallParams.prototype['pre_check'] = undefined;
|
|
222
238
|
var _default = exports["default"] = ContractCallParams;
|
|
@@ -110,6 +110,12 @@ var CreateDestinationBankAccount = /*#__PURE__*/function () {
|
|
|
110
110
|
if (data.hasOwnProperty('intermediary_bank_info')) {
|
|
111
111
|
obj['intermediary_bank_info'] = _IntermediaryBankInfo["default"].constructFromObject(data['intermediary_bank_info']);
|
|
112
112
|
}
|
|
113
|
+
if (data.hasOwnProperty('country')) {
|
|
114
|
+
obj['country'] = _ApiClient["default"].convertToType(data['country'], 'String');
|
|
115
|
+
}
|
|
116
|
+
if (data.hasOwnProperty('city')) {
|
|
117
|
+
obj['city'] = _ApiClient["default"].convertToType(data['city'], 'String');
|
|
118
|
+
}
|
|
113
119
|
}
|
|
114
120
|
return obj;
|
|
115
121
|
}
|
|
@@ -184,6 +190,14 @@ var CreateDestinationBankAccount = /*#__PURE__*/function () {
|
|
|
184
190
|
_IntermediaryBankInfo["default"].validateJSON(data['intermediary_bank_info']);
|
|
185
191
|
}
|
|
186
192
|
}
|
|
193
|
+
// ensure the json data is a string
|
|
194
|
+
if (data['country'] && !(typeof data['country'] === 'string' || data['country'] instanceof String)) {
|
|
195
|
+
throw new Error("Expected the field `country` to be a primitive type in the JSON string but got " + data['country']);
|
|
196
|
+
}
|
|
197
|
+
// ensure the json data is a string
|
|
198
|
+
if (data['city'] && !(typeof data['city'] === 'string' || data['city'] instanceof String)) {
|
|
199
|
+
throw new Error("Expected the field `city` to be a primitive type in the JSON string but got " + data['city']);
|
|
200
|
+
}
|
|
187
201
|
return true;
|
|
188
202
|
}
|
|
189
203
|
}]);
|
|
@@ -254,4 +268,16 @@ CreateDestinationBankAccount.prototype['further_credit'] = undefined;
|
|
|
254
268
|
* @member {module:model/IntermediaryBankInfo} intermediary_bank_info
|
|
255
269
|
*/
|
|
256
270
|
CreateDestinationBankAccount.prototype['intermediary_bank_info'] = undefined;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Beneficiary's country, in ISO 3166-1 alpha-3 format.
|
|
274
|
+
* @member {String} country
|
|
275
|
+
*/
|
|
276
|
+
CreateDestinationBankAccount.prototype['country'] = undefined;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Beneficiary's city.
|
|
280
|
+
* @member {String} city
|
|
281
|
+
*/
|
|
282
|
+
CreateDestinationBankAccount.prototype['city'] = undefined;
|
|
257
283
|
var _default = exports["default"] = CreateDestinationBankAccount;
|
|
@@ -217,7 +217,7 @@ CreatePaymentOrderRequest.prototype['merchant_order_code'] = undefined;
|
|
|
217
217
|
CreatePaymentOrderRequest.prototype['psp_order_code'] = undefined;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
|
-
* The pricing currency that denominates `pricing_amount` and `fee_amount`. If left empty, both values will be denominated in `payable_currency`. Currently, For a complete list of supported currencies, see [Supported chains and tokens](https://www.cobo.com/
|
|
220
|
+
* The pricing currency that denominates `pricing_amount` and `fee_amount`. If left empty, both values will be denominated in `payable_currency`. Currently, For a complete list of supported currencies, see [Supported chains and tokens](https://www.cobo.com//payments/en/guides/supported-chains-and-tokens#pricing-currency).
|
|
221
221
|
* @member {String} pricing_currency
|
|
222
222
|
*/
|
|
223
223
|
CreatePaymentOrderRequest.prototype['pricing_currency'] = undefined;
|
|
@@ -247,10 +247,11 @@ CreatePaymentOrderRequest.prototype['payable_currency'] = undefined;
|
|
|
247
247
|
CreatePaymentOrderRequest.prototype['payable_amount'] = undefined;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
|
-
* The pay-in order will expire
|
|
250
|
+
* The number of seconds until the pay-in order expires, counted from when the request is sent. For example, if set to `1800`, the order will expire in 30 minutes. Must be greater than zero and cannot exceed 3 hours (10800 seconds). After expiration: - The order status becomes final and cannot be changed - The `received_token_amount` field will no longer be updated - Funds received after expiration will be categorized as late payments and can only be settled from the developer balance. - A late payment will trigger a `transactionLate` webhook event.
|
|
251
251
|
* @member {Number} expired_in
|
|
252
|
+
* @default 1800
|
|
252
253
|
*/
|
|
253
|
-
CreatePaymentOrderRequest.prototype['expired_in'] =
|
|
254
|
+
CreatePaymentOrderRequest.prototype['expired_in'] = 1800;
|
|
254
255
|
|
|
255
256
|
/**
|
|
256
257
|
* The allowed amount deviation, with precision up to 1 decimal place. For example, if `payable_amount` is `100.00` and `amount_tolerance` is `0.50`: - Payer pays 99.55 → Success (difference of 0.45 ≤ 0.5) - Payer pays 99.40 → Underpaid (difference of 0.60 > 0.5)
|