@cobo/cobo-waas2 1.7.0 → 1.9.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 +122 -29
- package/dist/ApiClient.js +11 -1
- package/dist/api/AddressBooksApi.js +7 -7
- package/dist/api/DevelopersApi.js +111 -1
- package/dist/api/DevelopersWebhooksApi.js +38 -38
- package/dist/api/OAuthApi.js +2 -2
- package/dist/api/PrimeBrokerApi.js +317 -0
- package/dist/api/StakingsApi.js +45 -42
- package/dist/api/TransactionsApi.js +131 -42
- package/dist/api/TravelRuleApi.js +216 -0
- package/dist/api/WalletsApi.js +152 -81
- package/dist/api/WalletsExchangeWalletApi.js +13 -13
- package/dist/api/WalletsMPCWalletsApi.js +189 -77
- package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
- package/dist/index.js +385 -7
- package/dist/model/Activity.js +29 -0
- package/dist/model/ActivityAction.js +30 -0
- package/dist/model/ActivityExtra.js +274 -0
- package/dist/model/AddressBalance.js +129 -0
- package/dist/model/AddressInfo.js +15 -2
- package/dist/model/AddressTransferDestination.js +37 -1
- package/dist/model/AddressesEventData.js +190 -0
- package/dist/model/ApiLogDetails.js +2 -2
- package/dist/model/ApprovalStatementStatus.js +81 -0
- package/dist/model/AssetBalance.js +6 -6
- package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
- package/dist/model/BabylonStakeExtra.js +1 -1
- package/dist/model/BabylonStakingActivityDetailExtra.js +165 -0
- package/dist/model/{TokenBalanceBalance.js → Balance.js} +28 -28
- package/dist/model/BaseContractCallSource.js +1 -1
- package/dist/model/BroadcastSignedTransactionsRequest.js +1 -1
- package/dist/model/CallbackMessage.js +288 -0
- package/dist/model/ChainInfo.js +2 -2
- package/dist/model/ChangeGuardPubkey200Response.js +110 -0
- package/dist/model/ContractCallParams.js +38 -2
- package/dist/model/CoreStakingActivityDetailExtra.js +164 -0
- package/dist/model/CreateAddressRequest.js +30 -4
- package/dist/model/CreateClaimActivity.js +2 -2
- package/dist/model/CreateClaimActivityRequest.js +3 -3
- package/dist/model/CreateKeyShareHolder.js +1 -1
- package/dist/model/CreateMpcVaultRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
- package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
- package/dist/model/CreateStakeActivity.js +4 -6
- package/dist/model/CreateStakeActivityExtra.js +1 -1
- package/dist/model/CreateStakeActivityRequest.js +5 -7
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/CreateWebhookEndpointRequest.js +2 -2
- package/dist/model/CustodialTransferSource.js +1 -1
- package/dist/model/DeleteGuardPubkey201Response.js +110 -0
- package/dist/model/DestinationWalletType.js +61 -0
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/EstimateClaimFee.js +1 -1
- package/dist/model/EstimateContractCallFeeParams.js +2 -2
- package/dist/model/EstimateFeeParams.js +2 -2
- package/dist/model/EstimateStakeFee.js +5 -7
- package/dist/model/EstimateTransferFeeParams.js +2 -2
- package/dist/model/EthStakeEstimatedFee.js +13 -0
- package/dist/model/EthStakingActivityDetailExtra.js +142 -0
- package/dist/model/EvmContractCallDestination.js +1 -1
- package/dist/model/EvmEIP191MessageSignDestination.js +1 -1
- package/dist/model/EvmEIP712MessageSignDestination.js +1 -1
- package/dist/model/ExchangeTransferDestination.js +1 -1
- package/dist/model/ExchangeTransferSource.js +1 -1
- package/dist/model/ExtendedTokenInfo.js +3 -3
- package/dist/model/GetStakingEstimationFee201Response.js +6 -0
- package/dist/model/GetStakingEstimationFeeRequest.js +1 -1
- package/dist/model/GetTransactionLimitation200Response.js +143 -0
- package/dist/model/GuardPubkeyStatus.js +91 -0
- package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
- package/dist/model/ListCallbackMessages200Response.js +145 -0
- package/dist/model/ListKeyShareHolders200Response.js +123 -0
- package/dist/model/ListSupportedCountries200ResponseInner.js +140 -0
- package/dist/model/LockUtxosRequestUtxosInner.js +2 -2
- package/dist/model/MPCDelegate.js +1 -1
- package/dist/model/MPCVaultEventData.js +279 -0
- package/dist/model/MaxTransferableValue.js +1 -1
- package/dist/model/MessageSignDestination.js +70 -8
- package/dist/model/MessageSignDestinationType.js +12 -2
- package/dist/model/MessageSignParams.js +2 -2
- package/dist/model/MpcTransferSource.js +1 -1
- package/dist/model/OrgInfo.js +133 -0
- package/dist/model/Pagination.js +4 -4
- package/dist/model/QueryApprovalStatement200Response.js +122 -0
- package/dist/model/QueryGuardPubkey200Response.js +129 -0
- package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
- package/dist/model/RawMessageSignDestination.js +1 -1
- package/dist/model/RetryCallbackMessage201Response.js +83 -0
- package/dist/model/RootPubkey.js +1 -1
- package/dist/model/SafeContractCallSource.js +1 -1
- package/dist/model/SafeTransferSource.js +1 -1
- package/dist/model/SelectedEntityType.js +61 -0
- package/dist/model/SelfCustodyWallet.js +152 -0
- package/dist/model/SourceGroup.js +1 -1
- package/dist/model/StakingPoolId.js +5 -0
- package/dist/model/StakingPoolType.js +5 -0
- package/dist/model/SubWalletAssetBalance.js +6 -6
- package/dist/model/SubmitDepositTravelRuleInfo201Response.js +83 -0
- package/dist/model/SwapActivity.js +218 -0
- package/dist/model/SwapSummary.js +121 -0
- package/dist/model/SwapTokenPair.js +100 -0
- package/dist/model/TSSGroups.js +1 -1
- package/dist/model/TSSRequestWebhookEventData.js +18 -3
- package/dist/model/TokenBalance.js +8 -8
- package/dist/model/TokenInfo.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/TransactionApprovalDetail.js +121 -0
- package/dist/model/TransactionApprovalResult.js +66 -0
- package/dist/model/TransactionCustodialAssetWalletSource.js +1 -1
- package/dist/model/TransactionDepositFromAddressSource.js +1 -1
- package/dist/model/TransactionDepositFromLoopSource.js +1 -1
- package/dist/model/TransactionDepositFromWalletSource.js +1 -1
- package/dist/model/TransactionDepositToAddressDestination.js +17 -1
- package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
- package/dist/model/TransactionDepositToWalletDestination.js +1 -1
- package/dist/model/TransactionDestination.js +6 -0
- package/dist/model/TransactionDetail.js +4 -4
- package/dist/model/TransactionDetails.js +4 -4
- package/dist/model/TransactionEvmContractDestination.js +1 -1
- package/dist/model/TransactionExchangeWalletSource.js +1 -1
- package/dist/model/TransactionMPCWalletSource.js +1 -1
- package/dist/model/TransactionMessageSignEIP191Destination.js +1 -1
- package/dist/model/TransactionMessageSignEIP712Destination.js +1 -1
- package/dist/model/TransactionRawMessageSignDestination.js +1 -1
- package/dist/model/TransactionRawTxInfo.js +17 -4
- package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
- package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
- package/dist/model/TransactionRequestFixedFee.js +1 -1
- package/dist/model/TransactionRequestUtxoFee.js +1 -1
- package/dist/model/TransactionRoleApprovalDetail.js +152 -0
- package/dist/model/TransactionSelectedUtxo.js +123 -0
- package/dist/model/TransactionSmartContractSafeWalletSource.js +1 -1
- package/dist/model/TransactionSubStatus.js +5 -0
- package/dist/model/TransactionTokeApproval.js +3 -3
- package/dist/model/TransactionTokenAmount.js +1 -1
- package/dist/model/TransactionTransferToAddressDestination.js +1 -1
- package/dist/model/TransactionTransferToWalletDestination.js +1 -1
- package/dist/model/TransactionUserApprovalDetail.js +162 -0
- package/dist/model/TransactionWebhookEventData.js +22 -7
- package/dist/model/TransferDestination.js +6 -0
- package/dist/model/TransferParams.js +38 -2
- package/dist/model/TravelRuleDepositExchangesOrVASP.js +168 -0
- package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +222 -0
- package/dist/model/TravelRuleDepositLegalEntity.js +171 -0
- package/dist/model/TravelRuleDepositNaturalEntity.js +186 -0
- package/dist/model/TravelRuleDepositRequest.js +128 -0
- package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +222 -0
- package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +155 -0
- package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +222 -0
- package/dist/model/TravelRuleWithdrawLegalEntity.js +144 -0
- package/dist/model/TravelRuleWithdrawNaturalEntity.js +159 -0
- package/dist/model/TravelRuleWithdrawRequest.js +128 -0
- package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +216 -0
- package/dist/model/TriggerTestWebhookEventRequest.js +1 -1
- package/dist/model/UpdateWebhookEndpointByIdRequest.js +1 -1
- package/dist/model/Vasp.js +141 -0
- package/dist/model/WalletInfoEventData.js +175 -0
- package/dist/model/WebhookEventData.js +135 -14
- package/dist/model/WebhookEventDataType.js +17 -2
- package/dist/model/WebhookEventType.js +23 -8
- package/docs/Activity.md +2 -0
- package/docs/ActivityAction.md +12 -0
- package/docs/ActivityExtra.md +20 -0
- package/docs/AddressBalance.md +10 -0
- package/docs/AddressBooksApi.md +4 -4
- package/docs/AddressInfo.md +2 -1
- package/docs/AddressTransferDestination.md +14 -0
- package/docs/AddressesEventData.md +29 -0
- package/docs/ApiLogDetails.md +1 -1
- package/docs/ApprovalStatementStatus.md +20 -0
- package/docs/AssetBalance.md +1 -1
- package/docs/BTCEIP191MessageSignDestination.md +10 -0
- package/docs/BabylonStakeExtra.md +1 -1
- package/docs/BabylonStakingActivityDetailExtra.md +14 -0
- package/docs/{TokenBalanceBalance.md → Balance.md} +5 -5
- package/docs/BroadcastSignedTransactionsRequest.md +1 -1
- package/docs/CallbackMessage.md +46 -0
- package/docs/ChainInfo.md +1 -1
- package/docs/ChangeGuardPubkey200Response.md +9 -0
- package/docs/ContractCallParams.md +15 -1
- package/docs/CoreStakingActivityDetailExtra.md +13 -0
- package/docs/CreateAddressRequest.md +4 -2
- package/docs/CreateClaimActivity.md +1 -1
- package/docs/CreateClaimActivityRequest.md +1 -1
- package/docs/CreateKeyShareHolder.md +1 -1
- package/docs/CreateMpcVaultRequest.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
- package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
- package/docs/CreateStakeActivity.md +1 -1
- package/docs/CreateStakeActivityExtra.md +1 -1
- package/docs/CreateStakeActivityRequest.md +1 -1
- package/docs/CreateWalletParams.md +1 -1
- package/docs/CreateWebhookEndpointRequest.md +1 -1
- package/docs/DeleteGuardPubkey201Response.md +9 -0
- package/docs/DestinationWalletType.md +12 -0
- package/docs/DevelopersApi.md +119 -1
- package/docs/DevelopersWebhooksApi.md +23 -23
- package/docs/ErrorResponse.md +1 -1
- package/docs/EstimateClaimFee.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +2 -2
- package/docs/EstimateStakeFee.md +1 -1
- package/docs/EstimateTransferFeeParams.md +1 -1
- package/docs/EthStakeEstimatedFee.md +1 -0
- package/docs/EthStakingActivityDetailExtra.md +11 -0
- package/docs/ExtendedTokenInfo.md +1 -1
- package/docs/GetStakingEstimationFee201Response.md +1 -0
- package/docs/GetStakingEstimationFeeRequest.md +2 -2
- package/docs/GetTransactionLimitation200Response.md +12 -0
- package/docs/GuardPubkeyStatus.md +24 -0
- package/docs/ListAddressBalancesByToken200Response.md +10 -0
- package/docs/ListCallbackMessages200Response.md +10 -0
- package/docs/ListKeyShareHolders200Response.md +10 -0
- package/docs/ListSupportedCountries200ResponseInner.md +11 -0
- package/docs/LockUtxosRequestUtxosInner.md +1 -1
- package/docs/MPCVaultEventData.md +34 -0
- package/docs/MaxTransferableValue.md +1 -1
- package/docs/MessageSignDestination.md +1 -0
- package/docs/MessageSignDestinationType.md +6 -2
- package/docs/MessageSignParams.md +1 -1
- package/docs/OAuthApi.md +1 -1
- package/docs/OrgInfo.md +11 -0
- package/docs/Pagination.md +2 -2
- package/docs/PrimeBrokerApi.md +318 -0
- package/docs/QueryApprovalStatement200Response.md +12 -0
- package/docs/QueryGuardPubkey200Response.md +11 -0
- package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
- package/docs/RetryCallbackMessage201Response.md +9 -0
- package/docs/RootPubkey.md +1 -1
- package/docs/SelectedEntityType.md +12 -0
- package/docs/SelfCustodyWallet.md +12 -0
- package/docs/SourceGroup.md +1 -1
- package/docs/StakingPoolId.md +2 -0
- package/docs/StakingPoolType.md +2 -0
- package/docs/StakingsApi.md +30 -28
- package/docs/SubWalletAssetBalance.md +1 -1
- package/docs/SubmitDepositTravelRuleInfo201Response.md +9 -0
- package/docs/SwapActivity.md +20 -0
- package/docs/SwapSummary.md +10 -0
- package/docs/SwapTokenPair.md +10 -0
- package/docs/TSSGroups.md +1 -1
- package/docs/TSSRequestWebhookEventData.md +7 -1
- package/docs/TokenBalance.md +2 -2
- package/docs/TokenInfo.md +1 -1
- package/docs/Transaction.md +2 -2
- package/docs/TransactionApprovalDetail.md +11 -0
- package/docs/TransactionApprovalResult.md +14 -0
- package/docs/TransactionDepositToAddressDestination.md +1 -0
- package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
- package/docs/TransactionDestination.md +1 -0
- package/docs/TransactionDetail.md +2 -2
- package/docs/TransactionDetails.md +2 -2
- package/docs/TransactionRawTxInfo.md +2 -1
- package/docs/TransactionRoleApprovalDetail.md +13 -0
- package/docs/TransactionSelectedUtxo.md +12 -0
- package/docs/TransactionSubStatus.md +2 -0
- package/docs/TransactionTokeApproval.md +1 -1
- package/docs/TransactionTokenAmount.md +1 -1
- package/docs/TransactionUserApprovalDetail.md +15 -0
- package/docs/TransactionWebhookEventData.md +9 -3
- package/docs/TransactionsApi.md +129 -27
- package/docs/TransferDestination.md +14 -0
- package/docs/TransferParams.md +15 -1
- package/docs/TravelRuleApi.md +214 -0
- package/docs/TravelRuleDepositExchangesOrVASP.md +13 -0
- package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +29 -0
- package/docs/TravelRuleDepositLegalEntity.md +25 -0
- package/docs/TravelRuleDepositNaturalEntity.md +26 -0
- package/docs/TravelRuleDepositRequest.md +10 -0
- package/docs/TravelRuleDepositRequestTravelRuleInfo.md +16 -0
- package/docs/TravelRuleWithdrawExchangesOrVASP.md +12 -0
- package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +16 -0
- package/docs/TravelRuleWithdrawLegalEntity.md +12 -0
- package/docs/TravelRuleWithdrawNaturalEntity.md +13 -0
- package/docs/TravelRuleWithdrawRequest.md +10 -0
- package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +15 -0
- package/docs/TriggerTestWebhookEventRequest.md +1 -1
- package/docs/UpdateWebhookEndpointByIdRequest.md +1 -1
- package/docs/Vasp.md +11 -0
- package/docs/WalletInfoEventData.md +29 -0
- package/docs/WalletsApi.md +112 -47
- package/docs/WalletsExchangeWalletApi.md +7 -7
- package/docs/WalletsMPCWalletsApi.md +160 -46
- package/docs/WalletsSmartContractWalletsApi.md +1 -1
- package/docs/WebhookEventData.md +17 -5
- package/docs/WebhookEventDataType.md +7 -1
- package/docs/WebhookEventType.md +14 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,12 +10,12 @@ The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo’s Wa
|
|
|
10
10
|
- Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls
|
|
11
11
|
- Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more
|
|
12
12
|
|
|
13
|
-
For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](/v2/guides/overview/introduction).
|
|
13
|
+
For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction).
|
|
14
14
|
|
|
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.9.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)
|
|
@@ -69,6 +69,8 @@ Class | Method | HTTP request | Description
|
|
|
69
69
|
------------ | ------------- | ------------- | -------------
|
|
70
70
|
*CoboWaas2.AddressBooksApi* | [**listAddressBooks**](docs/AddressBooksApi.md#listAddressBooks) | **GET** /address_books | List address book entries
|
|
71
71
|
*CoboWaas2.DevelopersApi* | [**getApiKeyInfo**](docs/DevelopersApi.md#getApiKeyInfo) | **GET** /developers/api_key_info | Get API key information
|
|
72
|
+
*CoboWaas2.DevelopersApi* | [**listCallbackMessages**](docs/DevelopersApi.md#listCallbackMessages) | **GET** /developers/callback_messages | List all callback messages
|
|
73
|
+
*CoboWaas2.DevelopersApi* | [**retryCallbackMessage**](docs/DevelopersApi.md#retryCallbackMessage) | **POST** /developers/callback_messages/{message_id}/retry | Retry callback message
|
|
72
74
|
*CoboWaas2.DevelopersWebhooksApi* | [**createWebhookEndpoint**](docs/DevelopersWebhooksApi.md#createWebhookEndpoint) | **POST** /webhooks/endpoints | Register webhook endpoint
|
|
73
75
|
*CoboWaas2.DevelopersWebhooksApi* | [**getWebhookEndpointById**](docs/DevelopersWebhooksApi.md#getWebhookEndpointById) | **GET** /webhooks/endpoints/{endpoint_id} | Get webhook endpoint information
|
|
74
76
|
*CoboWaas2.DevelopersWebhooksApi* | [**getWebhookEventById**](docs/DevelopersWebhooksApi.md#getWebhookEventById) | **GET** /webhooks/endpoints/{endpoint_id}/events/{event_id} | Retrieve event information
|
|
@@ -81,6 +83,12 @@ Class | Method | HTTP request | Description
|
|
|
81
83
|
*CoboWaas2.DevelopersWebhooksApi* | [**updateWebhookEndpointById**](docs/DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
82
84
|
*CoboWaas2.OAuthApi* | [**getToken**](docs/OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
|
|
83
85
|
*CoboWaas2.OAuthApi* | [**refreshToken**](docs/OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Org Access Token
|
|
86
|
+
*CoboWaas2.PrimeBrokerApi* | [**changeGuardPubkey**](docs/PrimeBrokerApi.md#changeGuardPubkey) | **PUT** /prime_broker/user/{user_id}/guard_pubkey | Change Guard pubkey binding
|
|
87
|
+
*CoboWaas2.PrimeBrokerApi* | [**createGuardPubkey**](docs/PrimeBrokerApi.md#createGuardPubkey) | **POST** /prime_broker/user/{user_id}/guard_pubkey | Create Guard pubkey binding
|
|
88
|
+
*CoboWaas2.PrimeBrokerApi* | [**createPrimeBrokerAddress**](docs/PrimeBrokerApi.md#createPrimeBrokerAddress) | **POST** /prime_broker/user/{user_id}/addresses | Bind addresses to a broker user
|
|
89
|
+
*CoboWaas2.PrimeBrokerApi* | [**deleteGuardPubkey**](docs/PrimeBrokerApi.md#deleteGuardPubkey) | **POST** /prime_broker/user/{user_id}/guard_pubkey/delete | Delete Guard pubkey binding
|
|
90
|
+
*CoboWaas2.PrimeBrokerApi* | [**queryApprovalStatement**](docs/PrimeBrokerApi.md#queryApprovalStatement) | **GET** /prime_broker/approval_statement/{statement_id} | Query approval statement
|
|
91
|
+
*CoboWaas2.PrimeBrokerApi* | [**queryGuardPubkey**](docs/PrimeBrokerApi.md#queryGuardPubkey) | **GET** /prime_broker/user/{user_id}/guard_pubkey | Query a Guard pubkey
|
|
84
92
|
*CoboWaas2.StakingsApi* | [**createClaimActivity**](docs/StakingsApi.md#createClaimActivity) | **POST** /stakings/activities/claim | Create claim activity
|
|
85
93
|
*CoboWaas2.StakingsApi* | [**createStakeActivity**](docs/StakingsApi.md#createStakeActivity) | **POST** /stakings/activities/stake | Create stake activity
|
|
86
94
|
*CoboWaas2.StakingsApi* | [**createUnstakeActivity**](docs/StakingsApi.md#createUnstakeActivity) | **POST** /stakings/activities/unstake | Create unstake activity
|
|
@@ -88,7 +96,7 @@ Class | Method | HTTP request | Description
|
|
|
88
96
|
*CoboWaas2.StakingsApi* | [**getStakingActivityById**](docs/StakingsApi.md#getStakingActivityById) | **GET** /stakings/activities/{activity_id} | Get staking activity details
|
|
89
97
|
*CoboWaas2.StakingsApi* | [**getStakingById**](docs/StakingsApi.md#getStakingById) | **GET** /stakings/{staking_id} | Get staking position details
|
|
90
98
|
*CoboWaas2.StakingsApi* | [**getStakingEstimationFee**](docs/StakingsApi.md#getStakingEstimationFee) | **POST** /stakings/estimate_fee | Estimate staking fees
|
|
91
|
-
*CoboWaas2.StakingsApi* | [**getStakingEstimationFeeV2**](docs/StakingsApi.md#getStakingEstimationFeeV2) | **POST** /stakings/estimate_fee_v2 | Estimate staking fees
|
|
99
|
+
*CoboWaas2.StakingsApi* | [**getStakingEstimationFeeV2**](docs/StakingsApi.md#getStakingEstimationFeeV2) | **POST** /stakings/estimate_fee_v2 | Estimate staking fees v2
|
|
92
100
|
*CoboWaas2.StakingsApi* | [**getStakingPoolById**](docs/StakingsApi.md#getStakingPoolById) | **GET** /stakings/pools/{pool_id} | Get staking pool details
|
|
93
101
|
*CoboWaas2.StakingsApi* | [**listStakingActivities**](docs/StakingsApi.md#listStakingActivities) | **GET** /stakings/activities | List staking activities
|
|
94
102
|
*CoboWaas2.StakingsApi* | [**listStakingPools**](docs/StakingsApi.md#listStakingPools) | **GET** /stakings/pools | List staking pools
|
|
@@ -101,10 +109,16 @@ Class | Method | HTTP request | Description
|
|
|
101
109
|
*CoboWaas2.TransactionsApi* | [**createTransferTransaction**](docs/TransactionsApi.md#createTransferTransaction) | **POST** /transactions/transfer | Transfer token
|
|
102
110
|
*CoboWaas2.TransactionsApi* | [**dropTransactionById**](docs/TransactionsApi.md#dropTransactionById) | **POST** /transactions/{transaction_id}/drop | Drop transaction
|
|
103
111
|
*CoboWaas2.TransactionsApi* | [**estimateFee**](docs/TransactionsApi.md#estimateFee) | **POST** /transactions/estimate_fee | Estimate transaction fee
|
|
112
|
+
*CoboWaas2.TransactionsApi* | [**getTransactionApprovalDetail**](docs/TransactionsApi.md#getTransactionApprovalDetail) | **GET** /transactions/{transaction_id}/approval_detail | Get transaction approval details
|
|
104
113
|
*CoboWaas2.TransactionsApi* | [**getTransactionById**](docs/TransactionsApi.md#getTransactionById) | **GET** /transactions/{transaction_id} | Get transaction information
|
|
105
114
|
*CoboWaas2.TransactionsApi* | [**listTransactions**](docs/TransactionsApi.md#listTransactions) | **GET** /transactions | List all transactions
|
|
106
115
|
*CoboWaas2.TransactionsApi* | [**resendTransactionById**](docs/TransactionsApi.md#resendTransactionById) | **POST** /transactions/{transaction_id}/resend | Resend transaction
|
|
116
|
+
*CoboWaas2.TransactionsApi* | [**signAndBroadcastTransactionById**](docs/TransactionsApi.md#signAndBroadcastTransactionById) | **POST** /transactions/{transaction_id}/sign_and_broadcast | Sign and broadcast transaction
|
|
107
117
|
*CoboWaas2.TransactionsApi* | [**speedupTransactionById**](docs/TransactionsApi.md#speedupTransactionById) | **POST** /transactions/{transaction_id}/speedup | Speed up transaction
|
|
118
|
+
*CoboWaas2.TravelRuleApi* | [**getTransactionLimitation**](docs/TravelRuleApi.md#getTransactionLimitation) | **GET** /travel_rule/transaction/limitation | Retrieve transaction limitations
|
|
119
|
+
*CoboWaas2.TravelRuleApi* | [**listSupportedCountries**](docs/TravelRuleApi.md#listSupportedCountries) | **GET** /travel_rule/transaction/countries | List supported countries
|
|
120
|
+
*CoboWaas2.TravelRuleApi* | [**submitDepositTravelRuleInfo**](docs/TravelRuleApi.md#submitDepositTravelRuleInfo) | **POST** /travel_rule/transaction/deposit/travel_rule_info | Submit Travel Rule information for deposits
|
|
121
|
+
*CoboWaas2.TravelRuleApi* | [**submitWithdrawTravelRuleInfo**](docs/TravelRuleApi.md#submitWithdrawTravelRuleInfo) | **POST** /travel_rule/transaction/withdraw/travel_rule_info | Submit Travel Rule information for withdrawals
|
|
108
122
|
*CoboWaas2.WalletsApi* | [**checkAddressChainsValidity**](docs/WalletsApi.md#checkAddressChainsValidity) | **GET** /wallets/check_address_chains_validity | Check address validity across chains
|
|
109
123
|
*CoboWaas2.WalletsApi* | [**checkAddressValidity**](docs/WalletsApi.md#checkAddressValidity) | **GET** /wallets/check_address_validity | Check address validity
|
|
110
124
|
*CoboWaas2.WalletsApi* | [**checkAddressesValidity**](docs/WalletsApi.md#checkAddressesValidity) | **GET** /wallets/check_addresses_validity | Check addresses validity
|
|
@@ -115,6 +129,7 @@ Class | Method | HTTP request | Description
|
|
|
115
129
|
*CoboWaas2.WalletsApi* | [**getMaxTransferableValue**](docs/WalletsApi.md#getMaxTransferableValue) | **GET** /wallets/{wallet_id}/max_transferable_value | Get maximum transferable value
|
|
116
130
|
*CoboWaas2.WalletsApi* | [**getTokenById**](docs/WalletsApi.md#getTokenById) | **GET** /wallets/tokens/{token_id} | Get token information
|
|
117
131
|
*CoboWaas2.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /wallets/{wallet_id} | Get wallet information
|
|
132
|
+
*CoboWaas2.WalletsApi* | [**listAddressBalancesByToken**](docs/WalletsApi.md#listAddressBalancesByToken) | **GET** /wallets/{wallet_id}/tokens/{token_id} | List address balances by token
|
|
118
133
|
*CoboWaas2.WalletsApi* | [**listAddresses**](docs/WalletsApi.md#listAddresses) | **GET** /wallets/{wallet_id}/addresses | List wallet addresses
|
|
119
134
|
*CoboWaas2.WalletsApi* | [**listEnabledChains**](docs/WalletsApi.md#listEnabledChains) | **GET** /wallets/enabled_chains | List enabled chains
|
|
120
135
|
*CoboWaas2.WalletsApi* | [**listEnabledTokens**](docs/WalletsApi.md#listEnabledTokens) | **GET** /wallets/enabled_tokens | List enabled tokens
|
|
@@ -137,12 +152,14 @@ Class | Method | HTTP request | Description
|
|
|
137
152
|
*CoboWaas2.WalletsMPCWalletsApi* | [**createMpcVault**](docs/WalletsMPCWalletsApi.md#createMpcVault) | **POST** /wallets/mpc/vaults | Create vault
|
|
138
153
|
*CoboWaas2.WalletsMPCWalletsApi* | [**createTssRequest**](docs/WalletsMPCWalletsApi.md#createTssRequest) | **POST** /wallets/mpc/vaults/{vault_id}/tss_requests | Create TSS request
|
|
139
154
|
*CoboWaas2.WalletsMPCWalletsApi* | [**deleteKeyShareHolderGroupById**](docs/WalletsMPCWalletsApi.md#deleteKeyShareHolderGroupById) | **POST** /wallets/mpc/vaults/{vault_id}/key_share_holder_groups/{key_share_holder_group_id}/delete | Delete key share holder group
|
|
155
|
+
*CoboWaas2.WalletsMPCWalletsApi* | [**getKeyShareHolderByTssNodeId**](docs/WalletsMPCWalletsApi.md#getKeyShareHolderByTssNodeId) | **GET** /wallets/mpc/vaults/{vault_id}/key_share_holders/{tss_node_id} | Get key share holder information
|
|
140
156
|
*CoboWaas2.WalletsMPCWalletsApi* | [**getKeyShareHolderGroupById**](docs/WalletsMPCWalletsApi.md#getKeyShareHolderGroupById) | **GET** /wallets/mpc/vaults/{vault_id}/key_share_holder_groups/{key_share_holder_group_id} | Get key share holder group information
|
|
141
157
|
*CoboWaas2.WalletsMPCWalletsApi* | [**getMpcProjectById**](docs/WalletsMPCWalletsApi.md#getMpcProjectById) | **GET** /wallets/mpc/projects/{project_id} | Get project information
|
|
142
158
|
*CoboWaas2.WalletsMPCWalletsApi* | [**getMpcVaultById**](docs/WalletsMPCWalletsApi.md#getMpcVaultById) | **GET** /wallets/mpc/vaults/{vault_id} | Get vault information
|
|
143
159
|
*CoboWaas2.WalletsMPCWalletsApi* | [**getTssRequestById**](docs/WalletsMPCWalletsApi.md#getTssRequestById) | **GET** /wallets/mpc/vaults/{vault_id}/tss_requests/{tss_request_id} | Get TSS request
|
|
144
160
|
*CoboWaas2.WalletsMPCWalletsApi* | [**listCoboKeyHolders**](docs/WalletsMPCWalletsApi.md#listCoboKeyHolders) | **GET** /wallets/mpc/cobo_key_share_holders | List all Cobo key share holders
|
|
145
161
|
*CoboWaas2.WalletsMPCWalletsApi* | [**listKeyShareHolderGroups**](docs/WalletsMPCWalletsApi.md#listKeyShareHolderGroups) | **GET** /wallets/mpc/vaults/{vault_id}/key_share_holder_groups | List all key share holder groups
|
|
162
|
+
*CoboWaas2.WalletsMPCWalletsApi* | [**listKeyShareHolders**](docs/WalletsMPCWalletsApi.md#listKeyShareHolders) | **GET** /wallets/mpc/vaults/{vault_id}/key_share_holders | List all key share holders
|
|
146
163
|
*CoboWaas2.WalletsMPCWalletsApi* | [**listMpcProjects**](docs/WalletsMPCWalletsApi.md#listMpcProjects) | **GET** /wallets/mpc/projects | List all projects
|
|
147
164
|
*CoboWaas2.WalletsMPCWalletsApi* | [**listMpcVaults**](docs/WalletsMPCWalletsApi.md#listMpcVaults) | **GET** /wallets/mpc/vaults | List all vaults
|
|
148
165
|
*CoboWaas2.WalletsMPCWalletsApi* | [**listTssRequests**](docs/WalletsMPCWalletsApi.md#listTssRequests) | **GET** /wallets/mpc/vaults/{vault_id}/tss_requests | List TSS requests
|
|
@@ -156,34 +173,43 @@ Class | Method | HTTP request | Description
|
|
|
156
173
|
|
|
157
174
|
- [CoboWaas2.Activity](docs/Activity.md)
|
|
158
175
|
- [CoboWaas2.ActivityAction](docs/ActivityAction.md)
|
|
176
|
+
- [CoboWaas2.ActivityExtra](docs/ActivityExtra.md)
|
|
159
177
|
- [CoboWaas2.ActivityInitiator](docs/ActivityInitiator.md)
|
|
160
178
|
- [CoboWaas2.ActivityStatus](docs/ActivityStatus.md)
|
|
161
179
|
- [CoboWaas2.ActivityTimeline](docs/ActivityTimeline.md)
|
|
162
180
|
- [CoboWaas2.ActivityType](docs/ActivityType.md)
|
|
181
|
+
- [CoboWaas2.AddressBalance](docs/AddressBalance.md)
|
|
163
182
|
- [CoboWaas2.AddressBook](docs/AddressBook.md)
|
|
164
183
|
- [CoboWaas2.AddressEncoding](docs/AddressEncoding.md)
|
|
165
184
|
- [CoboWaas2.AddressInfo](docs/AddressInfo.md)
|
|
166
185
|
- [CoboWaas2.AddressTransferDestination](docs/AddressTransferDestination.md)
|
|
167
186
|
- [CoboWaas2.AddressTransferDestinationAccountOutput](docs/AddressTransferDestinationAccountOutput.md)
|
|
168
187
|
- [CoboWaas2.AddressTransferDestinationUtxoOutputsInner](docs/AddressTransferDestinationUtxoOutputsInner.md)
|
|
188
|
+
- [CoboWaas2.AddressesEventData](docs/AddressesEventData.md)
|
|
169
189
|
- [CoboWaas2.AmountDetailsInner](docs/AmountDetailsInner.md)
|
|
170
190
|
- [CoboWaas2.AmountStatus](docs/AmountStatus.md)
|
|
171
191
|
- [CoboWaas2.ApiLogDetails](docs/ApiLogDetails.md)
|
|
172
192
|
- [CoboWaas2.ApiLogSummary](docs/ApiLogSummary.md)
|
|
193
|
+
- [CoboWaas2.ApprovalStatementStatus](docs/ApprovalStatementStatus.md)
|
|
173
194
|
- [CoboWaas2.AssetBalance](docs/AssetBalance.md)
|
|
174
195
|
- [CoboWaas2.AssetInfo](docs/AssetInfo.md)
|
|
175
196
|
- [CoboWaas2.AutoFuelType](docs/AutoFuelType.md)
|
|
197
|
+
- [CoboWaas2.BTCEIP191MessageSignDestination](docs/BTCEIP191MessageSignDestination.md)
|
|
176
198
|
- [CoboWaas2.BabylonStakeEstimatedFee](docs/BabylonStakeEstimatedFee.md)
|
|
177
199
|
- [CoboWaas2.BabylonStakeExtra](docs/BabylonStakeExtra.md)
|
|
200
|
+
- [CoboWaas2.BabylonStakingActivityDetailExtra](docs/BabylonStakingActivityDetailExtra.md)
|
|
178
201
|
- [CoboWaas2.BabylonStakingExtra](docs/BabylonStakingExtra.md)
|
|
179
202
|
- [CoboWaas2.BabylonValidator](docs/BabylonValidator.md)
|
|
203
|
+
- [CoboWaas2.Balance](docs/Balance.md)
|
|
180
204
|
- [CoboWaas2.BaseContractCallSource](docs/BaseContractCallSource.md)
|
|
181
205
|
- [CoboWaas2.BaseEstimateStakingFee](docs/BaseEstimateStakingFee.md)
|
|
182
206
|
- [CoboWaas2.BaseStakeExtra](docs/BaseStakeExtra.md)
|
|
183
207
|
- [CoboWaas2.BaseStakeSource](docs/BaseStakeSource.md)
|
|
184
208
|
- [CoboWaas2.BroadcastSignedTransactions201ResponseInner](docs/BroadcastSignedTransactions201ResponseInner.md)
|
|
185
209
|
- [CoboWaas2.BroadcastSignedTransactionsRequest](docs/BroadcastSignedTransactionsRequest.md)
|
|
210
|
+
- [CoboWaas2.CallbackMessage](docs/CallbackMessage.md)
|
|
186
211
|
- [CoboWaas2.ChainInfo](docs/ChainInfo.md)
|
|
212
|
+
- [CoboWaas2.ChangeGuardPubkey200Response](docs/ChangeGuardPubkey200Response.md)
|
|
187
213
|
- [CoboWaas2.CheckAddressChainsValidity200ResponseInner](docs/CheckAddressChainsValidity200ResponseInner.md)
|
|
188
214
|
- [CoboWaas2.CheckAddressValidity200Response](docs/CheckAddressValidity200Response.md)
|
|
189
215
|
- [CoboWaas2.CheckAddressesValidity200ResponseInner](docs/CheckAddressesValidity200ResponseInner.md)
|
|
@@ -196,6 +222,7 @@ Class | Method | HTTP request | Description
|
|
|
196
222
|
- [CoboWaas2.ContractCallSource](docs/ContractCallSource.md)
|
|
197
223
|
- [CoboWaas2.ContractCallSourceType](docs/ContractCallSourceType.md)
|
|
198
224
|
- [CoboWaas2.CoreStakeExtra](docs/CoreStakeExtra.md)
|
|
225
|
+
- [CoboWaas2.CoreStakingActivityDetailExtra](docs/CoreStakingActivityDetailExtra.md)
|
|
199
226
|
- [CoboWaas2.CoreStakingExtra](docs/CoreStakingExtra.md)
|
|
200
227
|
- [CoboWaas2.CreateAddressRequest](docs/CreateAddressRequest.md)
|
|
201
228
|
- [CoboWaas2.CreateClaimActivity](docs/CreateClaimActivity.md)
|
|
@@ -207,6 +234,8 @@ Class | Method | HTTP request | Description
|
|
|
207
234
|
- [CoboWaas2.CreateMpcProjectRequest](docs/CreateMpcProjectRequest.md)
|
|
208
235
|
- [CoboWaas2.CreateMpcVaultRequest](docs/CreateMpcVaultRequest.md)
|
|
209
236
|
- [CoboWaas2.CreateMpcWalletParams](docs/CreateMpcWalletParams.md)
|
|
237
|
+
- [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
|
|
238
|
+
- [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
|
|
210
239
|
- [CoboWaas2.CreateSafeWalletParams](docs/CreateSafeWalletParams.md)
|
|
211
240
|
- [CoboWaas2.CreateSmartContractWalletParams](docs/CreateSmartContractWalletParams.md)
|
|
212
241
|
- [CoboWaas2.CreateStakeActivity](docs/CreateStakeActivity.md)
|
|
@@ -226,8 +255,10 @@ Class | Method | HTTP request | Description
|
|
|
226
255
|
- [CoboWaas2.CurveType](docs/CurveType.md)
|
|
227
256
|
- [CoboWaas2.CustodialTransferSource](docs/CustodialTransferSource.md)
|
|
228
257
|
- [CoboWaas2.CustodialWalletInfo](docs/CustodialWalletInfo.md)
|
|
258
|
+
- [CoboWaas2.DeleteGuardPubkey201Response](docs/DeleteGuardPubkey201Response.md)
|
|
229
259
|
- [CoboWaas2.DeleteKeyShareHolderGroupById201Response](docs/DeleteKeyShareHolderGroupById201Response.md)
|
|
230
260
|
- [CoboWaas2.DeleteWalletById201Response](docs/DeleteWalletById201Response.md)
|
|
261
|
+
- [CoboWaas2.DestinationWalletType](docs/DestinationWalletType.md)
|
|
231
262
|
- [CoboWaas2.EigenLayerLstStakeExtra](docs/EigenLayerLstStakeExtra.md)
|
|
232
263
|
- [CoboWaas2.EigenLayerNativeStakeExtra](docs/EigenLayerNativeStakeExtra.md)
|
|
233
264
|
- [CoboWaas2.EigenlayerValidator](docs/EigenlayerValidator.md)
|
|
@@ -250,6 +281,7 @@ Class | Method | HTTP request | Description
|
|
|
250
281
|
- [CoboWaas2.EstimatedUtxoFeeSlow](docs/EstimatedUtxoFeeSlow.md)
|
|
251
282
|
- [CoboWaas2.EthStakeEstimatedFee](docs/EthStakeEstimatedFee.md)
|
|
252
283
|
- [CoboWaas2.EthStakeExtra](docs/EthStakeExtra.md)
|
|
284
|
+
- [CoboWaas2.EthStakingActivityDetailExtra](docs/EthStakingActivityDetailExtra.md)
|
|
253
285
|
- [CoboWaas2.EthStakingExtra](docs/EthStakingExtra.md)
|
|
254
286
|
- [CoboWaas2.EthStakingExtraAllOfBeaconValidators](docs/EthStakingExtraAllOfBeaconValidators.md)
|
|
255
287
|
- [CoboWaas2.EthUnstakeExtra](docs/EthUnstakeExtra.md)
|
|
@@ -275,17 +307,22 @@ Class | Method | HTTP request | Description
|
|
|
275
307
|
- [CoboWaas2.GetStakingEstimationFeeRequest](docs/GetStakingEstimationFeeRequest.md)
|
|
276
308
|
- [CoboWaas2.GetToken2XXResponse](docs/GetToken2XXResponse.md)
|
|
277
309
|
- [CoboWaas2.GetToken4XXResponse](docs/GetToken4XXResponse.md)
|
|
310
|
+
- [CoboWaas2.GetTransactionLimitation200Response](docs/GetTransactionLimitation200Response.md)
|
|
311
|
+
- [CoboWaas2.GuardPubkeyStatus](docs/GuardPubkeyStatus.md)
|
|
278
312
|
- [CoboWaas2.KeyShareHolder](docs/KeyShareHolder.md)
|
|
279
313
|
- [CoboWaas2.KeyShareHolderGroup](docs/KeyShareHolderGroup.md)
|
|
280
314
|
- [CoboWaas2.KeyShareHolderGroupStatus](docs/KeyShareHolderGroupStatus.md)
|
|
281
315
|
- [CoboWaas2.KeyShareHolderGroupType](docs/KeyShareHolderGroupType.md)
|
|
282
316
|
- [CoboWaas2.KeyShareHolderStatus](docs/KeyShareHolderStatus.md)
|
|
283
317
|
- [CoboWaas2.KeyShareHolderType](docs/KeyShareHolderType.md)
|
|
318
|
+
- [CoboWaas2.ListAddressBalancesByToken200Response](docs/ListAddressBalancesByToken200Response.md)
|
|
284
319
|
- [CoboWaas2.ListAddressBooks200Response](docs/ListAddressBooks200Response.md)
|
|
285
320
|
- [CoboWaas2.ListAddresses200Response](docs/ListAddresses200Response.md)
|
|
286
321
|
- [CoboWaas2.ListAssetBalancesForExchangeWallet200Response](docs/ListAssetBalancesForExchangeWallet200Response.md)
|
|
322
|
+
- [CoboWaas2.ListCallbackMessages200Response](docs/ListCallbackMessages200Response.md)
|
|
287
323
|
- [CoboWaas2.ListExchanges200ResponseInner](docs/ListExchanges200ResponseInner.md)
|
|
288
324
|
- [CoboWaas2.ListKeyShareHolderGroups200Response](docs/ListKeyShareHolderGroups200Response.md)
|
|
325
|
+
- [CoboWaas2.ListKeyShareHolders200Response](docs/ListKeyShareHolders200Response.md)
|
|
289
326
|
- [CoboWaas2.ListMpcProjects200Response](docs/ListMpcProjects200Response.md)
|
|
290
327
|
- [CoboWaas2.ListMpcVaults200Response](docs/ListMpcVaults200Response.md)
|
|
291
328
|
- [CoboWaas2.ListStakingActivities200Response](docs/ListStakingActivities200Response.md)
|
|
@@ -293,6 +330,7 @@ Class | Method | HTTP request | Description
|
|
|
293
330
|
- [CoboWaas2.ListStakings200Response](docs/ListStakings200Response.md)
|
|
294
331
|
- [CoboWaas2.ListSupportedAssetsForExchange200Response](docs/ListSupportedAssetsForExchange200Response.md)
|
|
295
332
|
- [CoboWaas2.ListSupportedChains200Response](docs/ListSupportedChains200Response.md)
|
|
333
|
+
- [CoboWaas2.ListSupportedCountries200ResponseInner](docs/ListSupportedCountries200ResponseInner.md)
|
|
296
334
|
- [CoboWaas2.ListSupportedTokens200Response](docs/ListSupportedTokens200Response.md)
|
|
297
335
|
- [CoboWaas2.ListTokenBalancesForAddress200Response](docs/ListTokenBalancesForAddress200Response.md)
|
|
298
336
|
- [CoboWaas2.ListTransactions200Response](docs/ListTransactions200Response.md)
|
|
@@ -309,6 +347,7 @@ Class | Method | HTTP request | Description
|
|
|
309
347
|
- [CoboWaas2.MPCDelegate](docs/MPCDelegate.md)
|
|
310
348
|
- [CoboWaas2.MPCProject](docs/MPCProject.md)
|
|
311
349
|
- [CoboWaas2.MPCVault](docs/MPCVault.md)
|
|
350
|
+
- [CoboWaas2.MPCVaultEventData](docs/MPCVaultEventData.md)
|
|
312
351
|
- [CoboWaas2.MPCVaultType](docs/MPCVaultType.md)
|
|
313
352
|
- [CoboWaas2.MPCWalletInfo](docs/MPCWalletInfo.md)
|
|
314
353
|
- [CoboWaas2.MaxFeeAmount](docs/MaxFeeAmount.md)
|
|
@@ -323,14 +362,19 @@ Class | Method | HTTP request | Description
|
|
|
323
362
|
- [CoboWaas2.MpcSigningGroup](docs/MpcSigningGroup.md)
|
|
324
363
|
- [CoboWaas2.MpcStakeSource](docs/MpcStakeSource.md)
|
|
325
364
|
- [CoboWaas2.MpcTransferSource](docs/MpcTransferSource.md)
|
|
365
|
+
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
326
366
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
327
367
|
- [CoboWaas2.PoolDetails](docs/PoolDetails.md)
|
|
328
368
|
- [CoboWaas2.PoolDetailsAllOfValidatorsInfo](docs/PoolDetailsAllOfValidatorsInfo.md)
|
|
329
369
|
- [CoboWaas2.PoolSummary](docs/PoolSummary.md)
|
|
370
|
+
- [CoboWaas2.QueryApprovalStatement200Response](docs/QueryApprovalStatement200Response.md)
|
|
371
|
+
- [CoboWaas2.QueryGuardPubkey200Response](docs/QueryGuardPubkey200Response.md)
|
|
372
|
+
- [CoboWaas2.QueryGuardPubkey200ResponseAddressesInner](docs/QueryGuardPubkey200ResponseAddressesInner.md)
|
|
330
373
|
- [CoboWaas2.RawMessageSignDestination](docs/RawMessageSignDestination.md)
|
|
331
374
|
- [CoboWaas2.RefreshToken2XXResponse](docs/RefreshToken2XXResponse.md)
|
|
332
375
|
- [CoboWaas2.RefreshTokenRequest](docs/RefreshTokenRequest.md)
|
|
333
376
|
- [CoboWaas2.ReplaceType](docs/ReplaceType.md)
|
|
377
|
+
- [CoboWaas2.RetryCallbackMessage201Response](docs/RetryCallbackMessage201Response.md)
|
|
334
378
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
335
379
|
- [CoboWaas2.RoleScopes](docs/RoleScopes.md)
|
|
336
380
|
- [CoboWaas2.RootPubkey](docs/RootPubkey.md)
|
|
@@ -341,6 +385,8 @@ Class | Method | HTTP request | Description
|
|
|
341
385
|
- [CoboWaas2.SafeWalletDelegatesContractCall](docs/SafeWalletDelegatesContractCall.md)
|
|
342
386
|
- [CoboWaas2.SafeWalletDelegatesTransfer](docs/SafeWalletDelegatesTransfer.md)
|
|
343
387
|
- [CoboWaas2.Scopes](docs/Scopes.md)
|
|
388
|
+
- [CoboWaas2.SelectedEntityType](docs/SelectedEntityType.md)
|
|
389
|
+
- [CoboWaas2.SelfCustodyWallet](docs/SelfCustodyWallet.md)
|
|
344
390
|
- [CoboWaas2.SmartContractInitiator](docs/SmartContractInitiator.md)
|
|
345
391
|
- [CoboWaas2.SmartContractWalletInfo](docs/SmartContractWalletInfo.md)
|
|
346
392
|
- [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
|
|
@@ -353,6 +399,10 @@ Class | Method | HTTP request | Description
|
|
|
353
399
|
- [CoboWaas2.Stakings](docs/Stakings.md)
|
|
354
400
|
- [CoboWaas2.StakingsExtra](docs/StakingsExtra.md)
|
|
355
401
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
402
|
+
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
403
|
+
- [CoboWaas2.SwapActivity](docs/SwapActivity.md)
|
|
404
|
+
- [CoboWaas2.SwapSummary](docs/SwapSummary.md)
|
|
405
|
+
- [CoboWaas2.SwapTokenPair](docs/SwapTokenPair.md)
|
|
356
406
|
- [CoboWaas2.TSSGroups](docs/TSSGroups.md)
|
|
357
407
|
- [CoboWaas2.TSSRequest](docs/TSSRequest.md)
|
|
358
408
|
- [CoboWaas2.TSSRequestStatus](docs/TSSRequestStatus.md)
|
|
@@ -360,9 +410,10 @@ Class | Method | HTTP request | Description
|
|
|
360
410
|
- [CoboWaas2.TSSRequestWebhookEventData](docs/TSSRequestWebhookEventData.md)
|
|
361
411
|
- [CoboWaas2.TokenAssetModelType](docs/TokenAssetModelType.md)
|
|
362
412
|
- [CoboWaas2.TokenBalance](docs/TokenBalance.md)
|
|
363
|
-
- [CoboWaas2.TokenBalanceBalance](docs/TokenBalanceBalance.md)
|
|
364
413
|
- [CoboWaas2.TokenInfo](docs/TokenInfo.md)
|
|
365
414
|
- [CoboWaas2.Transaction](docs/Transaction.md)
|
|
415
|
+
- [CoboWaas2.TransactionApprovalDetail](docs/TransactionApprovalDetail.md)
|
|
416
|
+
- [CoboWaas2.TransactionApprovalResult](docs/TransactionApprovalResult.md)
|
|
366
417
|
- [CoboWaas2.TransactionApprover](docs/TransactionApprover.md)
|
|
367
418
|
- [CoboWaas2.TransactionBlockInfo](docs/TransactionBlockInfo.md)
|
|
368
419
|
- [CoboWaas2.TransactionCustodialAssetWalletSource](docs/TransactionCustodialAssetWalletSource.md)
|
|
@@ -370,6 +421,7 @@ Class | Method | HTTP request | Description
|
|
|
370
421
|
- [CoboWaas2.TransactionDepositFromLoopSource](docs/TransactionDepositFromLoopSource.md)
|
|
371
422
|
- [CoboWaas2.TransactionDepositFromWalletSource](docs/TransactionDepositFromWalletSource.md)
|
|
372
423
|
- [CoboWaas2.TransactionDepositToAddressDestination](docs/TransactionDepositToAddressDestination.md)
|
|
424
|
+
- [CoboWaas2.TransactionDepositToAddressDestinationTxInfo](docs/TransactionDepositToAddressDestinationTxInfo.md)
|
|
373
425
|
- [CoboWaas2.TransactionDepositToWalletDestination](docs/TransactionDepositToWalletDestination.md)
|
|
374
426
|
- [CoboWaas2.TransactionDestination](docs/TransactionDestination.md)
|
|
375
427
|
- [CoboWaas2.TransactionDestinationType](docs/TransactionDestinationType.md)
|
|
@@ -401,6 +453,8 @@ Class | Method | HTTP request | Description
|
|
|
401
453
|
- [CoboWaas2.TransactionResend](docs/TransactionResend.md)
|
|
402
454
|
- [CoboWaas2.TransactionResult](docs/TransactionResult.md)
|
|
403
455
|
- [CoboWaas2.TransactionResultType](docs/TransactionResultType.md)
|
|
456
|
+
- [CoboWaas2.TransactionRoleApprovalDetail](docs/TransactionRoleApprovalDetail.md)
|
|
457
|
+
- [CoboWaas2.TransactionSelectedUtxo](docs/TransactionSelectedUtxo.md)
|
|
404
458
|
- [CoboWaas2.TransactionSignatureResult](docs/TransactionSignatureResult.md)
|
|
405
459
|
- [CoboWaas2.TransactionSigner](docs/TransactionSigner.md)
|
|
406
460
|
- [CoboWaas2.TransactionSmartContractSafeWalletSource](docs/TransactionSmartContractSafeWalletSource.md)
|
|
@@ -416,6 +470,7 @@ Class | Method | HTTP request | Description
|
|
|
416
470
|
- [CoboWaas2.TransactionTransferToAddressDestinationUtxoOutputsInner](docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md)
|
|
417
471
|
- [CoboWaas2.TransactionTransferToWalletDestination](docs/TransactionTransferToWalletDestination.md)
|
|
418
472
|
- [CoboWaas2.TransactionType](docs/TransactionType.md)
|
|
473
|
+
- [CoboWaas2.TransactionUserApprovalDetail](docs/TransactionUserApprovalDetail.md)
|
|
419
474
|
- [CoboWaas2.TransactionUtxo](docs/TransactionUtxo.md)
|
|
420
475
|
- [CoboWaas2.TransactionUtxoFee](docs/TransactionUtxoFee.md)
|
|
421
476
|
- [CoboWaas2.TransactionWebhookEventData](docs/TransactionWebhookEventData.md)
|
|
@@ -423,6 +478,18 @@ Class | Method | HTTP request | Description
|
|
|
423
478
|
- [CoboWaas2.TransferDestinationType](docs/TransferDestinationType.md)
|
|
424
479
|
- [CoboWaas2.TransferParams](docs/TransferParams.md)
|
|
425
480
|
- [CoboWaas2.TransferSource](docs/TransferSource.md)
|
|
481
|
+
- [CoboWaas2.TravelRuleDepositExchangesOrVASP](docs/TravelRuleDepositExchangesOrVASP.md)
|
|
482
|
+
- [CoboWaas2.TravelRuleDepositExchangesOrVASPEntityInfo](docs/TravelRuleDepositExchangesOrVASPEntityInfo.md)
|
|
483
|
+
- [CoboWaas2.TravelRuleDepositLegalEntity](docs/TravelRuleDepositLegalEntity.md)
|
|
484
|
+
- [CoboWaas2.TravelRuleDepositNaturalEntity](docs/TravelRuleDepositNaturalEntity.md)
|
|
485
|
+
- [CoboWaas2.TravelRuleDepositRequest](docs/TravelRuleDepositRequest.md)
|
|
486
|
+
- [CoboWaas2.TravelRuleDepositRequestTravelRuleInfo](docs/TravelRuleDepositRequestTravelRuleInfo.md)
|
|
487
|
+
- [CoboWaas2.TravelRuleWithdrawExchangesOrVASP](docs/TravelRuleWithdrawExchangesOrVASP.md)
|
|
488
|
+
- [CoboWaas2.TravelRuleWithdrawExchangesOrVASPEntityInfo](docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md)
|
|
489
|
+
- [CoboWaas2.TravelRuleWithdrawLegalEntity](docs/TravelRuleWithdrawLegalEntity.md)
|
|
490
|
+
- [CoboWaas2.TravelRuleWithdrawNaturalEntity](docs/TravelRuleWithdrawNaturalEntity.md)
|
|
491
|
+
- [CoboWaas2.TravelRuleWithdrawRequest](docs/TravelRuleWithdrawRequest.md)
|
|
492
|
+
- [CoboWaas2.TravelRuleWithdrawRequestTravelRuleInfo](docs/TravelRuleWithdrawRequestTravelRuleInfo.md)
|
|
426
493
|
- [CoboWaas2.TriggerTestWebhookEvent201Response](docs/TriggerTestWebhookEvent201Response.md)
|
|
427
494
|
- [CoboWaas2.TriggerTestWebhookEventRequest](docs/TriggerTestWebhookEventRequest.md)
|
|
428
495
|
- [CoboWaas2.UTXO](docs/UTXO.md)
|
|
@@ -438,7 +505,9 @@ Class | Method | HTTP request | Description
|
|
|
438
505
|
- [CoboWaas2.UpdateWebhookEndpointByIdRequest](docs/UpdateWebhookEndpointByIdRequest.md)
|
|
439
506
|
- [CoboWaas2.UtxoFeeBasePrice](docs/UtxoFeeBasePrice.md)
|
|
440
507
|
- [CoboWaas2.UtxoFeeRate](docs/UtxoFeeRate.md)
|
|
508
|
+
- [CoboWaas2.Vasp](docs/Vasp.md)
|
|
441
509
|
- [CoboWaas2.WalletInfo](docs/WalletInfo.md)
|
|
510
|
+
- [CoboWaas2.WalletInfoEventData](docs/WalletInfoEventData.md)
|
|
442
511
|
- [CoboWaas2.WalletSubtype](docs/WalletSubtype.md)
|
|
443
512
|
- [CoboWaas2.WalletType](docs/WalletType.md)
|
|
444
513
|
- [CoboWaas2.WebhookEndpoint](docs/WebhookEndpoint.md)
|
|
@@ -462,6 +531,20 @@ Authentication schemes defined for the API:
|
|
|
462
531
|
- **API key parameter name**: BIZ-API-KEY
|
|
463
532
|
- **Location**: HTTP header
|
|
464
533
|
|
|
534
|
+
### CoboSignature
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
- **Type**: API key
|
|
538
|
+
- **API key parameter name**: BIZ-API-SIGNATURE
|
|
539
|
+
- **Location**: HTTP header
|
|
540
|
+
|
|
541
|
+
### CoboNonce
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
- **Type**: API key
|
|
545
|
+
- **API key parameter name**: BIZ-API-NONCE
|
|
546
|
+
- **Location**: HTTP header
|
|
547
|
+
|
|
465
548
|
### OAuth2
|
|
466
549
|
|
|
467
550
|
|
|
@@ -469,29 +552,39 @@ Authentication schemes defined for the API:
|
|
|
469
552
|
- **Flow**: accessCode
|
|
470
553
|
- **Authorization URL**: https://auth.cobo.com/authorize
|
|
471
554
|
- **Scopes**:
|
|
472
|
-
-
|
|
473
|
-
-
|
|
474
|
-
-
|
|
475
|
-
-
|
|
476
|
-
-
|
|
477
|
-
-
|
|
478
|
-
-
|
|
479
|
-
-
|
|
480
|
-
-
|
|
481
|
-
-
|
|
482
|
-
-
|
|
483
|
-
-
|
|
484
|
-
-
|
|
485
|
-
-
|
|
486
|
-
-
|
|
487
|
-
-
|
|
488
|
-
-
|
|
489
|
-
-
|
|
490
|
-
-
|
|
491
|
-
-
|
|
492
|
-
-
|
|
493
|
-
-
|
|
494
|
-
-
|
|
495
|
-
-
|
|
496
|
-
-
|
|
555
|
+
- address_book.read: Read address book
|
|
556
|
+
- api_key.read: Read API key information
|
|
557
|
+
- callback.read: Read callback message
|
|
558
|
+
- callback.resend: Resend callback message
|
|
559
|
+
- wallet.create: Create wallet
|
|
560
|
+
- wallet.read: Read wallet information
|
|
561
|
+
- wallet.update: Update wallet information
|
|
562
|
+
- wallet.delete: Delete wallet information
|
|
563
|
+
- wallet.create_address: Create wallet address
|
|
564
|
+
- wallet.manage_utxo: Manage UTXO
|
|
565
|
+
- mpc_project.create: Create MPC project
|
|
566
|
+
- mpc_project.read: Read MPC project information
|
|
567
|
+
- mpc_project.update: Update MPC project information
|
|
568
|
+
- mpc_vault.create: Create MPC Vault
|
|
569
|
+
- mpc_vault.read: Read MPC Vault information
|
|
570
|
+
- mpc_vault.update: Update MPC Vault information
|
|
571
|
+
- mpc_key_group.create: Create MPC key group
|
|
572
|
+
- mpc_key_group.read: Read MPC key group information
|
|
573
|
+
- mpc_key_group.update: Update MPC key group information
|
|
574
|
+
- mpc_key_group.delete: Delete MPC key group information
|
|
575
|
+
- transaction.read: Read transaction information
|
|
576
|
+
- transaction.withdraw: Make withdrawals
|
|
577
|
+
- transaction.estimate_fee: Estimate transaction fee
|
|
578
|
+
- transaction.contract_call: Initiate contract calls
|
|
579
|
+
- transaction.message_sign: Initiate message signings
|
|
580
|
+
- transaction.stake: Stake assets
|
|
581
|
+
- transaction.unstake: Unstake assets
|
|
582
|
+
- transaction.unstake_withdraw: Withdraw unstaked assets
|
|
583
|
+
- transaction.manage: Manage ongoing transactions
|
|
584
|
+
- transaction.update: Update transaction notes
|
|
585
|
+
- travel_rule.read: Read travel rule information
|
|
586
|
+
- travel_rule.edit: Edit travel rule information
|
|
587
|
+
- webhook.read: Read webhook URLs/events
|
|
588
|
+
- webhook.edit: Edit webhook URLs
|
|
589
|
+
- webhook.resend: Resend webhook events
|
|
497
590
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -81,6 +81,16 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
81
81
|
'in': 'header',
|
|
82
82
|
name: 'BIZ-API-KEY'
|
|
83
83
|
},
|
|
84
|
+
'CoboSignature': {
|
|
85
|
+
type: 'apiKey',
|
|
86
|
+
'in': 'header',
|
|
87
|
+
name: 'BIZ-API-SIGNATURE'
|
|
88
|
+
},
|
|
89
|
+
'CoboNonce': {
|
|
90
|
+
type: 'apiKey',
|
|
91
|
+
'in': 'header',
|
|
92
|
+
name: 'BIZ-API-NONCE'
|
|
93
|
+
},
|
|
84
94
|
'OAuth2': {
|
|
85
95
|
type: 'oauth2'
|
|
86
96
|
}
|
|
@@ -92,7 +102,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
92
102
|
* @default {}
|
|
93
103
|
*/
|
|
94
104
|
this.defaultHeaders = {
|
|
95
|
-
'User-Agent': 'cobo-waas2-js-sdk/1.
|
|
105
|
+
'User-Agent': 'cobo-waas2-js-sdk/1.9.0'
|
|
96
106
|
};
|
|
97
107
|
|
|
98
108
|
/**
|
|
@@ -43,13 +43,13 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
43
43
|
/**
|
|
44
44
|
* List address book entries
|
|
45
45
|
* This operation retrieves a list of addresses from your address book.
|
|
46
|
-
* @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](/v2/api-references/wallets/list-enabled-chains).
|
|
46
|
+
* @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).
|
|
47
47
|
* @param {Object} opts Optional parameters
|
|
48
48
|
* @param {String} [address] The wallet address.
|
|
49
49
|
* @param {String} [label] The address label.
|
|
50
50
|
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
51
|
-
* @param {String} [before]
|
|
52
|
-
* @param {String} [after]
|
|
51
|
+
* @param {String} [before] This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned.
|
|
52
|
+
* @param {String} [after] This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
|
|
53
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListAddressBooks200Response} and HTTP response
|
|
54
54
|
*/
|
|
55
55
|
return _createClass(AddressBooksApi, [{
|
|
@@ -75,7 +75,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
75
75
|
};
|
|
76
76
|
var headerParams = {};
|
|
77
77
|
var formParams = {};
|
|
78
|
-
var authNames = ['
|
|
78
|
+
var authNames = ['OAuth2'];
|
|
79
79
|
var contentTypes = [];
|
|
80
80
|
var accepts = ['application/json'];
|
|
81
81
|
var returnType = _ListAddressBooks200Response["default"];
|
|
@@ -85,13 +85,13 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
85
85
|
/**
|
|
86
86
|
* List address book entries
|
|
87
87
|
* This operation retrieves a list of addresses from your address book.
|
|
88
|
-
* @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](/v2/api-references/wallets/list-enabled-chains).
|
|
88
|
+
* @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).
|
|
89
89
|
* @param {Object} opts Optional parameters
|
|
90
90
|
* @param {String} opts.address The wallet address.
|
|
91
91
|
* @param {String} opts.label The address label.
|
|
92
92
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
93
|
-
* @param {String} opts.before
|
|
94
|
-
* @param {String} opts.after
|
|
93
|
+
* @param {String} opts.before This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned.
|
|
94
|
+
* @param {String} opts.after This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
|
|
95
95
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListAddressBooks200Response}
|
|
96
96
|
*/
|
|
97
97
|
}, {
|
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
9
9
|
var _GetApiKeyInfo200Response = _interopRequireDefault(require("../model/GetApiKeyInfo200Response"));
|
|
10
|
+
var _ListCallbackMessages200Response = _interopRequireDefault(require("../model/ListCallbackMessages200Response"));
|
|
11
|
+
var _RetryCallbackMessage201Response = _interopRequireDefault(require("../model/RetryCallbackMessage201Response"));
|
|
10
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
13
|
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); }
|
|
12
14
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -56,7 +58,7 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
56
58
|
var queryParams = {};
|
|
57
59
|
var headerParams = {};
|
|
58
60
|
var formParams = {};
|
|
59
|
-
var authNames = ['
|
|
61
|
+
var authNames = ['OAuth2'];
|
|
60
62
|
var contentTypes = [];
|
|
61
63
|
var accepts = ['application/json'];
|
|
62
64
|
var returnType = _GetApiKeyInfo200Response["default"];
|
|
@@ -75,5 +77,113 @@ var DevelopersApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
75
77
|
return response_and_data.data;
|
|
76
78
|
});
|
|
77
79
|
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* List all callback messages
|
|
83
|
+
* This operation retrieves all the callback messages in your organization. For more details about how to respond to callback messages, refer to [Callback messages](/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
|
|
84
|
+
* @param {Object} opts Optional parameters
|
|
85
|
+
* @param {String} [callback_message_ids] A list of callback message IDs, separated by commas.
|
|
86
|
+
* @param {String} [request_ids] A list of request IDs, separated by commas. The request ID is provided by you and must be unique within your organization.
|
|
87
|
+
* @param {String} [transaction_ids] A list of transaction IDs, separated by commas.
|
|
88
|
+
* @param {String} [wallet_ids] A list of wallet IDs, separated by commas.
|
|
89
|
+
* @param {module:model/String} [status] The callback message status. Possible values include `Approved`, `Denied`, and `Failed`.
|
|
90
|
+
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
91
|
+
* @param {String} [before] This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned.
|
|
92
|
+
* @param {String} [after] This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
|
|
93
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListCallbackMessages200Response} and HTTP response
|
|
94
|
+
*/
|
|
95
|
+
}, {
|
|
96
|
+
key: "listCallbackMessagesWithHttpInfo",
|
|
97
|
+
value: function listCallbackMessagesWithHttpInfo(opts) {
|
|
98
|
+
opts = opts || {};
|
|
99
|
+
var postBody = null;
|
|
100
|
+
if (postBody && postBody.toJSON) {
|
|
101
|
+
postBody = postBody.toJSON();
|
|
102
|
+
}
|
|
103
|
+
var pathParams = {};
|
|
104
|
+
var queryParams = {
|
|
105
|
+
'callback_message_ids': opts['callback_message_ids'],
|
|
106
|
+
'request_ids': opts['request_ids'],
|
|
107
|
+
'transaction_ids': opts['transaction_ids'],
|
|
108
|
+
'wallet_ids': opts['wallet_ids'],
|
|
109
|
+
'status': opts['status'],
|
|
110
|
+
'limit': opts['limit'],
|
|
111
|
+
'before': opts['before'],
|
|
112
|
+
'after': opts['after']
|
|
113
|
+
};
|
|
114
|
+
var headerParams = {};
|
|
115
|
+
var formParams = {};
|
|
116
|
+
var authNames = ['OAuth2'];
|
|
117
|
+
var contentTypes = [];
|
|
118
|
+
var accepts = ['application/json'];
|
|
119
|
+
var returnType = _ListCallbackMessages200Response["default"];
|
|
120
|
+
return this.apiClient.callApi('/developers/callback_messages', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* List all callback messages
|
|
125
|
+
* This operation retrieves all the callback messages in your organization. For more details about how to respond to callback messages, refer to [Callback messages](/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
|
|
126
|
+
* @param {Object} opts Optional parameters
|
|
127
|
+
* @param {String} opts.callback_message_ids A list of callback message IDs, separated by commas.
|
|
128
|
+
* @param {String} opts.request_ids A list of request IDs, separated by commas. The request ID is provided by you and must be unique within your organization.
|
|
129
|
+
* @param {String} opts.transaction_ids A list of transaction IDs, separated by commas.
|
|
130
|
+
* @param {String} opts.wallet_ids A list of wallet IDs, separated by commas.
|
|
131
|
+
* @param {module:model/String} opts.status The callback message status. Possible values include `Approved`, `Denied`, and `Failed`.
|
|
132
|
+
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
133
|
+
* @param {String} opts.before This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned.
|
|
134
|
+
* @param {String} opts.after This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
|
|
135
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListCallbackMessages200Response}
|
|
136
|
+
*/
|
|
137
|
+
}, {
|
|
138
|
+
key: "listCallbackMessages",
|
|
139
|
+
value: function listCallbackMessages(opts) {
|
|
140
|
+
return this.listCallbackMessagesWithHttpInfo(opts).then(function (response_and_data) {
|
|
141
|
+
return response_and_data.data;
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Retry callback message
|
|
147
|
+
* This operation resends a callback message that failed previously. If your callback endpoint doesn't respond as expected, the WaaS service will retry sending the callback message up to 30 times. After that, the callback message status will be `Failed`. Use this operation to resend the message. For more details, refer to [Webhooks and Callbacks](/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
|
|
148
|
+
* @param {String} message_id The callback message ID.
|
|
149
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetryCallbackMessage201Response} and HTTP response
|
|
150
|
+
*/
|
|
151
|
+
}, {
|
|
152
|
+
key: "retryCallbackMessageWithHttpInfo",
|
|
153
|
+
value: function retryCallbackMessageWithHttpInfo(message_id) {
|
|
154
|
+
var postBody = null;
|
|
155
|
+
if (postBody && postBody.toJSON) {
|
|
156
|
+
postBody = postBody.toJSON();
|
|
157
|
+
}
|
|
158
|
+
// verify the required parameter 'message_id' is set
|
|
159
|
+
if (message_id === undefined || message_id === null) {
|
|
160
|
+
throw new Error("Missing the required parameter 'message_id' when calling retryCallbackMessage");
|
|
161
|
+
}
|
|
162
|
+
var pathParams = {
|
|
163
|
+
'message_id': message_id
|
|
164
|
+
};
|
|
165
|
+
var queryParams = {};
|
|
166
|
+
var headerParams = {};
|
|
167
|
+
var formParams = {};
|
|
168
|
+
var authNames = ['OAuth2'];
|
|
169
|
+
var contentTypes = [];
|
|
170
|
+
var accepts = ['application/json'];
|
|
171
|
+
var returnType = _RetryCallbackMessage201Response["default"];
|
|
172
|
+
return this.apiClient.callApi('/developers/callback_messages/{message_id}/retry', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Retry callback message
|
|
177
|
+
* This operation resends a callback message that failed previously. If your callback endpoint doesn't respond as expected, the WaaS service will retry sending the callback message up to 30 times. After that, the callback message status will be `Failed`. Use this operation to resend the message. For more details, refer to [Webhooks and Callbacks](/v2/guides/webhooks-callbacks/set-up-endpoint#callback-messages).
|
|
178
|
+
* @param {String} message_id The callback message ID.
|
|
179
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RetryCallbackMessage201Response}
|
|
180
|
+
*/
|
|
181
|
+
}, {
|
|
182
|
+
key: "retryCallbackMessage",
|
|
183
|
+
value: function retryCallbackMessage(message_id) {
|
|
184
|
+
return this.retryCallbackMessageWithHttpInfo(message_id).then(function (response_and_data) {
|
|
185
|
+
return response_and_data.data;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
78
188
|
}]);
|
|
79
189
|
}();
|