@cobo/cobo-waas2 1.26.0 → 1.27.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.
Files changed (127) hide show
  1. package/README.md +64 -4
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/DevelopersWebhooksApi.js +2 -2
  4. package/dist/api/PaymentApi.js +1298 -200
  5. package/dist/api/TransactionsApi.js +2 -2
  6. package/dist/index.js +266 -7
  7. package/dist/model/BankAccountStatus.js +66 -0
  8. package/dist/model/ContractCallDestination.js +38 -10
  9. package/dist/model/ContractCallDestinationType.js +5 -0
  10. package/dist/model/Counterparty.js +195 -0
  11. package/dist/model/CounterpartyDetail.js +228 -0
  12. package/dist/model/CounterpartyType.js +61 -0
  13. package/dist/model/CounterpartyWalletAddressDetail.js +192 -0
  14. package/dist/model/CreateCounterpartyRequest.js +193 -0
  15. package/dist/model/CreateCounterpartyWalletAddressRequest.js +140 -0
  16. package/dist/model/CreateDestinationBankAccount.js +257 -0
  17. package/dist/model/CreateDestinationBankAccountRequest.js +272 -0
  18. package/dist/model/CreateDestinationRequest.js +235 -0
  19. package/dist/model/CreateDestinationWalletAddressRequest.js +140 -0
  20. package/dist/model/CreateKeyShareHolder.js +1 -1
  21. package/dist/model/CreatePaymentOrderRequest.js +2 -2
  22. package/dist/model/CreateSettlement.js +13 -0
  23. package/dist/model/{ReceivedAmountPerAddress.js → CreateWalletAddress.js} +31 -32
  24. package/dist/model/DeleteCounterparty200Response.js +110 -0
  25. package/dist/model/DeleteCounterpartyWalletAddress200Response.js +110 -0
  26. package/dist/model/DeleteDestination200Response.js +110 -0
  27. package/dist/model/DeleteDestinationBankAccount200Response.js +110 -0
  28. package/dist/model/DeleteDestinationWalletAddress200Response.js +110 -0
  29. package/dist/model/Destination.js +208 -0
  30. package/dist/model/DestinationBankAccount.js +301 -0
  31. package/dist/model/DestinationBankAccountDetail.js +394 -0
  32. package/dist/model/DestinationDetail.js +272 -0
  33. package/dist/model/DestinationType.js +61 -0
  34. package/dist/model/DestinationWalletAddressDetail.js +205 -0
  35. package/dist/model/EnableDestinationWhitelistRequest.js +106 -0
  36. package/dist/model/EvmContractCallDestination.js +2 -2
  37. package/dist/model/ExchangeRate.js +140 -0
  38. package/dist/model/IntermediaryBankInfo.js +140 -0
  39. package/dist/model/Link.js +4 -4
  40. package/dist/model/LinkDisplayInfo.js +2 -2
  41. package/dist/model/ListCounterparties200Response.js +123 -0
  42. package/dist/model/ListCounterpartyWalletAddress200Response.js +123 -0
  43. package/dist/model/ListDestinationBankAccounts200Response.js +123 -0
  44. package/dist/model/ListDestinationWalletAddresses200Response.js +123 -0
  45. package/dist/model/ListDestinations200Response.js +123 -0
  46. package/dist/model/PaymentTransaction.js +32 -0
  47. package/dist/model/PaymentTransactionEventData.js +2 -2
  48. package/dist/model/QueryDestinationWhitelistEnabled200Response.js +106 -0
  49. package/dist/model/RefundLinkBusinessInfo.js +6 -6
  50. package/dist/model/SettlementDetail.js +13 -0
  51. package/dist/model/SwapActivityTimeline.js +1 -1
  52. package/dist/model/Transaction.js +1 -1
  53. package/dist/model/TransactionDestination.js +38 -10
  54. package/dist/model/TransactionDestinationType.js +5 -0
  55. package/dist/model/TransactionDetail.js +2 -2
  56. package/dist/model/TransactionDetails.js +2 -2
  57. package/dist/model/TransactionTronContractDestination.js +150 -0
  58. package/dist/model/TransactionWebhookEventData.js +2 -2
  59. package/dist/model/TronContractCallDestination.js +150 -0
  60. package/dist/model/UpdateCounterpartyByIdRequest.js +160 -0
  61. package/dist/model/UpdateDestinationBankAccount.js +257 -0
  62. package/dist/model/UpdateDestinationByIdRequest.js +173 -0
  63. package/dist/model/WalletAddress.js +151 -0
  64. package/dist/model/WebhookEventData.js +1 -1
  65. package/docs/BankAccountStatus.md +14 -0
  66. package/docs/ContractCallDestination.md +2 -2
  67. package/docs/ContractCallDestinationType.md +2 -0
  68. package/docs/Counterparty.md +16 -0
  69. package/docs/CounterpartyDetail.md +17 -0
  70. package/docs/CounterpartyType.md +12 -0
  71. package/docs/CounterpartyWalletAddressDetail.md +15 -0
  72. package/docs/CreateCounterpartyRequest.md +14 -0
  73. package/docs/CreateCounterpartyWalletAddressRequest.md +11 -0
  74. package/docs/CreateDestinationBankAccount.md +19 -0
  75. package/docs/CreateDestinationBankAccountRequest.md +20 -0
  76. package/docs/CreateDestinationRequest.md +16 -0
  77. package/docs/CreateDestinationWalletAddressRequest.md +11 -0
  78. package/docs/CreateKeyShareHolder.md +1 -1
  79. package/docs/CreatePaymentOrderRequest.md +1 -1
  80. package/docs/CreateSettlement.md +1 -0
  81. package/docs/CreateWalletAddress.md +10 -0
  82. package/docs/DeleteCounterparty200Response.md +9 -0
  83. package/docs/DeleteCounterpartyWalletAddress200Response.md +9 -0
  84. package/docs/DeleteDestination200Response.md +9 -0
  85. package/docs/DeleteDestinationBankAccount200Response.md +9 -0
  86. package/docs/DeleteDestinationWalletAddress200Response.md +9 -0
  87. package/docs/Destination.md +17 -0
  88. package/docs/DestinationBankAccount.md +23 -0
  89. package/docs/DestinationBankAccountDetail.md +30 -0
  90. package/docs/DestinationDetail.md +19 -0
  91. package/docs/DestinationType.md +12 -0
  92. package/docs/DestinationWalletAddressDetail.md +16 -0
  93. package/docs/DevelopersWebhooksApi.md +1 -1
  94. package/docs/EnableDestinationWhitelistRequest.md +9 -0
  95. package/docs/EvmContractCallDestination.md +1 -1
  96. package/docs/ExchangeRate.md +11 -0
  97. package/docs/IntermediaryBankInfo.md +11 -0
  98. package/docs/Link.md +2 -2
  99. package/docs/LinkDisplayInfo.md +2 -2
  100. package/docs/ListCounterparties200Response.md +10 -0
  101. package/docs/ListCounterpartyWalletAddress200Response.md +10 -0
  102. package/docs/ListDestinationBankAccounts200Response.md +10 -0
  103. package/docs/ListDestinationWalletAddresses200Response.md +10 -0
  104. package/docs/ListDestinations200Response.md +10 -0
  105. package/docs/PaymentApi.md +1459 -208
  106. package/docs/PaymentTransaction.md +2 -0
  107. package/docs/PaymentTransactionEventData.md +1 -1
  108. package/docs/QueryDestinationWhitelistEnabled200Response.md +9 -0
  109. package/docs/RefundLinkBusinessInfo.md +4 -4
  110. package/docs/SettlementDetail.md +1 -0
  111. package/docs/SwapActivityTimeline.md +1 -1
  112. package/docs/Transaction.md +1 -1
  113. package/docs/TransactionDestination.md +2 -2
  114. package/docs/TransactionDestinationType.md +2 -0
  115. package/docs/TransactionDetail.md +1 -1
  116. package/docs/TransactionDetails.md +1 -1
  117. package/docs/TransactionTronContractDestination.md +12 -0
  118. package/docs/TransactionWebhookEventData.md +1 -1
  119. package/docs/TransactionsApi.md +1 -1
  120. package/docs/TronContractCallDestination.md +12 -0
  121. package/docs/UpdateCounterpartyByIdRequest.md +13 -0
  122. package/docs/UpdateDestinationBankAccount.md +19 -0
  123. package/docs/UpdateDestinationByIdRequest.md +14 -0
  124. package/docs/WalletAddress.md +12 -0
  125. package/docs/WebhookEventData.md +1 -1
  126. package/package.json +1 -1
  127. package/docs/ReceivedAmountPerAddress.md +0 -10
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
11
11
  **to_address** | **String** | The destination address of the transaction. |
