@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
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
|
|
|
15
15
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
16
16
|
|
|
17
17
|
- API version: v2
|
|
18
|
-
- Package version: 1.
|
|
18
|
+
- Package version: 1.32.0
|
|
19
19
|
- Generator version: 7.6.0
|
|
20
20
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
21
21
|
For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)
|
|
@@ -123,12 +123,9 @@ Class | Method | HTTP request | Description
|
|
|
123
123
|
*CoboWaas2.PaymentApi* | [**createBulkSend**](docs/PaymentApi.md#createBulkSend) | **POST** /payments/bulk_sends | Create bulk send
|
|
124
124
|
*CoboWaas2.PaymentApi* | [**createCounterparty**](docs/PaymentApi.md#createCounterparty) | **POST** /payments/counterparty | Create counterparty
|
|
125
125
|
*CoboWaas2.PaymentApi* | [**createCounterpartyEntry**](docs/PaymentApi.md#createCounterpartyEntry) | **POST** /payments/counterparty_entry | Create counterparty entry
|
|
126
|
-
*CoboWaas2.PaymentApi* | [**createCounterpartyWalletAddress**](docs/PaymentApi.md#createCounterpartyWalletAddress) | **POST** /payments/counterparty/wallet_address | Create counterparty wallet address
|
|
127
126
|
*CoboWaas2.PaymentApi* | [**createCryptoAddress**](docs/PaymentApi.md#createCryptoAddress) | **POST** /payments/crypto_addresses | Create crypto address
|
|
128
127
|
*CoboWaas2.PaymentApi* | [**createDestination**](docs/PaymentApi.md#createDestination) | **POST** /payments/destination | Create destination
|
|
129
|
-
*CoboWaas2.PaymentApi* | [**createDestinationBankAccount**](docs/PaymentApi.md#createDestinationBankAccount) | **POST** /payments/destination/bank_account | Create destination bank account
|
|
130
128
|
*CoboWaas2.PaymentApi* | [**createDestinationEntry**](docs/PaymentApi.md#createDestinationEntry) | **POST** /payments/destination_entry | Create destination entry
|
|
131
|
-
*CoboWaas2.PaymentApi* | [**createDestinationWalletAddress**](docs/PaymentApi.md#createDestinationWalletAddress) | **POST** /payments/destination/wallet_address | Create destination wallet address
|
|
132
129
|
*CoboWaas2.PaymentApi* | [**createForcedSweepRequest**](docs/PaymentApi.md#createForcedSweepRequest) | **POST** /payments/force_sweep_requests | Create forced sweep
|
|
133
130
|
*CoboWaas2.PaymentApi* | [**createMerchant**](docs/PaymentApi.md#createMerchant) | **POST** /payments/merchants | Create merchant
|
|
134
131
|
*CoboWaas2.PaymentApi* | [**createOrderLink**](docs/PaymentApi.md#createOrderLink) | **POST** /payments/links/orders | Create order link
|
|
@@ -139,26 +136,17 @@ Class | Method | HTTP request | Description
|
|
|
139
136
|
*CoboWaas2.PaymentApi* | [**createReport**](docs/PaymentApi.md#createReport) | **POST** /payments/reports | Generate reports
|
|
140
137
|
*CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
|
|
141
138
|
*CoboWaas2.PaymentApi* | [**createTopUpAddresses**](docs/PaymentApi.md#createTopUpAddresses) | **POST** /payments/topup/address | Batch create top-up addresses
|
|
142
|
-
*CoboWaas2.PaymentApi* | [**deleteCounterparty**](docs/PaymentApi.md#deleteCounterparty) | **PUT** /payments/counterparty/{counterparty_id}/delete | Delete counterparty (Deprecated)
|
|
143
139
|
*CoboWaas2.PaymentApi* | [**deleteCounterpartyById**](docs/PaymentApi.md#deleteCounterpartyById) | **DELETE** /payments/counterparty/{counterparty_id} | Delete counterparty
|
|
144
140
|
*CoboWaas2.PaymentApi* | [**deleteCounterpartyEntry**](docs/PaymentApi.md#deleteCounterpartyEntry) | **DELETE** /payments/counterparty_entry/{counterparty_entry_id} | Delete counterparty entry
|
|
145
|
-
*CoboWaas2.PaymentApi* | [**deleteCounterpartyWalletAddress**](docs/PaymentApi.md#deleteCounterpartyWalletAddress) | **PUT** /payments/counterparty/wallet_address/{wallet_address_id}/delete | Delete counterparty wallet address
|
|
146
141
|
*CoboWaas2.PaymentApi* | [**deleteCryptoAddress**](docs/PaymentApi.md#deleteCryptoAddress) | **POST** /payments/crypto_addresses/{crypto_address_id}/delete | Delete crypto address
|
|
147
|
-
*CoboWaas2.PaymentApi* | [**deleteDestination**](docs/PaymentApi.md#deleteDestination) | **PUT** /payments/destination/{destination_id}/delete | Delete destination (Deprecated)
|
|
148
|
-
*CoboWaas2.PaymentApi* | [**deleteDestinationBankAccount**](docs/PaymentApi.md#deleteDestinationBankAccount) | **PUT** /payments/destination/bank_account/{bank_account_id}/delete | Delete destination bank account
|
|
149
142
|
*CoboWaas2.PaymentApi* | [**deleteDestinationById**](docs/PaymentApi.md#deleteDestinationById) | **DELETE** /payments/destination/{destination_id} | Delete destination
|
|
150
143
|
*CoboWaas2.PaymentApi* | [**deleteDestinationEntry**](docs/PaymentApi.md#deleteDestinationEntry) | **DELETE** /payments/destination_entry/{destination_entry_id} | Delete destination entry
|
|
151
|
-
*CoboWaas2.PaymentApi* | [**deleteDestinationWalletAddress**](docs/PaymentApi.md#deleteDestinationWalletAddress) | **PUT** /payments/destination/wallet_address/{wallet_address_id}/delete | Delete destination wallet address
|
|
152
|
-
*CoboWaas2.PaymentApi* | [**enableDestinationWhitelist**](docs/PaymentApi.md#enableDestinationWhitelist) | **POST** /payments/destination/enable_whitelist | Enable or disable destination whitelist
|
|
153
144
|
*CoboWaas2.PaymentApi* | [**getAvailableAllocationAmount**](docs/PaymentApi.md#getAvailableAllocationAmount) | **GET** /payments/allocation_amount | Get available allocation amount
|
|
154
145
|
*CoboWaas2.PaymentApi* | [**getBatchAllocationById**](docs/PaymentApi.md#getBatchAllocationById) | **GET** /payments/batch_allocations/{batch_allocation_id} | Get batch allocation information
|
|
155
146
|
*CoboWaas2.PaymentApi* | [**getBulkSendById**](docs/PaymentApi.md#getBulkSendById) | **GET** /payments/bulk_sends/{bulk_send_id} | Get bulk send information
|
|
156
147
|
*CoboWaas2.PaymentApi* | [**getCounterparty**](docs/PaymentApi.md#getCounterparty) | **GET** /payments/counterparty/{counterparty_id} | Get counterparty information
|
|
157
|
-
*CoboWaas2.PaymentApi* | [**getCounterpartyDetailById**](docs/PaymentApi.md#getCounterpartyDetailById) | **GET** /payments/counterparty/{counterparty_id}/detail | Get counterparty information (Deprecated)
|
|
158
148
|
*CoboWaas2.PaymentApi* | [**getCounterpartyEntry**](docs/PaymentApi.md#getCounterpartyEntry) | **GET** /payments/counterparty_entry/{counterparty_entry_id} | Get counterparty entry information
|
|
159
149
|
*CoboWaas2.PaymentApi* | [**getDestination**](docs/PaymentApi.md#getDestination) | **GET** /payments/destination/{destination_id} | Get destination information
|
|
160
|
-
*CoboWaas2.PaymentApi* | [**getDestinationBankAccountDetailById**](docs/PaymentApi.md#getDestinationBankAccountDetailById) | **GET** /payments/destination/bank_account/{bank_account_id}/detail | Get destination bank account information
|
|
161
|
-
*CoboWaas2.PaymentApi* | [**getDestinationDetailById**](docs/PaymentApi.md#getDestinationDetailById) | **GET** /payments/destination/{destination_id}/detail | Get destination information (Deprecated)
|
|
162
150
|
*CoboWaas2.PaymentApi* | [**getDestinationEntry**](docs/PaymentApi.md#getDestinationEntry) | **GET** /payments/destination_entry/{destination_entry_id} | Get destination entry information
|
|
163
151
|
*CoboWaas2.PaymentApi* | [**getExchangeRate**](docs/PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
|
|
164
152
|
*CoboWaas2.PaymentApi* | [**getPaymentOrderDetailById**](docs/PaymentApi.md#getPaymentOrderDetailById) | **GET** /payments/orders/{order_id} | Get pay-in order information
|
|
@@ -176,17 +164,14 @@ Class | Method | HTTP request | Description
|
|
|
176
164
|
*CoboWaas2.PaymentApi* | [**listBulkSendItems**](docs/PaymentApi.md#listBulkSendItems) | **GET** /payments/bulk_sends/{bulk_send_id}/items | List bulk send items
|
|
177
165
|
*CoboWaas2.PaymentApi* | [**listCounterparties**](docs/PaymentApi.md#listCounterparties) | **GET** /payments/counterparty | List all counterparties
|
|
178
166
|
*CoboWaas2.PaymentApi* | [**listCounterpartyEntries**](docs/PaymentApi.md#listCounterpartyEntries) | **GET** /payments/counterparty_entry | List counterparty entries
|
|
179
|
-
*CoboWaas2.PaymentApi* | [**listCounterpartyWalletAddress**](docs/PaymentApi.md#listCounterpartyWalletAddress) | **GET** /payments/counterparty/wallet_address | List counterparty wallet addresses
|
|
180
167
|
*CoboWaas2.PaymentApi* | [**listCryptoAddresses**](docs/PaymentApi.md#listCryptoAddresses) | **GET** /payments/crypto_addresses | List crypto addresses
|
|
181
|
-
*CoboWaas2.PaymentApi* | [**listDestinationBankAccounts**](docs/PaymentApi.md#listDestinationBankAccounts) | **GET** /payments/destination/bank_account | List destination bank accounts
|
|
182
168
|
*CoboWaas2.PaymentApi* | [**listDestinationEntries**](docs/PaymentApi.md#listDestinationEntries) | **GET** /payments/destination_entry | List destination entries
|
|
183
|
-
*CoboWaas2.PaymentApi* | [**listDestinationWalletAddresses**](docs/PaymentApi.md#listDestinationWalletAddresses) | **GET** /payments/destination/wallet_address | List destination wallet addresses
|
|
184
169
|
*CoboWaas2.PaymentApi* | [**listDestinations**](docs/PaymentApi.md#listDestinations) | **GET** /payments/destination | List all destinations
|
|
185
170
|
*CoboWaas2.PaymentApi* | [**listForcedSweepRequests**](docs/PaymentApi.md#listForcedSweepRequests) | **GET** /payments/force_sweep_requests | List forced sweeps
|
|
186
171
|
*CoboWaas2.PaymentApi* | [**listMerchantBalances**](docs/PaymentApi.md#listMerchantBalances) | **GET** /payments/balance/merchants | List merchant balances
|
|
187
172
|
*CoboWaas2.PaymentApi* | [**listMerchants**](docs/PaymentApi.md#listMerchants) | **GET** /payments/merchants | List all merchants
|
|
188
173
|
*CoboWaas2.PaymentApi* | [**listPaymentOrders**](docs/PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
|
|
189
|
-
*CoboWaas2.PaymentApi* | [**listPaymentSupportedTokens**](docs/PaymentApi.md#listPaymentSupportedTokens) | **GET** /payments/supported_tokens | List
|
|
174
|
+
*CoboWaas2.PaymentApi* | [**listPaymentSupportedTokens**](docs/PaymentApi.md#listPaymentSupportedTokens) | **GET** /payments/supported_tokens | List supported tokens
|
|
190
175
|
*CoboWaas2.PaymentApi* | [**listPaymentWalletBalances**](docs/PaymentApi.md#listPaymentWalletBalances) | **GET** /payments/balance/payment_wallets | List payment wallet balances
|
|
191
176
|
*CoboWaas2.PaymentApi* | [**listPayouts**](docs/PaymentApi.md#listPayouts) | **GET** /payments/payouts | List all payouts
|
|
192
177
|
*CoboWaas2.PaymentApi* | [**listSettlementDetails**](docs/PaymentApi.md#listSettlementDetails) | **GET** /payments/settlement_details | List all settlement details
|
|
@@ -194,13 +179,10 @@ Class | Method | HTTP request | Description
|
|
|
194
179
|
*CoboWaas2.PaymentApi* | [**listTopUpPayerAccounts**](docs/PaymentApi.md#listTopUpPayerAccounts) | **GET** /payments/topup/payer_accounts | List top-up payer accounts
|
|
195
180
|
*CoboWaas2.PaymentApi* | [**listTopUpPayers**](docs/PaymentApi.md#listTopUpPayers) | **GET** /payments/topup/payers | List payers
|
|
196
181
|
*CoboWaas2.PaymentApi* | [**paymentEstimateFee**](docs/PaymentApi.md#paymentEstimateFee) | **POST** /payments/estimate_fee | Estimate fees
|
|
197
|
-
*CoboWaas2.PaymentApi* | [**
|
|
182
|
+
*CoboWaas2.PaymentApi* | [**triggerTestPaymentsWebhookEvent**](docs/PaymentApi.md#triggerTestPaymentsWebhookEvent) | **POST** /payments/webhooks/trigger | Trigger test webhook event
|
|
198
183
|
*CoboWaas2.PaymentApi* | [**updateBankAccountById**](docs/PaymentApi.md#updateBankAccountById) | **PUT** /payments/bank_accounts/{bank_account_id} | Update bank account
|
|
199
184
|
*CoboWaas2.PaymentApi* | [**updateCounterparty**](docs/PaymentApi.md#updateCounterparty) | **PUT** /payments/counterparty/{counterparty_id} | Update counterparty
|
|
200
|
-
*CoboWaas2.PaymentApi* | [**updateCounterpartyById**](docs/PaymentApi.md#updateCounterpartyById) | **PUT** /payments/counterparty/{counterparty_id}/update | Update counterparty (Deprecated)
|
|
201
185
|
*CoboWaas2.PaymentApi* | [**updateDestination**](docs/PaymentApi.md#updateDestination) | **PUT** /payments/destination/{destination_id} | Update destination
|
|
202
|
-
*CoboWaas2.PaymentApi* | [**updateDestinationBankAccountById**](docs/PaymentApi.md#updateDestinationBankAccountById) | **PUT** /payments/destination/bank_account/{bank_account_id}/update | Update destination bank account
|
|
203
|
-
*CoboWaas2.PaymentApi* | [**updateDestinationById**](docs/PaymentApi.md#updateDestinationById) | **PUT** /payments/destination/{destination_id}/update | Update destination (Deprecated)
|
|
204
186
|
*CoboWaas2.PaymentApi* | [**updateDestinationEntry**](docs/PaymentApi.md#updateDestinationEntry) | **PUT** /payments/destination_entry/{destination_entry_id} | Update destination entry
|
|
205
187
|
*CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
|
|
206
188
|
*CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
|
|
@@ -304,6 +286,7 @@ Class | Method | HTTP request | Description
|
|
|
304
286
|
*CoboWaas2.WalletsApi* | [**listTokenBalancesForAddress**](docs/WalletsApi.md#listTokenBalancesForAddress) | **GET** /wallets/{wallet_id}/addresses/{address}/tokens | List token balances by address
|
|
305
287
|
*CoboWaas2.WalletsApi* | [**listTokenBalancesForWallet**](docs/WalletsApi.md#listTokenBalancesForWallet) | **GET** /wallets/{wallet_id}/tokens | List token balances by wallet
|
|
306
288
|
*CoboWaas2.WalletsApi* | [**listTokenListingRequests**](docs/WalletsApi.md#listTokenListingRequests) | **GET** /wallets/tokens/listing_requests | List token listing requests
|
|
289
|
+
*CoboWaas2.WalletsApi* | [**listTransactionUtxos**](docs/WalletsApi.md#listTransactionUtxos) | **GET** /wallets/{wallet_id}/transaction_utxos | List transaction UTXOs
|
|
307
290
|
*CoboWaas2.WalletsApi* | [**listUtxos**](docs/WalletsApi.md#listUtxos) | **GET** /wallets/{wallet_id}/utxos | List UTXOs
|
|
308
291
|
*CoboWaas2.WalletsApi* | [**listWallets**](docs/WalletsApi.md#listWallets) | **GET** /wallets | List all wallets
|
|
309
292
|
*CoboWaas2.WalletsApi* | [**lockUtxos**](docs/WalletsApi.md#lockUtxos) | **POST** /wallets/{wallet_id}/utxos/lock | Lock UTXOs
|
|
@@ -461,15 +444,12 @@ Class | Method | HTTP request | Description
|
|
|
461
444
|
- [CoboWaas2.CreateCounterpartyEntry201Response](docs/CreateCounterpartyEntry201Response.md)
|
|
462
445
|
- [CoboWaas2.CreateCounterpartyEntryRequest](docs/CreateCounterpartyEntryRequest.md)
|
|
463
446
|
- [CoboWaas2.CreateCounterpartyRequest](docs/CreateCounterpartyRequest.md)
|
|
464
|
-
- [CoboWaas2.CreateCounterpartyWalletAddressRequest](docs/CreateCounterpartyWalletAddressRequest.md)
|
|
465
447
|
- [CoboWaas2.CreateCryptoAddressRequest](docs/CreateCryptoAddressRequest.md)
|
|
466
448
|
- [CoboWaas2.CreateCustodialWalletParams](docs/CreateCustodialWalletParams.md)
|
|
467
449
|
- [CoboWaas2.CreateDestinationBankAccount](docs/CreateDestinationBankAccount.md)
|
|
468
|
-
- [CoboWaas2.CreateDestinationBankAccountRequest](docs/CreateDestinationBankAccountRequest.md)
|
|
469
450
|
- [CoboWaas2.CreateDestinationEntry201Response](docs/CreateDestinationEntry201Response.md)
|
|
470
451
|
- [CoboWaas2.CreateDestinationEntryRequest](docs/CreateDestinationEntryRequest.md)
|
|
471
452
|
- [CoboWaas2.CreateDestinationRequest](docs/CreateDestinationRequest.md)
|
|
472
|
-
- [CoboWaas2.CreateDestinationWalletAddressRequest](docs/CreateDestinationWalletAddressRequest.md)
|
|
473
453
|
- [CoboWaas2.CreateExchangeWalletParams](docs/CreateExchangeWalletParams.md)
|
|
474
454
|
- [CoboWaas2.CreateKeyShareHolder](docs/CreateKeyShareHolder.md)
|
|
475
455
|
- [CoboWaas2.CreateKeyShareHolderGroupRequest](docs/CreateKeyShareHolderGroupRequest.md)
|
|
@@ -520,16 +500,11 @@ Class | Method | HTTP request | Description
|
|
|
520
500
|
- [CoboWaas2.CustodialWeb3MessageSignSource](docs/CustodialWeb3MessageSignSource.md)
|
|
521
501
|
- [CoboWaas2.CustodialWeb3TransferSource](docs/CustodialWeb3TransferSource.md)
|
|
522
502
|
- [CoboWaas2.DeleteAddressBookById201Response](docs/DeleteAddressBookById201Response.md)
|
|
523
|
-
- [CoboWaas2.DeleteCounterparty200Response](docs/DeleteCounterparty200Response.md)
|
|
524
503
|
- [CoboWaas2.DeleteCounterpartyById200Response](docs/DeleteCounterpartyById200Response.md)
|
|
525
504
|
- [CoboWaas2.DeleteCounterpartyEntry200Response](docs/DeleteCounterpartyEntry200Response.md)
|
|
526
|
-
- [CoboWaas2.DeleteCounterpartyWalletAddress200Response](docs/DeleteCounterpartyWalletAddress200Response.md)
|
|
527
505
|
- [CoboWaas2.DeleteCryptoAddress201Response](docs/DeleteCryptoAddress201Response.md)
|
|
528
|
-
- [CoboWaas2.DeleteDestination200Response](docs/DeleteDestination200Response.md)
|
|
529
|
-
- [CoboWaas2.DeleteDestinationBankAccount200Response](docs/DeleteDestinationBankAccount200Response.md)
|
|
530
506
|
- [CoboWaas2.DeleteDestinationById200Response](docs/DeleteDestinationById200Response.md)
|
|
531
507
|
- [CoboWaas2.DeleteDestinationEntry200Response](docs/DeleteDestinationEntry200Response.md)
|
|
532
|
-
- [CoboWaas2.DeleteDestinationWalletAddress200Response](docs/DeleteDestinationWalletAddress200Response.md)
|
|
533
508
|
- [CoboWaas2.DeleteGuardPubkey201Response](docs/DeleteGuardPubkey201Response.md)
|
|
534
509
|
- [CoboWaas2.DeleteKeyShareHolderGroupById201Response](docs/DeleteKeyShareHolderGroupById201Response.md)
|
|
535
510
|
- [CoboWaas2.DeleteWalletById201Response](docs/DeleteWalletById201Response.md)
|
|
@@ -548,7 +523,6 @@ Class | Method | HTTP request | Description
|
|
|
548
523
|
- [CoboWaas2.EigenLayerLstStakeExtra](docs/EigenLayerLstStakeExtra.md)
|
|
549
524
|
- [CoboWaas2.EigenLayerNativeStakeExtra](docs/EigenLayerNativeStakeExtra.md)
|
|
550
525
|
- [CoboWaas2.EigenlayerValidator](docs/EigenlayerValidator.md)
|
|
551
|
-
- [CoboWaas2.EnableDestinationWhitelistRequest](docs/EnableDestinationWhitelistRequest.md)
|
|
552
526
|
- [CoboWaas2.EntryType](docs/EntryType.md)
|
|
553
527
|
- [CoboWaas2.ErrorResponse](docs/ErrorResponse.md)
|
|
554
528
|
- [CoboWaas2.EstimateClaimFee](docs/EstimateClaimFee.md)
|
|
@@ -670,10 +644,7 @@ Class | Method | HTTP request | Description
|
|
|
670
644
|
- [CoboWaas2.ListCallbackMessages200Response](docs/ListCallbackMessages200Response.md)
|
|
671
645
|
- [CoboWaas2.ListCounterparties200Response](docs/ListCounterparties200Response.md)
|
|
672
646
|
- [CoboWaas2.ListCounterpartyEntries200Response](docs/ListCounterpartyEntries200Response.md)
|
|
673
|
-
- [CoboWaas2.ListCounterpartyWalletAddress200Response](docs/ListCounterpartyWalletAddress200Response.md)
|
|
674
|
-
- [CoboWaas2.ListDestinationBankAccounts200Response](docs/ListDestinationBankAccounts200Response.md)
|
|
675
647
|
- [CoboWaas2.ListDestinationEntries200Response](docs/ListDestinationEntries200Response.md)
|
|
676
|
-
- [CoboWaas2.ListDestinationWalletAddresses200Response](docs/ListDestinationWalletAddresses200Response.md)
|
|
677
648
|
- [CoboWaas2.ListDestinations200Response](docs/ListDestinations200Response.md)
|
|
678
649
|
- [CoboWaas2.ListExchanges200ResponseInner](docs/ListExchanges200ResponseInner.md)
|
|
679
650
|
- [CoboWaas2.ListForcedSweepRequests200Response](docs/ListForcedSweepRequests200Response.md)
|
|
@@ -750,6 +721,7 @@ Class | Method | HTTP request | Description
|
|
|
750
721
|
- [CoboWaas2.PayerAccount](docs/PayerAccount.md)
|
|
751
722
|
- [CoboWaas2.PaymentAddressUpdateEventData](docs/PaymentAddressUpdateEventData.md)
|
|
752
723
|
- [CoboWaas2.PaymentAllocationAmount](docs/PaymentAllocationAmount.md)
|
|
724
|
+
- [CoboWaas2.PaymentBridgeStatus](docs/PaymentBridgeStatus.md)
|
|
753
725
|
- [CoboWaas2.PaymentBulkSend](docs/PaymentBulkSend.md)
|
|
754
726
|
- [CoboWaas2.PaymentBulkSendEvent](docs/PaymentBulkSendEvent.md)
|
|
755
727
|
- [CoboWaas2.PaymentBulkSendExecutionMode](docs/PaymentBulkSendExecutionMode.md)
|
|
@@ -786,9 +758,9 @@ Class | Method | HTTP request | Description
|
|
|
786
758
|
- [CoboWaas2.PoolDetails](docs/PoolDetails.md)
|
|
787
759
|
- [CoboWaas2.PoolDetailsAllOfValidatorsInfo](docs/PoolDetailsAllOfValidatorsInfo.md)
|
|
788
760
|
- [CoboWaas2.PoolSummary](docs/PoolSummary.md)
|
|
761
|
+
- [CoboWaas2.PreCheck](docs/PreCheck.md)
|
|
789
762
|
- [CoboWaas2.PspBalance](docs/PspBalance.md)
|
|
790
763
|
- [CoboWaas2.QueryApprovalStatement200Response](docs/QueryApprovalStatement200Response.md)
|
|
791
|
-
- [CoboWaas2.QueryDestinationWhitelistEnabled200Response](docs/QueryDestinationWhitelistEnabled200Response.md)
|
|
792
764
|
- [CoboWaas2.QueryGuardPubkey200Response](docs/QueryGuardPubkey200Response.md)
|
|
793
765
|
- [CoboWaas2.QueryGuardPubkey200ResponseAddressesInner](docs/QueryGuardPubkey200ResponseAddressesInner.md)
|
|
794
766
|
- [CoboWaas2.RefreshAddressBalancesByToken200Response](docs/RefreshAddressBalancesByToken200Response.md)
|
|
@@ -836,6 +808,7 @@ Class | Method | HTTP request | Description
|
|
|
836
808
|
- [CoboWaas2.SettlementDetail](docs/SettlementDetail.md)
|
|
837
809
|
- [CoboWaas2.SettlementInfo](docs/SettlementInfo.md)
|
|
838
810
|
- [CoboWaas2.SettlementType](docs/SettlementType.md)
|
|
811
|
+
- [CoboWaas2.SkipCheckType](docs/SkipCheckType.md)
|
|
839
812
|
- [CoboWaas2.SmartContractInitiator](docs/SmartContractInitiator.md)
|
|
840
813
|
- [CoboWaas2.SmartContractWalletInfo](docs/SmartContractWalletInfo.md)
|
|
841
814
|
- [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
|
|
@@ -1115,6 +1088,8 @@ Class | Method | HTTP request | Description
|
|
|
1115
1088
|
- [CoboWaas2.TravelRuleWithdrawNaturalEntity](docs/TravelRuleWithdrawNaturalEntity.md)
|
|
1116
1089
|
- [CoboWaas2.TravelRuleWithdrawRequest](docs/TravelRuleWithdrawRequest.md)
|
|
1117
1090
|
- [CoboWaas2.TravelRuleWithdrawRequestTravelRuleInfo](docs/TravelRuleWithdrawRequestTravelRuleInfo.md)
|
|
1091
|
+
- [CoboWaas2.TriggerTestPaymentWebhookEventResponse](docs/TriggerTestPaymentWebhookEventResponse.md)
|
|
1092
|
+
- [CoboWaas2.TriggerTestPaymentsWebhookEventRequest](docs/TriggerTestPaymentsWebhookEventRequest.md)
|
|
1118
1093
|
- [CoboWaas2.TriggerTestWebhookEvent201Response](docs/TriggerTestWebhookEvent201Response.md)
|
|
1119
1094
|
- [CoboWaas2.TriggerTestWebhookEventRequest](docs/TriggerTestWebhookEventRequest.md)
|
|
1120
1095
|
- [CoboWaas2.TronContractCallDestination](docs/TronContractCallDestination.md)
|
|
@@ -1122,11 +1097,9 @@ Class | Method | HTTP request | Description
|
|
|
1122
1097
|
- [CoboWaas2.UnfreezeDisposition](docs/UnfreezeDisposition.md)
|
|
1123
1098
|
- [CoboWaas2.UpdateAddressBookParam](docs/UpdateAddressBookParam.md)
|
|
1124
1099
|
- [CoboWaas2.UpdateBankAccountByIdRequest](docs/UpdateBankAccountByIdRequest.md)
|
|
1125
|
-
- [CoboWaas2.UpdateCounterpartyByIdRequest](docs/UpdateCounterpartyByIdRequest.md)
|
|
1126
1100
|
- [CoboWaas2.UpdateCounterpartyRequest](docs/UpdateCounterpartyRequest.md)
|
|
1127
1101
|
- [CoboWaas2.UpdateCustodialWalletParams](docs/UpdateCustodialWalletParams.md)
|
|
1128
1102
|
- [CoboWaas2.UpdateDestinationBankAccount](docs/UpdateDestinationBankAccount.md)
|
|
1129
|
-
- [CoboWaas2.UpdateDestinationByIdRequest](docs/UpdateDestinationByIdRequest.md)
|
|
1130
1103
|
- [CoboWaas2.UpdateDestinationEntry200Response](docs/UpdateDestinationEntry200Response.md)
|
|
1131
1104
|
- [CoboWaas2.UpdateDestinationEntryRequest](docs/UpdateDestinationEntryRequest.md)
|
|
1132
1105
|
- [CoboWaas2.UpdateDestinationRequest](docs/UpdateDestinationRequest.md)
|
package/dist/ApiClient.js
CHANGED
package/dist/api/AutoSweepApi.js
CHANGED
|
@@ -178,8 +178,8 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
178
178
|
* @param {Object} opts Optional parameters
|
|
179
179
|
* @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).
|
|
180
180
|
* @param {String} [task_ids] A list of auto-sweep task IDs, separated by comma.
|
|
181
|
-
* @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.
|
|
182
|
-
* @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.
|
|
181
|
+
* @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.
|
|
182
|
+
* @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.
|
|
183
183
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
184
184
|
* @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.
|
|
185
185
|
* @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.
|
|
@@ -226,8 +226,8 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
226
226
|
* @param {Object} opts Optional parameters
|
|
227
227
|
* @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).
|
|
228
228
|
* @param {String} opts.task_ids A list of auto-sweep task IDs, separated by comma.
|
|
229
|
-
* @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.
|
|
230
|
-
* @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.
|
|
229
|
+
* @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.
|
|
230
|
+
* @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.
|
|
231
231
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
232
232
|
* @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.
|
|
233
233
|
* @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.
|
|
@@ -241,8 +241,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
241
241
|
* @param {String} [chain_ids] A list of chain IDs, separated by comma. The chain ID 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).
|
|
242
242
|
* @param {String} [token_ids] A list of token IDs, separated by comma. The token ID 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).
|
|
243
243
|
* @param {String} [asset_ids] (This concept applies to Exchange Wallets only) A list of asset IDs, separated by comma. An asset ID is the unique identifier of the asset held within your linked exchange account.
|
|
244
|
-
* @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.
|
|
245
|
-
* @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.
|
|
244
|
+
* @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.
|
|
245
|
+
* @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.
|
|
246
246
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
247
247
|
* @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.
|
|
248
248
|
* @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.
|
|
@@ -297,8 +297,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
297
297
|
* @param {String} opts.chain_ids A list of chain IDs, separated by comma. The chain ID 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).
|
|
298
298
|
* @param {String} opts.token_ids A list of token IDs, separated by comma. The token ID 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).
|
|
299
299
|
* @param {String} opts.asset_ids (This concept applies to Exchange Wallets only) A list of asset IDs, separated by comma. An asset ID is the unique identifier of the asset held within your linked exchange account.
|
|
300
|
-
* @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.
|
|
301
|
-
* @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.
|
|
300
|
+
* @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.
|
|
301
|
+
* @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.
|
|
302
302
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
303
303
|
* @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.
|
|
304
304
|
* @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.
|