@cobo/cobo-waas2 1.24.0 → 1.26.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 +45 -6
- package/dist/ApiClient.js +1 -1
- package/dist/api/AutoSweepApi.js +2 -2
- package/dist/api/ComplianceApi.js +132 -2
- package/dist/api/DevelopersWebhooksApi.js +2 -2
- package/dist/api/FeeStationApi.js +6 -6
- package/dist/api/PaymentApi.js +109 -24
- package/dist/api/TokenizationApi.js +122 -4
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/index.js +217 -14
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AutoFuelType.js +5 -0
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BridgingFee.js +4 -4
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CommissionFee.js +2 -2
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +305 -0
- package/dist/model/CreateCryptoAddressRequest.js +1 -1
- package/dist/model/CreateMerchantRequest.js +2 -2
- package/dist/model/CreateOrderLinkRequest.js +129 -0
- package/dist/model/CreatePaymentOrderRequest.js +21 -8
- package/dist/model/CreateRefundLinkRequest.js +129 -0
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateSettlement.js +2 -28
- package/dist/model/CreateSettlementRequestRequest.js +3 -3
- package/dist/model/CustodialTransferDestination.js +1 -1
- package/dist/model/FeeStationCheckFeeStationUsage.js +28 -10
- package/dist/model/FeeStationCheckFeeStationUsageResponse.js +33 -20
- package/dist/model/FeeStationSponsorTransactionDescription.js +125 -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/MPCVaultEventData.js +8 -3
- package/dist/model/Merchant.js +3 -3
- package/dist/model/MerchantBalance.js +1 -1
- 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 +3 -3
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentEstimateFee.js +4 -4
- package/dist/model/PaymentEstimateFee201Response.js +1 -0
- package/dist/model/PaymentEstimateFeeRequest.js +2 -1
- package/dist/model/PaymentEstimatedFee.js +4 -4
- package/dist/model/PaymentOrderEventData.js +26 -3
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +12 -7
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PspBalance.js +1 -1
- package/dist/model/RefundLinkBusinessInfo.js +162 -0
- package/dist/model/RefundStatus.js +10 -0
- package/dist/model/ReviewStatusType.js +91 -0
- package/dist/model/Settlement.js +2 -2
- package/dist/model/SubmitKytResponse.js +122 -0
- package/dist/model/SubmitKytScreeningsDecisionsBody.js +122 -0
- package/dist/model/SubmitKytScreeningsReviewBody.js +122 -0
- package/dist/model/SupportedToken.js +1 -1
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SwapQuote.js +18 -18
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokenizationERC20TokenParams.js +5 -5
- package/dist/model/{TokenizationTokenPermissionParams.js → TokenizationERC20TokenPermissionParams.js} +23 -23
- package/dist/model/TokenizationERC20WrappedTokenParams.js +177 -0
- package/dist/model/TokenizationERC20WrappedTokenPermissionParams.js +166 -0
- package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +38 -11
- package/dist/model/TokenizationIssueTokenParamsTokenParams.js +72 -10
- package/dist/model/TokenizationListPermissionsResponse.js +146 -0
- package/dist/model/TokenizationListPermissionsResponseDataInner.js +126 -0
- package/dist/model/TokenizationOperationType.js +5 -0
- package/dist/model/TokenizationPermissionAction.js +66 -0
- package/dist/model/TokenizationSOLWrappedTokenParams.js +177 -0
- package/dist/model/TokenizationSolWrappedTokenPermissionParams.js +127 -0
- package/dist/model/TokenizationTokenDetailInfo.js +51 -5
- package/dist/model/TokenizationTokenInfo.js +26 -4
- package/dist/model/TokenizationTokenPermissionType.js +5 -0
- package/dist/model/TokenizationTokenStandard.js +10 -0
- package/dist/model/{TokenizationTokenPermissionsResponse.js → TokenizationUpdateAddressPermissions.js} +51 -53
- package/dist/model/TokenizationUpdatePermissionsEstimateFeeParams.js +198 -0
- package/dist/model/TokenizationUpdatePermissionsParams.js +145 -0
- package/dist/model/TokenizationUpdatePermissionsRequest.js +213 -0
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/TransactionCoboCategory.js +35 -0
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +64 -12
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +10 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AutoFuelType.md +2 -0
- package/docs/AutoSweepApi.md +2 -2
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BridgingFee.md +3 -3
- package/docs/ChainsEventData.md +3 -1
- package/docs/CommissionFee.md +1 -1
- package/docs/ComplianceApi.md +158 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +57 -0
- package/docs/CreateCryptoAddressRequest.md +1 -1
- package/docs/CreateMerchantRequest.md +2 -2
- package/docs/CreateOrderLinkRequest.md +10 -0
- package/docs/CreatePaymentOrderRequest.md +6 -5
- package/docs/CreateRefundLinkRequest.md +10 -0
- package/docs/CreateRefundRequest.md +2 -2
- package/docs/CreateSettlement.md +1 -3
- package/docs/CreateSettlementRequestRequest.md +3 -3
- package/docs/DevelopersWebhooksApi.md +1 -1
- package/docs/FeeStationApi.md +4 -4
- package/docs/FeeStationCheckFeeStationUsage.md +4 -2
- package/docs/FeeStationCheckFeeStationUsageResponse.md +4 -3
- package/docs/FeeStationSponsorTransactionDescription.md +10 -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/MPCVaultEventData.md +3 -1
- package/docs/Merchant.md +2 -2
- package/docs/MerchantBalance.md +1 -1
- package/docs/Order.md +1 -0
- package/docs/OrderLinkBusinessInfo.md +19 -0
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +10 -0
- package/docs/OtcFee.md +2 -2
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentApi.md +118 -12
- package/docs/PaymentEstimateFee.md +2 -2
- package/docs/PaymentEstimateFee201Response.md +1 -1
- package/docs/PaymentEstimateFeeRequest.md +1 -1
- package/docs/PaymentEstimatedFee.md +2 -2
- package/docs/PaymentOrderEventData.md +4 -1
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +5 -3
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +1 -1
- package/docs/RefundLinkBusinessInfo.md +13 -0
- package/docs/RefundStatus.md +4 -0
- package/docs/ReviewStatusType.md +24 -0
- package/docs/Settlement.md +2 -2
- package/docs/SubmitKytResponse.md +10 -0
- package/docs/SubmitKytScreeningsDecisionsBody.md +10 -0
- package/docs/SubmitKytScreeningsReviewBody.md +10 -0
- package/docs/SupportedToken.md +1 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/SwapQuote.md +10 -10
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokenizationApi.md +120 -2
- package/docs/TokenizationERC20TokenParams.md +1 -1
- package/docs/{TokenizationTokenPermissionParams.md → TokenizationERC20TokenPermissionParams.md} +1 -1
- package/docs/TokenizationERC20WrappedTokenParams.md +14 -0
- package/docs/TokenizationERC20WrappedTokenPermissionParams.md +15 -0
- package/docs/TokenizationEstimateFeeRequestOperationParams.md +1 -1
- package/docs/TokenizationIssueTokenParamsTokenParams.md +2 -1
- package/docs/TokenizationListPermissionsResponse.md +10 -0
- package/docs/TokenizationListPermissionsResponseDataInner.md +10 -0
- package/docs/TokenizationOperationType.md +2 -0
- package/docs/TokenizationPermissionAction.md +14 -0
- package/docs/TokenizationSOLWrappedTokenParams.md +14 -0
- package/docs/TokenizationSolWrappedTokenPermissionParams.md +12 -0
- package/docs/TokenizationTokenDetailInfo.md +3 -0
- package/docs/TokenizationTokenInfo.md +2 -0
- package/docs/TokenizationTokenPermissionType.md +2 -0
- package/docs/TokenizationTokenStandard.md +4 -0
- package/docs/TokenizationUpdateAddressPermissions.md +11 -0
- package/docs/TokenizationUpdatePermissionsEstimateFeeParams.md +13 -0
- package/docs/TokenizationUpdatePermissionsParams.md +10 -0
- package/docs/TokenizationUpdatePermissionsRequest.md +13 -0
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionCoboCategory.md +14 -0
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +2 -2
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WebhookEventData.md +10 -4
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
- package/docs/TokenizationTokenPermissionsResponse.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.26.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)
|
|
@@ -78,13 +78,16 @@ Class | Method | HTTP request | Description
|
|
|
78
78
|
*CoboWaas2.AppWorkflowsApi* | [**listApprovalRequests**](docs/AppWorkflowsApi.md#listApprovalRequests) | **GET** /app/workflows/approval_requests | List approval requests
|
|
79
79
|
*CoboWaas2.AppWorkflowsApi* | [**revokeApprovalRequest**](docs/AppWorkflowsApi.md#revokeApprovalRequest) | **POST** /app/workflows/approval_requests/{approval_id}/revoke | Revoke approval request
|
|
80
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 |
|
|
81
|
+
*CoboWaas2.AutoSweepApi* | [**createWalletSweepToAddresses**](docs/AutoSweepApi.md#createWalletSweepToAddresses) | **POST** /auto_sweep/sweep_to_addresses | Create sweep-to address
|
|
82
82
|
*CoboWaas2.AutoSweepApi* | [**getAutoSweepTaskById**](docs/AutoSweepApi.md#getAutoSweepTaskById) | **GET** /auto_sweep/tasks/{task_id} | Get auto-sweep task details
|
|
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
|
|
@@ -100,7 +103,7 @@ Class | Method | HTTP request | Description
|
|
|
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
|
|
102
105
|
*CoboWaas2.FeeStationApi* | [**checkFeeStationUsage**](docs/FeeStationApi.md#checkFeeStationUsage) | **POST** /fee_station/check_fee_station_usage | Check Fee Station usage
|
|
103
|
-
*CoboWaas2.FeeStationApi* | [**estimateFeeStationFee**](docs/FeeStationApi.md#estimateFeeStationFee) | **POST** /fee_station/transactions/estimate_fee | Estimate fee
|
|
106
|
+
*CoboWaas2.FeeStationApi* | [**estimateFeeStationFee**](docs/FeeStationApi.md#estimateFeeStationFee) | **POST** /fee_station/transactions/estimate_fee | Estimate transaction fee
|
|
104
107
|
*CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get Fee Station transaction information
|
|
105
108
|
*CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
|
|
106
109
|
*CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all Fee Station transactions
|
|
@@ -114,8 +117,10 @@ Class | Method | HTTP request | Description
|
|
|
114
117
|
*CoboWaas2.PaymentApi* | [**createCryptoAddress**](docs/PaymentApi.md#createCryptoAddress) | **POST** /payments/crypto_addresses | Create crypto address
|
|
115
118
|
*CoboWaas2.PaymentApi* | [**createForcedSweepRequest**](docs/PaymentApi.md#createForcedSweepRequest) | **POST** /payments/force_sweep_requests | Create forced sweep
|
|
116
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
|
|
117
121
|
*CoboWaas2.PaymentApi* | [**createPaymentOrder**](docs/PaymentApi.md#createPaymentOrder) | **POST** /payments/orders | Create pay-in order
|
|
118
122
|
*CoboWaas2.PaymentApi* | [**createRefund**](docs/PaymentApi.md#createRefund) | **POST** /payments/refunds | Create refund order
|
|
123
|
+
*CoboWaas2.PaymentApi* | [**createRefundLink**](docs/PaymentApi.md#createRefundLink) | **POST** /payments/links/refunds | Create refund link
|
|
119
124
|
*CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
|
|
120
125
|
*CoboWaas2.PaymentApi* | [**deleteCryptoAddress**](docs/PaymentApi.md#deleteCryptoAddress) | **POST** /payments/crypto_addresses/{crypto_address_id}/delete | Delete crypto address
|
|
121
126
|
*CoboWaas2.PaymentApi* | [**getExchangeRate**](docs/PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
|
|
@@ -139,7 +144,7 @@ Class | Method | HTTP request | Description
|
|
|
139
144
|
*CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
|
|
140
145
|
*CoboWaas2.PaymentApi* | [**listTopUpPayerAccounts**](docs/PaymentApi.md#listTopUpPayerAccounts) | **GET** /payments/topup/payer_accounts | List top-up payer accounts
|
|
141
146
|
*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 |
|
|
147
|
+
*CoboWaas2.PaymentApi* | [**paymentEstimateFee**](docs/PaymentApi.md#paymentEstimateFee) | **POST** /payments/estimate_fee | Estimate fees
|
|
143
148
|
*CoboWaas2.PaymentApi* | [**updateBankAccountById**](docs/PaymentApi.md#updateBankAccountById) | **PUT** /payments/bank_accounts/{bank_account_id} | Update bank account
|
|
144
149
|
*CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
|
|
145
150
|
*CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
|
|
@@ -188,6 +193,7 @@ Class | Method | HTTP request | Description
|
|
|
188
193
|
*CoboWaas2.TokenizationApi* | [**listTokenizationAllowlistAddresses**](docs/TokenizationApi.md#listTokenizationAllowlistAddresses) | **GET** /tokenization/tokens/{token_id}/allowlist/addresses | List addresses on allowlist
|
|
189
194
|
*CoboWaas2.TokenizationApi* | [**listTokenizationBlocklistAddresses**](docs/TokenizationApi.md#listTokenizationBlocklistAddresses) | **GET** /tokenization/tokens/{token_id}/blocklist/addresses | List addresses on blocklist
|
|
190
195
|
*CoboWaas2.TokenizationApi* | [**listTokenizationHoldings**](docs/TokenizationApi.md#listTokenizationHoldings) | **GET** /tokenization/tokens/{token_id}/holdings | Get token holdings information
|
|
196
|
+
*CoboWaas2.TokenizationApi* | [**listTokenizationPermissions**](docs/TokenizationApi.md#listTokenizationPermissions) | **GET** /tokenization/tokens/{token_id}/permissions | List token permissions
|
|
191
197
|
*CoboWaas2.TokenizationApi* | [**listTokenizationSupportedChains**](docs/TokenizationApi.md#listTokenizationSupportedChains) | **GET** /tokenization/enabled_chains | List supported chains for tokenization
|
|
192
198
|
*CoboWaas2.TokenizationApi* | [**mintTokenization**](docs/TokenizationApi.md#mintTokenization) | **POST** /tokenization/tokens/{token_id}/mint | Mint tokens
|
|
193
199
|
*CoboWaas2.TokenizationApi* | [**pauseTokenization**](docs/TokenizationApi.md#pauseTokenization) | **POST** /tokenization/tokens/{token_id}/pause | Pause token contract
|
|
@@ -196,6 +202,7 @@ Class | Method | HTTP request | Description
|
|
|
196
202
|
*CoboWaas2.TokenizationApi* | [**updateTokenizationAllowlistActivation**](docs/TokenizationApi.md#updateTokenizationAllowlistActivation) | **POST** /tokenization/tokens/{token_id}/allowlist/activation | Activate or deactivate allowlist
|
|
197
203
|
*CoboWaas2.TokenizationApi* | [**updateTokenizationAllowlistAddresses**](docs/TokenizationApi.md#updateTokenizationAllowlistAddresses) | **POST** /tokenization/tokens/{token_id}/allowlist/addresses | Update addresses on allowlist
|
|
198
204
|
*CoboWaas2.TokenizationApi* | [**updateTokenizationBlocklistAddresses**](docs/TokenizationApi.md#updateTokenizationBlocklistAddresses) | **POST** /tokenization/tokens/{token_id}/blocklist/addresses | Update addresses on blocklist
|
|
205
|
+
*CoboWaas2.TokenizationApi* | [**updateTokenizationPermissions**](docs/TokenizationApi.md#updateTokenizationPermissions) | **POST** /tokenization/tokens/{token_id}/permissions | Update token permissions
|
|
199
206
|
*CoboWaas2.TransactionsApi* | [**broadcastSignedTransactions**](docs/TransactionsApi.md#broadcastSignedTransactions) | **POST** /transactions/broadcast | Broadcast signed transactions
|
|
200
207
|
*CoboWaas2.TransactionsApi* | [**cancelTransactionById**](docs/TransactionsApi.md#cancelTransactionById) | **POST** /transactions/{transaction_id}/cancel | Cancel transaction
|
|
201
208
|
*CoboWaas2.TransactionsApi* | [**checkLoopTransfers**](docs/TransactionsApi.md#checkLoopTransfers) | **GET** /transactions/check_loop_transfers | Check Cobo Loop transfers
|
|
@@ -355,6 +362,7 @@ Class | Method | HTTP request | Description
|
|
|
355
362
|
- [CoboWaas2.CoboSafeDelegateType](docs/CoboSafeDelegateType.md)
|
|
356
363
|
- [CoboWaas2.CommissionFee](docs/CommissionFee.md)
|
|
357
364
|
- [CoboWaas2.ComplianceDispositionUpdateEventData](docs/ComplianceDispositionUpdateEventData.md)
|
|
365
|
+
- [CoboWaas2.ComplianceKytScreeningsUpdateEventData](docs/ComplianceKytScreeningsUpdateEventData.md)
|
|
358
366
|
- [CoboWaas2.ContractCallDestination](docs/ContractCallDestination.md)
|
|
359
367
|
- [CoboWaas2.ContractCallDestinationType](docs/ContractCallDestinationType.md)
|
|
360
368
|
- [CoboWaas2.ContractCallParams](docs/ContractCallParams.md)
|
|
@@ -387,9 +395,11 @@ Class | Method | HTTP request | Description
|
|
|
387
395
|
- [CoboWaas2.CreateMpcProjectRequest](docs/CreateMpcProjectRequest.md)
|
|
388
396
|
- [CoboWaas2.CreateMpcVaultRequest](docs/CreateMpcVaultRequest.md)
|
|
389
397
|
- [CoboWaas2.CreateMpcWalletParams](docs/CreateMpcWalletParams.md)
|
|
398
|
+
- [CoboWaas2.CreateOrderLinkRequest](docs/CreateOrderLinkRequest.md)
|
|
390
399
|
- [CoboWaas2.CreatePaymentOrderRequest](docs/CreatePaymentOrderRequest.md)
|
|
391
400
|
- [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
|
|
392
401
|
- [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
|
|
402
|
+
- [CoboWaas2.CreateRefundLinkRequest](docs/CreateRefundLinkRequest.md)
|
|
393
403
|
- [CoboWaas2.CreateRefundRequest](docs/CreateRefundRequest.md)
|
|
394
404
|
- [CoboWaas2.CreateSafeWalletParams](docs/CreateSafeWalletParams.md)
|
|
395
405
|
- [CoboWaas2.CreateSettlement](docs/CreateSettlement.md)
|
|
@@ -486,6 +496,7 @@ Class | Method | HTTP request | Description
|
|
|
486
496
|
- [CoboWaas2.FeeStationCheckFeeStationUsageResponse](docs/FeeStationCheckFeeStationUsageResponse.md)
|
|
487
497
|
- [CoboWaas2.FeeStationDestination](docs/FeeStationDestination.md)
|
|
488
498
|
- [CoboWaas2.FeeStationGasStationType](docs/FeeStationGasStationType.md)
|
|
499
|
+
- [CoboWaas2.FeeStationSponsorTransactionDescription](docs/FeeStationSponsorTransactionDescription.md)
|
|
489
500
|
- [CoboWaas2.FeeStationTransactionType](docs/FeeStationTransactionType.md)
|
|
490
501
|
- [CoboWaas2.FeeStationTransfer](docs/FeeStationTransfer.md)
|
|
491
502
|
- [CoboWaas2.FeeType](docs/FeeType.md)
|
|
@@ -493,6 +504,7 @@ Class | Method | HTTP request | Description
|
|
|
493
504
|
- [CoboWaas2.ForcedSweep](docs/ForcedSweep.md)
|
|
494
505
|
- [CoboWaas2.ForcedSweepRequest](docs/ForcedSweepRequest.md)
|
|
495
506
|
- [CoboWaas2.ForcedSweepStatus](docs/ForcedSweepStatus.md)
|
|
507
|
+
- [CoboWaas2.FundsStatusType](docs/FundsStatusType.md)
|
|
496
508
|
- [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
|
|
497
509
|
- [CoboWaas2.GetExchangeRate200Response](docs/GetExchangeRate200Response.md)
|
|
498
510
|
- [CoboWaas2.GetMaxTransferableValueWithFeeModelRequest](docs/GetMaxTransferableValueWithFeeModelRequest.md)
|
|
@@ -516,6 +528,13 @@ Class | Method | HTTP request | Description
|
|
|
516
528
|
- [CoboWaas2.KeyShareHolderGroupType](docs/KeyShareHolderGroupType.md)
|
|
517
529
|
- [CoboWaas2.KeyShareHolderStatus](docs/KeyShareHolderStatus.md)
|
|
518
530
|
- [CoboWaas2.KeyShareHolderType](docs/KeyShareHolderType.md)
|
|
531
|
+
- [CoboWaas2.KytScreeningsDecisionsType](docs/KytScreeningsDecisionsType.md)
|
|
532
|
+
- [CoboWaas2.KytScreeningsEventData](docs/KytScreeningsEventData.md)
|
|
533
|
+
- [CoboWaas2.KytScreeningsReviewType](docs/KytScreeningsReviewType.md)
|
|
534
|
+
- [CoboWaas2.KytScreeningsTransaction](docs/KytScreeningsTransaction.md)
|
|
535
|
+
- [CoboWaas2.KytScreeningsTransactionType](docs/KytScreeningsTransactionType.md)
|
|
536
|
+
- [CoboWaas2.Link](docs/Link.md)
|
|
537
|
+
- [CoboWaas2.LinkDisplayInfo](docs/LinkDisplayInfo.md)
|
|
519
538
|
- [CoboWaas2.ListAddressBalancesByToken200Response](docs/ListAddressBalancesByToken200Response.md)
|
|
520
539
|
- [CoboWaas2.ListAddressBooks200Response](docs/ListAddressBooks200Response.md)
|
|
521
540
|
- [CoboWaas2.ListAddresses200Response](docs/ListAddresses200Response.md)
|
|
@@ -591,6 +610,8 @@ Class | Method | HTTP request | Description
|
|
|
591
610
|
- [CoboWaas2.MpcStakeSource](docs/MpcStakeSource.md)
|
|
592
611
|
- [CoboWaas2.MpcTransferSource](docs/MpcTransferSource.md)
|
|
593
612
|
- [CoboWaas2.Order](docs/Order.md)
|
|
613
|
+
- [CoboWaas2.OrderLinkBusinessInfo](docs/OrderLinkBusinessInfo.md)
|
|
614
|
+
- [CoboWaas2.OrderLinkBusinessInfoCustomExchangeRatesInner](docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md)
|
|
594
615
|
- [CoboWaas2.OrderStatus](docs/OrderStatus.md)
|
|
595
616
|
- [CoboWaas2.OrgInfo](docs/OrgInfo.md)
|
|
596
617
|
- [CoboWaas2.OtcFee](docs/OtcFee.md)
|
|
@@ -630,12 +651,14 @@ Class | Method | HTTP request | Description
|
|
|
630
651
|
- [CoboWaas2.RefreshTokenRequest](docs/RefreshTokenRequest.md)
|
|
631
652
|
- [CoboWaas2.Refund](docs/Refund.md)
|
|
632
653
|
- [CoboWaas2.RefundDisposition](docs/RefundDisposition.md)
|
|
654
|
+
- [CoboWaas2.RefundLinkBusinessInfo](docs/RefundLinkBusinessInfo.md)
|
|
633
655
|
- [CoboWaas2.RefundStatus](docs/RefundStatus.md)
|
|
634
656
|
- [CoboWaas2.RefundType](docs/RefundType.md)
|
|
635
657
|
- [CoboWaas2.ReplaceType](docs/ReplaceType.md)
|
|
636
658
|
- [CoboWaas2.RequestApproval](docs/RequestApproval.md)
|
|
637
659
|
- [CoboWaas2.RetryCallbackMessage201Response](docs/RetryCallbackMessage201Response.md)
|
|
638
660
|
- [CoboWaas2.RetryWebhookEventById201Response](docs/RetryWebhookEventById201Response.md)
|
|
661
|
+
- [CoboWaas2.ReviewStatusType](docs/ReviewStatusType.md)
|
|
639
662
|
- [CoboWaas2.RevokeApprovalRequest201Response](docs/RevokeApprovalRequest201Response.md)
|
|
640
663
|
- [CoboWaas2.RevokeApprovalRequestRequest](docs/RevokeApprovalRequestRequest.md)
|
|
641
664
|
- [CoboWaas2.RoleDetail](docs/RoleDetail.md)
|
|
@@ -684,6 +707,9 @@ Class | Method | HTTP request | Description
|
|
|
684
707
|
- [CoboWaas2.StellarContractCallTrustLineParam](docs/StellarContractCallTrustLineParam.md)
|
|
685
708
|
- [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
|
|
686
709
|
- [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
|
|
710
|
+
- [CoboWaas2.SubmitKytResponse](docs/SubmitKytResponse.md)
|
|
711
|
+
- [CoboWaas2.SubmitKytScreeningsDecisionsBody](docs/SubmitKytScreeningsDecisionsBody.md)
|
|
712
|
+
- [CoboWaas2.SubmitKytScreeningsReviewBody](docs/SubmitKytScreeningsReviewBody.md)
|
|
687
713
|
- [CoboWaas2.SupportedToken](docs/SupportedToken.md)
|
|
688
714
|
- [CoboWaas2.SuspendedTokenEventData](docs/SuspendedTokenEventData.md)
|
|
689
715
|
- [CoboWaas2.SuspendedTokenOperationType](docs/SuspendedTokenOperationType.md)
|
|
@@ -768,6 +794,9 @@ Class | Method | HTTP request | Description
|
|
|
768
794
|
- [CoboWaas2.TokenizationContractCallRequest](docs/TokenizationContractCallRequest.md)
|
|
769
795
|
- [CoboWaas2.TokenizationContractCallType](docs/TokenizationContractCallType.md)
|
|
770
796
|
- [CoboWaas2.TokenizationERC20TokenParams](docs/TokenizationERC20TokenParams.md)
|
|
797
|
+
- [CoboWaas2.TokenizationERC20TokenPermissionParams](docs/TokenizationERC20TokenPermissionParams.md)
|
|
798
|
+
- [CoboWaas2.TokenizationERC20WrappedTokenParams](docs/TokenizationERC20WrappedTokenParams.md)
|
|
799
|
+
- [CoboWaas2.TokenizationERC20WrappedTokenPermissionParams](docs/TokenizationERC20WrappedTokenPermissionParams.md)
|
|
771
800
|
- [CoboWaas2.TokenizationEstimateFeeRequest](docs/TokenizationEstimateFeeRequest.md)
|
|
772
801
|
- [CoboWaas2.TokenizationEstimateFeeRequestOperationParams](docs/TokenizationEstimateFeeRequestOperationParams.md)
|
|
773
802
|
- [CoboWaas2.TokenizationEvmContractCallParams](docs/TokenizationEvmContractCallParams.md)
|
|
@@ -779,6 +808,8 @@ Class | Method | HTTP request | Description
|
|
|
779
808
|
- [CoboWaas2.TokenizationListActivitiesResponse](docs/TokenizationListActivitiesResponse.md)
|
|
780
809
|
- [CoboWaas2.TokenizationListEnabledChainsResponse](docs/TokenizationListEnabledChainsResponse.md)
|
|
781
810
|
- [CoboWaas2.TokenizationListHoldingsResponse](docs/TokenizationListHoldingsResponse.md)
|
|
811
|
+
- [CoboWaas2.TokenizationListPermissionsResponse](docs/TokenizationListPermissionsResponse.md)
|
|
812
|
+
- [CoboWaas2.TokenizationListPermissionsResponseDataInner](docs/TokenizationListPermissionsResponseDataInner.md)
|
|
782
813
|
- [CoboWaas2.TokenizationListTokenInfoResponse](docs/TokenizationListTokenInfoResponse.md)
|
|
783
814
|
- [CoboWaas2.TokenizationMintEstimateFeeParams](docs/TokenizationMintEstimateFeeParams.md)
|
|
784
815
|
- [CoboWaas2.TokenizationMintTokenParams](docs/TokenizationMintTokenParams.md)
|
|
@@ -791,23 +822,25 @@ Class | Method | HTTP request | Description
|
|
|
791
822
|
- [CoboWaas2.TokenizationPauseEstimateFeeParams](docs/TokenizationPauseEstimateFeeParams.md)
|
|
792
823
|
- [CoboWaas2.TokenizationPauseTokenParams](docs/TokenizationPauseTokenParams.md)
|
|
793
824
|
- [CoboWaas2.TokenizationPauseTokenRequest](docs/TokenizationPauseTokenRequest.md)
|
|
825
|
+
- [CoboWaas2.TokenizationPermissionAction](docs/TokenizationPermissionAction.md)
|
|
794
826
|
- [CoboWaas2.TokenizationSOLTokenParams](docs/TokenizationSOLTokenParams.md)
|
|
827
|
+
- [CoboWaas2.TokenizationSOLWrappedTokenParams](docs/TokenizationSOLWrappedTokenParams.md)
|
|
795
828
|
- [CoboWaas2.TokenizationSolContractCallParams](docs/TokenizationSolContractCallParams.md)
|
|
796
829
|
- [CoboWaas2.TokenizationSolTokenPermissionParams](docs/TokenizationSolTokenPermissionParams.md)
|
|
830
|
+
- [CoboWaas2.TokenizationSolWrappedTokenPermissionParams](docs/TokenizationSolWrappedTokenPermissionParams.md)
|
|
797
831
|
- [CoboWaas2.TokenizationStatus](docs/TokenizationStatus.md)
|
|
798
832
|
- [CoboWaas2.TokenizationToggleAllowlistEstimateFeeParams](docs/TokenizationToggleAllowlistEstimateFeeParams.md)
|
|
799
833
|
- [CoboWaas2.TokenizationTokenDetailInfo](docs/TokenizationTokenDetailInfo.md)
|
|
800
834
|
- [CoboWaas2.TokenizationTokenInfo](docs/TokenizationTokenInfo.md)
|
|
801
835
|
- [CoboWaas2.TokenizationTokenOperationSource](docs/TokenizationTokenOperationSource.md)
|
|
802
836
|
- [CoboWaas2.TokenizationTokenPermission](docs/TokenizationTokenPermission.md)
|
|
803
|
-
- [CoboWaas2.TokenizationTokenPermissionParams](docs/TokenizationTokenPermissionParams.md)
|
|
804
837
|
- [CoboWaas2.TokenizationTokenPermissionType](docs/TokenizationTokenPermissionType.md)
|
|
805
|
-
- [CoboWaas2.TokenizationTokenPermissionsResponse](docs/TokenizationTokenPermissionsResponse.md)
|
|
806
838
|
- [CoboWaas2.TokenizationTokenStandard](docs/TokenizationTokenStandard.md)
|
|
807
839
|
- [CoboWaas2.TokenizationUnpauseEstimateFeeParams](docs/TokenizationUnpauseEstimateFeeParams.md)
|
|
808
840
|
- [CoboWaas2.TokenizationUnpauseTokenParams](docs/TokenizationUnpauseTokenParams.md)
|
|
809
841
|
- [CoboWaas2.TokenizationUnpauseTokenRequest](docs/TokenizationUnpauseTokenRequest.md)
|
|
810
842
|
- [CoboWaas2.TokenizationUpdateAddressAction](docs/TokenizationUpdateAddressAction.md)
|
|
843
|
+
- [CoboWaas2.TokenizationUpdateAddressPermissions](docs/TokenizationUpdateAddressPermissions.md)
|
|
811
844
|
- [CoboWaas2.TokenizationUpdateAllowlistAddressesEstimateFeeParams](docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md)
|
|
812
845
|
- [CoboWaas2.TokenizationUpdateAllowlistAddressesParams](docs/TokenizationUpdateAllowlistAddressesParams.md)
|
|
813
846
|
- [CoboWaas2.TokenizationUpdateAllowlistAddressesParamsAddressesInner](docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md)
|
|
@@ -816,6 +849,9 @@ Class | Method | HTTP request | Description
|
|
|
816
849
|
- [CoboWaas2.TokenizationUpdateBlocklistAddressesParams](docs/TokenizationUpdateBlocklistAddressesParams.md)
|
|
817
850
|
- [CoboWaas2.TokenizationUpdateBlocklistAddressesParamsAddressesInner](docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md)
|
|
818
851
|
- [CoboWaas2.TokenizationUpdateBlocklistAddressesRequest](docs/TokenizationUpdateBlocklistAddressesRequest.md)
|
|
852
|
+
- [CoboWaas2.TokenizationUpdatePermissionsEstimateFeeParams](docs/TokenizationUpdatePermissionsEstimateFeeParams.md)
|
|
853
|
+
- [CoboWaas2.TokenizationUpdatePermissionsParams](docs/TokenizationUpdatePermissionsParams.md)
|
|
854
|
+
- [CoboWaas2.TokenizationUpdatePermissionsRequest](docs/TokenizationUpdatePermissionsRequest.md)
|
|
819
855
|
- [CoboWaas2.TokenizationWeb3OperationSource](docs/TokenizationWeb3OperationSource.md)
|
|
820
856
|
- [CoboWaas2.TokensEventData](docs/TokensEventData.md)
|
|
821
857
|
- [CoboWaas2.TopUpAddress](docs/TopUpAddress.md)
|
|
@@ -1047,4 +1083,7 @@ Authentication schemes defined for the API:
|
|
|
1047
1083
|
- compliance_funds.isolate: Isolate compliance funds request
|
|
1048
1084
|
- compliance_funds.unfreeze: Unfreeze compliance funds request
|
|
1049
1085
|
- compliance_funds.read: Read compliance funds request information
|
|
1086
|
+
- compliance_kyt_review.update: Update KYT review status
|
|
1087
|
+
- compliance_kyt_decisions.update: Update KYT decision status
|
|
1088
|
+
- compliance_kyt_status.read: Read KYT screening status
|
|
1050
1089
|
|
package/dist/ApiClient.js
CHANGED
package/dist/api/AutoSweepApi.js
CHANGED
|
@@ -87,7 +87,7 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Create sweep-to address
|
|
91
91
|
* This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created. Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination. <Note>Sweep-to addresses are only applicable to MPC Wallets and Web3 Wallets with the auto-sweep feature enabled.</Note>
|
|
92
92
|
* @param {Object} opts Optional parameters
|
|
93
93
|
* @param {module:model/CreateSweepToAddress} [CreateSweepToAddress] The request body to generates a new sweep-to address within a specified wallet.
|
|
@@ -113,7 +113,7 @@ var AutoSweepApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* Create sweep-to address
|
|
117
117
|
* This operation creates a new sweep-to address for the specified wallet. The previously sweep-to address for the same token becomes invalid once the new one is created. Use this operation to change the sweep-to address when your setup changes, you switch networks, or the current address is compromised or tainted by suspicious funds. You can withdraw any remaining balances from the old sweep-to addresses to the new address or another designated destination. <Note>Sweep-to addresses are only applicable to MPC Wallets and Web3 Wallets with the auto-sweep feature enabled.</Note>
|
|
118
118
|
* @param {Object} opts Optional parameters
|
|
119
119
|
* @param {module:model/CreateSweepToAddress} opts.CreateSweepToAddress The request body to generates a new sweep-to address within a specified wallet.
|
|
@@ -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 a 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 a 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}
|
|
@@ -49,7 +49,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
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
|
|
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 USD stablecoin.
|
|
53
53
|
* @param {Object} opts Optional parameters
|
|
54
54
|
* @param {module:model/FeeStationCheckFeeStationUsage} [FeeStationCheckFeeStationUsage] The information for evaluating Fee Station usage.
|
|
55
55
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FeeStationCheckFeeStationUsageResponse} and HTTP response
|
|
@@ -75,7 +75,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
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
|
|
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 USD stablecoin.
|
|
79
79
|
* @param {Object} opts Optional parameters
|
|
80
80
|
* @param {module:model/FeeStationCheckFeeStationUsage} opts.FeeStationCheckFeeStationUsage The information for evaluating Fee Station usage.
|
|
81
81
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FeeStationCheckFeeStationUsageResponse}
|
|
@@ -89,8 +89,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Estimate fee
|
|
93
|
-
* This operation
|
|
92
|
+
* Estimate transaction fee
|
|
93
|
+
* <Note>This operation is **deprecated**. Please use the enhanced version [Check Fee Station usage](https://www.cobo.com/developers/v2/api-references/feestation/check-fee-station-usage) instead.</Note> This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity. You need to specify the transaction information, including destination address, token ID. The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
|
|
94
94
|
* @param {Object} opts Optional parameters
|
|
95
95
|
* @param {module:model/FeeStationTransfer} [FeeStationTransfer] The information about a Fee Station top-up transaction.
|
|
96
96
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EstimatedFixedFee} and HTTP response
|
|
@@ -115,8 +115,8 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* Estimate fee
|
|
119
|
-
* This operation
|
|
118
|
+
* Estimate transaction fee
|
|
119
|
+
* <Note>This operation is **deprecated**. Please use the enhanced version [Check Fee Station usage](https://www.cobo.com/developers/v2/api-references/feestation/check-fee-station-usage) instead.</Note> This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity. You need to specify the transaction information, including destination address, token ID. The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
|
|
120
120
|
* @param {Object} opts Optional parameters
|
|
121
121
|
* @param {module:model/FeeStationTransfer} opts.FeeStationTransfer The information about a Fee Station top-up transaction.
|
|
122
122
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EstimatedFixedFee}
|