12
12
  **amount** | **String** | The amount of cryptocurrency transferred, as a decimal string. |
13
13
  **status** | [**TransactionStatus**](TransactionStatus.md) | |
14
+ **counterparty** | [**Counterparty**](Counterparty.md) | | [optional]
15
+ **destination** | [**Destination**](Destination.md) | | [optional]
14
16
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
15
17
  **updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. |
16
18
 
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
31
31
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
32
32
  **description** | **String** | The description for your transaction. | [optional]
33
33
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
34
- **cobo_category** | **[String]** | The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees. | [optional]
34
+ **cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
35
35
  **extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
36
36
  **fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
37
37
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.QueryDestinationWhitelistEnabled200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **enable_destination_whitelist** | **Boolean** | Indicates whether the destination whitelist is enabled. |
8
+
9
+
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **transaction_id** | **String** | The transaction ID. |
8
- **amount** | **String** | The amount to refund in cryptocurrency. |
7
+ **transaction_id** | **String** | The transaction ID of the original order payment or top-up. On the refund page, the from address of this transaction will be pre-filled as the default refund address. The refund will be processed in the same token and on the same blockchain as this transaction. |
8
+ **amount** | **String** | The amount to refund, denominated in the cryptocurrency of the original payment transaction. The amount must be a positive number and can have up to two decimal places. |
9
9
  **refund_source** | [**RefundType**](RefundType.md) | |
