@cobo/cobo-waas2 1.27.0 → 1.28.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 +33 -1
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +2 -2
- package/dist/api/AutoSweepApi.js +4 -4
- package/dist/api/OAuthApi.js +4 -4
- package/dist/api/PaymentApi.js +491 -36
- package/dist/api/StakingsApi.js +44 -2
- package/dist/api/SwapsApi.js +2 -2
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/api/WalletsApi.js +14 -14
- package/dist/index.js +154 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AllocationRecord.js +193 -0
- package/dist/model/AllocationRequest.js +167 -0
- package/dist/model/BabylonCreateStakingExpansion.js +157 -0
- package/dist/model/BabylonStakeExtra.js +26 -0
- package/dist/model/BabylonStakingRegistration.js +1 -1
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BatchAllocation.js +190 -0
- package/dist/model/BatchAllocationDetail.js +188 -0
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
- package/dist/model/ContractCallDestination.js +42 -8
- package/dist/model/ContractCallDestinationType.js +5 -0
- package/dist/model/CosmosContractCallDestination.js +0 -13
- package/dist/model/CreateBatchAllocationRequest.js +142 -0
- package/dist/model/CreateCustodialWalletParams.js +1 -1
- package/dist/model/CreateExchangeWalletParams.js +2 -2
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePaymentOrderRequest.js +115 -68
- package/dist/model/CreatePayoutRequest.js +192 -0
- package/dist/model/CreateRefundRequest.js +3 -3
- package/dist/model/CreateSafeWalletParams.js +1 -1
- package/dist/model/CreateSettlement.js +1 -1
- package/dist/model/CreateSettlementRequestRequest.js +1 -1
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +12 -0
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/GetExchangeRate200Response.js +2 -2
- package/dist/model/LinkDisplayInfo.js +13 -0
- package/dist/model/ListAllocations200Response.js +123 -0
- package/dist/model/ListBatchAllocations200Response.js +123 -0
- package/dist/model/ListPayoutItems200Response.js +123 -0
- package/dist/model/ListPayouts200Response.js +123 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/MerchantBalance.js +28 -2
- package/dist/model/Order.js +135 -102
- package/dist/model/OrderLinkBusinessInfo.js +151 -87
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +4 -4
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +125 -0
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentAllocationAmount.js +125 -0
- package/dist/model/PaymentOrderEventData.js +198 -145
- package/dist/model/PaymentPayout.js +250 -0
- package/dist/model/PaymentPayoutDetail.js +248 -0
- package/dist/model/PaymentPayoutEvent.js +433 -0
- package/dist/model/PaymentPayoutItem.js +298 -0
- package/dist/model/PaymentPayoutItemDetail.js +298 -0
- package/dist/model/PaymentPayoutItemStatus.js +76 -0
- package/dist/model/PaymentPayoutParam.js +165 -0
- package/dist/model/PaymentPayoutStatus.js +81 -0
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentSourceType.js +61 -0
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PspBalance.js +28 -2
- package/dist/model/RefundLinkBusinessInfo.js +1 -1
- package/dist/model/Stakings.js +33 -6
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SwapActivity.js +1 -1
- package/dist/model/SwapActivityDetail.js +2 -2
- package/dist/model/SwapActivityTimeline.js +1 -1
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/TransactionCosmosContractDestination.js +0 -13
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +106 -42
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +10 -0
- package/docs/AddressBooksApi.md +1 -1
- package/docs/AddressesEventData.md +3 -1
- package/docs/AllocationRecord.md +15 -0
- package/docs/AllocationRequest.md +13 -0
- package/docs/AutoSweepApi.md +2 -2
- package/docs/BabylonCreateStakingExpansion.md +12 -0
- package/docs/BabylonStakeExtra.md +2 -0
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BatchAllocation.md +14 -0
- package/docs/BatchAllocationDetail.md +14 -0
- package/docs/ChainsEventData.md +3 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
- package/docs/ContractCallDestination.md +1 -0
- package/docs/ContractCallDestinationType.md +2 -0
- package/docs/CosmosContractCallDestination.md +0 -1
- package/docs/CreateBatchAllocationRequest.md +10 -0
- package/docs/CreateCustodialWalletParams.md +1 -1
- package/docs/CreateExchangeWalletParams.md +1 -1
- package/docs/CreateMerchantRequest.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +15 -11
- package/docs/CreatePayoutRequest.md +14 -0
- package/docs/CreateRefundRequest.md +3 -3
- package/docs/CreateSafeWalletParams.md +1 -1
- package/docs/CreateSettlement.md +1 -1
- package/docs/CreateSettlementRequestRequest.md +1 -1
- package/docs/CreateSmartContractWalletParams.md +1 -1
- package/docs/CreateStakeActivityExtra.md +2 -0
- package/docs/CreateWalletParams.md +1 -1
- package/docs/GetExchangeRate200Response.md +1 -1
- package/docs/LinkDisplayInfo.md +1 -0
- package/docs/ListAllocations200Response.md +10 -0
- package/docs/ListBatchAllocations200Response.md +10 -0
- package/docs/ListPayoutItems200Response.md +10 -0
- package/docs/ListPayouts200Response.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/MerchantBalance.md +4 -2
- package/docs/OAuthApi.md +2 -2
- package/docs/Order.md +16 -13
- package/docs/OrderLinkBusinessInfo.md +11 -7
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
- package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +10 -0
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentAllocationAmount.md +10 -0
- package/docs/PaymentApi.md +527 -20
- package/docs/PaymentOrderEventData.md +19 -14
- package/docs/PaymentPayout.md +19 -0
- package/docs/PaymentPayoutDetail.md +19 -0
- package/docs/PaymentPayoutEvent.md +65 -0
- package/docs/PaymentPayoutItem.md +22 -0
- package/docs/PaymentPayoutItemDetail.md +22 -0
- package/docs/PaymentPayoutItemStatus.md +18 -0
- package/docs/PaymentPayoutParam.md +13 -0
- package/docs/PaymentPayoutStatus.md +20 -0
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentSourceType.md +12 -0
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +4 -2
- package/docs/RefundLinkBusinessInfo.md +1 -1
- package/docs/Stakings.md +2 -1
- package/docs/StakingsApi.md +54 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/SwapActivity.md +1 -1
- package/docs/SwapActivityDetail.md +1 -1
- package/docs/SwapActivityTimeline.md +1 -1
- package/docs/SwapsApi.md +1 -1
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionCosmosContractDestination.md +0 -1
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +3 -3
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletsApi.md +7 -7
- package/docs/WebhookEventData.md +21 -13
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
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.28.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)
|
|
@@ -115,6 +115,7 @@ Class | Method | HTTP request | Description
|
|
|
115
115
|
*CoboWaas2.OrganizationsApi* | [**getOrgInfo**](docs/OrganizationsApi.md#getOrgInfo) | **GET** /organizations/info | Get organization information
|
|
116
116
|
*CoboWaas2.PaymentApi* | [**batchGetExchangeRates**](docs/PaymentApi.md#batchGetExchangeRates) | **GET** /payments/exchange_rates | Batch get exchange rates
|
|
117
117
|
*CoboWaas2.PaymentApi* | [**cancelRefundById**](docs/PaymentApi.md#cancelRefundById) | **PUT** /payments/refunds/{refund_id}/cancel | Cancel refund order
|
|
118
|
+
*CoboWaas2.PaymentApi* | [**createBatchAllocation**](docs/PaymentApi.md#createBatchAllocation) | **POST** /payments/batch_allocations | Create batch allocation
|
|
118
119
|
*CoboWaas2.PaymentApi* | [**createCounterparty**](docs/PaymentApi.md#createCounterparty) | **POST** /payments/counterparty | Create counterparty
|
|
119
120
|
*CoboWaas2.PaymentApi* | [**createCounterpartyWalletAddress**](docs/PaymentApi.md#createCounterpartyWalletAddress) | **POST** /payments/counterparty/wallet_address | Create counterparty wallet address
|
|
120
121
|
*CoboWaas2.PaymentApi* | [**createCryptoAddress**](docs/PaymentApi.md#createCryptoAddress) | **POST** /payments/crypto_addresses | Create crypto address
|
|
@@ -125,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
125
126
|
*CoboWaas2.PaymentApi* | [**createMerchant**](docs/PaymentApi.md#createMerchant) | **POST** /payments/merchants | Create merchant
|
|
126
127
|
*CoboWaas2.PaymentApi* | [**createOrderLink**](docs/PaymentApi.md#createOrderLink) | **POST** /payments/links/orders | Create order link
|
|
127
128
|
*CoboWaas2.PaymentApi* | [**createPaymentOrder**](docs/PaymentApi.md#createPaymentOrder) | **POST** /payments/orders | Create pay-in order
|
|
129
|
+
*CoboWaas2.PaymentApi* | [**createPayout**](docs/PaymentApi.md#createPayout) | **POST** /payments/payouts | Create payout
|
|
128
130
|
*CoboWaas2.PaymentApi* | [**createRefund**](docs/PaymentApi.md#createRefund) | **POST** /payments/refunds | Create refund order
|
|
129
131
|
*CoboWaas2.PaymentApi* | [**createRefundLink**](docs/PaymentApi.md#createRefundLink) | **POST** /payments/links/refunds | Create refund link
|
|
130
132
|
*CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
|
|
@@ -135,18 +137,23 @@ Class | Method | HTTP request | Description
|
|
|
135
137
|
*CoboWaas2.PaymentApi* | [**deleteDestinationBankAccount**](docs/PaymentApi.md#deleteDestinationBankAccount) | **PUT** /payments/destination/bank_account/{bank_account_id}/delete | Delete destination bank account
|
|
136
138
|
*CoboWaas2.PaymentApi* | [**deleteDestinationWalletAddress**](docs/PaymentApi.md#deleteDestinationWalletAddress) | **PUT** /payments/destination/wallet_address/{wallet_address_id}/delete | Delete destination wallet address
|
|
137
139
|
*CoboWaas2.PaymentApi* | [**enableDestinationWhitelist**](docs/PaymentApi.md#enableDestinationWhitelist) | **POST** /payments/destination/enable_whitelist | Enable or disable destination whitelist
|
|
140
|
+
*CoboWaas2.PaymentApi* | [**getAvailableAllocationAmount**](docs/PaymentApi.md#getAvailableAllocationAmount) | **GET** /payments/allocation_amount | Get available allocation amount
|
|
141
|
+
*CoboWaas2.PaymentApi* | [**getBatchAllocationById**](docs/PaymentApi.md#getBatchAllocationById) | **GET** /payments/batch_allocations/{batch_allocation_id} | Get batch allocation by id
|
|
138
142
|
*CoboWaas2.PaymentApi* | [**getCounterpartyDetailById**](docs/PaymentApi.md#getCounterpartyDetailById) | **GET** /payments/counterparty/{counterparty_id}/detail | Get counterparty information
|
|
139
143
|
*CoboWaas2.PaymentApi* | [**getDestinationBankAccountDetailById**](docs/PaymentApi.md#getDestinationBankAccountDetailById) | **GET** /payments/destination/bank_account/{bank_account_id}/detail | Get destination bank account information
|
|
140
144
|
*CoboWaas2.PaymentApi* | [**getDestinationDetailById**](docs/PaymentApi.md#getDestinationDetailById) | **GET** /payments/destination/{destination_id}/detail | Get destination information
|
|
141
145
|
*CoboWaas2.PaymentApi* | [**getExchangeRate**](docs/PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
|
|
142
146
|
*CoboWaas2.PaymentApi* | [**getPaymentOrderDetailById**](docs/PaymentApi.md#getPaymentOrderDetailById) | **GET** /payments/orders/{order_id} | Get pay-in order information
|
|
147
|
+
*CoboWaas2.PaymentApi* | [**getPayoutById**](docs/PaymentApi.md#getPayoutById) | **GET** /payments/payouts/{payout_id} | Get payout information
|
|
143
148
|
*CoboWaas2.PaymentApi* | [**getPspBalance**](docs/PaymentApi.md#getPspBalance) | **GET** /payments/balance/psp | Get developer balance
|
|
144
149
|
*CoboWaas2.PaymentApi* | [**getRefundDetailById**](docs/PaymentApi.md#getRefundDetailById) | **GET** /payments/refunds/{refund_id} | Get refund order information
|
|
145
150
|
*CoboWaas2.PaymentApi* | [**getRefunds**](docs/PaymentApi.md#getRefunds) | **GET** /payments/refunds | List all refund orders
|
|
146
151
|
*CoboWaas2.PaymentApi* | [**getSettlementById**](docs/PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
|
|
147
152
|
*CoboWaas2.PaymentApi* | [**getSettlementInfoByIds**](docs/PaymentApi.md#getSettlementInfoByIds) | **GET** /payments/settlement_info | Get withdrawable balances
|
|
148
153
|
*CoboWaas2.PaymentApi* | [**getTopUpAddress**](docs/PaymentApi.md#getTopUpAddress) | **GET** /payments/topup/address | Create/Get top-up address
|
|
154
|
+
*CoboWaas2.PaymentApi* | [**listAllocations**](docs/PaymentApi.md#listAllocations) | **GET** /payments/allocation_records | List all allocations
|
|
149
155
|
*CoboWaas2.PaymentApi* | [**listBankAccounts**](docs/PaymentApi.md#listBankAccounts) | **GET** /payments/bank_accounts | List all bank accounts
|
|
156
|
+
*CoboWaas2.PaymentApi* | [**listBatchAllocations**](docs/PaymentApi.md#listBatchAllocations) | **GET** /payments/batch_allocations | List all batch allocations
|
|
150
157
|
*CoboWaas2.PaymentApi* | [**listCounterparties**](docs/PaymentApi.md#listCounterparties) | **GET** /payments/counterparty | List all counterparties
|
|
151
158
|
*CoboWaas2.PaymentApi* | [**listCounterpartyWalletAddress**](docs/PaymentApi.md#listCounterpartyWalletAddress) | **GET** /payments/counterparty/wallet_address | List counterparty wallet addresses
|
|
152
159
|
*CoboWaas2.PaymentApi* | [**listCryptoAddresses**](docs/PaymentApi.md#listCryptoAddresses) | **GET** /payments/crypto_addresses | List crypto addresses
|
|
@@ -159,6 +166,8 @@ Class | Method | HTTP request | Description
|
|
|
159
166
|
*CoboWaas2.PaymentApi* | [**listPaymentOrders**](docs/PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
|
|
160
167
|
*CoboWaas2.PaymentApi* | [**listPaymentSupportedTokens**](docs/PaymentApi.md#listPaymentSupportedTokens) | **GET** /payments/supported_tokens | List all supported tokens
|
|
161
168
|
*CoboWaas2.PaymentApi* | [**listPaymentWalletBalances**](docs/PaymentApi.md#listPaymentWalletBalances) | **GET** /payments/balance/payment_wallets | List payment wallet balances
|
|
169
|
+
*CoboWaas2.PaymentApi* | [**listPayoutItems**](docs/PaymentApi.md#listPayoutItems) | **GET** /payments/payout_items | List all payout items
|
|
170
|
+
*CoboWaas2.PaymentApi* | [**listPayouts**](docs/PaymentApi.md#listPayouts) | **GET** /payments/payouts | List all payouts
|
|
162
171
|
*CoboWaas2.PaymentApi* | [**listSettlementDetails**](docs/PaymentApi.md#listSettlementDetails) | **GET** /payments/settlement_details | List all settlement details
|
|
163
172
|
*CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
|
|
164
173
|
*CoboWaas2.PaymentApi* | [**listTopUpPayerAccounts**](docs/PaymentApi.md#listTopUpPayerAccounts) | **GET** /payments/topup/payer_accounts | List top-up payer accounts
|
|
@@ -180,6 +189,7 @@ Class | Method | HTTP request | Description
|
|
|
180
189
|
*CoboWaas2.PrimeBrokerApi* | [**queryApprovalStatement**](docs/PrimeBrokerApi.md#queryApprovalStatement) | **GET** /prime_broker/approval_statement/{statement_id} | Query approval statement
|
|
181
190
|
*CoboWaas2.PrimeBrokerApi* | [**queryGuardPubkey**](docs/PrimeBrokerApi.md#queryGuardPubkey) | **GET** /prime_broker/user/{user_id}/guard_pubkey | Query a Guard pubkey
|
|
182
191
|
*CoboWaas2.StakingsApi* | [**createBabylonAirdropRegistration**](docs/StakingsApi.md#createBabylonAirdropRegistration) | **POST** /stakings/protocols/babylon/airdrops/registrations | Register for Babylon airdrop
|
|
192
|
+
*CoboWaas2.StakingsApi* | [**createBabylonStakingExpansion**](docs/StakingsApi.md#createBabylonStakingExpansion) | **POST** /stakings/protocols/babylon/stakings/expansions | Expand Babylon BTC staking
|
|
183
193
|
*CoboWaas2.StakingsApi* | [**createBabylonStakingRegistration**](docs/StakingsApi.md#createBabylonStakingRegistration) | **POST** /stakings/protocols/babylon/stakings/registrations | Register for Babylon Phase-2
|
|
184
194
|
*CoboWaas2.StakingsApi* | [**createClaimActivity**](docs/StakingsApi.md#createClaimActivity) | **POST** /stakings/activities/claim | Create claim activity
|
|
185
195
|
*CoboWaas2.StakingsApi* | [**createStakeActivity**](docs/StakingsApi.md#createStakeActivity) | **POST** /stakings/activities/stake | Create stake activity
|
|
@@ -323,6 +333,8 @@ Class | Method | HTTP request | Description
|
|
|
323
333
|
- [CoboWaas2.AddressTransferDestinationUtxoOutputsInner](docs/AddressTransferDestinationUtxoOutputsInner.md)
|
|
324
334
|
- [CoboWaas2.AddressesEventData](docs/AddressesEventData.md)
|
|
325
335
|
- [CoboWaas2.AddressesEventDataAllOfAddresses](docs/AddressesEventDataAllOfAddresses.md)
|
|
336
|
+
- [CoboWaas2.AllocationRecord](docs/AllocationRecord.md)
|
|
337
|
+
- [CoboWaas2.AllocationRequest](docs/AllocationRequest.md)
|
|
326
338
|
- [CoboWaas2.AmountDetailsInner](docs/AmountDetailsInner.md)
|
|
327
339
|
- [CoboWaas2.AmountStatus](docs/AmountStatus.md)
|
|
328
340
|
- [CoboWaas2.ApiLogDetails](docs/ApiLogDetails.md)
|
|
@@ -350,6 +362,7 @@ Class | Method | HTTP request | Description
|
|
|
350
362
|
- [CoboWaas2.BTCBIP322MessageSignDestination](docs/BTCBIP322MessageSignDestination.md)
|
|
351
363
|
- [CoboWaas2.BabylonAirdropPop](docs/BabylonAirdropPop.md)
|
|
352
364
|
- [CoboWaas2.BabylonAirdropRegistration](docs/BabylonAirdropRegistration.md)
|
|
365
|
+
- [CoboWaas2.BabylonCreateStakingExpansion](docs/BabylonCreateStakingExpansion.md)
|
|
353
366
|
- [CoboWaas2.BabylonEligibleAirdrop](docs/BabylonEligibleAirdrop.md)
|
|
354
367
|
- [CoboWaas2.BabylonRegistrationRequestStatus](docs/BabylonRegistrationRequestStatus.md)
|
|
355
368
|
- [CoboWaas2.BabylonRegistrationStatus](docs/BabylonRegistrationStatus.md)
|
|
@@ -368,6 +381,8 @@ Class | Method | HTTP request | Description
|
|
|
368
381
|
- [CoboWaas2.BaseEstimateStakingFee](docs/BaseEstimateStakingFee.md)
|
|
369
382
|
- [CoboWaas2.BaseStakeExtra](docs/BaseStakeExtra.md)
|
|
370
383
|
- [CoboWaas2.BaseStakeSource](docs/BaseStakeSource.md)
|
|
384
|
+
- [CoboWaas2.BatchAllocation](docs/BatchAllocation.md)
|
|
385
|
+
- [CoboWaas2.BatchAllocationDetail](docs/BatchAllocationDetail.md)
|
|
371
386
|
- [CoboWaas2.BatchCheckUtxo201Response](docs/BatchCheckUtxo201Response.md)
|
|
372
387
|
- [CoboWaas2.BatchCheckUtxoRequest](docs/BatchCheckUtxoRequest.md)
|
|
373
388
|
- [CoboWaas2.BatchUTXOParam](docs/BatchUTXOParam.md)
|
|
@@ -412,6 +427,7 @@ Class | Method | HTTP request | Description
|
|
|
412
427
|
- [CoboWaas2.CreateBabylonAirdropRegistrationRequest](docs/CreateBabylonAirdropRegistrationRequest.md)
|
|
413
428
|
- [CoboWaas2.CreateBabylonStakingRegistration201Response](docs/CreateBabylonStakingRegistration201Response.md)
|
|
414
429
|
- [CoboWaas2.CreateBabylonStakingRegistrationRequest](docs/CreateBabylonStakingRegistrationRequest.md)
|
|
430
|
+
- [CoboWaas2.CreateBatchAllocationRequest](docs/CreateBatchAllocationRequest.md)
|
|
415
431
|
- [CoboWaas2.CreateClaimActivity](docs/CreateClaimActivity.md)
|
|
416
432
|
- [CoboWaas2.CreateClaimActivityRequest](docs/CreateClaimActivityRequest.md)
|
|
417
433
|
- [CoboWaas2.CreateCounterpartyRequest](docs/CreateCounterpartyRequest.md)
|
|
@@ -431,6 +447,7 @@ Class | Method | HTTP request | Description
|
|
|
431
447
|
- [CoboWaas2.CreateMpcWalletParams](docs/CreateMpcWalletParams.md)
|
|
432
448
|
- [CoboWaas2.CreateOrderLinkRequest](docs/CreateOrderLinkRequest.md)
|
|
433
449
|
- [CoboWaas2.CreatePaymentOrderRequest](docs/CreatePaymentOrderRequest.md)
|
|
450
|
+
- [CoboWaas2.CreatePayoutRequest](docs/CreatePayoutRequest.md)
|
|
434
451
|
- [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
|
|
435
452
|
- [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
|
|
436
453
|
- [CoboWaas2.CreateRefundLinkRequest](docs/CreateRefundLinkRequest.md)
|
|
@@ -587,6 +604,7 @@ Class | Method | HTTP request | Description
|
|
|
587
604
|
- [CoboWaas2.ListAddressBalancesByToken200Response](docs/ListAddressBalancesByToken200Response.md)
|
|
588
605
|
- [CoboWaas2.ListAddressBooks200Response](docs/ListAddressBooks200Response.md)
|
|
589
606
|
- [CoboWaas2.ListAddresses200Response](docs/ListAddresses200Response.md)
|
|
607
|
+
- [CoboWaas2.ListAllocations200Response](docs/ListAllocations200Response.md)
|
|
590
608
|
- [CoboWaas2.ListApprovalRequests200Response](docs/ListApprovalRequests200Response.md)
|
|
591
609
|
- [CoboWaas2.ListAssetBalancesForExchangeWallet200Response](docs/ListAssetBalancesForExchangeWallet200Response.md)
|
|
592
610
|
- [CoboWaas2.ListAutoSweepTask200Response](docs/ListAutoSweepTask200Response.md)
|
|
@@ -595,6 +613,7 @@ Class | Method | HTTP request | Description
|
|
|
595
613
|
- [CoboWaas2.ListBabylonEligibleStakings200Response](docs/ListBabylonEligibleStakings200Response.md)
|
|
596
614
|
- [CoboWaas2.ListBabylonEligibleStakings200ResponseDataInner](docs/ListBabylonEligibleStakings200ResponseDataInner.md)
|
|
597
615
|
- [CoboWaas2.ListBabylonStakingRegistrations200Response](docs/ListBabylonStakingRegistrations200Response.md)
|
|
616
|
+
- [CoboWaas2.ListBatchAllocations200Response](docs/ListBatchAllocations200Response.md)
|
|
598
617
|
- [CoboWaas2.ListCallbackMessages200Response](docs/ListCallbackMessages200Response.md)
|
|
599
618
|
- [CoboWaas2.ListCounterparties200Response](docs/ListCounterparties200Response.md)
|
|
600
619
|
- [CoboWaas2.ListCounterpartyWalletAddress200Response](docs/ListCounterpartyWalletAddress200Response.md)
|
|
@@ -611,6 +630,8 @@ Class | Method | HTTP request | Description
|
|
|
611
630
|
- [CoboWaas2.ListMpcVaults200Response](docs/ListMpcVaults200Response.md)
|
|
612
631
|
- [CoboWaas2.ListPaymentOrders200Response](docs/ListPaymentOrders200Response.md)
|
|
613
632
|
- [CoboWaas2.ListPaymentWalletBalances200Response](docs/ListPaymentWalletBalances200Response.md)
|
|
633
|
+
- [CoboWaas2.ListPayoutItems200Response](docs/ListPayoutItems200Response.md)
|
|
634
|
+
- [CoboWaas2.ListPayouts200Response](docs/ListPayouts200Response.md)
|
|
614
635
|
- [CoboWaas2.ListSettlementDetails200Response](docs/ListSettlementDetails200Response.md)
|
|
615
636
|
- [CoboWaas2.ListSettlementRequests200Response](docs/ListSettlementRequests200Response.md)
|
|
616
637
|
- [CoboWaas2.ListStakingActivities200Response](docs/ListStakingActivities200Response.md)
|
|
@@ -666,20 +687,31 @@ Class | Method | HTTP request | Description
|
|
|
666
687
|
- [CoboWaas2.Order](docs/Order.md)
|
|
667
688
|
- [CoboWaas2.OrderLinkBusinessInfo](docs/OrderLinkBusinessInfo.md)
|
|
668
689
|
- [CoboWaas2.OrderLinkBusinessInfoCustomExchangeRatesInner](docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md)
|
|
690
|
+
- [CoboWaas2.OrderLinkBusinessInfoPayableAmountsInner](docs/OrderLinkBusinessInfoPayableAmountsInner.md)
|
|
669
691
|
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
670
692
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
671
693
|
- [CoboWaas2.OtcFee](docs/OtcFee.md)
|
|
672
694
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
673
695
|
- [CoboWaas2.PayerAccount](docs/PayerAccount.md)
|
|
674
696
|
- [CoboWaas2.PaymentAddressUpdateEventData](docs/PaymentAddressUpdateEventData.md)
|
|
697
|
+
- [CoboWaas2.PaymentAllocationAmount](docs/PaymentAllocationAmount.md)
|
|
675
698
|
- [CoboWaas2.PaymentEstimateFee](docs/PaymentEstimateFee.md)
|
|
676
699
|
- [CoboWaas2.PaymentEstimateFee201Response](docs/PaymentEstimateFee201Response.md)
|
|
677
700
|
- [CoboWaas2.PaymentEstimateFeeRequest](docs/PaymentEstimateFeeRequest.md)
|
|
678
701
|
- [CoboWaas2.PaymentEstimatedFee](docs/PaymentEstimatedFee.md)
|
|
679
702
|
- [CoboWaas2.PaymentFeeType](docs/PaymentFeeType.md)
|
|
680
703
|
- [CoboWaas2.PaymentOrderEventData](docs/PaymentOrderEventData.md)
|
|
704
|
+
- [CoboWaas2.PaymentPayout](docs/PaymentPayout.md)
|
|
705
|
+
- [CoboWaas2.PaymentPayoutDetail](docs/PaymentPayoutDetail.md)
|
|
706
|
+
- [CoboWaas2.PaymentPayoutEvent](docs/PaymentPayoutEvent.md)
|
|
707
|
+
- [CoboWaas2.PaymentPayoutItem](docs/PaymentPayoutItem.md)
|
|
708
|
+
- [CoboWaas2.PaymentPayoutItemDetail](docs/PaymentPayoutItemDetail.md)
|
|
709
|
+
- [CoboWaas2.PaymentPayoutItemStatus](docs/PaymentPayoutItemStatus.md)
|
|
710
|
+
- [CoboWaas2.PaymentPayoutParam](docs/PaymentPayoutParam.md)
|
|
711
|
+
- [CoboWaas2.PaymentPayoutStatus](docs/PaymentPayoutStatus.md)
|
|
681
712
|
- [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
|
|
682
713
|
- [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
|
|
714
|
+
- [CoboWaas2.PaymentSourceType](docs/PaymentSourceType.md)
|
|
683
715
|
- [CoboWaas2.PaymentTransaction](docs/PaymentTransaction.md)
|
|
684
716
|
- [CoboWaas2.PaymentTransactionEventData](docs/PaymentTransactionEventData.md)
|
|
685
717
|
- [CoboWaas2.PaymentWalletBalance](docs/PaymentWalletBalance.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -179,7 +179,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
179
179
|
* This operation retrieves all entries (records) from your Address Book. You can filter the entries by chain ID, address, and label.
|
|
180
180
|
* @param {Object} opts Optional parameters
|
|
181
181
|
* @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).
|
|
182
|
-
* @param {String} [address]
|
|
182
|
+
* @param {String} [address]
|
|
183
183
|
* @param {String} [label] A user-defined label for the address.
|
|
184
184
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
185
185
|
* @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.
|
|
@@ -217,7 +217,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
217
217
|
* This operation retrieves all entries (records) from your Address Book. You can filter the entries by chain ID, address, and label.
|
|
218
218
|
* @param {Object} opts Optional parameters
|
|
219
219
|
* @param {String} opts.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).
|
|
220
|
-
* @param {String} opts.address
|
|
220
|
+
* @param {String} opts.address
|
|
221
221
|
* @param {String} opts.label A user-defined label for the address.
|
|
222
222
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
223
223
|
* @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.
|
package/dist/api/AutoSweepApi.js
CHANGED
|
@@ -88,7 +88,7 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Create sweep-to address
|
|
91
|
-
* This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created. Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination. <Note>Sweep-to addresses are only applicable to MPC Wallets and Web3 Wallets with the auto-sweep feature enabled.</Note>
|
|
91
|
+
* This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created. Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination. <Note>Sweep-to addresses are only applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) with the auto-sweep feature enabled.</Note>
|
|
92
92
|
* @param {Object} opts Optional parameters
|
|
93
93
|
* @param {module:model/CreateSweepToAddress} [CreateSweepToAddress] The request body to generates a new sweep-to address within a specified wallet.
|
|
94
94
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SweepToAddress} and HTTP response
|
|
@@ -114,7 +114,7 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Create sweep-to address
|
|
117
|
-
* This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created. Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination. <Note>Sweep-to addresses are only applicable to MPC Wallets and Web3 Wallets with the auto-sweep feature enabled.</Note>
|
|
117
|
+
* This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created. Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination. <Note>Sweep-to addresses are only applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) with the auto-sweep feature enabled.</Note>
|
|
118
118
|
* @param {Object} opts Optional parameters
|
|
119
119
|
* @param {module:model/CreateSweepToAddress} opts.CreateSweepToAddress The request body to generates a new sweep-to address within a specified wallet.
|
|
120
120
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SweepToAddress}
|
|
@@ -244,7 +244,7 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* List sweep-to addresses
|
|
247
|
-
* This operation retrieves a list of sweep-to addresses within your wallet. <Note>Sweep-to addresses are only applicable to MPC Wallets and Web3 Wallets with the auto-sweep feature enabled.</Note>
|
|
247
|
+
* This operation retrieves a list of sweep-to addresses within your wallet. <Note>Sweep-to addresses are only applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) with the auto-sweep feature enabled.</Note>
|
|
248
248
|
* @param {String} wallet_id The wallet ID.
|
|
249
249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListWalletSweepToAddresses200Response} and HTTP response
|
|
250
250
|
*/
|
|
@@ -274,7 +274,7 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* List sweep-to addresses
|
|
277
|
-
* This operation retrieves a list of sweep-to addresses within your wallet. <Note>Sweep-to addresses are only applicable to MPC Wallets and Web3 Wallets with the auto-sweep feature enabled.</Note>
|
|
277
|
+
* This operation retrieves a list of sweep-to addresses within your wallet. <Note>Sweep-to addresses are only applicable to MPC Wallets and Custodial Wallets (Web3 Wallets) with the auto-sweep feature enabled.</Note>
|
|
278
278
|
* @param {String} wallet_id The wallet ID.
|
|
279
279
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListWalletSweepToAddresses200Response}
|
|
280
280
|
*/
|
package/dist/api/OAuthApi.js
CHANGED
|
@@ -48,7 +48,7 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Get Access Token
|
|
51
|
-
* This operation acquires an Access Token and a Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](https://www.cobo.com/developers/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
51
|
+
* <Warning>This operation has been deprecated.</Warning> This operation acquires an Access Token and a Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](https://www.cobo.com/developers/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
52
52
|
* @param {module:model/ExchangePermissionTokenRequest} ExchangePermissionTokenRequest The request body to acquire an Access Token.
|
|
53
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ExchangePermissionToken201Response} and HTTP response
|
|
54
54
|
*/
|
|
@@ -76,7 +76,7 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* Get Access Token
|
|
79
|
-
* This operation acquires an Access Token and a Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](https://www.cobo.com/developers/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
79
|
+
* <Warning>This operation has been deprecated.</Warning> This operation acquires an Access Token and a Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call the [Refresh Access Token](https://www.cobo.com/developers/v2/api-references/oauth/refresh-access-token) operation to get a new Access Token and a new Refresh Token.
|
|
80
80
|
* @param {module:model/ExchangePermissionTokenRequest} ExchangePermissionTokenRequest The request body to acquire an Access Token.
|
|
81
81
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ExchangePermissionToken201Response}
|
|
82
82
|
*/
|
|
@@ -148,7 +148,7 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* Refresh Access Token
|
|
151
|
-
* This operation refreshes the Access Token and Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call this operation to get a new Access Token and Refresh Token.
|
|
151
|
+
* <Warning>This operation has been deprecated.</Warning> This operation refreshes the Access Token and Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call this operation to get a new Access Token and Refresh Token.
|
|
152
152
|
* @param {module:model/RefreshPermissionTokenRequest} RefreshPermissionTokenRequest The request body to refresh the Access Token and the Refresh Token.
|
|
153
153
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ExchangePermissionToken201Response} and HTTP response
|
|
154
154
|
*/
|
|
@@ -176,7 +176,7 @@ var OAuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* Refresh Access Token
|
|
179
|
-
* This operation refreshes the Access Token and Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call this operation to get a new Access Token and Refresh Token.
|
|
179
|
+
* <Warning>This operation has been deprecated.</Warning> This operation refreshes the Access Token and Refresh Token for the [Checkout SDK](https://www.cobo.com/developers/v2_cn/payments/checkout-sdk). For security purposes, an Access Token expires after a certain period. Once it expires, you need to call this operation to get a new Access Token and Refresh Token.
|
|
180
180
|
* @param {module:model/RefreshPermissionTokenRequest} RefreshPermissionTokenRequest The request body to refresh the Access Token and the Refresh Token.
|
|
181
181
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ExchangePermissionToken201Response}
|
|
182
182
|
*/
|