@cobo/cobo-waas2 1.22.0 → 1.24.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 +81 -17
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +200 -21
- package/dist/api/AutoSweepApi.js +26 -26
- package/dist/api/ComplianceApi.js +214 -0
- package/dist/api/FeeStationApi.js +47 -4
- package/dist/api/PaymentApi.js +204 -57
- package/dist/api/SwapsApi.js +374 -0
- package/dist/api/TokenizationApi.js +2 -2
- package/dist/api/TransactionsApi.js +18 -18
- package/dist/api/WalletsApi.js +4 -4
- package/dist/api/WalletsMPCWalletsApi.js +2 -2
- package/dist/index.js +329 -21
- package/dist/model/AddressBook.js +12 -12
- package/dist/model/AddressInfo.js +13 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AddressesEventDataAllOfAddresses.js +18 -0
- package/dist/model/ApprovalDetail.js +4 -4
- package/dist/model/ApprovalResult.js +6 -11
- package/dist/model/ApprovalTemplate.js +4 -4
- package/dist/model/ApprovalTransactionResult.js +8 -8
- package/dist/model/ApprovalUserDetail.js +95 -24
- package/dist/model/AutoSweepTask.js +9 -9
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BridgingFee.js +136 -0
- package/dist/model/ChainInfo.js +14 -1
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CommissionFee.js +110 -0
- package/dist/model/ComplianceDispositionUpdateEventData.js +321 -0
- package/dist/model/ContractCallDestination.js +48 -8
- package/dist/model/ContractCallDestinationType.js +5 -0
- package/dist/model/CreateAddressBookParam.js +165 -0
- package/dist/model/CreateAddressBooks201Response.js +107 -0
- package/dist/model/CreateAddressBooksParam.js +128 -0
- package/dist/model/CreateAutoSweepTask.js +5 -5
- package/dist/model/CreateCustodialWalletParams.js +1 -1
- package/dist/model/CreateExchangeWalletParams.js +2 -2
- package/dist/model/CreateMerchantRequest.js +14 -7
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePaymentOrderRequest.js +17 -4
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateSafeWalletParams.js +1 -1
- package/dist/model/CreateSettlement.js +3 -3
- package/dist/model/CreateSettlementRequestRequest.js +39 -0
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateSwapActivityRequest.js +193 -0
- package/dist/model/CreateSweepToAddress.js +1 -1
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/CustodialTransferDestination.js +1 -1
- package/dist/model/DeleteAddressBookById201Response.js +106 -0
- package/dist/model/DispositionEventData.js +170 -0
- package/dist/model/DispositionQueryResponse.js +146 -0
- package/dist/model/DispositionResponse.js +122 -0
- package/dist/model/DispositionStatus.js +116 -0
- package/dist/model/DispositionType.js +66 -0
- package/dist/model/EstimateContractCallFeeParams.js +1 -1
- package/dist/model/EstimateFeeParams.js +1 -1
- package/dist/model/EstimateTransferFeeParams.js +1 -1
- package/dist/model/EstimatedEvmEip1559Fee.js +1 -1
- package/dist/model/EstimatedEvmLegacyFee.js +1 -1
- package/dist/model/EstimatedFILFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +1 -1
- package/dist/model/EstimatedSOLFee.js +1 -1
- package/dist/model/EstimatedUtxoFee.js +1 -1
- package/dist/model/FeeStationCheckFeeStationUsage.js +186 -0
- package/dist/model/FeeStationCheckFeeStationUsageResponse.js +200 -0
- package/dist/model/FeeStationGasStationType.js +61 -0
- package/dist/model/IsolateDisposition.js +167 -0
- package/dist/model/ListSwapActivities200Response.js +123 -0
- package/dist/model/ListSwapEnabledTokens200Response.js +123 -0
- package/dist/model/ListTopUpPayerAccounts200Response.js +123 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/Merchant.js +10 -1
- package/dist/model/MerchantBalance.js +7 -7
- package/dist/model/MessageSignDestination.js +8 -70
- package/dist/model/OrgInfo.js +9 -0
- package/dist/model/OtcFee.js +123 -0
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentEstimateFee.js +125 -0
- package/dist/model/PaymentEstimateFee201Response.js +107 -0
- package/dist/model/{RawMessageSignDestination.js → PaymentEstimateFeeRequest.js} +51 -37
- package/dist/model/PaymentEstimatedFee.js +173 -0
- package/dist/model/PaymentFeeType.js +71 -0
- package/dist/model/PaymentOrderEventData.js +8 -3
- package/dist/model/PaymentRefundEventData.js +30 -5
- package/dist/model/PaymentSettlementEvent.js +70 -9
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PaymentWalletBalance.js +6 -6
- package/dist/model/PspBalance.js +7 -7
- package/dist/model/ReceivedAmountPerAddress.js +5 -5
- package/dist/model/Refund.js +17 -1
- package/dist/model/RefundDisposition.js +167 -0
- package/dist/model/RoleDetail.js +41 -6
- package/dist/model/SettleRequestStatus.js +5 -0
- package/dist/model/Settlement.js +45 -3
- package/dist/model/SettlementDetail.js +33 -1
- package/dist/model/SettlementInfo.js +7 -7
- package/dist/model/SolContractCallAddressLookupTableAccount.js +126 -0
- package/dist/model/SolContractCallDestination.js +30 -0
- package/dist/model/StellarContractCallContractParam.js +164 -0
- package/dist/model/StellarContractCallContractType.js +56 -0
- package/dist/model/StellarContractCallDestination.js +125 -0
- package/dist/model/StellarContractCallTrustLineOperationType.js +56 -0
- package/dist/model/StellarContractCallTrustLineParam.js +133 -0
- package/dist/model/SupportedToken.js +9 -0
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SwapActivity.js +9 -9
- package/dist/model/SwapActivityApprovers.js +1 -1
- package/dist/model/SwapActivityDetail.js +34 -18
- package/dist/model/SwapActivitySigners.js +2 -2
- package/dist/model/SwapActivityTimeline.js +5 -5
- package/dist/model/SwapEstimateFee.js +147 -0
- package/dist/model/SwapQuote.js +18 -31
- package/dist/model/SwapReceivingTransaction.js +133 -0
- package/dist/model/SwapToken.js +9 -9
- package/dist/model/SweepToAddress.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/TransactionCoboCategory.js +5 -0
- package/dist/model/TransactionDestination.js +48 -8
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionEvmEip1559Fee.js +1 -1
- package/dist/model/TransactionEvmLegacyFee.js +1 -1
- package/dist/model/TransactionFILFee.js +1 -1
- package/dist/model/TransactionFixedFee.js +1 -1
- package/dist/model/TransactionFuelingInfo.js +13 -0
- package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
- package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
- package/dist/model/TransactionRequestFILFee.js +1 -1
- package/dist/model/TransactionRequestSOLFee.js +1 -1
- package/dist/model/TransactionRequestUtxoFee.js +1 -1
- package/dist/model/TransactionSOLFee.js +1 -1
- package/dist/model/TransactionSolContractAddressLookupTableAccount.js +126 -0
- package/dist/model/TransactionSolContractDestination.js +30 -0
- package/dist/model/TransactionStellarContractParam.js +164 -0
- package/dist/model/TransactionStellarContractType.js +56 -0
- package/dist/model/{BTCEIP191MessageSignDestination.js → TransactionStellarDestination.js} +38 -35
- package/dist/model/TransactionStellarTrustLineOperationType.js +56 -0
- package/dist/model/TransactionStellarTrustLineParam.js +133 -0
- package/dist/model/TransactionUtxoFee.js +1 -1
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/UnfreezeDisposition.js +111 -0
- package/dist/model/UpdateAddressBookParam.js +150 -0
- package/dist/model/UpdateBankAccountByIdRequest.js +108 -0
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/UpdateTopUpAddress.js +4 -6
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WalletSetup.js +66 -0
- package/dist/model/WebhookEventData.js +81 -11
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/AddressBook.md +7 -7
- package/docs/AddressBooksApi.md +218 -8
- package/docs/AddressInfo.md +1 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AddressesEventDataAllOfAddresses.md +1 -0
- package/docs/ApprovalDetail.md +3 -3
- package/docs/ApprovalResult.md +3 -5
- package/docs/ApprovalTemplate.md +3 -3
- package/docs/ApprovalTransactionResult.md +4 -4
- package/docs/ApprovalUserDetail.md +15 -9
- package/docs/AutoSweepApi.md +18 -18
- package/docs/AutoSweepTask.md +5 -5
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BridgingFee.md +11 -0
- package/docs/ChainInfo.md +2 -1
- package/docs/ChainsEventData.md +3 -1
- package/docs/CommissionFee.md +9 -0
- package/docs/ComplianceApi.md +218 -0
- package/docs/ComplianceDispositionUpdateEventData.md +56 -0
- package/docs/ContractCallDestination.md +2 -0
- package/docs/ContractCallDestinationType.md +2 -0
- package/docs/CreateAddressBookParam.md +13 -0
- package/docs/CreateAddressBooks201Response.md +9 -0
- package/docs/CreateAddressBooksParam.md +9 -0
- package/docs/CreateAutoSweepTask.md +2 -2
- package/docs/CreateCustodialWalletParams.md +1 -1
- package/docs/CreateExchangeWalletParams.md +1 -1
- package/docs/CreateMerchantRequest.md +3 -2
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +4 -3
- package/docs/CreateRefundRequest.md +1 -1
- package/docs/CreateSafeWalletParams.md +1 -1
- package/docs/CreateSettlement.md +3 -3
- package/docs/CreateSettlementRequestRequest.md +3 -0
- package/docs/CreateSmartContractWalletParams.md +1 -1
- package/docs/CreateSwapActivityRequest.md +15 -0
- package/docs/CreateWalletParams.md +1 -1
- package/docs/DeleteAddressBookById201Response.md +9 -0
- package/docs/DispositionEventData.md +14 -0
- package/docs/DispositionQueryResponse.md +12 -0
- package/docs/DispositionResponse.md +10 -0
- package/docs/DispositionStatus.md +34 -0
- package/docs/DispositionType.md +14 -0
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimateTransferFeeParams.md +1 -1
- package/docs/FeeStationApi.md +53 -0
- package/docs/FeeStationCheckFeeStationUsage.md +14 -0
- package/docs/FeeStationCheckFeeStationUsageResponse.md +16 -0
- package/docs/FeeStationGasStationType.md +12 -0
- package/docs/IsolateDisposition.md +13 -0
- package/docs/ListSwapActivities200Response.md +10 -0
- package/docs/ListSwapEnabledTokens200Response.md +10 -0
- package/docs/ListTopUpPayerAccounts200Response.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/Merchant.md +2 -1
- package/docs/MerchantBalance.md +6 -6
- package/docs/MessageSignDestination.md +0 -1
- package/docs/OrgInfo.md +1 -0
- package/docs/OtcFee.md +10 -0
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentApi.md +203 -28
- package/docs/PaymentEstimateFee.md +10 -0
- package/docs/PaymentEstimateFee201Response.md +9 -0
- package/docs/PaymentEstimateFeeRequest.md +10 -0
- package/docs/PaymentEstimatedFee.md +13 -0
- package/docs/PaymentFeeType.md +16 -0
- package/docs/PaymentOrderEventData.md +3 -1
- package/docs/PaymentRefundEventData.md +5 -2
- package/docs/PaymentSettlementEvent.md +9 -4
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PaymentWalletBalance.md +5 -5
- package/docs/PspBalance.md +6 -6
- package/docs/ReceivedAmountPerAddress.md +2 -2
- package/docs/Refund.md +2 -1
- package/docs/RefundDisposition.md +13 -0
- package/docs/RoleDetail.md +4 -1
- package/docs/SettleRequestStatus.md +2 -0
- package/docs/Settlement.md +6 -3
- package/docs/SettlementDetail.md +3 -1
- package/docs/SettlementInfo.md +6 -6
- package/docs/SolContractCallAddressLookupTableAccount.md +10 -0
- package/docs/SolContractCallDestination.md +1 -0
- package/docs/StellarContractCallContractParam.md +11 -0
- package/docs/StellarContractCallContractType.md +10 -0
- package/docs/StellarContractCallDestination.md +10 -0
- package/docs/StellarContractCallTrustLineOperationType.md +10 -0
- package/docs/StellarContractCallTrustLineParam.md +11 -0
- package/docs/SupportedToken.md +1 -0
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/SwapActivity.md +9 -9
- package/docs/SwapActivityDetail.md +10 -9
- package/docs/SwapActivitySigners.md +1 -1
- package/docs/SwapActivityTimeline.md +3 -3
- package/docs/SwapEstimateFee.md +12 -0
- package/docs/SwapQuote.md +10 -11
- package/docs/SwapReceivingTransaction.md +11 -0
- package/docs/SwapToken.md +6 -6
- package/docs/SwapsApi.md +356 -0
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokenizationApi.md +2 -2
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionCoboCategory.md +2 -0
- package/docs/TransactionDestination.md +2 -0
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionFuelingInfo.md +1 -0
- package/docs/TransactionSolContractAddressLookupTableAccount.md +10 -0
- package/docs/TransactionSolContractDestination.md +1 -0
- package/docs/TransactionStellarContractParam.md +11 -0
- package/docs/TransactionStellarContractType.md +10 -0
- package/docs/TransactionStellarDestination.md +10 -0
- package/docs/TransactionStellarTrustLineOperationType.md +10 -0
- package/docs/TransactionStellarTrustLineParam.md +11 -0
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +11 -11
- package/docs/UnfreezeDisposition.md +9 -0
- package/docs/UpdateAddressBookParam.md +12 -0
- package/docs/UpdateBankAccountByIdRequest.md +9 -0
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/UpdateTopUpAddress.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletSetup.md +14 -0
- package/docs/WalletsApi.md +2 -2
- package/docs/WalletsMPCWalletsApi.md +1 -1
- package/docs/WebhookEventData.md +12 -3
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +2 -0
- package/package.json +1 -1
- package/dist/model/ApprovalShowInfo.js +0 -140
- package/docs/ApprovalShowInfo.md +0 -13
- package/docs/BTCEIP191MessageSignDestination.md +0 -10
- package/docs/RawMessageSignDestination.md +0 -10
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.24.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)
|
|
@@ -67,17 +67,25 @@ All URIs are relative to *https://api.dev.cobo.com/v2*
|
|
|
67
67
|
|
|
68
68
|
Class | Method | HTTP request | Description
|
|
69
69
|
------------ | ------------- | ------------- | -------------
|
|
70
|
-
*CoboWaas2.AddressBooksApi* | [**
|
|
70
|
+
*CoboWaas2.AddressBooksApi* | [**createAddressBooks**](docs/AddressBooksApi.md#createAddressBooks) | **POST** /address_books | Create Address Book entries
|
|
71
|
+
*CoboWaas2.AddressBooksApi* | [**deleteAddressBookById**](docs/AddressBooksApi.md#deleteAddressBookById) | **POST** /address_books/{entry_id}/delete | Delete Address Book entry
|
|
72
|
+
*CoboWaas2.AddressBooksApi* | [**getAddressBookById**](docs/AddressBooksApi.md#getAddressBookById) | **GET** /address_books/{entry_id} | Get Address Book entry
|
|
73
|
+
*CoboWaas2.AddressBooksApi* | [**listAddressBooks**](docs/AddressBooksApi.md#listAddressBooks) | **GET** /address_books | List Address Book entries
|
|
74
|
+
*CoboWaas2.AddressBooksApi* | [**updateAddressBookById**](docs/AddressBooksApi.md#updateAddressBookById) | **PUT** /address_books/{entry_id} | Update Address Book entry
|
|
71
75
|
*CoboWaas2.AppWorkflowsApi* | [**createApprovalRequest**](docs/AppWorkflowsApi.md#createApprovalRequest) | **POST** /app/workflows/approval_requests | Request workflow approval
|
|
72
76
|
*CoboWaas2.AppWorkflowsApi* | [**getApprovalRequestById**](docs/AppWorkflowsApi.md#getApprovalRequestById) | **GET** /app/workflows/approval_requests/{approval_id} | Get approval request details
|
|
73
77
|
*CoboWaas2.AppWorkflowsApi* | [**listAppWorkflows**](docs/AppWorkflowsApi.md#listAppWorkflows) | **GET** /app/workflows | List app workflows
|
|
74
78
|
*CoboWaas2.AppWorkflowsApi* | [**listApprovalRequests**](docs/AppWorkflowsApi.md#listApprovalRequests) | **GET** /app/workflows/approval_requests | List approval requests
|
|
75
79
|
*CoboWaas2.AppWorkflowsApi* | [**revokeApprovalRequest**](docs/AppWorkflowsApi.md#revokeApprovalRequest) | **POST** /app/workflows/approval_requests/{approval_id}/revoke | Revoke approval request
|
|
76
|
-
*CoboWaas2.AutoSweepApi* | [**createAutoSweepTask**](docs/AutoSweepApi.md#createAutoSweepTask) | **POST** /auto_sweep/tasks |
|
|
77
|
-
*CoboWaas2.AutoSweepApi* | [**createWalletSweepToAddresses**](docs/AutoSweepApi.md#createWalletSweepToAddresses) | **POST** /auto_sweep/sweep_to_addresses | create
|
|
78
|
-
*CoboWaas2.AutoSweepApi* | [**getAutoSweepTaskById**](docs/AutoSweepApi.md#getAutoSweepTaskById) | **GET** /auto_sweep/tasks/{task_id} | Get auto
|
|
79
|
-
*CoboWaas2.AutoSweepApi* | [**listAutoSweepTask**](docs/AutoSweepApi.md#listAutoSweepTask) | **GET** /auto_sweep/tasks | List
|
|
80
|
-
*CoboWaas2.AutoSweepApi* | [**listWalletSweepToAddresses**](docs/AutoSweepApi.md#listWalletSweepToAddresses) | **GET** /auto_sweep/sweep_to_addresses | List
|
|
80
|
+
*CoboWaas2.AutoSweepApi* | [**createAutoSweepTask**](docs/AutoSweepApi.md#createAutoSweepTask) | **POST** /auto_sweep/tasks | Create auto-sweep task
|
|
81
|
+
*CoboWaas2.AutoSweepApi* | [**createWalletSweepToAddresses**](docs/AutoSweepApi.md#createWalletSweepToAddresses) | **POST** /auto_sweep/sweep_to_addresses | create sweep-to address
|
|
82
|
+
*CoboWaas2.AutoSweepApi* | [**getAutoSweepTaskById**](docs/AutoSweepApi.md#getAutoSweepTaskById) | **GET** /auto_sweep/tasks/{task_id} | Get auto-sweep task details
|
|
83
|
+
*CoboWaas2.AutoSweepApi* | [**listAutoSweepTask**](docs/AutoSweepApi.md#listAutoSweepTask) | **GET** /auto_sweep/tasks | List auto-sweep tasks
|
|
84
|
+
*CoboWaas2.AutoSweepApi* | [**listWalletSweepToAddresses**](docs/AutoSweepApi.md#listWalletSweepToAddresses) | **GET** /auto_sweep/sweep_to_addresses | List sweep-to addresses
|
|
85
|
+
*CoboWaas2.ComplianceApi* | [**getDispositionStatus**](docs/ComplianceApi.md#getDispositionStatus) | **GET** /compliance/funds/disposition | Get disposition status
|
|
86
|
+
*CoboWaas2.ComplianceApi* | [**isolateFunds**](docs/ComplianceApi.md#isolateFunds) | **POST** /compliance/funds/disposition/isolate | Isolate funds
|
|
87
|
+
*CoboWaas2.ComplianceApi* | [**refundFunds**](docs/ComplianceApi.md#refundFunds) | **POST** /compliance/funds/disposition/refund | Refund funds
|
|
88
|
+
*CoboWaas2.ComplianceApi* | [**unfreezeFunds**](docs/ComplianceApi.md#unfreezeFunds) | **POST** /compliance/funds/disposition/unfreeze | Unfreeze frozen funds
|
|
81
89
|
*CoboWaas2.DevelopersApi* | [**getApiKeyInfo**](docs/DevelopersApi.md#getApiKeyInfo) | **GET** /developers/api_key_info | Get API key information
|
|
82
90
|
*CoboWaas2.DevelopersApi* | [**listCallbackMessages**](docs/DevelopersApi.md#listCallbackMessages) | **GET** /developers/callback_messages | List all callback messages
|
|
83
91
|
*CoboWaas2.DevelopersApi* | [**retryCallbackMessage**](docs/DevelopersApi.md#retryCallbackMessage) | **POST** /developers/callback_messages/{message_id}/retry | Retry callback message
|
|
@@ -91,6 +99,7 @@ Class | Method | HTTP request | Description
|
|
|
91
99
|
*CoboWaas2.DevelopersWebhooksApi* | [**retryWebhookEventById**](docs/DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
|
|
92
100
|
*CoboWaas2.DevelopersWebhooksApi* | [**triggerTestWebhookEvent**](docs/DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
|
|
93
101
|
*CoboWaas2.DevelopersWebhooksApi* | [**updateWebhookEndpointById**](docs/DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
102
|
+
*CoboWaas2.FeeStationApi* | [**checkFeeStationUsage**](docs/FeeStationApi.md#checkFeeStationUsage) | **POST** /fee_station/check_fee_station_usage | Check Fee Station usage
|
|
94
103
|
*CoboWaas2.FeeStationApi* | [**estimateFeeStationFee**](docs/FeeStationApi.md#estimateFeeStationFee) | **POST** /fee_station/transactions/estimate_fee | Estimate fee for Fee Station transaction
|
|
95
104
|
*CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get Fee Station transaction information
|
|
96
105
|
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
|
|
@@ -110,9 +119,9 @@ Class | Method | HTTP request | Description
|
|
|
110
119
|
*CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
|
|
111
120
|
*CoboWaas2.PaymentApi* | [**deleteCryptoAddress**](docs/PaymentApi.md#deleteCryptoAddress) | **POST** /payments/crypto_addresses/{crypto_address_id}/delete | Delete crypto address
|
|
112
121
|
*CoboWaas2.PaymentApi* | [**getExchangeRate**](docs/PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
|
|
113
|
-
*CoboWaas2.PaymentApi* | [**getPayerBalanceByAddress**](docs/PaymentApi.md#getPayerBalanceByAddress) | **GET** /payments/balance/payer/address | Get payer balance
|
|
122
|
+
*CoboWaas2.PaymentApi* | [**getPayerBalanceByAddress**](docs/PaymentApi.md#getPayerBalanceByAddress) | **GET** /payments/balance/payer/address | Get payer balance
|
|
114
123
|
*CoboWaas2.PaymentApi* | [**getPaymentOrderDetailById**](docs/PaymentApi.md#getPaymentOrderDetailById) | **GET** /payments/orders/{order_id} | Get pay-in order information
|
|
115
|
-
*CoboWaas2.PaymentApi* | [**getPspBalance**](docs/PaymentApi.md#getPspBalance) | **GET** /payments/balance/psp | Get
|
|
124
|
+
*CoboWaas2.PaymentApi* | [**getPspBalance**](docs/PaymentApi.md#getPspBalance) | **GET** /payments/balance/psp | Get developer balance
|
|
116
125
|
*CoboWaas2.PaymentApi* | [**getRefundDetailById**](docs/PaymentApi.md#getRefundDetailById) | **GET** /payments/refunds/{refund_id} | Get refund order information
|
|
117
126
|
*CoboWaas2.PaymentApi* | [**getRefunds**](docs/PaymentApi.md#getRefunds) | **GET** /payments/refunds | List all refund orders
|
|
118
127
|
*CoboWaas2.PaymentApi* | [**getSettlementById**](docs/PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
|
|
@@ -128,7 +137,10 @@ Class | Method | HTTP request | Description
|
|
|
128
137
|
*CoboWaas2.PaymentApi* | [**listPaymentWalletBalances**](docs/PaymentApi.md#listPaymentWalletBalances) | **GET** /payments/balance/payment_wallets | List payment wallet balances
|
|
129
138
|
*CoboWaas2.PaymentApi* | [**listSettlementDetails**](docs/PaymentApi.md#listSettlementDetails) | **GET** /payments/settlement_details | List all settlement details
|
|
130
139
|
*CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
|
|
140
|
+
*CoboWaas2.PaymentApi* | [**listTopUpPayerAccounts**](docs/PaymentApi.md#listTopUpPayerAccounts) | **GET** /payments/topup/payer_accounts | List top-up payer accounts
|
|
131
141
|
*CoboWaas2.PaymentApi* | [**listTopUpPayers**](docs/PaymentApi.md#listTopUpPayers) | **GET** /payments/topup/payers | List payers
|
|
142
|
+
*CoboWaas2.PaymentApi* | [**paymentEstimateFee**](docs/PaymentApi.md#paymentEstimateFee) | **POST** /payments/estimate_fee | Payment estimate fee
|
|
143
|
+
*CoboWaas2.PaymentApi* | [**updateBankAccountById**](docs/PaymentApi.md#updateBankAccountById) | **PUT** /payments/bank_accounts/{bank_account_id} | Update bank account
|
|
132
144
|
*CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
|
|
133
145
|
*CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
|
|
134
146
|
*CoboWaas2.PaymentApi* | [**updateRefundById**](docs/PaymentApi.md#updateRefundById) | **PUT** /payments/refunds/{refund_id} | Update refund order
|
|
@@ -159,6 +171,12 @@ Class | Method | HTTP request | Description
|
|
|
159
171
|
*CoboWaas2.StakingsApi* | [**listStakingActivities**](docs/StakingsApi.md#listStakingActivities) | **GET** /stakings/activities | List staking activities
|
|
160
172
|
*CoboWaas2.StakingsApi* | [**listStakingPools**](docs/StakingsApi.md#listStakingPools) | **GET** /stakings/pools | List staking pools
|
|
161
173
|
*CoboWaas2.StakingsApi* | [**listStakings**](docs/StakingsApi.md#listStakings) | **GET** /stakings | List staking positions
|
|
174
|
+
*CoboWaas2.SwapsApi* | [**createSwapActivity**](docs/SwapsApi.md#createSwapActivity) | **POST** /swaps/swap | Create swap activity
|
|
175
|
+
*CoboWaas2.SwapsApi* | [**estimateSwapFee**](docs/SwapsApi.md#estimateSwapFee) | **POST** /swaps/estimate_fee | Estimate swap fee
|
|
176
|
+
*CoboWaas2.SwapsApi* | [**getSwapActivity**](docs/SwapsApi.md#getSwapActivity) | **GET** /swaps/activities/{activity_id} | Get swap activity
|
|
177
|
+
*CoboWaas2.SwapsApi* | [**getSwapQuote**](docs/SwapsApi.md#getSwapQuote) | **GET** /swaps/quote | Get swap quote
|
|
178
|
+
*CoboWaas2.SwapsApi* | [**listSwapActivities**](docs/SwapsApi.md#listSwapActivities) | **GET** /swaps/activities | List swap activities
|
|
179
|
+
*CoboWaas2.SwapsApi* | [**listSwapEnabledTokens**](docs/SwapsApi.md#listSwapEnabledTokens) | **GET** /swaps/enabled_tokens | List enabled tokens for swap
|
|
162
180
|
*CoboWaas2.TokenizationApi* | [**burnTokenization**](docs/TokenizationApi.md#burnTokenization) | **POST** /tokenization/tokens/{token_id}/burn | Burn tokens
|
|
163
181
|
*CoboWaas2.TokenizationApi* | [**estimateTokenizationFee**](docs/TokenizationApi.md#estimateTokenizationFee) | **POST** /tokenization/estimate_fee | Estimate tokenization operation fee
|
|
164
182
|
*CoboWaas2.TokenizationApi* | [**getTokenizationActivity**](docs/TokenizationApi.md#getTokenizationActivity) | **GET** /tokenization/activities/{activity_id} | Get tokenization activity details
|
|
@@ -168,7 +186,7 @@ Class | Method | HTTP request | Description
|
|
|
168
186
|
*CoboWaas2.TokenizationApi* | [**listIssuedTokens**](docs/TokenizationApi.md#listIssuedTokens) | **GET** /tokenization/tokens | List issued tokens
|
|
169
187
|
*CoboWaas2.TokenizationApi* | [**listTokenizationActivities**](docs/TokenizationApi.md#listTokenizationActivities) | **GET** /tokenization/activities | List tokenization activities
|
|
170
188
|
*CoboWaas2.TokenizationApi* | [**listTokenizationAllowlistAddresses**](docs/TokenizationApi.md#listTokenizationAllowlistAddresses) | **GET** /tokenization/tokens/{token_id}/allowlist/addresses | List addresses on allowlist
|
|
171
|
-
*CoboWaas2.TokenizationApi* | [**listTokenizationBlocklistAddresses**](docs/TokenizationApi.md#listTokenizationBlocklistAddresses) | **GET** /tokenization/tokens/{token_id}/blocklist/addresses |
|
|
189
|
+
*CoboWaas2.TokenizationApi* | [**listTokenizationBlocklistAddresses**](docs/TokenizationApi.md#listTokenizationBlocklistAddresses) | **GET** /tokenization/tokens/{token_id}/blocklist/addresses | List addresses on blocklist
|
|
172
190
|
*CoboWaas2.TokenizationApi* | [**listTokenizationHoldings**](docs/TokenizationApi.md#listTokenizationHoldings) | **GET** /tokenization/tokens/{token_id}/holdings | Get token holdings information
|
|
173
191
|
*CoboWaas2.TokenizationApi* | [**listTokenizationSupportedChains**](docs/TokenizationApi.md#listTokenizationSupportedChains) | **GET** /tokenization/enabled_chains | List supported chains for tokenization
|
|
174
192
|
*CoboWaas2.TokenizationApi* | [**mintTokenization**](docs/TokenizationApi.md#mintTokenization) | **POST** /tokenization/tokens/{token_id}/mint | Mint tokens
|
|
@@ -188,9 +206,9 @@ Class | Method | HTTP request | Description
|
|
|
188
206
|
*CoboWaas2.TransactionsApi* | [**estimateFee**](docs/TransactionsApi.md#estimateFee) | **POST** /transactions/estimate_fee | Estimate transaction fee
|
|
189
207
|
*CoboWaas2.TransactionsApi* | [**getTransactionApprovalDetail**](docs/TransactionsApi.md#getTransactionApprovalDetail) | **GET** /transactions/{transaction_id}/approval_detail | Get transaction approval details
|
|
190
208
|
*CoboWaas2.TransactionsApi* | [**getTransactionById**](docs/TransactionsApi.md#getTransactionById) | **GET** /transactions/{transaction_id} | Get transaction information
|
|
191
|
-
*CoboWaas2.TransactionsApi* | [**listApprovalDetails**](docs/TransactionsApi.md#listApprovalDetails) | **GET** /transactions/approval/details | List
|
|
209
|
+
*CoboWaas2.TransactionsApi* | [**listApprovalDetails**](docs/TransactionsApi.md#listApprovalDetails) | **GET** /transactions/approval/details | List approval details
|
|
192
210
|
*CoboWaas2.TransactionsApi* | [**listTransactionApprovalDetails**](docs/TransactionsApi.md#listTransactionApprovalDetails) | **GET** /transactions/approval_details | List transaction approval details
|
|
193
|
-
*CoboWaas2.TransactionsApi* | [**listTransactionTemplates**](docs/TransactionsApi.md#listTransactionTemplates) | **GET** /transactions/templates |
|
|
211
|
+
*CoboWaas2.TransactionsApi* | [**listTransactionTemplates**](docs/TransactionsApi.md#listTransactionTemplates) | **GET** /transactions/templates | List transaction templates
|
|
194
212
|
*CoboWaas2.TransactionsApi* | [**listTransactions**](docs/TransactionsApi.md#listTransactions) | **GET** /transactions | List all transactions
|
|
195
213
|
*CoboWaas2.TransactionsApi* | [**resendTransactionById**](docs/TransactionsApi.md#resendTransactionById) | **POST** /transactions/{transaction_id}/resend | Resend transaction
|
|
196
214
|
*CoboWaas2.TransactionsApi* | [**signAndBroadcastTransactionById**](docs/TransactionsApi.md#signAndBroadcastTransactionById) | **POST** /transactions/{transaction_id}/sign_and_broadcast | Sign and broadcast transaction
|
|
@@ -287,7 +305,6 @@ Class | Method | HTTP request | Description
|
|
|
287
305
|
- [CoboWaas2.ApprovalRequest](docs/ApprovalRequest.md)
|
|
288
306
|
- [CoboWaas2.ApprovalRequestDetail](docs/ApprovalRequestDetail.md)
|
|
289
307
|
- [CoboWaas2.ApprovalResult](docs/ApprovalResult.md)
|
|
290
|
-
- [CoboWaas2.ApprovalShowInfo](docs/ApprovalShowInfo.md)
|
|
291
308
|
- [CoboWaas2.ApprovalStatementStatus](docs/ApprovalStatementStatus.md)
|
|
292
309
|
- [CoboWaas2.ApprovalStatus](docs/ApprovalStatus.md)
|
|
293
310
|
- [CoboWaas2.ApprovalTemplate](docs/ApprovalTemplate.md)
|
|
@@ -301,7 +318,6 @@ Class | Method | HTTP request | Description
|
|
|
301
318
|
- [CoboWaas2.AutoSweepTaskStatus](docs/AutoSweepTaskStatus.md)
|
|
302
319
|
- [CoboWaas2.BTCBIP137MessageSignDestination](docs/BTCBIP137MessageSignDestination.md)
|
|
303
320
|
- [CoboWaas2.BTCBIP322MessageSignDestination](docs/BTCBIP322MessageSignDestination.md)
|
|
304
|
-
- [CoboWaas2.BTCEIP191MessageSignDestination](docs/BTCEIP191MessageSignDestination.md)
|
|
305
321
|
- [CoboWaas2.BabylonAirdropPop](docs/BabylonAirdropPop.md)
|
|
306
322
|
- [CoboWaas2.BabylonAirdropRegistration](docs/BabylonAirdropRegistration.md)
|
|
307
323
|
- [CoboWaas2.BabylonEligibleAirdrop](docs/BabylonEligibleAirdrop.md)
|
|
@@ -324,6 +340,7 @@ Class | Method | HTTP request | Description
|
|
|
324
340
|
- [CoboWaas2.BatchCheckUtxo201Response](docs/BatchCheckUtxo201Response.md)
|
|
325
341
|
- [CoboWaas2.BatchCheckUtxoRequest](docs/BatchCheckUtxoRequest.md)
|
|
326
342
|
- [CoboWaas2.BatchUTXOParam](docs/BatchUTXOParam.md)
|
|
343
|
+
- [CoboWaas2.BridgingFee](docs/BridgingFee.md)
|
|
327
344
|
- [CoboWaas2.BroadcastSignedTransactions201ResponseInner](docs/BroadcastSignedTransactions201ResponseInner.md)
|
|
328
345
|
- [CoboWaas2.BroadcastSignedTransactionsRequest](docs/BroadcastSignedTransactionsRequest.md)
|
|
329
346
|
- [CoboWaas2.CallbackMessage](docs/CallbackMessage.md)
|
|
@@ -336,6 +353,8 @@ Class | Method | HTTP request | Description
|
|
|
336
353
|
- [CoboWaas2.CheckLoopTransfers200ResponseInner](docs/CheckLoopTransfers200ResponseInner.md)
|
|
337
354
|
- [CoboWaas2.CoboSafeDelegate](docs/CoboSafeDelegate.md)
|
|
338
355
|
- [CoboWaas2.CoboSafeDelegateType](docs/CoboSafeDelegateType.md)
|
|
356
|
+
- [CoboWaas2.CommissionFee](docs/CommissionFee.md)
|
|
357
|
+
- [CoboWaas2.ComplianceDispositionUpdateEventData](docs/ComplianceDispositionUpdateEventData.md)
|
|
339
358
|
- [CoboWaas2.ContractCallDestination](docs/ContractCallDestination.md)
|
|
340
359
|
- [CoboWaas2.ContractCallDestinationType](docs/ContractCallDestinationType.md)
|
|
341
360
|
- [CoboWaas2.ContractCallParams](docs/ContractCallParams.md)
|
|
@@ -347,6 +366,9 @@ Class | Method | HTTP request | Description
|
|
|
347
366
|
- [CoboWaas2.CosmosAdr36MessageSignDestination](docs/CosmosAdr36MessageSignDestination.md)
|
|
348
367
|
- [CoboWaas2.CosmosContractCallDestination](docs/CosmosContractCallDestination.md)
|
|
349
368
|
- [CoboWaas2.CosmosContractCallMessage](docs/CosmosContractCallMessage.md)
|
|
369
|
+
- [CoboWaas2.CreateAddressBookParam](docs/CreateAddressBookParam.md)
|
|
370
|
+
- [CoboWaas2.CreateAddressBooks201Response](docs/CreateAddressBooks201Response.md)
|
|
371
|
+
- [CoboWaas2.CreateAddressBooksParam](docs/CreateAddressBooksParam.md)
|
|
350
372
|
- [CoboWaas2.CreateAddressRequest](docs/CreateAddressRequest.md)
|
|
351
373
|
- [CoboWaas2.CreateApprovalRequest201Response](docs/CreateApprovalRequest201Response.md)
|
|
352
374
|
- [CoboWaas2.CreateAutoSweepTask](docs/CreateAutoSweepTask.md)
|
|
@@ -377,6 +399,7 @@ Class | Method | HTTP request | Description
|
|
|
377
399
|
- [CoboWaas2.CreateStakeActivity201Response](docs/CreateStakeActivity201Response.md)
|
|
378
400
|
- [CoboWaas2.CreateStakeActivityExtra](docs/CreateStakeActivityExtra.md)
|
|
379
401
|
- [CoboWaas2.CreateStakeActivityRequest](docs/CreateStakeActivityRequest.md)
|
|
402
|
+
- [CoboWaas2.CreateSwapActivityRequest](docs/CreateSwapActivityRequest.md)
|
|
380
403
|
- [CoboWaas2.CreateSweepToAddress](docs/CreateSweepToAddress.md)
|
|
381
404
|
- [CoboWaas2.CreateTokenListingRequest201Response](docs/CreateTokenListingRequest201Response.md)
|
|
382
405
|
- [CoboWaas2.CreateTokenListingRequestRequest](docs/CreateTokenListingRequestRequest.md)
|
|
@@ -398,11 +421,17 @@ Class | Method | HTTP request | Description
|
|
|
398
421
|
- [CoboWaas2.CustodialWeb3ContractCallSource](docs/CustodialWeb3ContractCallSource.md)
|
|
399
422
|
- [CoboWaas2.CustodialWeb3MessageSignSource](docs/CustodialWeb3MessageSignSource.md)
|
|
400
423
|
- [CoboWaas2.CustodialWeb3TransferSource](docs/CustodialWeb3TransferSource.md)
|
|
424
|
+
- [CoboWaas2.DeleteAddressBookById201Response](docs/DeleteAddressBookById201Response.md)
|
|
401
425
|
- [CoboWaas2.DeleteCryptoAddress201Response](docs/DeleteCryptoAddress201Response.md)
|
|
402
426
|
- [CoboWaas2.DeleteGuardPubkey201Response](docs/DeleteGuardPubkey201Response.md)
|
|
403
427
|
- [CoboWaas2.DeleteKeyShareHolderGroupById201Response](docs/DeleteKeyShareHolderGroupById201Response.md)
|
|
404
428
|
- [CoboWaas2.DeleteWalletById201Response](docs/DeleteWalletById201Response.md)
|
|
405
429
|
- [CoboWaas2.DestinationWalletType](docs/DestinationWalletType.md)
|
|
430
|
+
- [CoboWaas2.DispositionEventData](docs/DispositionEventData.md)
|
|
431
|
+
- [CoboWaas2.DispositionQueryResponse](docs/DispositionQueryResponse.md)
|
|
432
|
+
- [CoboWaas2.DispositionResponse](docs/DispositionResponse.md)
|
|
433
|
+
- [CoboWaas2.DispositionStatus](docs/DispositionStatus.md)
|
|
434
|
+
- [CoboWaas2.DispositionType](docs/DispositionType.md)
|
|
406
435
|
- [CoboWaas2.EigenLayerLstStakeExtra](docs/EigenLayerLstStakeExtra.md)
|
|
407
436
|
- [CoboWaas2.EigenLayerNativeStakeExtra](docs/EigenLayerNativeStakeExtra.md)
|
|
408
437
|
- [CoboWaas2.EigenlayerValidator](docs/EigenlayerValidator.md)
|
|
@@ -453,7 +482,10 @@ Class | Method | HTTP request | Description
|
|
|
453
482
|
- [CoboWaas2.FeeGasLimit](docs/FeeGasLimit.md)
|
|
454
483
|
- [CoboWaas2.FeeRate](docs/FeeRate.md)
|
|
455
484
|
- [CoboWaas2.FeeReserved](docs/FeeReserved.md)
|
|
485
|
+
- [CoboWaas2.FeeStationCheckFeeStationUsage](docs/FeeStationCheckFeeStationUsage.md)
|
|
486
|
+
- [CoboWaas2.FeeStationCheckFeeStationUsageResponse](docs/FeeStationCheckFeeStationUsageResponse.md)
|
|
456
487
|
- [CoboWaas2.FeeStationDestination](docs/FeeStationDestination.md)
|
|
488
|
+
- [CoboWaas2.FeeStationGasStationType](docs/FeeStationGasStationType.md)
|
|
457
489
|
- [CoboWaas2.FeeStationTransactionType](docs/FeeStationTransactionType.md)
|
|
458
490
|
- [CoboWaas2.FeeStationTransfer](docs/FeeStationTransfer.md)
|
|
459
491
|
- [CoboWaas2.FeeType](docs/FeeType.md)
|
|
@@ -477,6 +509,7 @@ Class | Method | HTTP request | Description
|
|
|
477
509
|
- [CoboWaas2.GraphQLRequest](docs/GraphQLRequest.md)
|
|
478
510
|
- [CoboWaas2.GraphQLResponse](docs/GraphQLResponse.md)
|
|
479
511
|
- [CoboWaas2.GuardPubkeyStatus](docs/GuardPubkeyStatus.md)
|
|
512
|
+
- [CoboWaas2.IsolateDisposition](docs/IsolateDisposition.md)
|
|
480
513
|
- [CoboWaas2.KeyShareHolder](docs/KeyShareHolder.md)
|
|
481
514
|
- [CoboWaas2.KeyShareHolderGroup](docs/KeyShareHolderGroup.md)
|
|
482
515
|
- [CoboWaas2.KeyShareHolderGroupStatus](docs/KeyShareHolderGroupStatus.md)
|
|
@@ -514,11 +547,14 @@ Class | Method | HTTP request | Description
|
|
|
514
547
|
- [CoboWaas2.ListSupportedChains200Response](docs/ListSupportedChains200Response.md)
|
|
515
548
|
- [CoboWaas2.ListSupportedCountries200ResponseInner](docs/ListSupportedCountries200ResponseInner.md)
|
|
516
549
|
- [CoboWaas2.ListSupportedTokens200Response](docs/ListSupportedTokens200Response.md)
|
|
550
|
+
- [CoboWaas2.ListSwapActivities200Response](docs/ListSwapActivities200Response.md)
|
|
551
|
+
- [CoboWaas2.ListSwapEnabledTokens200Response](docs/ListSwapEnabledTokens200Response.md)
|
|
517
552
|
- [CoboWaas2.ListTokenBalancesForAddress200Response](docs/ListTokenBalancesForAddress200Response.md)
|
|
518
553
|
- [CoboWaas2.ListTokenBalancesForFeeStation200Response](docs/ListTokenBalancesForFeeStation200Response.md)
|
|
519
554
|
- [CoboWaas2.ListTokenBalancesForFeeStation200ResponseDataInner](docs/ListTokenBalancesForFeeStation200ResponseDataInner.md)
|
|
520
555
|
- [CoboWaas2.ListTokenListingRequests200Response](docs/ListTokenListingRequests200Response.md)
|
|
521
556
|
- [CoboWaas2.ListTokenizationBlocklistAddresses200Response](docs/ListTokenizationBlocklistAddresses200Response.md)
|
|
557
|
+
- [CoboWaas2.ListTopUpPayerAccounts200Response](docs/ListTopUpPayerAccounts200Response.md)
|
|
522
558
|
- [CoboWaas2.ListTopUpPayers200Response](docs/ListTopUpPayers200Response.md)
|
|
523
559
|
- [CoboWaas2.ListTopUpPayers200ResponseDataInner](docs/ListTopUpPayers200ResponseDataInner.md)
|
|
524
560
|
- [CoboWaas2.ListTransactionApprovalDetails200Response](docs/ListTransactionApprovalDetails200Response.md)
|
|
@@ -557,9 +593,15 @@ Class | Method | HTTP request | Description
|
|
|
557
593
|
- [CoboWaas2.Order](docs/Order.md)
|
|
558
594
|
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
559
595
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
596
|
+
- [CoboWaas2.OtcFee](docs/OtcFee.md)
|
|
560
597
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
561
598
|
- [CoboWaas2.PayerAccount](docs/PayerAccount.md)
|
|
562
599
|
- [CoboWaas2.PaymentAddressUpdateEventData](docs/PaymentAddressUpdateEventData.md)
|
|
600
|
+
- [CoboWaas2.PaymentEstimateFee](docs/PaymentEstimateFee.md)
|
|
601
|
+
- [CoboWaas2.PaymentEstimateFee201Response](docs/PaymentEstimateFee201Response.md)
|
|
602
|
+
- [CoboWaas2.PaymentEstimateFeeRequest](docs/PaymentEstimateFeeRequest.md)
|
|
603
|
+
- [CoboWaas2.PaymentEstimatedFee](docs/PaymentEstimatedFee.md)
|
|
604
|
+
- [CoboWaas2.PaymentFeeType](docs/PaymentFeeType.md)
|
|
563
605
|
- [CoboWaas2.PaymentOrderEventData](docs/PaymentOrderEventData.md)
|
|
564
606
|
- [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
|
|
565
607
|
- [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
|
|
@@ -580,7 +622,6 @@ Class | Method | HTTP request | Description
|
|
|
580
622
|
- [CoboWaas2.QueryApprovalStatement200Response](docs/QueryApprovalStatement200Response.md)
|
|
581
623
|
- [CoboWaas2.QueryGuardPubkey200Response](docs/QueryGuardPubkey200Response.md)
|
|
582
624
|
- [CoboWaas2.QueryGuardPubkey200ResponseAddressesInner](docs/QueryGuardPubkey200ResponseAddressesInner.md)
|
|
583
|
-
- [CoboWaas2.RawMessageSignDestination](docs/RawMessageSignDestination.md)
|
|
584
625
|
- [CoboWaas2.ReceivedAmountPerAddress](docs/ReceivedAmountPerAddress.md)
|
|
585
626
|
- [CoboWaas2.RefreshAddressBalancesByToken200Response](docs/RefreshAddressBalancesByToken200Response.md)
|
|
586
627
|
- [CoboWaas2.RefreshAddressBalancesByTokenRequest](docs/RefreshAddressBalancesByTokenRequest.md)
|
|
@@ -588,6 +629,7 @@ Class | Method | HTTP request | Description
|
|
|
588
629
|
- [CoboWaas2.RefreshToken2XXResponse](docs/RefreshToken2XXResponse.md)
|
|
589
630
|
- [CoboWaas2.RefreshTokenRequest](docs/RefreshTokenRequest.md)
|
|
590
631
|
- [CoboWaas2.Refund](docs/Refund.md)
|
|
632
|
+
- [CoboWaas2.RefundDisposition](docs/RefundDisposition.md)
|
|
591
633
|
- [CoboWaas2.RefundStatus](docs/RefundStatus.md)
|
|
592
634
|
- [CoboWaas2.RefundType](docs/RefundType.md)
|
|
593
635
|
- [CoboWaas2.ReplaceType](docs/ReplaceType.md)
|
|
@@ -625,6 +667,7 @@ Class | Method | HTTP request | Description
|
|
|
625
667
|
- [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
|
|
626
668
|
- [CoboWaas2.SmartContractWalletType](docs/SmartContractWalletType.md)
|
|
627
669
|
- [CoboWaas2.SolContractCallAccount](docs/SolContractCallAccount.md)
|
|
670
|
+
- [CoboWaas2.SolContractCallAddressLookupTableAccount](docs/SolContractCallAddressLookupTableAccount.md)
|
|
628
671
|
- [CoboWaas2.SolContractCallDestination](docs/SolContractCallDestination.md)
|
|
629
672
|
- [CoboWaas2.SolContractCallInstruction](docs/SolContractCallInstruction.md)
|
|
630
673
|
- [CoboWaas2.SourceGroup](docs/SourceGroup.md)
|
|
@@ -634,6 +677,11 @@ Class | Method | HTTP request | Description
|
|
|
634
677
|
- [CoboWaas2.StakingSource](docs/StakingSource.md)
|
|
635
678
|
- [CoboWaas2.Stakings](docs/Stakings.md)
|
|
636
679
|
- [CoboWaas2.StakingsExtra](docs/StakingsExtra.md)
|
|
680
|
+
- [CoboWaas2.StellarContractCallContractParam](docs/StellarContractCallContractParam.md)
|
|
681
|
+
- [CoboWaas2.StellarContractCallContractType](docs/StellarContractCallContractType.md)
|
|
682
|
+
- [CoboWaas2.StellarContractCallDestination](docs/StellarContractCallDestination.md)
|
|
683
|
+
- [CoboWaas2.StellarContractCallTrustLineOperationType](docs/StellarContractCallTrustLineOperationType.md)
|
|
684
|
+
- [CoboWaas2.StellarContractCallTrustLineParam](docs/StellarContractCallTrustLineParam.md)
|
|
637
685
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
638
686
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
639
687
|
- [CoboWaas2.SupportedToken](docs/SupportedToken.md)
|
|
@@ -646,7 +694,9 @@ Class | Method | HTTP request | Description
|
|
|
646
694
|
- [CoboWaas2.SwapActivityStatus](docs/SwapActivityStatus.md)
|
|
647
695
|
- [CoboWaas2.SwapActivityTimeline](docs/SwapActivityTimeline.md)
|
|
648
696
|
- [CoboWaas2.SwapApproversStatus](docs/SwapApproversStatus.md)
|
|
697
|
+
- [CoboWaas2.SwapEstimateFee](docs/SwapEstimateFee.md)
|
|
649
698
|
- [CoboWaas2.SwapQuote](docs/SwapQuote.md)
|
|
699
|
+
- [CoboWaas2.SwapReceivingTransaction](docs/SwapReceivingTransaction.md)
|
|
650
700
|
- [CoboWaas2.SwapSingingStatus](docs/SwapSingingStatus.md)
|
|
651
701
|
- [CoboWaas2.SwapToken](docs/SwapToken.md)
|
|
652
702
|
- [CoboWaas2.SwapType](docs/SwapType.md)
|
|
@@ -835,11 +885,17 @@ Class | Method | HTTP request | Description
|
|
|
835
885
|
- [CoboWaas2.TransactionSigner](docs/TransactionSigner.md)
|
|
836
886
|
- [CoboWaas2.TransactionSmartContractSafeWalletSource](docs/TransactionSmartContractSafeWalletSource.md)
|
|
837
887
|
- [CoboWaas2.TransactionSolContractAccount](docs/TransactionSolContractAccount.md)
|
|
888
|
+
- [CoboWaas2.TransactionSolContractAddressLookupTableAccount](docs/TransactionSolContractAddressLookupTableAccount.md)
|
|
838
889
|
- [CoboWaas2.TransactionSolContractDestination](docs/TransactionSolContractDestination.md)
|
|
839
890
|
- [CoboWaas2.TransactionSolContractInstruction](docs/TransactionSolContractInstruction.md)
|
|
840
891
|
- [CoboWaas2.TransactionSource](docs/TransactionSource.md)
|
|
841
892
|
- [CoboWaas2.TransactionSourceType](docs/TransactionSourceType.md)
|
|
842
893
|
- [CoboWaas2.TransactionStatus](docs/TransactionStatus.md)
|
|
894
|
+
- [CoboWaas2.TransactionStellarContractParam](docs/TransactionStellarContractParam.md)
|
|
895
|
+
- [CoboWaas2.TransactionStellarContractType](docs/TransactionStellarContractType.md)
|
|
896
|
+
- [CoboWaas2.TransactionStellarDestination](docs/TransactionStellarDestination.md)
|
|
897
|
+
- [CoboWaas2.TransactionStellarTrustLineOperationType](docs/TransactionStellarTrustLineOperationType.md)
|
|
898
|
+
- [CoboWaas2.TransactionStellarTrustLineParam](docs/TransactionStellarTrustLineParam.md)
|
|
843
899
|
- [CoboWaas2.TransactionSubStatus](docs/TransactionSubStatus.md)
|
|
844
900
|
- [CoboWaas2.TransactionTimeline](docs/TransactionTimeline.md)
|
|
845
901
|
- [CoboWaas2.TransactionTokeApproval](docs/TransactionTokeApproval.md)
|
|
@@ -873,6 +929,9 @@ Class | Method | HTTP request | Description
|
|
|
873
929
|
- [CoboWaas2.TriggerTestWebhookEvent201Response](docs/TriggerTestWebhookEvent201Response.md)
|
|
874
930
|
- [CoboWaas2.TriggerTestWebhookEventRequest](docs/TriggerTestWebhookEventRequest.md)
|
|
875
931
|
- [CoboWaas2.UTXO](docs/UTXO.md)
|
|
932
|
+
- [CoboWaas2.UnfreezeDisposition](docs/UnfreezeDisposition.md)
|
|
933
|
+
- [CoboWaas2.UpdateAddressBookParam](docs/UpdateAddressBookParam.md)
|
|
934
|
+
- [CoboWaas2.UpdateBankAccountByIdRequest](docs/UpdateBankAccountByIdRequest.md)
|
|
876
935
|
- [CoboWaas2.UpdateCustodialWalletParams](docs/UpdateCustodialWalletParams.md)
|
|
877
936
|
- [CoboWaas2.UpdateExchangeWalletParams](docs/UpdateExchangeWalletParams.md)
|
|
878
937
|
- [CoboWaas2.UpdateGroupAction](docs/UpdateGroupAction.md)
|
|
@@ -892,6 +951,7 @@ Class | Method | HTTP request | Description
|
|
|
892
951
|
- [CoboWaas2.Vasp](docs/Vasp.md)
|
|
893
952
|
- [CoboWaas2.WalletInfo](docs/WalletInfo.md)
|
|
894
953
|
- [CoboWaas2.WalletInfoEventData](docs/WalletInfoEventData.md)
|
|
954
|
+
- [CoboWaas2.WalletSetup](docs/WalletSetup.md)
|
|
895
955
|
- [CoboWaas2.WalletSubtype](docs/WalletSubtype.md)
|
|
896
956
|
- [CoboWaas2.WalletType](docs/WalletType.md)
|
|
897
957
|
- [CoboWaas2.WebhookEndpoint](docs/WebhookEndpoint.md)
|
|
@@ -981,6 +1041,10 @@ Authentication schemes defined for the API:
|
|
|
981
1041
|
- payment_merchant.create: Create payment merchant
|
|
982
1042
|
- payment_merchant.read: Read payment merchant information
|
|
983
1043
|
- payment_merchant.update: Update payment merchant
|
|
984
|
-
-
|
|
985
|
-
-
|
|
1044
|
+
- payment_forced_sweep.create: Create payment force sweep request
|
|
1045
|
+
- payment_forced_sweep.read: Read payment force sweep request information
|
|
1046
|
+
- compliance_funds.refund: Refund compliance funds request
|
|
1047
|
+
- compliance_funds.isolate: Isolate compliance funds request
|
|
1048
|
+
- compliance_funds.unfreeze: Unfreeze compliance funds request
|
|
1049
|
+
- compliance_funds.read: Read compliance funds request information
|
|
986
1050
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -5,8 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _AddressBook = _interopRequireDefault(require("../model/AddressBook"));
|
|
9
|
+
var _CreateAddressBooks201Response = _interopRequireDefault(require("../model/CreateAddressBooks201Response"));
|
|
10
|
+
var _CreateAddressBooksParam = _interopRequireDefault(require("../model/CreateAddressBooksParam"));
|
|
11
|
+
var _DeleteAddressBookById201Response = _interopRequireDefault(require("../model/DeleteAddressBookById201Response"));
|
|
8
12
|
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
9
13
|
var _ListAddressBooks200Response = _interopRequireDefault(require("../model/ListAddressBooks200Response"));
|
|
14
|
+
var _UpdateAddressBookParam = _interopRequireDefault(require("../model/UpdateAddressBookParam"));
|
|
10
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
16
|
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
17
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -41,32 +46,157 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
/**
|
|
44
|
-
*
|
|
45
|
-
* This operation
|
|
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).
|
|
49
|
+
* Create Address Book entries
|
|
50
|
+
* This operation adds new entries (records) to your Address Book. <Note>This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.</Note>
|
|
47
51
|
* @param {Object} opts Optional parameters
|
|
48
|
-
* @param {
|
|
49
|
-
* @
|
|
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] 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.
|
|
52
|
-
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
53
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListAddressBooks200Response} and HTTP response
|
|
52
|
+
* @param {module:model/CreateAddressBooksParam} [CreateAddressBooksParam] The request body of the create Address Books operation.
|
|
53
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAddressBooks201Response} and HTTP response
|
|
54
54
|
*/
|
|
55
55
|
return _createClass(AddressBooksApi, [{
|
|
56
|
-
key: "
|
|
57
|
-
value: function
|
|
56
|
+
key: "createAddressBooksWithHttpInfo",
|
|
57
|
+
value: function createAddressBooksWithHttpInfo(opts) {
|
|
58
58
|
opts = opts || {};
|
|
59
|
+
var postBody = opts['CreateAddressBooksParam'];
|
|
60
|
+
if (postBody && postBody.toJSON) {
|
|
61
|
+
postBody = postBody.toJSON();
|
|
62
|
+
}
|
|
63
|
+
var pathParams = {};
|
|
64
|
+
var queryParams = {};
|
|
65
|
+
var headerParams = {};
|
|
66
|
+
var formParams = {};
|
|
67
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
68
|
+
var contentTypes = ['application/json'];
|
|
69
|
+
var accepts = ['application/json'];
|
|
70
|
+
var returnType = _CreateAddressBooks201Response["default"];
|
|
71
|
+
return this.apiClient.callApi('/address_books', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Create Address Book entries
|
|
76
|
+
* This operation adds new entries (records) to your Address Book. <Note>This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.</Note>
|
|
77
|
+
* @param {Object} opts Optional parameters
|
|
78
|
+
* @param {module:model/CreateAddressBooksParam} opts.CreateAddressBooksParam The request body of the create Address Books operation.
|
|
79
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAddressBooks201Response}
|
|
80
|
+
*/
|
|
81
|
+
}, {
|
|
82
|
+
key: "createAddressBooks",
|
|
83
|
+
value: function createAddressBooks(opts) {
|
|
84
|
+
return this.createAddressBooksWithHttpInfo(opts).then(function (response_and_data) {
|
|
85
|
+
return response_and_data.data;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Delete Address Book entry
|
|
91
|
+
* This operation deletes a specified Address Book entry (record). <Note>This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.</Note>
|
|
92
|
+
* @param {String} entry_id The Address Book entry ID.
|
|
93
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteAddressBookById201Response} and HTTP response
|
|
94
|
+
*/
|
|
95
|
+
}, {
|
|
96
|
+
key: "deleteAddressBookByIdWithHttpInfo",
|
|
97
|
+
value: function deleteAddressBookByIdWithHttpInfo(entry_id) {
|
|
59
98
|
var postBody = null;
|
|
60
99
|
if (postBody && postBody.toJSON) {
|
|
61
100
|
postBody = postBody.toJSON();
|
|
62
101
|
}
|
|
63
|
-
// verify the required parameter '
|
|
64
|
-
if (
|
|
65
|
-
throw new Error("Missing the required parameter '
|
|
102
|
+
// verify the required parameter 'entry_id' is set
|
|
103
|
+
if (entry_id === undefined || entry_id === null) {
|
|
104
|
+
throw new Error("Missing the required parameter 'entry_id' when calling deleteAddressBookById");
|
|
105
|
+
}
|
|
106
|
+
var pathParams = {
|
|
107
|
+
'entry_id': entry_id
|
|
108
|
+
};
|
|
109
|
+
var queryParams = {};
|
|
110
|
+
var headerParams = {};
|
|
111
|
+
var formParams = {};
|
|
112
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
113
|
+
var contentTypes = [];
|
|
114
|
+
var accepts = ['application/json'];
|
|
115
|
+
var returnType = _DeleteAddressBookById201Response["default"];
|
|
116
|
+
return this.apiClient.callApi('/address_books/{entry_id}/delete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Delete Address Book entry
|
|
121
|
+
* This operation deletes a specified Address Book entry (record). <Note>This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.</Note>
|
|
122
|
+
* @param {String} entry_id The Address Book entry ID.
|
|
123
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteAddressBookById201Response}
|
|
124
|
+
*/
|
|
125
|
+
}, {
|
|
126
|
+
key: "deleteAddressBookById",
|
|
127
|
+
value: function deleteAddressBookById(entry_id) {
|
|
128
|
+
return this.deleteAddressBookByIdWithHttpInfo(entry_id).then(function (response_and_data) {
|
|
129
|
+
return response_and_data.data;
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Get Address Book entry
|
|
135
|
+
* This operation retrieves the detailed information about a specified Address Book entry (record).
|
|
136
|
+
* @param {String} entry_id The Address Book entry ID.
|
|
137
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddressBook} and HTTP response
|
|
138
|
+
*/
|
|
139
|
+
}, {
|
|
140
|
+
key: "getAddressBookByIdWithHttpInfo",
|
|
141
|
+
value: function getAddressBookByIdWithHttpInfo(entry_id) {
|
|
142
|
+
var postBody = null;
|
|
143
|
+
if (postBody && postBody.toJSON) {
|
|
144
|
+
postBody = postBody.toJSON();
|
|
145
|
+
}
|
|
146
|
+
// verify the required parameter 'entry_id' is set
|
|
147
|
+
if (entry_id === undefined || entry_id === null) {
|
|
148
|
+
throw new Error("Missing the required parameter 'entry_id' when calling getAddressBookById");
|
|
149
|
+
}
|
|
150
|
+
var pathParams = {
|
|
151
|
+
'entry_id': entry_id
|
|
152
|
+
};
|
|
153
|
+
var queryParams = {};
|
|
154
|
+
var headerParams = {};
|
|
155
|
+
var formParams = {};
|
|
156
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
157
|
+
var contentTypes = [];
|
|
158
|
+
var accepts = ['application/json'];
|
|
159
|
+
var returnType = _AddressBook["default"];
|
|
160
|
+
return this.apiClient.callApi('/address_books/{entry_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Get Address Book entry
|
|
165
|
+
* This operation retrieves the detailed information about a specified Address Book entry (record).
|
|
166
|
+
* @param {String} entry_id The Address Book entry ID.
|
|
167
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddressBook}
|
|
168
|
+
*/
|
|
169
|
+
}, {
|
|
170
|
+
key: "getAddressBookById",
|
|
171
|
+
value: function getAddressBookById(entry_id) {
|
|
172
|
+
return this.getAddressBookByIdWithHttpInfo(entry_id).then(function (response_and_data) {
|
|
173
|
+
return response_and_data.data;
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* List Address Book entries
|
|
179
|
+
* This operation retrieves all entries (records) from your Address Book. You can filter the entries by chain ID, address, and label.
|
|
180
|
+
* @param {Object} opts Optional parameters
|
|
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] The wallet address.
|
|
183
|
+
* @param {String} [label] A user-defined label for the address.
|
|
184
|
+
* @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
|
|
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.
|
|
186
|
+
* @param {String} [after] A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
187
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListAddressBooks200Response} and HTTP response
|
|
188
|
+
*/
|
|
189
|
+
}, {
|
|
190
|
+
key: "listAddressBooksWithHttpInfo",
|
|
191
|
+
value: function listAddressBooksWithHttpInfo(opts) {
|
|
192
|
+
opts = opts || {};
|
|
193
|
+
var postBody = null;
|
|
194
|
+
if (postBody && postBody.toJSON) {
|
|
195
|
+
postBody = postBody.toJSON();
|
|
66
196
|
}
|
|
67
197
|
var pathParams = {};
|
|
68
198
|
var queryParams = {
|
|
69
|
-
'chain_id': chain_id,
|
|
199
|
+
'chain_id': opts['chain_id'],
|
|
70
200
|
'address': opts['address'],
|
|
71
201
|
'label': opts['label'],
|
|
72
202
|
'limit': opts['limit'],
|
|
@@ -83,12 +213,12 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
83
213
|
}
|
|
84
214
|
|
|
85
215
|
/**
|
|
86
|
-
* List
|
|
87
|
-
* This operation retrieves
|
|
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).
|
|
216
|
+
* List Address Book entries
|
|
217
|
+
* This operation retrieves all entries (records) from your Address Book. You can filter the entries by chain ID, address, and label.
|
|
89
218
|
* @param {Object} opts Optional parameters
|
|
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).
|
|
90
220
|
* @param {String} opts.address The wallet address.
|
|
91
|
-
* @param {String} opts.label
|
|
221
|
+
* @param {String} opts.label A user-defined label for the address.
|
|
92
222
|
* @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
|
|
93
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.
|
|
94
224
|
* @param {String} opts.after A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.
|
|
@@ -96,8 +226,57 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
96
226
|
*/
|
|
97
227
|
}, {
|
|
98
228
|
key: "listAddressBooks",
|
|
99
|
-
value: function listAddressBooks(
|
|
100
|
-
return this.listAddressBooksWithHttpInfo(
|
|
229
|
+
value: function listAddressBooks(opts) {
|
|
230
|
+
return this.listAddressBooksWithHttpInfo(opts).then(function (response_and_data) {
|
|
231
|
+
return response_and_data.data;
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Update Address Book entry
|
|
237
|
+
* This operation updates the information of a specified Address Book entry (record). <Note>This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.</Note>
|
|
238
|
+
* @param {String} entry_id The Address Book entry ID.
|
|
239
|
+
* @param {Object} opts Optional parameters
|
|
240
|
+
* @param {module:model/UpdateAddressBookParam} [UpdateAddressBookParam] The request body of the update Address Book operation.
|
|
241
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddressBook} and HTTP response
|
|
242
|
+
*/
|
|
243
|
+
}, {
|
|
244
|
+
key: "updateAddressBookByIdWithHttpInfo",
|
|
245
|
+
value: function updateAddressBookByIdWithHttpInfo(entry_id, opts) {
|
|
246
|
+
opts = opts || {};
|
|
247
|
+
var postBody = opts['UpdateAddressBookParam'];
|
|
248
|
+
if (postBody && postBody.toJSON) {
|
|
249
|
+
postBody = postBody.toJSON();
|
|
250
|
+
}
|
|
251
|
+
// verify the required parameter 'entry_id' is set
|
|
252
|
+
if (entry_id === undefined || entry_id === null) {
|
|
253
|
+
throw new Error("Missing the required parameter 'entry_id' when calling updateAddressBookById");
|
|
254
|
+
}
|
|
255
|
+
var pathParams = {
|
|
256
|
+
'entry_id': entry_id
|
|
257
|
+
};
|
|
258
|
+
var queryParams = {};
|
|
259
|
+
var headerParams = {};
|
|
260
|
+
var formParams = {};
|
|
261
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
262
|
+
var contentTypes = ['application/json'];
|
|
263
|
+
var accepts = ['application/json'];
|
|
264
|
+
var returnType = _AddressBook["default"];
|
|
265
|
+
return this.apiClient.callApi('/address_books/{entry_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Update Address Book entry
|
|
270
|
+
* This operation updates the information of a specified Address Book entry (record). <Note>This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.</Note>
|
|
271
|
+
* @param {String} entry_id The Address Book entry ID.
|
|
272
|
+
* @param {Object} opts Optional parameters
|
|
273
|
+
* @param {module:model/UpdateAddressBookParam} opts.UpdateAddressBookParam The request body of the update Address Book operation.
|
|
274
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddressBook}
|
|
275
|
+
*/
|
|
276
|
+
}, {
|
|
277
|
+
key: "updateAddressBookById",
|
|
278
|
+
value: function updateAddressBookById(entry_id, opts) {
|
|
279
|
+
return this.updateAddressBookByIdWithHttpInfo(entry_id, opts).then(function (response_and_data) {
|
|
101
280
|
return response_and_data.data;
|
|
102
281
|
});
|
|
103
282
|
}
|