10
- **merchant_id** | **String** | The merchant ID, required if the refund amount source is `Merchant`. | [optional]
11
- **fee_amount** | **String** | The amount of the transaction fee that the merchant will bear for the refund. | [optional]
10
+ **merchant_id** | **String** | The merchant ID, required if `refund_source` is `Merchant`. The fund will be deducted from the specified merchant's balance. | [optional]
11
+ **fee_amount** | **String** | The developer fee amount to charge the merchant, denominated in the cryptocurrency of the original payment transaction. This field is only valid when `refund_source` is `Merchant`. For more information, please refer to [Funds allocation and balances](https://www.cobo.com/developers/v2/payments/amounts-and-balances). Must be: - A positive integer with up to two decimal places. - Less than the refund amount | [optional]
12
12
 
13
13
 
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **created_timestamp** | **Number** | The creation time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
17
17
  **updated_timestamp** | **Number** | The last update time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
18
18
  **crypto_address_id** | **String** | The ID of the crypto address used for crypto payouts. | [optional]
19
+ **crypto_address** | **String** | The actual blockchain address to which funds were transferred. | [optional]
19
20
  **payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
20
21
  **acquiring_type** | [**AcquiringType**](AcquiringType.md) | | [optional]
21
22
  **settlement_request_id** | **String** | The settlement request ID generated by Cobo. | [optional]
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **action** | **String** | The action in the swap activity. Possible values include: - `Submitted`: The swap request has been submitted. - `Pending Authorization`: The swap request is pending authorization. - `Bridge {Token}`: The token is being bridged to the destination chain. - `Swap {Token}`: The token is being exchanged to the destination token. - `Cobo Confirmation`: The swap result is pending Cobo's final confirmation. |
8
8
  **status** | **String** | The status of the action. Possible values include: - `Success`: The action completed successfully. - `Processing`: The action is being processed. - `Failed`: The action failed. |
9
- **timestamp** | **Number** | The time when the action occurred, in Unix timestamp format, measured in milliseconds. | [optional]
9
+ **timestamp** | **Number** | The time when the action occurred, in Unix timestamp format, measured in milliseconds. | [optional]
10
10
 
11
11
 
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
30
30
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
31
31
  **description** | **String** | The description for your transaction. | [optional]
32
32
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
33
- **cobo_category** | **[String]** | The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees. | [optional]
33
+ **cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
34
34
  **extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
35
35
  **fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
36
36
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
15
15
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
16
16
  **amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
17
17
  **address** | **String** | The destination address. |
18
- **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
19
- **calldata** | **String** | The data used to invoke a specific function or method within the specified contract at the destination address, with a maximum length of 65,000 characters. |
18
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 TRX, then the value is `1.5`. | [optional]
19
+ **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
20
20
  **calldata_info** | [**TransactionEvmCalldataInfo**](TransactionEvmCalldataInfo.md) | | [optional]
21
21
  **instructions** | [**[TransactionSolContractInstruction]**](TransactionSolContractInstruction.md) | | [optional]
22
22
  **address_lookup_table_accounts** | [**[TransactionSolContractAddressLookupTableAccount]**](TransactionSolContractAddressLookupTableAccount.md) | | [optional]
@@ -17,6 +17,8 @@
17
17
 
18
18
  * `COSMOS_Contract` (value: `"COSMOS_Contract"`)
19
19
 
20
+ * `TRON_Contract` (value: `"TRON_Contract"`)
21
+
20
22
  * `EVM_EIP_191_Signature` (value: `"EVM_EIP_191_Signature"`)
21
23
 
22
24
  * `EVM_EIP_712_Signature` (value: `"EVM_EIP_712_Signature"`)
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
30
30
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
31
31
  **description** | **String** | The description for your transaction. | [optional]
32
32
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
33
- **cobo_category** | **[String]** | The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees. | [optional]
33
+ **cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
34
34
  **extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
35
35
  **fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
36
36
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
30
30
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
31
31
  **description** | **String** | The description for your transaction. | [optional]
32
32
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
33
- **cobo_category** | **[String]** | The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees. | [optional]
33
+ **cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
34
34
  **extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
35
35
  **fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
36
36
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.TransactionTronContractDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**TransactionDestinationType**](TransactionDestinationType.md) | |
8
+ **address** | **String** | The destination address. |
9
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 TRX, then the value is `1.5`. | [optional]
10
+ **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
+
12
+
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
31
31
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
32
32
  **description** | **String** | The description for your transaction. | [optional]
