@cobo/cobo-waas2 1.28.0 → 1.29.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 +66 -9
- package/dist/ApiClient.js +1 -1
- package/dist/api/AutoSweepApi.js +2 -2
- package/dist/api/ComplianceApi.js +144 -4
- package/dist/api/FeeStationApi.js +2 -2
- package/dist/api/PaymentApi.js +960 -85
- package/dist/api/StakingsApi.js +2 -2
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/index.js +245 -0
- package/dist/model/AddressRiskLevel.js +71 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AllocationRecord.js +8 -5
- package/dist/model/AllocationRequest.js +10 -7
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BatchAllocation.js +1 -1
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/CommissionFee.js +2 -2
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +341 -0
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
- package/dist/model/ContractCallParams.js +2 -2
- package/dist/model/CounterpartyWalletAddressDetail.js +2 -2
- package/dist/model/CreateBatchAllocationRequest.js +2 -2
- package/dist/model/CreateCounterpartyEntry201Response.js +143 -0
- package/dist/model/CreateCounterpartyEntryRequest.js +141 -0
- package/dist/model/CreateDestinationEntry201Response.js +172 -0
- package/dist/model/CreateDestinationEntryRequest.js +172 -0
- package/dist/model/CreateKyaScreeningsBody.js +129 -0
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreatePaymentOrderRequest.js +11 -11
- package/dist/model/CreatePayoutRequest.js +5 -5
- package/dist/model/CreateRefundRequest.js +2 -2
- package/dist/model/CreateReportRequest.js +156 -0
- package/dist/model/CreateWalletAddress.js +2 -2
- package/dist/model/DeleteCounterpartyById200Response.js +110 -0
- package/dist/model/DeleteCounterpartyEntry200Response.js +110 -0
- package/dist/model/DeleteDestinationById200Response.js +110 -0
- package/dist/model/DeleteDestinationEntry200Response.js +110 -0
- package/dist/model/EntryType.js +61 -0
- package/dist/model/GetCounterpartyEntry200Response.js +90 -0
- package/dist/model/GetDestinationEntry200Response.js +106 -0
- package/dist/model/GetReports200Response.js +123 -0
- package/dist/model/KyaRiskAssessment.js +151 -0
- package/dist/model/KyaRiskDetail.js +126 -0
- package/dist/model/KyaRiskLevel.js +66 -0
- package/dist/model/KyaScreeningRequest.js +154 -0
- package/dist/model/KyaScreeningResult.js +222 -0
- package/dist/model/KyaScreeningResultRiskAssessment.js +171 -0
- package/dist/model/KyaScreeningStatus.js +71 -0
- package/dist/model/KyaScreeningsEventData.js +174 -0
- package/dist/model/LinkDisplayInfo.js +1 -1
- package/dist/model/ListCounterpartyEntries200Response.js +123 -0
- package/dist/model/ListDestinationEntries200Response.js +153 -0
- package/dist/model/ListKyaScreenings200Response.js +145 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/MerchantBalance.js +4 -4
- package/dist/model/Order.js +10 -10
- package/dist/model/OrderLinkBusinessInfo.js +12 -12
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -4
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +4 -4
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentAllocationAmount.js +2 -2
- package/dist/model/PaymentOrderEventData.js +26 -21
- package/dist/model/PaymentPayout.js +3 -3
- package/dist/model/PaymentPayoutDetail.js +3 -3
- package/dist/model/PaymentPayoutEvent.js +14 -9
- package/dist/model/PaymentPayoutItem.js +8 -7
- package/dist/model/PaymentPayoutItemDetail.js +8 -7
- package/dist/model/PaymentPayoutParam.js +8 -7
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentTransactionEventData.js +8 -3
- package/dist/model/PspBalance.js +4 -4
- package/dist/model/RefundLinkBusinessInfo.js +1 -1
- package/dist/model/Report.js +209 -0
- package/dist/model/ReportExportFormat.js +66 -0
- package/dist/model/ReportStatus.js +61 -0
- package/dist/model/ReportType.js +121 -0
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/TransactionWebhookEventData.js +8 -3
- package/dist/model/TransferParams.js +2 -2
- package/dist/model/UpdateCounterpartyRequest.js +160 -0
- package/dist/model/UpdateDestinationEntry200Response.js +90 -0
- package/dist/model/UpdateDestinationEntryRequest.js +135 -0
- package/dist/model/UpdateDestinationRequest.js +173 -0
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletAddress.js +20 -2
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +58 -24
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/AddressRiskLevel.md +16 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AllocationRecord.md +5 -5
- package/docs/AllocationRequest.md +5 -5
- package/docs/AutoSweepApi.md +1 -1
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BatchAllocation.md +1 -1
- package/docs/ChainsEventData.md +3 -1
- package/docs/CommissionFee.md +1 -1
- package/docs/ComplianceApi.md +163 -0
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKyaScreeningsUpdateEventData.md +62 -0
- package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
- package/docs/ContractCallParams.md +1 -1
- package/docs/CounterpartyWalletAddressDetail.md +1 -1
- package/docs/CreateBatchAllocationRequest.md +1 -1
- package/docs/CreateCounterpartyEntry201Response.md +10 -0
- package/docs/CreateCounterpartyEntryRequest.md +10 -0
- package/docs/CreateDestinationEntry201Response.md +11 -0
- package/docs/CreateDestinationEntryRequest.md +11 -0
- package/docs/CreateKyaScreeningsBody.md +9 -0
- package/docs/CreateMerchantRequest.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +10 -10
- package/docs/CreatePayoutRequest.md +4 -4
- package/docs/CreateRefundRequest.md +2 -2
- package/docs/CreateReportRequest.md +13 -0
- package/docs/CreateWalletAddress.md +1 -1
- package/docs/DeleteCounterpartyById200Response.md +9 -0
- package/docs/DeleteCounterpartyEntry200Response.md +9 -0
- package/docs/DeleteDestinationById200Response.md +9 -0
- package/docs/DeleteDestinationEntry200Response.md +9 -0
- package/docs/EntryType.md +12 -0
- package/docs/FeeStationApi.md +1 -1
- package/docs/GetCounterpartyEntry200Response.md +9 -0
- package/docs/GetDestinationEntry200Response.md +10 -0
- package/docs/GetReports200Response.md +10 -0
- package/docs/KyaRiskAssessment.md +11 -0
- package/docs/KyaRiskDetail.md +10 -0
- package/docs/KyaRiskLevel.md +14 -0
- package/docs/KyaScreeningRequest.md +12 -0
- package/docs/KyaScreeningResult.md +17 -0
- package/docs/KyaScreeningResultRiskAssessment.md +11 -0
- package/docs/KyaScreeningStatus.md +16 -0
- package/docs/KyaScreeningsEventData.md +14 -0
- package/docs/LinkDisplayInfo.md +1 -1
- package/docs/ListCounterpartyEntries200Response.md +10 -0
- package/docs/ListDestinationEntries200Response.md +11 -0
- package/docs/ListKyaScreenings200Response.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/MerchantBalance.md +4 -4
- package/docs/Order.md +8 -8
- package/docs/OrderLinkBusinessInfo.md +11 -11
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
- package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +2 -2
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentAllocationAmount.md +1 -1
- package/docs/PaymentApi.md +1104 -161
- package/docs/PaymentOrderEventData.md +11 -9
- package/docs/PaymentPayout.md +3 -3
- package/docs/PaymentPayoutDetail.md +3 -3
- package/docs/PaymentPayoutEvent.md +6 -4
- package/docs/PaymentPayoutItem.md +6 -6
- package/docs/PaymentPayoutItemDetail.md +6 -6
- package/docs/PaymentPayoutParam.md +5 -5
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentTransactionEventData.md +3 -1
- package/docs/PspBalance.md +4 -4
- package/docs/RefundLinkBusinessInfo.md +1 -1
- package/docs/Report.md +17 -0
- package/docs/ReportExportFormat.md +14 -0
- package/docs/ReportStatus.md +12 -0
- package/docs/ReportType.md +36 -0
- package/docs/StakingsApi.md +1 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokensEventData.md +3 -1
- package/docs/TransactionWebhookEventData.md +3 -1
- package/docs/TransactionsApi.md +3 -3
- package/docs/TransferParams.md +1 -1
- package/docs/UpdateCounterpartyRequest.md +13 -0
- package/docs/UpdateDestinationEntry200Response.md +9 -0
- package/docs/UpdateDestinationEntryRequest.md +11 -0
- package/docs/UpdateDestinationRequest.md +14 -0
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletAddress.md +3 -1
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WebhookEventData.md +18 -15
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +2 -0
- package/package.json +1 -1
package/dist/api/StakingsApi.js
CHANGED
|
@@ -109,7 +109,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Expand Babylon BTC staking
|
|
112
|
-
* This operation initiates a Babylon BTC staking expansion request. Before calling this operation, please ensure the following: - The BTC staking position is active. - The finality provider public keys are valid. Each BSN chain
|
|
112
|
+
* This operation initiates a Babylon BTC staking expansion request. Before calling this operation, please ensure the following: - The BTC staking position is active. - The finality provider public keys are valid. Each BSN chain can have at most one finality provider public key. The system first checks whether the provided BTC staking position is active. If active, it creates a new BTC staking position for the Phase-3 expansion. The expansion is processed asynchronously and may take some time to complete. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
|
|
113
113
|
* @param {Object} opts Optional parameters
|
|
114
114
|
* @param {module:model/BabylonCreateStakingExpansion} [BabylonCreateStakingExpansion] The request body to expand Babylon BTC staking to Phase-3
|
|
115
115
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Stakings} and HTTP response
|
|
@@ -135,7 +135,7 @@ var StakingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Expand Babylon BTC staking
|
|
138
|
-
* This operation initiates a Babylon BTC staking expansion request. Before calling this operation, please ensure the following: - The BTC staking position is active. - The finality provider public keys are valid. Each BSN chain
|
|
138
|
+
* This operation initiates a Babylon BTC staking expansion request. Before calling this operation, please ensure the following: - The BTC staking position is active. - The finality provider public keys are valid. Each BSN chain can have at most one finality provider public key. The system first checks whether the provided BTC staking position is active. If active, it creates a new BTC staking position for the Phase-3 expansion. The expansion is processed asynchronously and may take some time to complete. For more information, refer to [Babylon's official doc](https://github.com/babylonlabs-io/babylon/tree/main/docs).
|
|
139
139
|
* @param {Object} opts Optional parameters
|
|
140
140
|
* @param {module:model/BabylonCreateStakingExpansion} opts.BabylonCreateStakingExpansion The request body to expand Babylon BTC staking to Phase-3
|
|
141
141
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Stakings}
|
|
@@ -60,7 +60,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Broadcast signed transactions
|
|
63
|
-
* <Note>This operation is only applicable to the staking scenarios.</Note> This operation broadcasts a list of signed transactions. If you set `auto_broadcast` to `false` when [creating a staking activity](https://www.cobo.com/developers/v2/api-references/
|
|
63
|
+
* <Note>This operation is only applicable to the staking scenarios.</Note> This operation broadcasts a list of signed transactions. If you set `auto_broadcast` to `false` when [creating a staking activity](https://www.cobo.com/developers/v2/api-references/stakings/create-stake-activity), the transaction will not be submitted to the blockchain automatically after being signed. In such cases, you can call this operation to broadcast the transaction to the blockchain. A transaction can only be broadcast if its status is `Broadcasting`.
|
|
64
64
|
* @param {Object} opts Optional parameters
|
|
65
65
|
* @param {module:model/BroadcastSignedTransactionsRequest} [BroadcastSignedTransactionsRequest] The request body to broadcast a list of signed transactions.
|
|
66
66
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/BroadcastSignedTransactions201ResponseInner>} and HTTP response
|
|
@@ -86,7 +86,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* Broadcast signed transactions
|
|
89
|
-
* <Note>This operation is only applicable to the staking scenarios.</Note> This operation broadcasts a list of signed transactions. If you set `auto_broadcast` to `false` when [creating a staking activity](https://www.cobo.com/developers/v2/api-references/
|
|
89
|
+
* <Note>This operation is only applicable to the staking scenarios.</Note> This operation broadcasts a list of signed transactions. If you set `auto_broadcast` to `false` when [creating a staking activity](https://www.cobo.com/developers/v2/api-references/stakings/create-stake-activity), the transaction will not be submitted to the blockchain automatically after being signed. In such cases, you can call this operation to broadcast the transaction to the blockchain. A transaction can only be broadcast if its status is `Broadcasting`.
|
|
90
90
|
* @param {Object} opts Optional parameters
|
|
91
91
|
* @param {module:model/BroadcastSignedTransactionsRequest} opts.BroadcastSignedTransactionsRequest The request body to broadcast a list of signed transactions.
|
|
92
92
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/BroadcastSignedTransactions201ResponseInner>}
|
|
@@ -203,7 +203,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Call smart contract
|
|
206
|
-
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. For smart contract call examples, you can refer to [Batch transfers using smart contracts](/v2/guides/transactions/batch-transfer) and [Swap tokens on Solana using Jupiter](/v2/guides/transactions/sol-jupiter-swap). <Info> Supported actions vary by blockchain: - EVM chains — Support deploying contracts and calling contract functions. - Solana — Supports calling contract functions only. - TRON — Supports calling contract functions only. - Stellar — Supports XLM trustline creation only. </Info> <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
206
|
+
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. For smart contract call examples, you can refer to [Batch transfers using smart contracts](/v2/guides/transactions/batch-transfer) and [Swap tokens on Solana using Jupiter](/v2/guides/transactions/sol-jupiter-swap). <Note>This operation uses `request_id` to prevent duplicate contract call requests. The `request_id` must be unique within the same organization. Duplicate requests with the same `request_id` will be rejected with an error and will not be executed again.</Note> <Info> Supported actions vary by blockchain: - EVM chains — Support deploying contracts and calling contract functions. - Solana — Supports calling contract functions only. - TRON — Supports calling contract functions only. - Stellar — Supports XLM trustline creation only. - Cosmos — Supports initiating Cosmos native message-based transactions, such as transfers and staking operations. </Info> <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
207
207
|
* @param {Object} opts Optional parameters
|
|
208
208
|
* @param {module:model/ContractCallParams} [ContractCallParams] The request body for making a contract call.
|
|
209
209
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateTransferTransaction201Response} and HTTP response
|
|
@@ -229,7 +229,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Call smart contract
|
|
232
|
-
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. For smart contract call examples, you can refer to [Batch transfers using smart contracts](/v2/guides/transactions/batch-transfer) and [Swap tokens on Solana using Jupiter](/v2/guides/transactions/sol-jupiter-swap). <Info> Supported actions vary by blockchain: - EVM chains — Support deploying contracts and calling contract functions. - Solana — Supports calling contract functions only. - TRON — Supports calling contract functions only. - Stellar — Supports XLM trustline creation only. </Info> <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
232
|
+
* This operation creates a transaction to interact with a smart contract on the blockchain. You need to provide details such as the source address, destination address, and the calldata. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. For smart contract call examples, you can refer to [Batch transfers using smart contracts](/v2/guides/transactions/batch-transfer) and [Swap tokens on Solana using Jupiter](/v2/guides/transactions/sol-jupiter-swap). <Note>This operation uses `request_id` to prevent duplicate contract call requests. The `request_id` must be unique within the same organization. Duplicate requests with the same `request_id` will be rejected with an error and will not be executed again.</Note> <Info> Supported actions vary by blockchain: - EVM chains — Support deploying contracts and calling contract functions. - Solana — Supports calling contract functions only. - TRON — Supports calling contract functions only. - Stellar — Supports XLM trustline creation only. - Cosmos — Supports initiating Cosmos native message-based transactions, such as transfers and staking operations. </Info> <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets. Refer to the `destination` property for supported contract types.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
233
233
|
* @param {Object} opts Optional parameters
|
|
234
234
|
* @param {module:model/ContractCallParams} opts.ContractCallParams The request body for making a contract call.
|
|
235
235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateTransferTransaction201Response}
|
|
@@ -285,7 +285,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Transfer token
|
|
288
|
-
* The operation transfers your assets from a wallet created on Cobo Portal to another address. You need to specify details such as the sender address and recipient address, token ID, and the amount to transfer. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>If you make transfers from Custodial Wallets (Asset Wallets) and Exchange Wallets, do not set the fee-related properties, as they will not take effects.</Note> <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. To do this, you should use the <code>utxo_outputs</code> property to specify the destination addresses.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
288
|
+
* The operation transfers your assets from a wallet created on Cobo Portal to another address. You need to specify details such as the sender address and recipient address, token ID, and the amount to transfer. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>This operation uses `request_id` to prevent duplicate transfer requests. The `request_id` must be unique within the same organization. Duplicate requests with the same `request_id` will be rejected with an error and will not be executed again.</Note> <Note>If you make transfers from Custodial Wallets (Asset Wallets) and Exchange Wallets, do not set the fee-related properties, as they will not take effects.</Note> <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. To do this, you should use the <code>utxo_outputs</code> property to specify the destination addresses.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
289
289
|
* @param {Object} opts Optional parameters
|
|
290
290
|
* @param {module:model/TransferParams} [TransferParams] The request body to create a transfer transaction
|
|
291
291
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateTransferTransaction201Response} and HTTP response
|
|
@@ -311,7 +311,7 @@ var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Transfer token
|
|
314
|
-
* The operation transfers your assets from a wallet created on Cobo Portal to another address. You need to specify details such as the sender address and recipient address, token ID, and the amount to transfer. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>If you make transfers from Custodial Wallets (Asset Wallets) and Exchange Wallets, do not set the fee-related properties, as they will not take effects.</Note> <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. To do this, you should use the <code>utxo_outputs</code> property to specify the destination addresses.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
314
|
+
* The operation transfers your assets from a wallet created on Cobo Portal to another address. You need to specify details such as the sender address and recipient address, token ID, and the amount to transfer. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>This operation uses `request_id` to prevent duplicate transfer requests. The `request_id` must be unique within the same organization. Duplicate requests with the same `request_id` will be rejected with an error and will not be executed again.</Note> <Note>If you make transfers from Custodial Wallets (Asset Wallets) and Exchange Wallets, do not set the fee-related properties, as they will not take effects.</Note> <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. To do this, you should use the <code>utxo_outputs</code> property to specify the destination addresses.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
|
|
315
315
|
* @param {Object} opts Optional parameters
|
|
316
316
|
* @param {module:model/TransferParams} opts.TransferParams The request body to create a transfer transaction
|
|
317
317
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateTransferTransaction201Response}
|
package/dist/index.js
CHANGED
|
@@ -87,6 +87,12 @@ Object.defineProperty(exports, "AddressInfo", {
|
|
|
87
87
|
return _AddressInfo["default"];
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
+
Object.defineProperty(exports, "AddressRiskLevel", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _AddressRiskLevel["default"];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
90
96
|
Object.defineProperty(exports, "AddressTransferDestination", {
|
|
91
97
|
enumerable: true,
|
|
92
98
|
get: function get() {
|
|
@@ -549,6 +555,12 @@ Object.defineProperty(exports, "ComplianceDispositionUpdateEventData", {
|
|
|
549
555
|
return _ComplianceDispositionUpdateEventData["default"];
|
|
550
556
|
}
|
|
551
557
|
});
|
|
558
|
+
Object.defineProperty(exports, "ComplianceKyaScreeningsUpdateEventData", {
|
|
559
|
+
enumerable: true,
|
|
560
|
+
get: function get() {
|
|
561
|
+
return _ComplianceKyaScreeningsUpdateEventData["default"];
|
|
562
|
+
}
|
|
563
|
+
});
|
|
552
564
|
Object.defineProperty(exports, "ComplianceKytScreeningsUpdateEventData", {
|
|
553
565
|
enumerable: true,
|
|
554
566
|
get: function get() {
|
|
@@ -723,6 +735,18 @@ Object.defineProperty(exports, "CreateClaimActivityRequest", {
|
|
|
723
735
|
return _CreateClaimActivityRequest["default"];
|
|
724
736
|
}
|
|
725
737
|
});
|
|
738
|
+
Object.defineProperty(exports, "CreateCounterpartyEntry201Response", {
|
|
739
|
+
enumerable: true,
|
|
740
|
+
get: function get() {
|
|
741
|
+
return _CreateCounterpartyEntry201Response["default"];
|
|
742
|
+
}
|
|
743
|
+
});
|
|
744
|
+
Object.defineProperty(exports, "CreateCounterpartyEntryRequest", {
|
|
745
|
+
enumerable: true,
|
|
746
|
+
get: function get() {
|
|
747
|
+
return _CreateCounterpartyEntryRequest["default"];
|
|
748
|
+
}
|
|
749
|
+
});
|
|
726
750
|
Object.defineProperty(exports, "CreateCounterpartyRequest", {
|
|
727
751
|
enumerable: true,
|
|
728
752
|
get: function get() {
|
|
@@ -759,6 +783,18 @@ Object.defineProperty(exports, "CreateDestinationBankAccountRequest", {
|
|
|
759
783
|
return _CreateDestinationBankAccountRequest["default"];
|
|
760
784
|
}
|
|
761
785
|
});
|
|
786
|
+
Object.defineProperty(exports, "CreateDestinationEntry201Response", {
|
|
787
|
+
enumerable: true,
|
|
788
|
+
get: function get() {
|
|
789
|
+
return _CreateDestinationEntry201Response["default"];
|
|
790
|
+
}
|
|
791
|
+
});
|
|
792
|
+
Object.defineProperty(exports, "CreateDestinationEntryRequest", {
|
|
793
|
+
enumerable: true,
|
|
794
|
+
get: function get() {
|
|
795
|
+
return _CreateDestinationEntryRequest["default"];
|
|
796
|
+
}
|
|
797
|
+
});
|
|
762
798
|
Object.defineProperty(exports, "CreateDestinationRequest", {
|
|
763
799
|
enumerable: true,
|
|
764
800
|
get: function get() {
|
|
@@ -789,6 +825,12 @@ Object.defineProperty(exports, "CreateKeyShareHolderGroupRequest", {
|
|
|
789
825
|
return _CreateKeyShareHolderGroupRequest["default"];
|
|
790
826
|
}
|
|
791
827
|
});
|
|
828
|
+
Object.defineProperty(exports, "CreateKyaScreeningsBody", {
|
|
829
|
+
enumerable: true,
|
|
830
|
+
get: function get() {
|
|
831
|
+
return _CreateKyaScreeningsBody["default"];
|
|
832
|
+
}
|
|
833
|
+
});
|
|
792
834
|
Object.defineProperty(exports, "CreateMerchantRequest", {
|
|
793
835
|
enumerable: true,
|
|
794
836
|
get: function get() {
|
|
@@ -855,6 +897,12 @@ Object.defineProperty(exports, "CreateRefundRequest", {
|
|
|
855
897
|
return _CreateRefundRequest["default"];
|
|
856
898
|
}
|
|
857
899
|
});
|
|
900
|
+
Object.defineProperty(exports, "CreateReportRequest", {
|
|
901
|
+
enumerable: true,
|
|
902
|
+
get: function get() {
|
|
903
|
+
return _CreateReportRequest["default"];
|
|
904
|
+
}
|
|
905
|
+
});
|
|
858
906
|
Object.defineProperty(exports, "CreateSafeWalletParams", {
|
|
859
907
|
enumerable: true,
|
|
860
908
|
get: function get() {
|
|
@@ -1053,6 +1101,18 @@ Object.defineProperty(exports, "DeleteCounterparty200Response", {
|
|
|
1053
1101
|
return _DeleteCounterparty200Response["default"];
|
|
1054
1102
|
}
|
|
1055
1103
|
});
|
|
1104
|
+
Object.defineProperty(exports, "DeleteCounterpartyById200Response", {
|
|
1105
|
+
enumerable: true,
|
|
1106
|
+
get: function get() {
|
|
1107
|
+
return _DeleteCounterpartyById200Response["default"];
|
|
1108
|
+
}
|
|
1109
|
+
});
|
|
1110
|
+
Object.defineProperty(exports, "DeleteCounterpartyEntry200Response", {
|
|
1111
|
+
enumerable: true,
|
|
1112
|
+
get: function get() {
|
|
1113
|
+
return _DeleteCounterpartyEntry200Response["default"];
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1056
1116
|
Object.defineProperty(exports, "DeleteCounterpartyWalletAddress200Response", {
|
|
1057
1117
|
enumerable: true,
|
|
1058
1118
|
get: function get() {
|
|
@@ -1077,6 +1137,18 @@ Object.defineProperty(exports, "DeleteDestinationBankAccount200Response", {
|
|
|
1077
1137
|
return _DeleteDestinationBankAccount200Response["default"];
|
|
1078
1138
|
}
|
|
1079
1139
|
});
|
|
1140
|
+
Object.defineProperty(exports, "DeleteDestinationById200Response", {
|
|
1141
|
+
enumerable: true,
|
|
1142
|
+
get: function get() {
|
|
1143
|
+
return _DeleteDestinationById200Response["default"];
|
|
1144
|
+
}
|
|
1145
|
+
});
|
|
1146
|
+
Object.defineProperty(exports, "DeleteDestinationEntry200Response", {
|
|
1147
|
+
enumerable: true,
|
|
1148
|
+
get: function get() {
|
|
1149
|
+
return _DeleteDestinationEntry200Response["default"];
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1080
1152
|
Object.defineProperty(exports, "DeleteDestinationWalletAddress200Response", {
|
|
1081
1153
|
enumerable: true,
|
|
1082
1154
|
get: function get() {
|
|
@@ -1215,6 +1287,12 @@ Object.defineProperty(exports, "EnableDestinationWhitelistRequest", {
|
|
|
1215
1287
|
return _EnableDestinationWhitelistRequest["default"];
|
|
1216
1288
|
}
|
|
1217
1289
|
});
|
|
1290
|
+
Object.defineProperty(exports, "EntryType", {
|
|
1291
|
+
enumerable: true,
|
|
1292
|
+
get: function get() {
|
|
1293
|
+
return _EntryType["default"];
|
|
1294
|
+
}
|
|
1295
|
+
});
|
|
1218
1296
|
Object.defineProperty(exports, "Env", {
|
|
1219
1297
|
enumerable: true,
|
|
1220
1298
|
get: function get() {
|
|
@@ -1599,6 +1677,18 @@ Object.defineProperty(exports, "GetApiKeyInfo200Response", {
|
|
|
1599
1677
|
return _GetApiKeyInfo200Response["default"];
|
|
1600
1678
|
}
|
|
1601
1679
|
});
|
|
1680
|
+
Object.defineProperty(exports, "GetCounterpartyEntry200Response", {
|
|
1681
|
+
enumerable: true,
|
|
1682
|
+
get: function get() {
|
|
1683
|
+
return _GetCounterpartyEntry200Response["default"];
|
|
1684
|
+
}
|
|
1685
|
+
});
|
|
1686
|
+
Object.defineProperty(exports, "GetDestinationEntry200Response", {
|
|
1687
|
+
enumerable: true,
|
|
1688
|
+
get: function get() {
|
|
1689
|
+
return _GetDestinationEntry200Response["default"];
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1602
1692
|
Object.defineProperty(exports, "GetExchangeRate200Response", {
|
|
1603
1693
|
enumerable: true,
|
|
1604
1694
|
get: function get() {
|
|
@@ -1617,6 +1707,12 @@ Object.defineProperty(exports, "GetRefunds200Response", {
|
|
|
1617
1707
|
return _GetRefunds200Response["default"];
|
|
1618
1708
|
}
|
|
1619
1709
|
});
|
|
1710
|
+
Object.defineProperty(exports, "GetReports200Response", {
|
|
1711
|
+
enumerable: true,
|
|
1712
|
+
get: function get() {
|
|
1713
|
+
return _GetReports200Response["default"];
|
|
1714
|
+
}
|
|
1715
|
+
});
|
|
1620
1716
|
Object.defineProperty(exports, "GetSettlementInfoByIds200Response", {
|
|
1621
1717
|
enumerable: true,
|
|
1622
1718
|
get: function get() {
|
|
@@ -1737,6 +1833,54 @@ Object.defineProperty(exports, "KeyShareHolderType", {
|
|
|
1737
1833
|
return _KeyShareHolderType["default"];
|
|
1738
1834
|
}
|
|
1739
1835
|
});
|
|
1836
|
+
Object.defineProperty(exports, "KyaRiskAssessment", {
|
|
1837
|
+
enumerable: true,
|
|
1838
|
+
get: function get() {
|
|
1839
|
+
return _KyaRiskAssessment["default"];
|
|
1840
|
+
}
|
|
1841
|
+
});
|
|
1842
|
+
Object.defineProperty(exports, "KyaRiskDetail", {
|
|
1843
|
+
enumerable: true,
|
|
1844
|
+
get: function get() {
|
|
1845
|
+
return _KyaRiskDetail["default"];
|
|
1846
|
+
}
|
|
1847
|
+
});
|
|
1848
|
+
Object.defineProperty(exports, "KyaRiskLevel", {
|
|
1849
|
+
enumerable: true,
|
|
1850
|
+
get: function get() {
|
|
1851
|
+
return _KyaRiskLevel["default"];
|
|
1852
|
+
}
|
|
1853
|
+
});
|
|
1854
|
+
Object.defineProperty(exports, "KyaScreeningRequest", {
|
|
1855
|
+
enumerable: true,
|
|
1856
|
+
get: function get() {
|
|
1857
|
+
return _KyaScreeningRequest["default"];
|
|
1858
|
+
}
|
|
1859
|
+
});
|
|
1860
|
+
Object.defineProperty(exports, "KyaScreeningResult", {
|
|
1861
|
+
enumerable: true,
|
|
1862
|
+
get: function get() {
|
|
1863
|
+
return _KyaScreeningResult["default"];
|
|
1864
|
+
}
|
|
1865
|
+
});
|
|
1866
|
+
Object.defineProperty(exports, "KyaScreeningResultRiskAssessment", {
|
|
1867
|
+
enumerable: true,
|
|
1868
|
+
get: function get() {
|
|
1869
|
+
return _KyaScreeningResultRiskAssessment["default"];
|
|
1870
|
+
}
|
|
1871
|
+
});
|
|
1872
|
+
Object.defineProperty(exports, "KyaScreeningStatus", {
|
|
1873
|
+
enumerable: true,
|
|
1874
|
+
get: function get() {
|
|
1875
|
+
return _KyaScreeningStatus["default"];
|
|
1876
|
+
}
|
|
1877
|
+
});
|
|
1878
|
+
Object.defineProperty(exports, "KyaScreeningsEventData", {
|
|
1879
|
+
enumerable: true,
|
|
1880
|
+
get: function get() {
|
|
1881
|
+
return _KyaScreeningsEventData["default"];
|
|
1882
|
+
}
|
|
1883
|
+
});
|
|
1740
1884
|
Object.defineProperty(exports, "KytScreeningsDecisionsType", {
|
|
1741
1885
|
enumerable: true,
|
|
1742
1886
|
get: function get() {
|
|
@@ -1869,6 +2013,12 @@ Object.defineProperty(exports, "ListCounterparties200Response", {
|
|
|
1869
2013
|
return _ListCounterparties200Response["default"];
|
|
1870
2014
|
}
|
|
1871
2015
|
});
|
|
2016
|
+
Object.defineProperty(exports, "ListCounterpartyEntries200Response", {
|
|
2017
|
+
enumerable: true,
|
|
2018
|
+
get: function get() {
|
|
2019
|
+
return _ListCounterpartyEntries200Response["default"];
|
|
2020
|
+
}
|
|
2021
|
+
});
|
|
1872
2022
|
Object.defineProperty(exports, "ListCounterpartyWalletAddress200Response", {
|
|
1873
2023
|
enumerable: true,
|
|
1874
2024
|
get: function get() {
|
|
@@ -1881,6 +2031,12 @@ Object.defineProperty(exports, "ListDestinationBankAccounts200Response", {
|
|
|
1881
2031
|
return _ListDestinationBankAccounts200Response["default"];
|
|
1882
2032
|
}
|
|
1883
2033
|
});
|
|
2034
|
+
Object.defineProperty(exports, "ListDestinationEntries200Response", {
|
|
2035
|
+
enumerable: true,
|
|
2036
|
+
get: function get() {
|
|
2037
|
+
return _ListDestinationEntries200Response["default"];
|
|
2038
|
+
}
|
|
2039
|
+
});
|
|
1884
2040
|
Object.defineProperty(exports, "ListDestinationWalletAddresses200Response", {
|
|
1885
2041
|
enumerable: true,
|
|
1886
2042
|
get: function get() {
|
|
@@ -1917,6 +2073,12 @@ Object.defineProperty(exports, "ListKeyShareHolders200Response", {
|
|
|
1917
2073
|
return _ListKeyShareHolders200Response["default"];
|
|
1918
2074
|
}
|
|
1919
2075
|
});
|
|
2076
|
+
Object.defineProperty(exports, "ListKyaScreenings200Response", {
|
|
2077
|
+
enumerable: true,
|
|
2078
|
+
get: function get() {
|
|
2079
|
+
return _ListKyaScreenings200Response["default"];
|
|
2080
|
+
}
|
|
2081
|
+
});
|
|
1920
2082
|
Object.defineProperty(exports, "ListMerchantBalances200Response", {
|
|
1921
2083
|
enumerable: true,
|
|
1922
2084
|
get: function get() {
|
|
@@ -2643,6 +2805,30 @@ Object.defineProperty(exports, "ReplaceType", {
|
|
|
2643
2805
|
return _ReplaceType["default"];
|
|
2644
2806
|
}
|
|
2645
2807
|
});
|
|
2808
|
+
Object.defineProperty(exports, "Report", {
|
|
2809
|
+
enumerable: true,
|
|
2810
|
+
get: function get() {
|
|
2811
|
+
return _Report["default"];
|
|
2812
|
+
}
|
|
2813
|
+
});
|
|
2814
|
+
Object.defineProperty(exports, "ReportExportFormat", {
|
|
2815
|
+
enumerable: true,
|
|
2816
|
+
get: function get() {
|
|
2817
|
+
return _ReportExportFormat["default"];
|
|
2818
|
+
}
|
|
2819
|
+
});
|
|
2820
|
+
Object.defineProperty(exports, "ReportStatus", {
|
|
2821
|
+
enumerable: true,
|
|
2822
|
+
get: function get() {
|
|
2823
|
+
return _ReportStatus["default"];
|
|
2824
|
+
}
|
|
2825
|
+
});
|
|
2826
|
+
Object.defineProperty(exports, "ReportType", {
|
|
2827
|
+
enumerable: true,
|
|
2828
|
+
get: function get() {
|
|
2829
|
+
return _ReportType["default"];
|
|
2830
|
+
}
|
|
2831
|
+
});
|
|
2646
2832
|
Object.defineProperty(exports, "RequestApproval", {
|
|
2647
2833
|
enumerable: true,
|
|
2648
2834
|
get: function get() {
|
|
@@ -4575,6 +4761,12 @@ Object.defineProperty(exports, "UpdateCounterpartyByIdRequest", {
|
|
|
4575
4761
|
return _UpdateCounterpartyByIdRequest["default"];
|
|
4576
4762
|
}
|
|
4577
4763
|
});
|
|
4764
|
+
Object.defineProperty(exports, "UpdateCounterpartyRequest", {
|
|
4765
|
+
enumerable: true,
|
|
4766
|
+
get: function get() {
|
|
4767
|
+
return _UpdateCounterpartyRequest["default"];
|
|
4768
|
+
}
|
|
4769
|
+
});
|
|
4578
4770
|
Object.defineProperty(exports, "UpdateCustodialWalletParams", {
|
|
4579
4771
|
enumerable: true,
|
|
4580
4772
|
get: function get() {
|
|
@@ -4593,6 +4785,24 @@ Object.defineProperty(exports, "UpdateDestinationByIdRequest", {
|
|
|
4593
4785
|
return _UpdateDestinationByIdRequest["default"];
|
|
4594
4786
|
}
|
|
4595
4787
|
});
|
|
4788
|
+
Object.defineProperty(exports, "UpdateDestinationEntry200Response", {
|
|
4789
|
+
enumerable: true,
|
|
4790
|
+
get: function get() {
|
|
4791
|
+
return _UpdateDestinationEntry200Response["default"];
|
|
4792
|
+
}
|
|
4793
|
+
});
|
|
4794
|
+
Object.defineProperty(exports, "UpdateDestinationEntryRequest", {
|
|
4795
|
+
enumerable: true,
|
|
4796
|
+
get: function get() {
|
|
4797
|
+
return _UpdateDestinationEntryRequest["default"];
|
|
4798
|
+
}
|
|
4799
|
+
});
|
|
4800
|
+
Object.defineProperty(exports, "UpdateDestinationRequest", {
|
|
4801
|
+
enumerable: true,
|
|
4802
|
+
get: function get() {
|
|
4803
|
+
return _UpdateDestinationRequest["default"];
|
|
4804
|
+
}
|
|
4805
|
+
});
|
|
4596
4806
|
Object.defineProperty(exports, "UpdateExchangeWalletParams", {
|
|
4597
4807
|
enumerable: true,
|
|
4598
4808
|
get: function get() {
|
|
@@ -4814,6 +5024,7 @@ var _AddressBalance = _interopRequireDefault(require("./model/AddressBalance"));
|
|
|
4814
5024
|
var _AddressBook = _interopRequireDefault(require("./model/AddressBook"));
|
|
4815
5025
|
var _AddressEncoding = _interopRequireDefault(require("./model/AddressEncoding"));
|
|
4816
5026
|
var _AddressInfo = _interopRequireDefault(require("./model/AddressInfo"));
|
|
5027
|
+
var _AddressRiskLevel = _interopRequireDefault(require("./model/AddressRiskLevel"));
|
|
4817
5028
|
var _AddressTransferDestination = _interopRequireDefault(require("./model/AddressTransferDestination"));
|
|
4818
5029
|
var _AddressTransferDestinationAccountOutput = _interopRequireDefault(require("./model/AddressTransferDestinationAccountOutput"));
|
|
4819
5030
|
var _AddressTransferDestinationUtxoOutputsInner = _interopRequireDefault(require("./model/AddressTransferDestinationUtxoOutputsInner"));
|
|
@@ -4887,6 +5098,7 @@ var _CoboSafeDelegate = _interopRequireDefault(require("./model/CoboSafeDelegate
|
|
|
4887
5098
|
var _CoboSafeDelegateType = _interopRequireDefault(require("./model/CoboSafeDelegateType"));
|
|
4888
5099
|
var _CommissionFee = _interopRequireDefault(require("./model/CommissionFee"));
|
|
4889
5100
|
var _ComplianceDispositionUpdateEventData = _interopRequireDefault(require("./model/ComplianceDispositionUpdateEventData"));
|
|
5101
|
+
var _ComplianceKyaScreeningsUpdateEventData = _interopRequireDefault(require("./model/ComplianceKyaScreeningsUpdateEventData"));
|
|
4890
5102
|
var _ComplianceKytScreeningsUpdateEventData = _interopRequireDefault(require("./model/ComplianceKytScreeningsUpdateEventData"));
|
|
4891
5103
|
var _ContractCallDestination = _interopRequireDefault(require("./model/ContractCallDestination"));
|
|
4892
5104
|
var _ContractCallDestinationType = _interopRequireDefault(require("./model/ContractCallDestinationType"));
|
|
@@ -4916,17 +5128,22 @@ var _CreateBabylonStakingRegistrationRequest = _interopRequireDefault(require(".
|
|
|
4916
5128
|
var _CreateBatchAllocationRequest = _interopRequireDefault(require("./model/CreateBatchAllocationRequest"));
|
|
4917
5129
|
var _CreateClaimActivity = _interopRequireDefault(require("./model/CreateClaimActivity"));
|
|
4918
5130
|
var _CreateClaimActivityRequest = _interopRequireDefault(require("./model/CreateClaimActivityRequest"));
|
|
5131
|
+
var _CreateCounterpartyEntry201Response = _interopRequireDefault(require("./model/CreateCounterpartyEntry201Response"));
|
|
5132
|
+
var _CreateCounterpartyEntryRequest = _interopRequireDefault(require("./model/CreateCounterpartyEntryRequest"));
|
|
4919
5133
|
var _CreateCounterpartyRequest = _interopRequireDefault(require("./model/CreateCounterpartyRequest"));
|
|
4920
5134
|
var _CreateCounterpartyWalletAddressRequest = _interopRequireDefault(require("./model/CreateCounterpartyWalletAddressRequest"));
|
|
4921
5135
|
var _CreateCryptoAddressRequest = _interopRequireDefault(require("./model/CreateCryptoAddressRequest"));
|
|
4922
5136
|
var _CreateCustodialWalletParams = _interopRequireDefault(require("./model/CreateCustodialWalletParams"));
|
|
4923
5137
|
var _CreateDestinationBankAccount = _interopRequireDefault(require("./model/CreateDestinationBankAccount"));
|
|
4924
5138
|
var _CreateDestinationBankAccountRequest = _interopRequireDefault(require("./model/CreateDestinationBankAccountRequest"));
|
|
5139
|
+
var _CreateDestinationEntry201Response = _interopRequireDefault(require("./model/CreateDestinationEntry201Response"));
|
|
5140
|
+
var _CreateDestinationEntryRequest = _interopRequireDefault(require("./model/CreateDestinationEntryRequest"));
|
|
4925
5141
|
var _CreateDestinationRequest = _interopRequireDefault(require("./model/CreateDestinationRequest"));
|
|
4926
5142
|
var _CreateDestinationWalletAddressRequest = _interopRequireDefault(require("./model/CreateDestinationWalletAddressRequest"));
|
|
4927
5143
|
var _CreateExchangeWalletParams = _interopRequireDefault(require("./model/CreateExchangeWalletParams"));
|
|
4928
5144
|
var _CreateKeyShareHolder = _interopRequireDefault(require("./model/CreateKeyShareHolder"));
|
|
4929
5145
|
var _CreateKeyShareHolderGroupRequest = _interopRequireDefault(require("./model/CreateKeyShareHolderGroupRequest"));
|
|
5146
|
+
var _CreateKyaScreeningsBody = _interopRequireDefault(require("./model/CreateKyaScreeningsBody"));
|
|
4930
5147
|
var _CreateMerchantRequest = _interopRequireDefault(require("./model/CreateMerchantRequest"));
|
|
4931
5148
|
var _CreateMpcProjectRequest = _interopRequireDefault(require("./model/CreateMpcProjectRequest"));
|
|
4932
5149
|
var _CreateMpcVaultRequest = _interopRequireDefault(require("./model/CreateMpcVaultRequest"));
|
|
@@ -4938,6 +5155,7 @@ var _CreatePrimeBrokerAddress201Response = _interopRequireDefault(require("./mod
|
|
|
4938
5155
|
var _CreatePrimeBrokerAddressRequest = _interopRequireDefault(require("./model/CreatePrimeBrokerAddressRequest"));
|
|
4939
5156
|
var _CreateRefundLinkRequest = _interopRequireDefault(require("./model/CreateRefundLinkRequest"));
|
|
4940
5157
|
var _CreateRefundRequest = _interopRequireDefault(require("./model/CreateRefundRequest"));
|
|
5158
|
+
var _CreateReportRequest = _interopRequireDefault(require("./model/CreateReportRequest"));
|
|
4941
5159
|
var _CreateSafeWalletParams = _interopRequireDefault(require("./model/CreateSafeWalletParams"));
|
|
4942
5160
|
var _CreateSettlement = _interopRequireDefault(require("./model/CreateSettlement"));
|
|
4943
5161
|
var _CreateSettlementRequestRequest = _interopRequireDefault(require("./model/CreateSettlementRequestRequest"));
|
|
@@ -4971,10 +5189,14 @@ var _CustodialWeb3MessageSignSource = _interopRequireDefault(require("./model/Cu
|
|
|
4971
5189
|
var _CustodialWeb3TransferSource = _interopRequireDefault(require("./model/CustodialWeb3TransferSource"));
|
|
4972
5190
|
var _DeleteAddressBookById201Response = _interopRequireDefault(require("./model/DeleteAddressBookById201Response"));
|
|
4973
5191
|
var _DeleteCounterparty200Response = _interopRequireDefault(require("./model/DeleteCounterparty200Response"));
|
|
5192
|
+
var _DeleteCounterpartyById200Response = _interopRequireDefault(require("./model/DeleteCounterpartyById200Response"));
|
|
5193
|
+
var _DeleteCounterpartyEntry200Response = _interopRequireDefault(require("./model/DeleteCounterpartyEntry200Response"));
|
|
4974
5194
|
var _DeleteCounterpartyWalletAddress200Response = _interopRequireDefault(require("./model/DeleteCounterpartyWalletAddress200Response"));
|
|
4975
5195
|
var _DeleteCryptoAddress201Response = _interopRequireDefault(require("./model/DeleteCryptoAddress201Response"));
|
|
4976
5196
|
var _DeleteDestination200Response = _interopRequireDefault(require("./model/DeleteDestination200Response"));
|
|
4977
5197
|
var _DeleteDestinationBankAccount200Response = _interopRequireDefault(require("./model/DeleteDestinationBankAccount200Response"));
|
|
5198
|
+
var _DeleteDestinationById200Response = _interopRequireDefault(require("./model/DeleteDestinationById200Response"));
|
|
5199
|
+
var _DeleteDestinationEntry200Response = _interopRequireDefault(require("./model/DeleteDestinationEntry200Response"));
|
|
4978
5200
|
var _DeleteDestinationWalletAddress200Response = _interopRequireDefault(require("./model/DeleteDestinationWalletAddress200Response"));
|
|
4979
5201
|
var _DeleteGuardPubkey201Response = _interopRequireDefault(require("./model/DeleteGuardPubkey201Response"));
|
|
4980
5202
|
var _DeleteKeyShareHolderGroupById201Response = _interopRequireDefault(require("./model/DeleteKeyShareHolderGroupById201Response"));
|
|
@@ -4995,6 +5217,7 @@ var _EigenLayerLstStakeExtra = _interopRequireDefault(require("./model/EigenLaye
|
|
|
4995
5217
|
var _EigenLayerNativeStakeExtra = _interopRequireDefault(require("./model/EigenLayerNativeStakeExtra"));
|
|
4996
5218
|
var _EigenlayerValidator = _interopRequireDefault(require("./model/EigenlayerValidator"));
|
|
4997
5219
|
var _EnableDestinationWhitelistRequest = _interopRequireDefault(require("./model/EnableDestinationWhitelistRequest"));
|
|
5220
|
+
var _EntryType = _interopRequireDefault(require("./model/EntryType"));
|
|
4998
5221
|
var _ErrorResponse = _interopRequireDefault(require("./model/ErrorResponse"));
|
|
4999
5222
|
var _EstimateClaimFee = _interopRequireDefault(require("./model/EstimateClaimFee"));
|
|
5000
5223
|
var _EstimateContractCallFeeParams = _interopRequireDefault(require("./model/EstimateContractCallFeeParams"));
|
|
@@ -5057,9 +5280,12 @@ var _ForcedSweepRequest = _interopRequireDefault(require("./model/ForcedSweepReq
|
|
|
5057
5280
|
var _ForcedSweepStatus = _interopRequireDefault(require("./model/ForcedSweepStatus"));
|
|
5058
5281
|
var _FundsStatusType = _interopRequireDefault(require("./model/FundsStatusType"));
|
|
5059
5282
|
var _GetApiKeyInfo200Response = _interopRequireDefault(require("./model/GetApiKeyInfo200Response"));
|
|
5283
|
+
var _GetCounterpartyEntry200Response = _interopRequireDefault(require("./model/GetCounterpartyEntry200Response"));
|
|
5284
|
+
var _GetDestinationEntry200Response = _interopRequireDefault(require("./model/GetDestinationEntry200Response"));
|
|
5060
5285
|
var _GetExchangeRate200Response = _interopRequireDefault(require("./model/GetExchangeRate200Response"));
|
|
5061
5286
|
var _GetMaxTransferableValueWithFeeModelRequest = _interopRequireDefault(require("./model/GetMaxTransferableValueWithFeeModelRequest"));
|
|
5062
5287
|
var _GetRefunds200Response = _interopRequireDefault(require("./model/GetRefunds200Response"));
|
|
5288
|
+
var _GetReports200Response = _interopRequireDefault(require("./model/GetReports200Response"));
|
|
5063
5289
|
var _GetSettlementInfoByIds200Response = _interopRequireDefault(require("./model/GetSettlementInfoByIds200Response"));
|
|
5064
5290
|
var _GetStakingEstimationFee201Response = _interopRequireDefault(require("./model/GetStakingEstimationFee201Response"));
|
|
5065
5291
|
var _GetStakingEstimationFeeRequest = _interopRequireDefault(require("./model/GetStakingEstimationFeeRequest"));
|
|
@@ -5080,6 +5306,14 @@ var _KeyShareHolderGroupStatus = _interopRequireDefault(require("./model/KeyShar
|
|
|
5080
5306
|
var _KeyShareHolderGroupType = _interopRequireDefault(require("./model/KeyShareHolderGroupType"));
|
|
5081
5307
|
var _KeyShareHolderStatus = _interopRequireDefault(require("./model/KeyShareHolderStatus"));
|
|
5082
5308
|
var _KeyShareHolderType = _interopRequireDefault(require("./model/KeyShareHolderType"));
|
|
5309
|
+
var _KyaRiskAssessment = _interopRequireDefault(require("./model/KyaRiskAssessment"));
|
|
5310
|
+
var _KyaRiskDetail = _interopRequireDefault(require("./model/KyaRiskDetail"));
|
|
5311
|
+
var _KyaRiskLevel = _interopRequireDefault(require("./model/KyaRiskLevel"));
|
|
5312
|
+
var _KyaScreeningRequest = _interopRequireDefault(require("./model/KyaScreeningRequest"));
|
|
5313
|
+
var _KyaScreeningResult = _interopRequireDefault(require("./model/KyaScreeningResult"));
|
|
5314
|
+
var _KyaScreeningResultRiskAssessment = _interopRequireDefault(require("./model/KyaScreeningResultRiskAssessment"));
|
|
5315
|
+
var _KyaScreeningStatus = _interopRequireDefault(require("./model/KyaScreeningStatus"));
|
|
5316
|
+
var _KyaScreeningsEventData = _interopRequireDefault(require("./model/KyaScreeningsEventData"));
|
|
5083
5317
|
var _KytScreeningsDecisionsType = _interopRequireDefault(require("./model/KytScreeningsDecisionsType"));
|
|
5084
5318
|
var _KytScreeningsEventData = _interopRequireDefault(require("./model/KytScreeningsEventData"));
|
|
5085
5319
|
var _KytScreeningsReviewType = _interopRequireDefault(require("./model/KytScreeningsReviewType"));
|
|
@@ -5102,14 +5336,17 @@ var _ListBabylonStakingRegistrations200Response = _interopRequireDefault(require
|
|
|
5102
5336
|
var _ListBatchAllocations200Response = _interopRequireDefault(require("./model/ListBatchAllocations200Response"));
|
|
5103
5337
|
var _ListCallbackMessages200Response = _interopRequireDefault(require("./model/ListCallbackMessages200Response"));
|
|
5104
5338
|
var _ListCounterparties200Response = _interopRequireDefault(require("./model/ListCounterparties200Response"));
|
|
5339
|
+
var _ListCounterpartyEntries200Response = _interopRequireDefault(require("./model/ListCounterpartyEntries200Response"));
|
|
5105
5340
|
var _ListCounterpartyWalletAddress200Response = _interopRequireDefault(require("./model/ListCounterpartyWalletAddress200Response"));
|
|
5106
5341
|
var _ListDestinationBankAccounts200Response = _interopRequireDefault(require("./model/ListDestinationBankAccounts200Response"));
|
|
5342
|
+
var _ListDestinationEntries200Response = _interopRequireDefault(require("./model/ListDestinationEntries200Response"));
|
|
5107
5343
|
var _ListDestinationWalletAddresses200Response = _interopRequireDefault(require("./model/ListDestinationWalletAddresses200Response"));
|
|
5108
5344
|
var _ListDestinations200Response = _interopRequireDefault(require("./model/ListDestinations200Response"));
|
|
5109
5345
|
var _ListExchanges200ResponseInner = _interopRequireDefault(require("./model/ListExchanges200ResponseInner"));
|
|
5110
5346
|
var _ListForcedSweepRequests200Response = _interopRequireDefault(require("./model/ListForcedSweepRequests200Response"));
|
|
5111
5347
|
var _ListKeyShareHolderGroups200Response = _interopRequireDefault(require("./model/ListKeyShareHolderGroups200Response"));
|
|
5112
5348
|
var _ListKeyShareHolders200Response = _interopRequireDefault(require("./model/ListKeyShareHolders200Response"));
|
|
5349
|
+
var _ListKyaScreenings200Response = _interopRequireDefault(require("./model/ListKyaScreenings200Response"));
|
|
5113
5350
|
var _ListMerchantBalances200Response = _interopRequireDefault(require("./model/ListMerchantBalances200Response"));
|
|
5114
5351
|
var _ListMerchants200Response = _interopRequireDefault(require("./model/ListMerchants200Response"));
|
|
5115
5352
|
var _ListMpcProjects200Response = _interopRequireDefault(require("./model/ListMpcProjects200Response"));
|
|
@@ -5227,6 +5464,10 @@ var _RefundLinkBusinessInfo = _interopRequireDefault(require("./model/RefundLink
|
|
|
5227
5464
|
var _RefundStatus = _interopRequireDefault(require("./model/RefundStatus"));
|
|
5228
5465
|
var _RefundType = _interopRequireDefault(require("./model/RefundType"));
|
|
5229
5466
|
var _ReplaceType = _interopRequireDefault(require("./model/ReplaceType"));
|
|
5467
|
+
var _Report = _interopRequireDefault(require("./model/Report"));
|
|
5468
|
+
var _ReportExportFormat = _interopRequireDefault(require("./model/ReportExportFormat"));
|
|
5469
|
+
var _ReportStatus = _interopRequireDefault(require("./model/ReportStatus"));
|
|
5470
|
+
var _ReportType = _interopRequireDefault(require("./model/ReportType"));
|
|
5230
5471
|
var _RequestApproval = _interopRequireDefault(require("./model/RequestApproval"));
|
|
5231
5472
|
var _RetryCallbackMessage201Response = _interopRequireDefault(require("./model/RetryCallbackMessage201Response"));
|
|
5232
5473
|
var _RetryWebhookEventById201Response = _interopRequireDefault(require("./model/RetryWebhookEventById201Response"));
|
|
@@ -5543,9 +5784,13 @@ var _UnfreezeDisposition = _interopRequireDefault(require("./model/UnfreezeDispo
|
|
|
5543
5784
|
var _UpdateAddressBookParam = _interopRequireDefault(require("./model/UpdateAddressBookParam"));
|
|
5544
5785
|
var _UpdateBankAccountByIdRequest = _interopRequireDefault(require("./model/UpdateBankAccountByIdRequest"));
|
|
5545
5786
|
var _UpdateCounterpartyByIdRequest = _interopRequireDefault(require("./model/UpdateCounterpartyByIdRequest"));
|
|
5787
|
+
var _UpdateCounterpartyRequest = _interopRequireDefault(require("./model/UpdateCounterpartyRequest"));
|
|
5546
5788
|
var _UpdateCustodialWalletParams = _interopRequireDefault(require("./model/UpdateCustodialWalletParams"));
|
|
5547
5789
|
var _UpdateDestinationBankAccount = _interopRequireDefault(require("./model/UpdateDestinationBankAccount"));
|
|
5548
5790
|
var _UpdateDestinationByIdRequest = _interopRequireDefault(require("./model/UpdateDestinationByIdRequest"));
|
|
5791
|
+
var _UpdateDestinationEntry200Response = _interopRequireDefault(require("./model/UpdateDestinationEntry200Response"));
|
|
5792
|
+
var _UpdateDestinationEntryRequest = _interopRequireDefault(require("./model/UpdateDestinationEntryRequest"));
|
|
5793
|
+
var _UpdateDestinationRequest = _interopRequireDefault(require("./model/UpdateDestinationRequest"));
|
|
5549
5794
|
var _UpdateExchangeWalletParams = _interopRequireDefault(require("./model/UpdateExchangeWalletParams"));
|
|
5550
5795
|
var _UpdateGroupAction = _interopRequireDefault(require("./model/UpdateGroupAction"));
|
|
5551
5796
|
var _UpdateKeyShareHolderGroupByIdRequest = _interopRequireDefault(require("./model/UpdateKeyShareHolderGroupByIdRequest"));
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
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); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
|
+
* Cobo Wallet as a Service 2.0
|
|
17
|
+
*
|
|
18
|
+
* Contact: help@cobo.com
|
|
19
|
+
*
|
|
20
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
21
|
+
* https://openapi-generator.tech
|
|
22
|
+
* Do not edit the class manually.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Enum class AddressRiskLevel.
|
|
27
|
+
* @enum {}
|
|
28
|
+
* @readonly
|
|
29
|
+
*/
|
|
30
|
+
var AddressRiskLevel = exports["default"] = /*#__PURE__*/function () {
|
|
31
|
+
function AddressRiskLevel() {
|
|
32
|
+
_classCallCheck(this, AddressRiskLevel);
|
|
33
|
+
/**
|
|
34
|
+
* value: "Low"
|
|
35
|
+
* @const
|
|
36
|
+
*/
|
|
37
|
+
_defineProperty(this, "Low", "Low");
|
|
38
|
+
/**
|
|
39
|
+
* value: "Unscreened"
|
|
40
|
+
* @const
|
|
41
|
+
*/
|
|
42
|
+
_defineProperty(this, "Unscreened", "Unscreened");
|
|
43
|
+
/**
|
|
44
|
+
* value: "Medium"
|
|
45
|
+
* @const
|
|
46
|
+
*/
|
|
47
|
+
_defineProperty(this, "Medium", "Medium");
|
|
48
|
+
/**
|
|
49
|
+
* value: "High"
|
|
50
|
+
* @const
|
|
51
|
+
*/
|
|
52
|
+
_defineProperty(this, "High", "High");
|
|
53
|
+
/**
|
|
54
|
+
* value: "unknown_default_open_api"
|
|
55
|
+
* @const
|
|
56
|
+
*/
|
|
57
|
+
_defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
|
|
58
|
+
}
|
|
59
|
+
return _createClass(AddressRiskLevel, null, [{
|
|
60
|
+
key: "constructFromObject",
|
|
61
|
+
value:
|
|
62
|
+
/**
|
|
63
|
+
* Returns a <code>AddressRiskLevel</code> enum value from a Javascript object name.
|
|
64
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
65
|
+
* @return {module:model/AddressRiskLevel} The enum <code>AddressRiskLevel</code> value.
|
|
66
|
+
*/
|
|
67
|
+
function constructFromObject(object) {
|
|
68
|
+
return object;
|
|
69
|
+
}
|
|
70
|
+
}]);
|
|
71
|
+
}();
|