@cobo/cobo-waas2 1.23.0 → 1.25.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 +68 -6
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +6 -6
- package/dist/api/ComplianceApi.js +132 -2
- package/dist/api/DevelopersWebhooksApi.js +2 -2
- package/dist/api/FeeStationApi.js +47 -4
- package/dist/api/PaymentApi.js +246 -56
- package/dist/api/SwapsApi.js +374 -0
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/index.js +336 -14
- package/dist/model/AddressInfo.js +13 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AddressesEventDataAllOfAddresses.js +18 -0
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BridgingFee.js +136 -0
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CommissionFee.js +110 -0
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +305 -0
- package/dist/model/ContractCallDestination.js +48 -8
- package/dist/model/ContractCallDestinationType.js +5 -0
- package/dist/model/CreateMerchantRequest.js +15 -8
- package/dist/model/CreateOrderLinkRequest.js +129 -0
- package/dist/model/CreatePaymentOrderRequest.js +27 -1
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateSettlement.js +3 -29
- package/dist/model/CreateSettlementRequestRequest.js +39 -0
- package/dist/model/CreateSwapActivityRequest.js +193 -0
- package/dist/model/CustodialTransferDestination.js +1 -1
- 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/FundsStatusType.js +111 -0
- package/dist/model/KytScreeningsDecisionsType.js +71 -0
- package/dist/model/KytScreeningsEventData.js +155 -0
- package/dist/model/KytScreeningsReviewType.js +61 -0
- package/dist/model/KytScreeningsTransaction.js +144 -0
- package/dist/model/KytScreeningsTransactionType.js +61 -0
- package/dist/model/Link.js +125 -0
- package/dist/model/LinkDisplayInfo.js +100 -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 +12 -3
- package/dist/model/MerchantBalance.js +3 -3
- package/dist/model/MessageSignDestination.js +8 -70
- package/dist/model/Order.js +13 -0
- package/dist/model/OrderLinkBusinessInfo.js +261 -0
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +125 -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 +108 -0
- package/dist/model/PaymentEstimateFeeRequest.js +137 -0
- package/dist/model/PaymentEstimatedFee.js +173 -0
- package/dist/model/PaymentFeeType.js +71 -0
- package/dist/model/PaymentOrderEventData.js +26 -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/PspBalance.js +3 -3
- package/dist/model/Refund.js +17 -1
- package/dist/model/ReviewStatusType.js +91 -0
- 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/SubmitKytResponse.js +122 -0
- package/dist/model/SubmitKytScreeningsDecisionsBody.js +122 -0
- package/dist/model/{RawMessageSignDestination.js → SubmitKytScreeningsReviewBody.js} +36 -36
- 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/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/UpdateBankAccountByIdRequest.js +108 -0
- 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 +10 -0
- package/docs/AddressBooksApi.md +3 -3
- package/docs/AddressInfo.md +1 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AddressesEventDataAllOfAddresses.md +1 -0
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BridgingFee.md +11 -0
- package/docs/ChainsEventData.md +3 -1
- package/docs/CommissionFee.md +9 -0
- package/docs/ComplianceApi.md +158 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +57 -0
- package/docs/ContractCallDestination.md +2 -0
- package/docs/ContractCallDestinationType.md +2 -0
- package/docs/CreateMerchantRequest.md +3 -2
- package/docs/CreateOrderLinkRequest.md +10 -0
- package/docs/CreatePaymentOrderRequest.md +3 -1
- package/docs/CreateRefundRequest.md +2 -2
- package/docs/CreateSettlement.md +2 -4
- package/docs/CreateSettlementRequestRequest.md +3 -0
- package/docs/CreateSwapActivityRequest.md +15 -0
- package/docs/DevelopersWebhooksApi.md +1 -1
- 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/FundsStatusType.md +32 -0
- package/docs/KytScreeningsDecisionsType.md +16 -0
- package/docs/KytScreeningsEventData.md +13 -0
- package/docs/KytScreeningsReviewType.md +12 -0
- package/docs/KytScreeningsTransaction.md +12 -0
- package/docs/KytScreeningsTransactionType.md +12 -0
- package/docs/Link.md +10 -0
- package/docs/LinkDisplayInfo.md +10 -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 +3 -2
- package/docs/MerchantBalance.md +3 -3
- package/docs/MessageSignDestination.md +0 -1
- package/docs/Order.md +1 -0
- package/docs/OrderLinkBusinessInfo.md +19 -0
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +10 -0
- package/docs/OtcFee.md +10 -0
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentApi.md +253 -25
- 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 +4 -1
- package/docs/PaymentRefundEventData.md +5 -2
- package/docs/PaymentSettlementEvent.md +9 -4
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +3 -3
- package/docs/Refund.md +2 -1
- package/docs/ReviewStatusType.md +24 -0
- 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/SubmitKytResponse.md +10 -0
- package/docs/SubmitKytScreeningsDecisionsBody.md +10 -0
- package/docs/SubmitKytScreeningsReviewBody.md +10 -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/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 +2 -2
- package/docs/UpdateBankAccountByIdRequest.md +9 -0
- package/docs/UpdateTopUpAddress.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletSetup.md +14 -0
- package/docs/WebhookEventData.md +12 -3
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
- 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.25.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)
|
|
@@ -83,8 +83,11 @@ Class | Method | HTTP request | Description
|
|
|
83
83
|
*CoboWaas2.AutoSweepApi* | [**listAutoSweepTask**](docs/AutoSweepApi.md#listAutoSweepTask) | **GET** /auto_sweep/tasks | List auto-sweep tasks
|
|
84
84
|
*CoboWaas2.AutoSweepApi* | [**listWalletSweepToAddresses**](docs/AutoSweepApi.md#listWalletSweepToAddresses) | **GET** /auto_sweep/sweep_to_addresses | List sweep-to addresses
|
|
85
85
|
*CoboWaas2.ComplianceApi* | [**getDispositionStatus**](docs/ComplianceApi.md#getDispositionStatus) | **GET** /compliance/funds/disposition | Get disposition status
|
|
86
|
+
*CoboWaas2.ComplianceApi* | [**getKytScreeningStatus**](docs/ComplianceApi.md#getKytScreeningStatus) | **GET** /compliance/kyt/screenings/status | Get KYT screening status
|
|
86
87
|
*CoboWaas2.ComplianceApi* | [**isolateFunds**](docs/ComplianceApi.md#isolateFunds) | **POST** /compliance/funds/disposition/isolate | Isolate funds
|
|
87
88
|
*CoboWaas2.ComplianceApi* | [**refundFunds**](docs/ComplianceApi.md#refundFunds) | **POST** /compliance/funds/disposition/refund | Refund funds
|
|
89
|
+
*CoboWaas2.ComplianceApi* | [**submitKytManualReview**](docs/ComplianceApi.md#submitKytManualReview) | **POST** /compliance/kyt/screenings/manual_review | Submit KYT manual review result
|
|
90
|
+
*CoboWaas2.ComplianceApi* | [**submitKytScreeningDecisions**](docs/ComplianceApi.md#submitKytScreeningDecisions) | **POST** /compliance/kyt/screenings/decisions | Submit KYT screening decision
|
|
88
91
|
*CoboWaas2.ComplianceApi* | [**unfreezeFunds**](docs/ComplianceApi.md#unfreezeFunds) | **POST** /compliance/funds/disposition/unfreeze | Unfreeze frozen funds
|
|
89
92
|
*CoboWaas2.DevelopersApi* | [**getApiKeyInfo**](docs/DevelopersApi.md#getApiKeyInfo) | **GET** /developers/api_key_info | Get API key information
|
|
90
93
|
*CoboWaas2.DevelopersApi* | [**listCallbackMessages**](docs/DevelopersApi.md#listCallbackMessages) | **GET** /developers/callback_messages | List all callback messages
|
|
@@ -99,6 +102,7 @@ Class | Method | HTTP request | Description
|
|
|
99
102
|
*CoboWaas2.DevelopersWebhooksApi* | [**retryWebhookEventById**](docs/DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
|
|
100
103
|
*CoboWaas2.DevelopersWebhooksApi* | [**triggerTestWebhookEvent**](docs/DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
|
|
101
104
|
*CoboWaas2.DevelopersWebhooksApi* | [**updateWebhookEndpointById**](docs/DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
105
|
+
*CoboWaas2.FeeStationApi* | [**checkFeeStationUsage**](docs/FeeStationApi.md#checkFeeStationUsage) | **POST** /fee_station/check_fee_station_usage | Check Fee Station usage
|
|
102
106
|
*CoboWaas2.FeeStationApi* | [**estimateFeeStationFee**](docs/FeeStationApi.md#estimateFeeStationFee) | **POST** /fee_station/transactions/estimate_fee | Estimate fee for Fee Station transaction
|
|
103
107
|
*CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get Fee Station transaction information
|
|
104
108
|
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
|
|
@@ -113,6 +117,7 @@ Class | Method | HTTP request | Description
|
|
|
113
117
|
*CoboWaas2.PaymentApi* | [**createCryptoAddress**](docs/PaymentApi.md#createCryptoAddress) | **POST** /payments/crypto_addresses | Create crypto address
|
|
114
118
|
*CoboWaas2.PaymentApi* | [**createForcedSweepRequest**](docs/PaymentApi.md#createForcedSweepRequest) | **POST** /payments/force_sweep_requests | Create forced sweep
|
|
115
119
|
*CoboWaas2.PaymentApi* | [**createMerchant**](docs/PaymentApi.md#createMerchant) | **POST** /payments/merchants | Create merchant
|
|
120
|
+
*CoboWaas2.PaymentApi* | [**createOrderLink**](docs/PaymentApi.md#createOrderLink) | **POST** /payments/links/orders | Create order link
|
|
116
121
|
*CoboWaas2.PaymentApi* | [**createPaymentOrder**](docs/PaymentApi.md#createPaymentOrder) | **POST** /payments/orders | Create pay-in order
|
|
117
122
|
*CoboWaas2.PaymentApi* | [**createRefund**](docs/PaymentApi.md#createRefund) | **POST** /payments/refunds | Create refund order
|
|
118
123
|
*CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
|
|
@@ -136,7 +141,10 @@ Class | Method | HTTP request | Description
|
|
|
136
141
|
*CoboWaas2.PaymentApi* | [**listPaymentWalletBalances**](docs/PaymentApi.md#listPaymentWalletBalances) | **GET** /payments/balance/payment_wallets | List payment wallet balances
|
|
137
142
|
*CoboWaas2.PaymentApi* | [**listSettlementDetails**](docs/PaymentApi.md#listSettlementDetails) | **GET** /payments/settlement_details | List all settlement details
|
|
138
143
|
*CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
|
|
144
|
+
*CoboWaas2.PaymentApi* | [**listTopUpPayerAccounts**](docs/PaymentApi.md#listTopUpPayerAccounts) | **GET** /payments/topup/payer_accounts | List top-up payer accounts
|
|
139
145
|
*CoboWaas2.PaymentApi* | [**listTopUpPayers**](docs/PaymentApi.md#listTopUpPayers) | **GET** /payments/topup/payers | List payers
|
|
146
|
+
*CoboWaas2.PaymentApi* | [**paymentEstimateFee**](docs/PaymentApi.md#paymentEstimateFee) | **POST** /payments/estimate_fee | Estimate fees
|
|
147
|
+
*CoboWaas2.PaymentApi* | [**updateBankAccountById**](docs/PaymentApi.md#updateBankAccountById) | **PUT** /payments/bank_accounts/{bank_account_id} | Update bank account
|
|
140
148
|
*CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
|
|
141
149
|
*CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
|
|
142
150
|
*CoboWaas2.PaymentApi* | [**updateRefundById**](docs/PaymentApi.md#updateRefundById) | **PUT** /payments/refunds/{refund_id} | Update refund order
|
|
@@ -167,6 +175,12 @@ Class | Method | HTTP request | Description
|
|
|
167
175
|
*CoboWaas2.StakingsApi* | [**listStakingActivities**](docs/StakingsApi.md#listStakingActivities) | **GET** /stakings/activities | List staking activities
|
|
168
176
|
*CoboWaas2.StakingsApi* | [**listStakingPools**](docs/StakingsApi.md#listStakingPools) | **GET** /stakings/pools | List staking pools
|
|
169
177
|
*CoboWaas2.StakingsApi* | [**listStakings**](docs/StakingsApi.md#listStakings) | **GET** /stakings | List staking positions
|
|
178
|
+
*CoboWaas2.SwapsApi* | [**createSwapActivity**](docs/SwapsApi.md#createSwapActivity) | **POST** /swaps/swap | Create swap activity
|
|
179
|
+
*CoboWaas2.SwapsApi* | [**estimateSwapFee**](docs/SwapsApi.md#estimateSwapFee) | **POST** /swaps/estimate_fee | Estimate swap fee
|
|
180
|
+
*CoboWaas2.SwapsApi* | [**getSwapActivity**](docs/SwapsApi.md#getSwapActivity) | **GET** /swaps/activities/{activity_id} | Get swap activity
|
|
181
|
+
*CoboWaas2.SwapsApi* | [**getSwapQuote**](docs/SwapsApi.md#getSwapQuote) | **GET** /swaps/quote | Get swap quote
|
|
182
|
+
*CoboWaas2.SwapsApi* | [**listSwapActivities**](docs/SwapsApi.md#listSwapActivities) | **GET** /swaps/activities | List swap activities
|
|
183
|
+
*CoboWaas2.SwapsApi* | [**listSwapEnabledTokens**](docs/SwapsApi.md#listSwapEnabledTokens) | **GET** /swaps/enabled_tokens | List enabled tokens for swap
|
|
170
184
|
*CoboWaas2.TokenizationApi* | [**burnTokenization**](docs/TokenizationApi.md#burnTokenization) | **POST** /tokenization/tokens/{token_id}/burn | Burn tokens
|
|
171
185
|
*CoboWaas2.TokenizationApi* | [**estimateTokenizationFee**](docs/TokenizationApi.md#estimateTokenizationFee) | **POST** /tokenization/estimate_fee | Estimate tokenization operation fee
|
|
172
186
|
*CoboWaas2.TokenizationApi* | [**getTokenizationActivity**](docs/TokenizationApi.md#getTokenizationActivity) | **GET** /tokenization/activities/{activity_id} | Get tokenization activity details
|
|
@@ -308,7 +322,6 @@ Class | Method | HTTP request | Description
|
|
|
308
322
|
- [CoboWaas2.AutoSweepTaskStatus](docs/AutoSweepTaskStatus.md)
|
|
309
323
|
- [CoboWaas2.BTCBIP137MessageSignDestination](docs/BTCBIP137MessageSignDestination.md)
|
|
310
324
|
- [CoboWaas2.BTCBIP322MessageSignDestination](docs/BTCBIP322MessageSignDestination.md)
|
|
311
|
-
- [CoboWaas2.BTCEIP191MessageSignDestination](docs/BTCEIP191MessageSignDestination.md)
|
|
312
325
|
- [CoboWaas2.BabylonAirdropPop](docs/BabylonAirdropPop.md)
|
|
313
326
|
- [CoboWaas2.BabylonAirdropRegistration](docs/BabylonAirdropRegistration.md)
|
|
314
327
|
- [CoboWaas2.BabylonEligibleAirdrop](docs/BabylonEligibleAirdrop.md)
|
|
@@ -331,6 +344,7 @@ Class | Method | HTTP request | Description
|
|
|
331
344
|
- [CoboWaas2.BatchCheckUtxo201Response](docs/BatchCheckUtxo201Response.md)
|
|
332
345
|
- [CoboWaas2.BatchCheckUtxoRequest](docs/BatchCheckUtxoRequest.md)
|
|
333
346
|
- [CoboWaas2.BatchUTXOParam](docs/BatchUTXOParam.md)
|
|
347
|
+
- [CoboWaas2.BridgingFee](docs/BridgingFee.md)
|
|
334
348
|
- [CoboWaas2.BroadcastSignedTransactions201ResponseInner](docs/BroadcastSignedTransactions201ResponseInner.md)
|
|
335
349
|
- [CoboWaas2.BroadcastSignedTransactionsRequest](docs/BroadcastSignedTransactionsRequest.md)
|
|
336
350
|
- [CoboWaas2.CallbackMessage](docs/CallbackMessage.md)
|
|
@@ -343,7 +357,9 @@ Class | Method | HTTP request | Description
|
|
|
343
357
|
- [CoboWaas2.CheckLoopTransfers200ResponseInner](docs/CheckLoopTransfers200ResponseInner.md)
|
|
344
358
|
- [CoboWaas2.CoboSafeDelegate](docs/CoboSafeDelegate.md)
|
|
345
359
|
- [CoboWaas2.CoboSafeDelegateType](docs/CoboSafeDelegateType.md)
|
|
360
|
+
- [CoboWaas2.CommissionFee](docs/CommissionFee.md)
|
|
346
361
|
- [CoboWaas2.ComplianceDispositionUpdateEventData](docs/ComplianceDispositionUpdateEventData.md)
|
|
362
|
+
- [CoboWaas2.ComplianceKytScreeningsUpdateEventData](docs/ComplianceKytScreeningsUpdateEventData.md)
|
|
347
363
|
- [CoboWaas2.ContractCallDestination](docs/ContractCallDestination.md)
|
|
348
364
|
- [CoboWaas2.ContractCallDestinationType](docs/ContractCallDestinationType.md)
|
|
349
365
|
- [CoboWaas2.ContractCallParams](docs/ContractCallParams.md)
|
|
@@ -376,6 +392,7 @@ Class | Method | HTTP request | Description
|
|
|
376
392
|
- [CoboWaas2.CreateMpcProjectRequest](docs/CreateMpcProjectRequest.md)
|
|
377
393
|
- [CoboWaas2.CreateMpcVaultRequest](docs/CreateMpcVaultRequest.md)
|
|
378
394
|
- [CoboWaas2.CreateMpcWalletParams](docs/CreateMpcWalletParams.md)
|
|
395
|
+
- [CoboWaas2.CreateOrderLinkRequest](docs/CreateOrderLinkRequest.md)
|
|
379
396
|
- [CoboWaas2.CreatePaymentOrderRequest](docs/CreatePaymentOrderRequest.md)
|
|
380
397
|
- [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
|
|
381
398
|
- [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
|
|
@@ -388,6 +405,7 @@ Class | Method | HTTP request | Description
|
|
|
388
405
|
- [CoboWaas2.CreateStakeActivity201Response](docs/CreateStakeActivity201Response.md)
|
|
389
406
|
- [CoboWaas2.CreateStakeActivityExtra](docs/CreateStakeActivityExtra.md)
|
|
390
407
|
- [CoboWaas2.CreateStakeActivityRequest](docs/CreateStakeActivityRequest.md)
|
|
408
|
+
- [CoboWaas2.CreateSwapActivityRequest](docs/CreateSwapActivityRequest.md)
|
|
391
409
|
- [CoboWaas2.CreateSweepToAddress](docs/CreateSweepToAddress.md)
|
|
392
410
|
- [CoboWaas2.CreateTokenListingRequest201Response](docs/CreateTokenListingRequest201Response.md)
|
|
393
411
|
- [CoboWaas2.CreateTokenListingRequestRequest](docs/CreateTokenListingRequestRequest.md)
|
|
@@ -470,7 +488,10 @@ Class | Method | HTTP request | Description
|
|
|
470
488
|
- [CoboWaas2.FeeGasLimit](docs/FeeGasLimit.md)
|
|
471
489
|
- [CoboWaas2.FeeRate](docs/FeeRate.md)
|
|
472
490
|
- [CoboWaas2.FeeReserved](docs/FeeReserved.md)
|
|
491
|
+
- [CoboWaas2.FeeStationCheckFeeStationUsage](docs/FeeStationCheckFeeStationUsage.md)
|
|
492
|
+
- [CoboWaas2.FeeStationCheckFeeStationUsageResponse](docs/FeeStationCheckFeeStationUsageResponse.md)
|
|
473
493
|
- [CoboWaas2.FeeStationDestination](docs/FeeStationDestination.md)
|
|
494
|
+
- [CoboWaas2.FeeStationGasStationType](docs/FeeStationGasStationType.md)
|
|
474
495
|
- [CoboWaas2.FeeStationTransactionType](docs/FeeStationTransactionType.md)
|
|
475
496
|
- [CoboWaas2.FeeStationTransfer](docs/FeeStationTransfer.md)
|
|
476
497
|
- [CoboWaas2.FeeType](docs/FeeType.md)
|
|
@@ -478,6 +499,7 @@ Class | Method | HTTP request | Description
|
|
|
478
499
|
- [CoboWaas2.ForcedSweep](docs/ForcedSweep.md)
|
|
479
500
|
- [CoboWaas2.ForcedSweepRequest](docs/ForcedSweepRequest.md)
|
|
480
501
|
- [CoboWaas2.ForcedSweepStatus](docs/ForcedSweepStatus.md)
|
|
502
|
+
- [CoboWaas2.FundsStatusType](docs/FundsStatusType.md)
|
|
481
503
|
- [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
|
|
482
504
|
- [CoboWaas2.GetExchangeRate200Response](docs/GetExchangeRate200Response.md)
|
|
483
505
|
- [CoboWaas2.GetMaxTransferableValueWithFeeModelRequest](docs/GetMaxTransferableValueWithFeeModelRequest.md)
|
|
@@ -501,6 +523,13 @@ Class | Method | HTTP request | Description
|
|
|
501
523
|
- [CoboWaas2.KeyShareHolderGroupType](docs/KeyShareHolderGroupType.md)
|
|
502
524
|
- [CoboWaas2.KeyShareHolderStatus](docs/KeyShareHolderStatus.md)
|
|
503
525
|
- [CoboWaas2.KeyShareHolderType](docs/KeyShareHolderType.md)
|
|
526
|
+
- [CoboWaas2.KytScreeningsDecisionsType](docs/KytScreeningsDecisionsType.md)
|
|
527
|
+
- [CoboWaas2.KytScreeningsEventData](docs/KytScreeningsEventData.md)
|
|
528
|
+
- [CoboWaas2.KytScreeningsReviewType](docs/KytScreeningsReviewType.md)
|
|
529
|
+
- [CoboWaas2.KytScreeningsTransaction](docs/KytScreeningsTransaction.md)
|
|
530
|
+
- [CoboWaas2.KytScreeningsTransactionType](docs/KytScreeningsTransactionType.md)
|
|
531
|
+
- [CoboWaas2.Link](docs/Link.md)
|
|
532
|
+
- [CoboWaas2.LinkDisplayInfo](docs/LinkDisplayInfo.md)
|
|
504
533
|
- [CoboWaas2.ListAddressBalancesByToken200Response](docs/ListAddressBalancesByToken200Response.md)
|
|
505
534
|
- [CoboWaas2.ListAddressBooks200Response](docs/ListAddressBooks200Response.md)
|
|
506
535
|
- [CoboWaas2.ListAddresses200Response](docs/ListAddresses200Response.md)
|
|
@@ -532,11 +561,14 @@ Class | Method | HTTP request | Description
|
|
|
532
561
|
- [CoboWaas2.ListSupportedChains200Response](docs/ListSupportedChains200Response.md)
|
|
533
562
|
- [CoboWaas2.ListSupportedCountries200ResponseInner](docs/ListSupportedCountries200ResponseInner.md)
|
|
534
563
|
- [CoboWaas2.ListSupportedTokens200Response](docs/ListSupportedTokens200Response.md)
|
|
564
|
+
- [CoboWaas2.ListSwapActivities200Response](docs/ListSwapActivities200Response.md)
|
|
565
|
+
- [CoboWaas2.ListSwapEnabledTokens200Response](docs/ListSwapEnabledTokens200Response.md)
|
|
535
566
|
- [CoboWaas2.ListTokenBalancesForAddress200Response](docs/ListTokenBalancesForAddress200Response.md)
|
|
536
567
|
- [CoboWaas2.ListTokenBalancesForFeeStation200Response](docs/ListTokenBalancesForFeeStation200Response.md)
|
|
537
568
|
- [CoboWaas2.ListTokenBalancesForFeeStation200ResponseDataInner](docs/ListTokenBalancesForFeeStation200ResponseDataInner.md)
|
|
538
569
|
- [CoboWaas2.ListTokenListingRequests200Response](docs/ListTokenListingRequests200Response.md)
|
|
539
570
|
- [CoboWaas2.ListTokenizationBlocklistAddresses200Response](docs/ListTokenizationBlocklistAddresses200Response.md)
|
|
571
|
+
- [CoboWaas2.ListTopUpPayerAccounts200Response](docs/ListTopUpPayerAccounts200Response.md)
|
|
540
572
|
- [CoboWaas2.ListTopUpPayers200Response](docs/ListTopUpPayers200Response.md)
|
|
541
573
|
- [CoboWaas2.ListTopUpPayers200ResponseDataInner](docs/ListTopUpPayers200ResponseDataInner.md)
|
|
542
574
|
- [CoboWaas2.ListTransactionApprovalDetails200Response](docs/ListTransactionApprovalDetails200Response.md)
|
|
@@ -573,11 +605,19 @@ Class | Method | HTTP request | Description
|
|
|
573
605
|
- [CoboWaas2.MpcStakeSource](docs/MpcStakeSource.md)
|
|
574
606
|
- [CoboWaas2.MpcTransferSource](docs/MpcTransferSource.md)
|
|
575
607
|
- [CoboWaas2.Order](docs/Order.md)
|
|
608
|
+
- [CoboWaas2.OrderLinkBusinessInfo](docs/OrderLinkBusinessInfo.md)
|
|
609
|
+
- [CoboWaas2.OrderLinkBusinessInfoCustomExchangeRatesInner](docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md)
|
|
576
610
|
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
577
611
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
612
|
+
- [CoboWaas2.OtcFee](docs/OtcFee.md)
|
|
578
613
|
- [CoboWaas2.Pagination](docs/Pagination.md)
|
|
579
614
|
- [CoboWaas2.PayerAccount](docs/PayerAccount.md)
|
|
580
615
|
- [CoboWaas2.PaymentAddressUpdateEventData](docs/PaymentAddressUpdateEventData.md)
|
|
616
|
+
- [CoboWaas2.PaymentEstimateFee](docs/PaymentEstimateFee.md)
|
|
617
|
+
- [CoboWaas2.PaymentEstimateFee201Response](docs/PaymentEstimateFee201Response.md)
|
|
618
|
+
- [CoboWaas2.PaymentEstimateFeeRequest](docs/PaymentEstimateFeeRequest.md)
|
|
619
|
+
- [CoboWaas2.PaymentEstimatedFee](docs/PaymentEstimatedFee.md)
|
|
620
|
+
- [CoboWaas2.PaymentFeeType](docs/PaymentFeeType.md)
|
|
581
621
|
- [CoboWaas2.PaymentOrderEventData](docs/PaymentOrderEventData.md)
|
|
582
622
|
- [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
|
|
583
623
|
- [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
|
|
@@ -598,7 +638,6 @@ Class | Method | HTTP request | Description
|
|
|
598
638
|
- [CoboWaas2.QueryApprovalStatement200Response](docs/QueryApprovalStatement200Response.md)
|
|
599
639
|
- [CoboWaas2.QueryGuardPubkey200Response](docs/QueryGuardPubkey200Response.md)
|
|
600
640
|
- [CoboWaas2.QueryGuardPubkey200ResponseAddressesInner](docs/QueryGuardPubkey200ResponseAddressesInner.md)
|
|
601
|
-
- [CoboWaas2.RawMessageSignDestination](docs/RawMessageSignDestination.md)
|
|
602
641
|
- [CoboWaas2.ReceivedAmountPerAddress](docs/ReceivedAmountPerAddress.md)
|
|
603
642
|
- [CoboWaas2.RefreshAddressBalancesByToken200Response](docs/RefreshAddressBalancesByToken200Response.md)
|
|
604
643
|
- [CoboWaas2.RefreshAddressBalancesByTokenRequest](docs/RefreshAddressBalancesByTokenRequest.md)
|
|
@@ -613,6 +652,7 @@ Class | Method | HTTP request | Description
|
|
|
613
652
|
- [CoboWaas2.RequestApproval](docs/RequestApproval.md)
|
|
614
653
|
- [CoboWaas2.RetryCallbackMessage201Response](docs/RetryCallbackMessage201Response.md)
|
|
615
654
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
655
|
+
- [CoboWaas2.ReviewStatusType](docs/ReviewStatusType.md)
|
|
616
656
|
- [CoboWaas2.RevokeApprovalRequest201Response](docs/RevokeApprovalRequest201Response.md)
|
|
617
657
|
- [CoboWaas2.RevokeApprovalRequestRequest](docs/RevokeApprovalRequestRequest.md)
|
|
618
658
|
- [CoboWaas2.RoleDetail](docs/RoleDetail.md)
|
|
@@ -644,6 +684,7 @@ Class | Method | HTTP request | Description
|
|
|
644
684
|
- [CoboWaas2.SmartContractWalletOperationType](docs/SmartContractWalletOperationType.md)
|
|
645
685
|
- [CoboWaas2.SmartContractWalletType](docs/SmartContractWalletType.md)
|
|
646
686
|
- [CoboWaas2.SolContractCallAccount](docs/SolContractCallAccount.md)
|
|
687
|
+
- [CoboWaas2.SolContractCallAddressLookupTableAccount](docs/SolContractCallAddressLookupTableAccount.md)
|
|
647
688
|
- [CoboWaas2.SolContractCallDestination](docs/SolContractCallDestination.md)
|
|
648
689
|
- [CoboWaas2.SolContractCallInstruction](docs/SolContractCallInstruction.md)
|
|
649
690
|
- [CoboWaas2.SourceGroup](docs/SourceGroup.md)
|
|
@@ -653,8 +694,16 @@ Class | Method | HTTP request | Description
|
|
|
653
694
|
- [CoboWaas2.StakingSource](docs/StakingSource.md)
|
|
654
695
|
- [CoboWaas2.Stakings](docs/Stakings.md)
|
|
655
696
|
- [CoboWaas2.StakingsExtra](docs/StakingsExtra.md)
|
|
697
|
+
- [CoboWaas2.StellarContractCallContractParam](docs/StellarContractCallContractParam.md)
|
|
698
|
+
- [CoboWaas2.StellarContractCallContractType](docs/StellarContractCallContractType.md)
|
|
699
|
+
- [CoboWaas2.StellarContractCallDestination](docs/StellarContractCallDestination.md)
|
|
700
|
+
- [CoboWaas2.StellarContractCallTrustLineOperationType](docs/StellarContractCallTrustLineOperationType.md)
|
|
701
|
+
- [CoboWaas2.StellarContractCallTrustLineParam](docs/StellarContractCallTrustLineParam.md)
|
|
656
702
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
657
703
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
704
|
+
- [CoboWaas2.SubmitKytResponse](docs/SubmitKytResponse.md)
|
|
705
|
+
- [CoboWaas2.SubmitKytScreeningsDecisionsBody](docs/SubmitKytScreeningsDecisionsBody.md)
|
|
706
|
+
- [CoboWaas2.SubmitKytScreeningsReviewBody](docs/SubmitKytScreeningsReviewBody.md)
|
|
658
707
|
- [CoboWaas2.SupportedToken](docs/SupportedToken.md)
|
|
659
708
|
- [CoboWaas2.SuspendedTokenEventData](docs/SuspendedTokenEventData.md)
|
|
660
709
|
- [CoboWaas2.SuspendedTokenOperationType](docs/SuspendedTokenOperationType.md)
|
|
@@ -665,7 +714,9 @@ Class | Method | HTTP request | Description
|
|
|
665
714
|
- [CoboWaas2.SwapActivityStatus](docs/SwapActivityStatus.md)
|
|
666
715
|
- [CoboWaas2.SwapActivityTimeline](docs/SwapActivityTimeline.md)
|
|
667
716
|
- [CoboWaas2.SwapApproversStatus](docs/SwapApproversStatus.md)
|
|
717
|
+
- [CoboWaas2.SwapEstimateFee](docs/SwapEstimateFee.md)
|
|
668
718
|
- [CoboWaas2.SwapQuote](docs/SwapQuote.md)
|
|
719
|
+
- [CoboWaas2.SwapReceivingTransaction](docs/SwapReceivingTransaction.md)
|
|
669
720
|
- [CoboWaas2.SwapSingingStatus](docs/SwapSingingStatus.md)
|
|
670
721
|
- [CoboWaas2.SwapToken](docs/SwapToken.md)
|
|
671
722
|
- [CoboWaas2.SwapType](docs/SwapType.md)
|
|
@@ -854,11 +905,17 @@ Class | Method | HTTP request | Description
|
|
|
854
905
|
- [CoboWaas2.TransactionSigner](docs/TransactionSigner.md)
|
|
855
906
|
- [CoboWaas2.TransactionSmartContractSafeWalletSource](docs/TransactionSmartContractSafeWalletSource.md)
|
|
856
907
|
- [CoboWaas2.TransactionSolContractAccount](docs/TransactionSolContractAccount.md)
|
|
908
|
+
- [CoboWaas2.TransactionSolContractAddressLookupTableAccount](docs/TransactionSolContractAddressLookupTableAccount.md)
|
|
857
909
|
- [CoboWaas2.TransactionSolContractDestination](docs/TransactionSolContractDestination.md)
|
|
858
910
|
- [CoboWaas2.TransactionSolContractInstruction](docs/TransactionSolContractInstruction.md)
|
|
859
911
|
- [CoboWaas2.TransactionSource](docs/TransactionSource.md)
|
|
860
912
|
- [CoboWaas2.TransactionSourceType](docs/TransactionSourceType.md)
|
|
861
913
|
- [CoboWaas2.TransactionStatus](docs/TransactionStatus.md)
|
|
914
|
+
- [CoboWaas2.TransactionStellarContractParam](docs/TransactionStellarContractParam.md)
|
|
915
|
+
- [CoboWaas2.TransactionStellarContractType](docs/TransactionStellarContractType.md)
|
|
916
|
+
- [CoboWaas2.TransactionStellarDestination](docs/TransactionStellarDestination.md)
|
|
917
|
+
- [CoboWaas2.TransactionStellarTrustLineOperationType](docs/TransactionStellarTrustLineOperationType.md)
|
|
918
|
+
- [CoboWaas2.TransactionStellarTrustLineParam](docs/TransactionStellarTrustLineParam.md)
|
|
862
919
|
- [CoboWaas2.TransactionSubStatus](docs/TransactionSubStatus.md)
|
|
863
920
|
- [CoboWaas2.TransactionTimeline](docs/TransactionTimeline.md)
|
|
864
921
|
- [CoboWaas2.TransactionTokeApproval](docs/TransactionTokeApproval.md)
|
|
@@ -894,6 +951,7 @@ Class | Method | HTTP request | Description
|
|
|
894
951
|
- [CoboWaas2.UTXO](docs/UTXO.md)
|
|
895
952
|
- [CoboWaas2.UnfreezeDisposition](docs/UnfreezeDisposition.md)
|
|
896
953
|
- [CoboWaas2.UpdateAddressBookParam](docs/UpdateAddressBookParam.md)
|
|
954
|
+
- [CoboWaas2.UpdateBankAccountByIdRequest](docs/UpdateBankAccountByIdRequest.md)
|
|
897
955
|
- [CoboWaas2.UpdateCustodialWalletParams](docs/UpdateCustodialWalletParams.md)
|
|
898
956
|
- [CoboWaas2.UpdateExchangeWalletParams](docs/UpdateExchangeWalletParams.md)
|
|
899
957
|
- [CoboWaas2.UpdateGroupAction](docs/UpdateGroupAction.md)
|
|
@@ -913,6 +971,7 @@ Class | Method | HTTP request | Description
|
|
|
913
971
|
- [CoboWaas2.Vasp](docs/Vasp.md)
|
|
914
972
|
- [CoboWaas2.WalletInfo](docs/WalletInfo.md)
|
|
915
973
|
- [CoboWaas2.WalletInfoEventData](docs/WalletInfoEventData.md)
|
|
974
|
+
- [CoboWaas2.WalletSetup](docs/WalletSetup.md)
|
|
916
975
|
- [CoboWaas2.WalletSubtype](docs/WalletSubtype.md)
|
|
917
976
|
- [CoboWaas2.WalletType](docs/WalletType.md)
|
|
918
977
|
- [CoboWaas2.WebhookEndpoint](docs/WebhookEndpoint.md)
|
|
@@ -957,7 +1016,7 @@ Authentication schemes defined for the API:
|
|
|
957
1016
|
- **Flow**: accessCode
|
|
958
1017
|
- **Authorization URL**: https://auth.cobo.com/authorize
|
|
959
1018
|
- **Scopes**:
|
|
960
|
-
- address_book.read: Read
|
|
1019
|
+
- address_book.read: Read address book
|
|
961
1020
|
- api_key.read: Read API key information
|
|
962
1021
|
- callback.read: Read callback message
|
|
963
1022
|
- callback.resend: Resend callback message
|
|
@@ -1002,10 +1061,13 @@ Authentication schemes defined for the API:
|
|
|
1002
1061
|
- payment_merchant.create: Create payment merchant
|
|
1003
1062
|
- payment_merchant.read: Read payment merchant information
|
|
1004
1063
|
- payment_merchant.update: Update payment merchant
|
|
1005
|
-
-
|
|
1006
|
-
-
|
|
1064
|
+
- payment_forced_sweep.create: Create payment force sweep request
|
|
1065
|
+
- payment_forced_sweep.read: Read payment force sweep request information
|
|
1007
1066
|
- compliance_funds.refund: Refund compliance funds request
|
|
1008
1067
|
- compliance_funds.isolate: Isolate compliance funds request
|
|
1009
1068
|
- compliance_funds.unfreeze: Unfreeze compliance funds request
|
|
1010
1069
|
- compliance_funds.read: Read compliance funds request information
|
|
1070
|
+
- compliance_kyt_review.update: Update KYT review status
|
|
1071
|
+
- compliance_kyt_decisions.update: Update KYT decision status
|
|
1072
|
+
- compliance_kyt_status.read: Read KYT screening status
|
|
1011
1073
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -47,7 +47,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Create Address Book entries
|
|
50
|
-
* This operation adds new entries (records) to your Address Book.
|
|
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>
|
|
51
51
|
* @param {Object} opts Optional parameters
|
|
52
52
|
* @param {module:model/CreateAddressBooksParam} [CreateAddressBooksParam] The request body of the create Address Books operation.
|
|
53
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAddressBooks201Response} and HTTP response
|
|
@@ -73,7 +73,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Create Address Book entries
|
|
76
|
-
* This operation adds new entries (records) to your Address Book.
|
|
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
77
|
* @param {Object} opts Optional parameters
|
|
78
78
|
* @param {module:model/CreateAddressBooksParam} opts.CreateAddressBooksParam The request body of the create Address Books operation.
|
|
79
79
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAddressBooks201Response}
|
|
@@ -88,7 +88,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Delete Address Book entry
|
|
91
|
-
* This operation deletes a specified Address Book entry (record).
|
|
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
92
|
* @param {String} entry_id The Address Book entry ID.
|
|
93
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
94
|
*/
|
|
@@ -118,7 +118,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* Delete Address Book entry
|
|
121
|
-
* This operation deletes a specified Address Book entry (record).
|
|
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
122
|
* @param {String} entry_id The Address Book entry ID.
|
|
123
123
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteAddressBookById201Response}
|
|
124
124
|
*/
|
|
@@ -234,7 +234,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Update Address Book entry
|
|
237
|
-
* This operation updates the information of a specified Address Book entry (record).
|
|
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
238
|
* @param {String} entry_id The Address Book entry ID.
|
|
239
239
|
* @param {Object} opts Optional parameters
|
|
240
240
|
* @param {module:model/UpdateAddressBookParam} [UpdateAddressBookParam] The request body of the update Address Book operation.
|
|
@@ -267,7 +267,7 @@ var AddressBooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* Update Address Book entry
|
|
270
|
-
* This operation updates the information of a specified Address Book entry (record).
|
|
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
271
|
* @param {String} entry_id The Address Book entry ID.
|
|
272
272
|
* @param {Object} opts Optional parameters
|
|
273
273
|
* @param {module:model/UpdateAddressBookParam} opts.UpdateAddressBookParam The request body of the update Address Book operation.
|
|
@@ -9,7 +9,11 @@ var _DispositionQueryResponse = _interopRequireDefault(require("../model/Disposi
|
|
|
9
9
|
var _DispositionResponse = _interopRequireDefault(require("../model/DispositionResponse"));
|
|
10
10
|
var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
|
|
11
11
|
var _IsolateDisposition = _interopRequireDefault(require("../model/IsolateDisposition"));
|
|
12
|
+
var _KytScreeningsTransaction = _interopRequireDefault(require("../model/KytScreeningsTransaction"));
|
|
12
13
|
var _RefundDisposition = _interopRequireDefault(require("../model/RefundDisposition"));
|
|
14
|
+
var _SubmitKytResponse = _interopRequireDefault(require("../model/SubmitKytResponse"));
|
|
15
|
+
var _SubmitKytScreeningsDecisionsBody = _interopRequireDefault(require("../model/SubmitKytScreeningsDecisionsBody"));
|
|
16
|
+
var _SubmitKytScreeningsReviewBody = _interopRequireDefault(require("../model/SubmitKytScreeningsReviewBody"));
|
|
13
17
|
var _UnfreezeDisposition = _interopRequireDefault(require("../model/UnfreezeDisposition"));
|
|
14
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
19
|
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); }
|
|
@@ -47,7 +51,7 @@ var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
51
|
/**
|
|
48
52
|
* Get disposition status
|
|
49
53
|
* This operation retrieves the current status of a disposition request for a specific transaction. You can use this endpoint to check the status of any disposition operation (Refund, Isolate, or Unfreeze) that has been initiated for a transaction. The response includes the disposition type, current status, and the disposition transaction ID if applicable. <Note>Use this endpoint to monitor the progress of disposition operations and verify their completion.</Note>
|
|
50
|
-
* @param {String} transaction_id The UUID of the transaction to
|
|
54
|
+
* @param {String} transaction_id The unique identifier (UUID) of the transaction to retrieve KYT screening status information for.
|
|
51
55
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DispositionQueryResponse} and HTTP response
|
|
52
56
|
*/
|
|
53
57
|
return _createClass(ComplianceApi, [{
|
|
@@ -77,7 +81,7 @@ var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
77
81
|
/**
|
|
78
82
|
* Get disposition status
|
|
79
83
|
* This operation retrieves the current status of a disposition request for a specific transaction. You can use this endpoint to check the status of any disposition operation (Refund, Isolate, or Unfreeze) that has been initiated for a transaction. The response includes the disposition type, current status, and the disposition transaction ID if applicable. <Note>Use this endpoint to monitor the progress of disposition operations and verify their completion.</Note>
|
|
80
|
-
* @param {String} transaction_id The UUID of the transaction to
|
|
84
|
+
* @param {String} transaction_id The unique identifier (UUID) of the transaction to retrieve KYT screening status information for.
|
|
81
85
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DispositionQueryResponse}
|
|
82
86
|
*/
|
|
83
87
|
}, {
|
|
@@ -88,6 +92,50 @@ var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
92
|
});
|
|
89
93
|
}
|
|
90
94
|
|
|
95
|
+
/**
|
|
96
|
+
* Get KYT screening status
|
|
97
|
+
* This operation retrieves the current KYT (Know Your Transaction) screening status, including review status and fund disposition status, for a specific transaction. Use this endpoint to monitor the real-time screening progress for transactions processed through the KYT compliance system. <Note>This endpoint provides comprehensive compliance monitoring capabilities to help maintain AML (Anti-Money Laundering) regulatory compliance and audit trail requirements.</Note>
|
|
98
|
+
* @param {String} transaction_id The unique identifier (UUID) of the transaction to retrieve KYT screening status information for.
|
|
99
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/KytScreeningsTransaction} and HTTP response
|
|
100
|
+
*/
|
|
101
|
+
}, {
|
|
102
|
+
key: "getKytScreeningStatusWithHttpInfo",
|
|
103
|
+
value: function getKytScreeningStatusWithHttpInfo(transaction_id) {
|
|
104
|
+
var postBody = null;
|
|
105
|
+
if (postBody && postBody.toJSON) {
|
|
106
|
+
postBody = postBody.toJSON();
|
|
107
|
+
}
|
|
108
|
+
// verify the required parameter 'transaction_id' is set
|
|
109
|
+
if (transaction_id === undefined || transaction_id === null) {
|
|
110
|
+
throw new Error("Missing the required parameter 'transaction_id' when calling getKytScreeningStatus");
|
|
111
|
+
}
|
|
112
|
+
var pathParams = {};
|
|
113
|
+
var queryParams = {
|
|
114
|
+
'transaction_id': transaction_id
|
|
115
|
+
};
|
|
116
|
+
var headerParams = {};
|
|
117
|
+
var formParams = {};
|
|
118
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
119
|
+
var contentTypes = [];
|
|
120
|
+
var accepts = ['application/json'];
|
|
121
|
+
var returnType = _KytScreeningsTransaction["default"];
|
|
122
|
+
return this.apiClient.callApi('/compliance/kyt/screenings/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Get KYT screening status
|
|
127
|
+
* This operation retrieves the current KYT (Know Your Transaction) screening status, including review status and fund disposition status, for a specific transaction. Use this endpoint to monitor the real-time screening progress for transactions processed through the KYT compliance system. <Note>This endpoint provides comprehensive compliance monitoring capabilities to help maintain AML (Anti-Money Laundering) regulatory compliance and audit trail requirements.</Note>
|
|
128
|
+
* @param {String} transaction_id The unique identifier (UUID) of the transaction to retrieve KYT screening status information for.
|
|
129
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/KytScreeningsTransaction}
|
|
130
|
+
*/
|
|
131
|
+
}, {
|
|
132
|
+
key: "getKytScreeningStatus",
|
|
133
|
+
value: function getKytScreeningStatus(transaction_id) {
|
|
134
|
+
return this.getKytScreeningStatusWithHttpInfo(transaction_id).then(function (response_and_data) {
|
|
135
|
+
return response_and_data.data;
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
|
|
91
139
|
/**
|
|
92
140
|
* Isolate funds
|
|
93
141
|
* This operation creates a request to isolate funds for a specific transaction. The funds will be sent to a designated isolation address for compliance purposes. You need to specify the transaction ID to be isolated and the destination address. Optional parameters include custom categories for tracking purposes. <Note>The isolation will initiate a withdrawal transaction from the compliance-managed address to the specified isolation address.</Note>
|
|
@@ -170,6 +218,88 @@ var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
170
218
|
});
|
|
171
219
|
}
|
|
172
220
|
|
|
221
|
+
/**
|
|
222
|
+
* Submit KYT manual review result
|
|
223
|
+
* This operation submits a manual review result for a KYT (Know Your Transaction) screening case that requires human analysis. Use this endpoint when transactions flagged for manual review have been analyzed by compliance officers and require submission of review outcomes with detailed comments and justifications. This endpoint is specifically designed for submitting comprehensive manual review findings rather than automated screening decisions. <Note>Submitting a manual review result will update the KYT screening status and initiate appropriate compliance workflow actions based on the review outcome.</Note>
|
|
224
|
+
* @param {Object} opts Optional parameters
|
|
225
|
+
* @param {module:model/SubmitKytScreeningsReviewBody} [SubmitKytScreeningsReviewBody] The request body to submit a manual review result for KYT screening case that requires human analysis.
|
|
226
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubmitKytResponse} and HTTP response
|
|
227
|
+
*/
|
|
228
|
+
}, {
|
|
229
|
+
key: "submitKytManualReviewWithHttpInfo",
|
|
230
|
+
value: function submitKytManualReviewWithHttpInfo(opts) {
|
|
231
|
+
opts = opts || {};
|
|
232
|
+
var postBody = opts['SubmitKytScreeningsReviewBody'];
|
|
233
|
+
if (postBody && postBody.toJSON) {
|
|
234
|
+
postBody = postBody.toJSON();
|
|
235
|
+
}
|
|
236
|
+
var pathParams = {};
|
|
237
|
+
var queryParams = {};
|
|
238
|
+
var headerParams = {};
|
|
239
|
+
var formParams = {};
|
|
240
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
241
|
+
var contentTypes = ['application/json'];
|
|
242
|
+
var accepts = ['application/json'];
|
|
243
|
+
var returnType = _SubmitKytResponse["default"];
|
|
244
|
+
return this.apiClient.callApi('/compliance/kyt/screenings/manual_review', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Submit KYT manual review result
|
|
249
|
+
* This operation submits a manual review result for a KYT (Know Your Transaction) screening case that requires human analysis. Use this endpoint when transactions flagged for manual review have been analyzed by compliance officers and require submission of review outcomes with detailed comments and justifications. This endpoint is specifically designed for submitting comprehensive manual review findings rather than automated screening decisions. <Note>Submitting a manual review result will update the KYT screening status and initiate appropriate compliance workflow actions based on the review outcome.</Note>
|
|
250
|
+
* @param {Object} opts Optional parameters
|
|
251
|
+
* @param {module:model/SubmitKytScreeningsReviewBody} opts.SubmitKytScreeningsReviewBody The request body to submit a manual review result for KYT screening case that requires human analysis.
|
|
252
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubmitKytResponse}
|
|
253
|
+
*/
|
|
254
|
+
}, {
|
|
255
|
+
key: "submitKytManualReview",
|
|
256
|
+
value: function submitKytManualReview(opts) {
|
|
257
|
+
return this.submitKytManualReviewWithHttpInfo(opts).then(function (response_and_data) {
|
|
258
|
+
return response_and_data.data;
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Submit KYT screening decision
|
|
264
|
+
* This operation submits a KYT (Know Your Transaction) screening decision for a specific transaction based on an external compliance review. Use this endpoint to provide a screening decision (Approval, ApprovalWithAlert, Rejection, or ManualReview) after completing the external KYT screening process. The submitted decision will be recorded for compliance audit purposes and regulatory reporting requirements. <Note>Submitting a screening decision will update the transaction's KYT status and may automatically trigger downstream compliance workflows or notifications depending on the decision type.</Note>
|
|
265
|
+
* @param {Object} opts Optional parameters
|
|
266
|
+
* @param {module:model/SubmitKytScreeningsDecisionsBody} [SubmitKytScreeningsDecisionsBody] The request body to submit a KYT screening decision for a specific transaction based on external compliance review.
|
|
267
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubmitKytResponse} and HTTP response
|
|
268
|
+
*/
|
|
269
|
+
}, {
|
|
270
|
+
key: "submitKytScreeningDecisionsWithHttpInfo",
|
|
271
|
+
value: function submitKytScreeningDecisionsWithHttpInfo(opts) {
|
|
272
|
+
opts = opts || {};
|
|
273
|
+
var postBody = opts['SubmitKytScreeningsDecisionsBody'];
|
|
274
|
+
if (postBody && postBody.toJSON) {
|
|
275
|
+
postBody = postBody.toJSON();
|
|
276
|
+
}
|
|
277
|
+
var pathParams = {};
|
|
278
|
+
var queryParams = {};
|
|
279
|
+
var headerParams = {};
|
|
280
|
+
var formParams = {};
|
|
281
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
282
|
+
var contentTypes = ['application/json'];
|
|
283
|
+
var accepts = ['application/json'];
|
|
284
|
+
var returnType = _SubmitKytResponse["default"];
|
|
285
|
+
return this.apiClient.callApi('/compliance/kyt/screenings/decisions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Submit KYT screening decision
|
|
290
|
+
* This operation submits a KYT (Know Your Transaction) screening decision for a specific transaction based on an external compliance review. Use this endpoint to provide a screening decision (Approval, ApprovalWithAlert, Rejection, or ManualReview) after completing the external KYT screening process. The submitted decision will be recorded for compliance audit purposes and regulatory reporting requirements. <Note>Submitting a screening decision will update the transaction's KYT status and may automatically trigger downstream compliance workflows or notifications depending on the decision type.</Note>
|
|
291
|
+
* @param {Object} opts Optional parameters
|
|
292
|
+
* @param {module:model/SubmitKytScreeningsDecisionsBody} opts.SubmitKytScreeningsDecisionsBody The request body to submit a KYT screening decision for a specific transaction based on external compliance review.
|
|
293
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubmitKytResponse}
|
|
294
|
+
*/
|
|
295
|
+
}, {
|
|
296
|
+
key: "submitKytScreeningDecisions",
|
|
297
|
+
value: function submitKytScreeningDecisions(opts) {
|
|
298
|
+
return this.submitKytScreeningDecisionsWithHttpInfo(opts).then(function (response_and_data) {
|
|
299
|
+
return response_and_data.data;
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
|
|
173
303
|
/**
|
|
174
304
|
* Unfreeze frozen funds
|
|
175
305
|
* This operation creates a request to unfreeze funds for a previously frozen transaction. It releases the frozen funds back to their original state. You only need to specify the transaction ID to be unfrozen. Once unfrozen, the funds will be available for normal operations. <Note>The unfreeze process will release the compliance hold on the transaction, allowing it to proceed normally.</Note>
|
|
@@ -460,7 +460,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
462
|
* Trigger test event
|
|
463
|
-
* This operation tests the functionality of your webhook endpoint by triggering a test webhook event. The test event will be sent to all the endpoints you have registered on Cobo Portal. You only need to provide the event type. By default, the payload contains dummy data with no impact on your real business transactions or activities. You can optionally provide the `override_data` property to customize the payload.
|
|
463
|
+
* This operation tests the functionality of your webhook endpoint by triggering a test webhook event. The test event will be sent to all the endpoints you have registered on Cobo Portal. You only need to provide the event type. By default, the payload contains dummy data with no impact on your real business transactions or activities. You can optionally provide the `override_data` property to customize the payload. <Note>Currently, you can only trigger test webhook events with the event data types `Transaction` and `TSSRequest`.</Note>
|
|
464
464
|
* @param {Object} opts Optional parameters
|
|
465
465
|
* @param {module:model/TriggerTestWebhookEventRequest} [TriggerTestWebhookEventRequest] The request body used to trigger a test webhook event.
|
|
466
466
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TriggerTestWebhookEvent201Response} and HTTP response
|
|
@@ -486,7 +486,7 @@ var DevelopersWebhooksApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* Trigger test event
|
|
489
|
-
* This operation tests the functionality of your webhook endpoint by triggering a test webhook event. The test event will be sent to all the endpoints you have registered on Cobo Portal. You only need to provide the event type. By default, the payload contains dummy data with no impact on your real business transactions or activities. You can optionally provide the `override_data` property to customize the payload.
|
|
489
|
+
* This operation tests the functionality of your webhook endpoint by triggering a test webhook event. The test event will be sent to all the endpoints you have registered on Cobo Portal. You only need to provide the event type. By default, the payload contains dummy data with no impact on your real business transactions or activities. You can optionally provide the `override_data` property to customize the payload. <Note>Currently, you can only trigger test webhook events with the event data types `Transaction` and `TSSRequest`.</Note>
|
|
490
490
|
* @param {Object} opts Optional parameters
|
|
491
491
|
* @param {module:model/TriggerTestWebhookEventRequest} opts.TriggerTestWebhookEventRequest The request body used to trigger a test webhook event.
|
|
492
492
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TriggerTestWebhookEvent201Response}
|
|
@@ -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 _EstimatedFixedFee = _interopRequireDefault(require("../model/EstimatedFixedFee"));
|
|
10
|
+
var _FeeStationCheckFeeStationUsage = _interopRequireDefault(require("../model/FeeStationCheckFeeStationUsage"));
|
|
11
|
+
var _FeeStationCheckFeeStationUsageResponse = _interopRequireDefault(require("../model/FeeStationCheckFeeStationUsageResponse"));
|
|
10
12
|
var _FeeStationTransfer = _interopRequireDefault(require("../model/FeeStationTransfer"));
|
|
11
13
|
var _ListAddresses200Response = _interopRequireDefault(require("../model/ListAddresses200Response"));
|
|
12
14
|
var _ListTokenBalancesForFeeStation200Response = _interopRequireDefault(require("../model/ListTokenBalancesForFeeStation200Response"));
|
|
@@ -46,13 +48,54 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
50
|
-
* This operation
|
|
51
|
+
* Check Fee Station usage
|
|
52
|
+
* This operation evaluates Fee Station usage for the current transaction. It determines whether Fee station can be used, checks if the Fee Station balance is sufficient, and returns a breakdown of the amounts involved, including any portion that must be covered by the user or sponsored in USDT (U).
|
|
51
53
|
* @param {Object} opts Optional parameters
|
|
52
|
-
* @param {module:model/
|
|
53
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
54
|
+
* @param {module:model/FeeStationCheckFeeStationUsage} [FeeStationCheckFeeStationUsage] The information for evaluating Fee Station usage.
|
|
55
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FeeStationCheckFeeStationUsageResponse} and HTTP response
|
|
54
56
|
*/
|
|
55
57
|
return _createClass(FeeStationApi, [{
|
|
58
|
+
key: "checkFeeStationUsageWithHttpInfo",
|
|
59
|
+
value: function checkFeeStationUsageWithHttpInfo(opts) {
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
var postBody = opts['FeeStationCheckFeeStationUsage'];
|
|
62
|
+
if (postBody && postBody.toJSON) {
|
|
63
|
+
postBody = postBody.toJSON();
|
|
64
|
+
}
|
|
65
|
+
var pathParams = {};
|
|
66
|
+
var queryParams = {};
|
|
67
|
+
var headerParams = {};
|
|
68
|
+
var formParams = {};
|
|
69
|
+
var authNames = ['OAuth2', 'CoboAuth'];
|
|
70
|
+
var contentTypes = ['application/json'];
|
|
71
|
+
var accepts = ['application/json'];
|
|
72
|
+
var returnType = _FeeStationCheckFeeStationUsageResponse["default"];
|
|
73
|
+
return this.apiClient.callApi('/fee_station/check_fee_station_usage', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check Fee Station usage
|
|
78
|
+
* This operation evaluates Fee Station usage for the current transaction. It determines whether Fee station can be used, checks if the Fee Station balance is sufficient, and returns a breakdown of the amounts involved, including any portion that must be covered by the user or sponsored in USDT (U).
|
|
79
|
+
* @param {Object} opts Optional parameters
|
|
80
|
+
* @param {module:model/FeeStationCheckFeeStationUsage} opts.FeeStationCheckFeeStationUsage The information for evaluating Fee Station usage.
|
|
81
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FeeStationCheckFeeStationUsageResponse}
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "checkFeeStationUsage",
|
|
85
|
+
value: function checkFeeStationUsage(opts) {
|
|
86
|
+
return this.checkFeeStationUsageWithHttpInfo(opts).then(function (response_and_data) {
|
|
87
|
+
return response_and_data.data;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Estimate fee for Fee Station transaction
|
|
93
|
+
* This operation estimates the gas fee required for a top-up transaction sent by [Fee Station](https://manuals.cobo.com/en/portal/fee-station/introduction) to provide gas to the sender of the original transaction. You need to provide the token ID and transfer amount. For more information about transaction fee models and how fees are calculated, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
|
|
94
|
+
* @param {Object} opts Optional parameters
|
|
95
|
+
* @param {module:model/FeeStationTransfer} [FeeStationTransfer] The information about a Fee Station top-up transaction.
|
|
96
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EstimatedFixedFee} and HTTP response
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
56
99
|
key: "estimateFeeStationFeeWithHttpInfo",
|
|
57
100
|
value: function estimateFeeStationFeeWithHttpInfo(opts) {
|
|
58
101
|
opts = opts || {};
|