33
33
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
34
- **cobo_category** | **[String]** | The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees. | [optional]
34
+ **cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
35
35
  **extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
36
36
  **fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
37
37
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
@@ -186,7 +186,7 @@ Name | Type | Description | Notes
186
186
 
187
187
  Call smart contract
188
188
 
189
- 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. <Note>Currently, this operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets, or Smart Contract Wallets on EVM-compatible chains and Solana.</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>
189
+ 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. <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>
190
190
 
191
191
  ### Example
192
192
 
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.TronContractCallDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
8
+ **address** | **String** | The destination address. |
9
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 TRX, then the value is `1.5`. | [optional]
10
+ **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
+
12
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.UpdateCounterpartyByIdRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **counterparty_name** | **String** | The counterparty name. |
8
+ **counterparty_type** | [**CounterpartyType**](CounterpartyType.md) | |
9
+ **country** | **String** | The country of the counterparty, in ISO 3166-1 alpha-3 format. | [optional]
10
+ **email** | **String** | The email of the counterparty. | [optional]
11
+ **contact_address** | **String** | The contact address of the counterparty. | [optional]
12
+
13
+
@@ -0,0 +1,19 @@
1
+ # CoboWaas2.UpdateDestinationBankAccount
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **account_alias** | **String** | The alias of the bank account. |
8
+ **account_number** | **String** | The bank account number. |
9
+ **swift_code** | **String** | The SWIFT or BIC code of the bank. |
10
+ **currency** | **String** | The currency of the bank account. |
11
+ **beneficiary_name** | **String** | The name of the account holder. |
12
+ **beneficiary_address** | **String** | The address of the account holder. |
13
+ **bank_name** | **String** | The name of the bank. |
14
+ **bank_address** | **String** | The address of the bank. |
15
+ **iban_code** | **String** | The IBAN code of the bank account. | [optional]
16
+ **further_credit** | **String** | The further credit of the bank account. | [optional]
17
+ **intermediary_bank_info** | [**IntermediaryBankInfo**](IntermediaryBankInfo.md) | | [optional]
18
+
19
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.UpdateDestinationByIdRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_name** | **String** | The destination name. |
8
+ **destination_type** | [**DestinationType**](DestinationType.md) | |
9
+ **merchant_id** | **String** | The ID of the merchant linked to the destination. | [optional]
10
+ **country** | **String** | The country of the destination, in ISO 3166-1 alpha-3 format. | [optional]
11
+ **email** | **String** | The email of the destination. | [optional]
12
+ **contact_address** | **String** | The contact address of the destination. | [optional]
13
+
14
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.WalletAddress
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **wallet_address_id** | **String** | The wallet address ID. |
8
+ **address** | **String** | The wallet address. |
9
+ **chain_id** | **String** | The chain ID of the cryptocurrency. |
10
+ **updated_timestamp** | **Number** | The updated time of the wallet address, represented as a UNIX timestamp in seconds. |
11
+
12
+
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
31
31
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
32
32
  **description** | **String** | The description for your transaction. | [optional]
33
33
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
34
- **cobo_category** | **[String]** | The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees. | [optional]
34
+ **cobo_category** | **[String]** | The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories). | [optional]
35
35
  **extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
36
36
  **fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
37
37
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobo/cobo-waas2",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo's WaaS API offering. It enables you to access Cobo's full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features: - A unified API for Cobo's [all four wallet types](https://manuals.cobo.com/en/portal/introduction#an-all-in-one-wallet-platform) - Support for 80+ chains and 3000+ tokens - A comprehensive selection of webhook events - Flexible usage models for MPC Wallets, including [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/introduction) and [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ucw/introduction) - Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls - Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction). ",
5
5
  "license": "GPL 2.0",
6
6
  "main": "dist/index.js",
@@ -1,10 +0,0 @@
1
- # CoboWaas2.ReceivedAmountPerAddress
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **address** | **String** | The receiving address. |
8
- **total_received_amount** | **String** | The total amount of the token that has been received at this address. |
9
-
10
-