@cobo/cobo-waas2 1.8.0 → 1.9.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 (132) hide show
  1. package/README.md +78 -30
  2. package/dist/ApiClient.js +11 -1
  3. package/dist/api/AddressBooksApi.js +1 -1
  4. package/dist/api/DevelopersApi.js +3 -3
  5. package/dist/api/DevelopersWebhooksApi.js +8 -8
  6. package/dist/api/PrimeBrokerApi.js +317 -0
  7. package/dist/api/StakingsApi.js +12 -12
  8. package/dist/api/TransactionsApi.js +60 -16
  9. package/dist/api/TravelRuleApi.js +18 -18
  10. package/dist/api/WalletsApi.js +84 -13
  11. package/dist/api/WalletsExchangeWalletApi.js +1 -1
  12. package/dist/api/WalletsMPCWalletsApi.js +151 -39
  13. package/dist/api/WalletsSmartContractWalletsApi.js +1 -1
  14. package/dist/index.js +112 -7
  15. package/dist/model/ActivityExtra.js +5 -5
  16. package/dist/model/AddressBalance.js +129 -0
  17. package/dist/model/AddressTransferDestination.js +36 -0
  18. package/dist/model/ApprovalStatementStatus.js +81 -0
  19. package/dist/model/AssetBalance.js +6 -6
  20. package/dist/model/BTCEIP191MessageSignDestination.js +122 -0
  21. package/dist/model/BabylonStakingActivityDetailExtra.js +1 -1
  22. package/dist/model/{TokenBalanceBalance.js → Balance.js} +22 -22
  23. package/dist/model/ChangeGuardPubkey200Response.js +110 -0
  24. package/dist/model/ContractCallParams.js +36 -0
  25. package/dist/model/CoreStakingActivityDetailExtra.js +3 -3
  26. package/dist/model/CreateAddressRequest.js +28 -2
  27. package/dist/model/CreatePrimeBrokerAddress201Response.js +140 -0
  28. package/dist/model/CreatePrimeBrokerAddressRequest.js +107 -0
  29. package/dist/model/DeleteGuardPubkey201Response.js +110 -0
  30. package/dist/model/EthStakeEstimatedFee.js +1 -1
  31. package/dist/model/EthStakingActivityDetailExtra.js +1 -1
  32. package/dist/model/GetStakingEstimationFee201Response.js +1 -1
  33. package/dist/model/GetTransactionLimitation200Response.js +4 -4
  34. package/dist/model/GuardPubkeyStatus.js +91 -0
  35. package/dist/model/ListAddressBalancesByToken200Response.js +123 -0
  36. package/dist/model/ListKeyShareHolders200Response.js +123 -0
  37. package/dist/model/MessageSignDestination.js +70 -8
  38. package/dist/model/MessageSignDestinationType.js +12 -2
  39. package/dist/model/OrgInfo.js +3 -3
  40. package/dist/model/QueryApprovalStatement200Response.js +122 -0
  41. package/dist/model/QueryGuardPubkey200Response.js +129 -0
  42. package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +125 -0
  43. package/dist/model/RootPubkey.js +1 -1
  44. package/dist/model/SelfCustodyWallet.js +7 -7
  45. package/dist/model/SubWalletAssetBalance.js +6 -6
  46. package/dist/model/SubmitDepositTravelRuleInfo201Response.js +1 -1
  47. package/dist/model/TSSGroups.js +1 -1
  48. package/dist/model/TokenBalance.js +6 -6
  49. package/dist/model/TransactionDepositToAddressDestination.js +16 -0
  50. package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +83 -0
  51. package/dist/model/TransactionDestination.js +6 -0
  52. package/dist/model/TransactionRawTxInfo.js +13 -0
  53. package/dist/model/TransactionSubStatus.js +5 -0
  54. package/dist/model/TransactionUserApprovalDetail.js +3 -3
  55. package/dist/model/TransferDestination.js +6 -0
  56. package/dist/model/TransferParams.js +36 -0
  57. package/dist/model/TravelRuleDepositExchangesOrVASP.js +4 -4
  58. package/dist/model/TravelRuleDepositExchangesOrVASPEntityInfo.js +7 -7
  59. package/dist/model/TravelRuleDepositLegalEntity.js +5 -5
  60. package/dist/model/TravelRuleDepositNaturalEntity.js +9 -9
  61. package/dist/model/TravelRuleDepositRequestTravelRuleInfo.js +5 -5
  62. package/dist/model/TravelRuleWithdrawExchangesOrVASP.js +3 -3
  63. package/dist/model/TravelRuleWithdrawExchangesOrVASPEntityInfo.js +5 -5
  64. package/dist/model/TravelRuleWithdrawLegalEntity.js +2 -2
  65. package/dist/model/TravelRuleWithdrawNaturalEntity.js +7 -7
  66. package/dist/model/TravelRuleWithdrawRequestTravelRuleInfo.js +4 -4
  67. package/dist/model/Vasp.js +7 -7
  68. package/docs/ActivityExtra.md +5 -5
  69. package/docs/AddressBalance.md +10 -0
  70. package/docs/AddressBooksApi.md +1 -1
  71. package/docs/AddressTransferDestination.md +14 -0
  72. package/docs/ApprovalStatementStatus.md +20 -0
  73. package/docs/AssetBalance.md +1 -1
  74. package/docs/BTCEIP191MessageSignDestination.md +10 -0
  75. package/docs/BabylonStakingActivityDetailExtra.md +1 -1
  76. package/docs/{TokenBalanceBalance.md → Balance.md} +1 -1
  77. package/docs/ChangeGuardPubkey200Response.md +9 -0
  78. package/docs/ContractCallParams.md +14 -0
  79. package/docs/CoreStakingActivityDetailExtra.md +3 -3
  80. package/docs/CreateAddressRequest.md +3 -1
  81. package/docs/CreatePrimeBrokerAddress201Response.md +10 -0
  82. package/docs/CreatePrimeBrokerAddressRequest.md +9 -0
  83. package/docs/DeleteGuardPubkey201Response.md +9 -0
  84. package/docs/DevelopersApi.md +3 -3
  85. package/docs/DevelopersWebhooksApi.md +8 -8
  86. package/docs/EthStakeEstimatedFee.md +1 -1
  87. package/docs/EthStakingActivityDetailExtra.md +1 -1
  88. package/docs/GetStakingEstimationFee201Response.md +1 -1
  89. package/docs/GetTransactionLimitation200Response.md +4 -4
  90. package/docs/GuardPubkeyStatus.md +24 -0
  91. package/docs/ListAddressBalancesByToken200Response.md +10 -0
  92. package/docs/ListKeyShareHolders200Response.md +10 -0
  93. package/docs/MessageSignDestination.md +1 -0
  94. package/docs/MessageSignDestinationType.md +6 -2
  95. package/docs/OrgInfo.md +1 -1
  96. package/docs/PrimeBrokerApi.md +318 -0
  97. package/docs/QueryApprovalStatement200Response.md +12 -0
  98. package/docs/QueryGuardPubkey200Response.md +11 -0
  99. package/docs/QueryGuardPubkey200ResponseAddressesInner.md +10 -0
  100. package/docs/RootPubkey.md +1 -1
  101. package/docs/SelfCustodyWallet.md +3 -3
  102. package/docs/StakingsApi.md +12 -12
  103. package/docs/SubWalletAssetBalance.md +1 -1
  104. package/docs/SubmitDepositTravelRuleInfo201Response.md +1 -1
  105. package/docs/TSSGroups.md +1 -1
  106. package/docs/TokenBalance.md +1 -1
  107. package/docs/TransactionDepositToAddressDestination.md +1 -0
  108. package/docs/TransactionDepositToAddressDestinationTxInfo.md +9 -0
  109. package/docs/TransactionDestination.md +1 -0
  110. package/docs/TransactionRawTxInfo.md +1 -0
  111. package/docs/TransactionSubStatus.md +2 -0
  112. package/docs/TransactionUserApprovalDetail.md +3 -3
  113. package/docs/TransactionsApi.md +66 -15
  114. package/docs/TransferDestination.md +14 -0
  115. package/docs/TransferParams.md +14 -0
  116. package/docs/TravelRuleApi.md +13 -13
  117. package/docs/TravelRuleDepositExchangesOrVASP.md +2 -2
  118. package/docs/TravelRuleDepositExchangesOrVASPEntityInfo.md +7 -7
  119. package/docs/TravelRuleDepositLegalEntity.md +3 -3
  120. package/docs/TravelRuleDepositNaturalEntity.md +5 -5
  121. package/docs/TravelRuleDepositRequestTravelRuleInfo.md +5 -5
  122. package/docs/TravelRuleWithdrawExchangesOrVASP.md +1 -1
  123. package/docs/TravelRuleWithdrawExchangesOrVASPEntityInfo.md +5 -5
  124. package/docs/TravelRuleWithdrawLegalEntity.md +1 -1
  125. package/docs/TravelRuleWithdrawNaturalEntity.md +4 -4
  126. package/docs/TravelRuleWithdrawRequestTravelRuleInfo.md +4 -4
  127. package/docs/Vasp.md +3 -3
  128. package/docs/WalletsApi.md +78 -13
  129. package/docs/WalletsExchangeWalletApi.md +1 -1
  130. package/docs/WalletsMPCWalletsApi.md +141 -27
  131. package/docs/WalletsSmartContractWalletsApi.md +1 -1
  132. package/package.json +1 -1
@@ -12,10 +12,11 @@ Method | HTTP request | Description
12
12
  [**createTransferTransaction**](TransactionsApi.md#createTransferTransaction) | **POST** /transactions/transfer | Transfer token
13
13
  [**dropTransactionById**](TransactionsApi.md#dropTransactionById) | **POST** /transactions/{transaction_id}/drop | Drop transaction
14
14
  [**estimateFee**](TransactionsApi.md#estimateFee) | **POST** /transactions/estimate_fee | Estimate transaction fee
15
- [**getTransactionApprovalDetail**](TransactionsApi.md#getTransactionApprovalDetail) | **GET** /transactions/{transaction_id}/approval_detail | Get transaction approval information
15
+ [**getTransactionApprovalDetail**](TransactionsApi.md#getTransactionApprovalDetail) | **GET** /transactions/{transaction_id}/approval_detail | Get transaction approval details
16
16
  [**getTransactionById**](TransactionsApi.md#getTransactionById) | **GET** /transactions/{transaction_id} | Get transaction information
17
17
  [**listTransactions**](TransactionsApi.md#listTransactions) | **GET** /transactions | List all transactions
18
18
  [**resendTransactionById**](TransactionsApi.md#resendTransactionById) | **POST** /transactions/{transaction_id}/resend | Resend transaction
19
+ [**signAndBroadcastTransactionById**](TransactionsApi.md#signAndBroadcastTransactionById) | **POST** /transactions/{transaction_id}/sign_and_broadcast | Sign and broadcast transaction
19
20
  [**speedupTransactionById**](TransactionsApi.md#speedupTransactionById) | **POST** /transactions/{transaction_id}/speedup | Speed up transaction
20
21
 
21
22
 
@@ -64,7 +65,7 @@ Name | Type | Description | Notes
64
65
 
65
66
  ### Authorization
66
67
 
67
- [CoboAuth](../README.md#CoboAuth)
68
+ [OAuth2](../README.md#OAuth2)
68
69
 
69
70
  ### HTTP request headers
70
71
 
@@ -114,7 +115,7 @@ Name | Type | Description | Notes
114
115
 
115
116
  ### Authorization
116
117
 
117
- [CoboAuth](../README.md#CoboAuth)
118
+ [OAuth2](../README.md#OAuth2)
118
119
 
119
120
  ### HTTP request headers
120
121
 
@@ -168,7 +169,7 @@ Name | Type | Description | Notes
168
169
 
169
170
  ### Authorization
170
171
 
171
- [CoboAuth](../README.md#CoboAuth)
172
+ [OAuth2](../README.md#OAuth2)
172
173
 
173
174
  ### HTTP request headers
174
175
 
@@ -220,7 +221,7 @@ Name | Type | Description | Notes
220
221
 
221
222
  ### Authorization
222
223
 
223
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
224
+ [OAuth2](../README.md#OAuth2)
224
225
 
225
226
  ### HTTP request headers
226
227
 
@@ -272,7 +273,7 @@ Name | Type | Description | Notes
272
273
 
273
274
  ### Authorization
274
275
 
275
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
276
+ [OAuth2](../README.md#OAuth2)
276
277
 
277
278
  ### HTTP request headers
278
279
 
@@ -286,7 +287,7 @@ Name | Type | Description | Notes
286
287
 
287
288
  Transfer token
288
289
 
289
- 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, do not set the fee-related properties. Otherwise, the transaction will fail.</Note> <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. 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>
290
+ 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. 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>
290
291
 
291
292
  ### Example
292
293
 
@@ -324,7 +325,7 @@ Name | Type | Description | Notes
324
325
 
325
326
  ### Authorization
326
327
 
327
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
328
+ [OAuth2](../README.md#OAuth2)
328
329
 
329
330
  ### HTTP request headers
330
331
 
@@ -378,7 +379,7 @@ Name | Type | Description | Notes
378
379
 
379
380
  ### Authorization
380
381
 
381
- [CoboAuth](../README.md#CoboAuth)
382
+ [OAuth2](../README.md#OAuth2)
382
383
 
383
384
  ### HTTP request headers
384
385
 
@@ -430,7 +431,7 @@ Name | Type | Description | Notes
430
431
 
431
432
  ### Authorization
432
433
 
433
- [CoboAuth](../README.md#CoboAuth)
434
+ [OAuth2](../README.md#OAuth2)
434
435
 
435
436
  ### HTTP request headers
436
437
 
@@ -442,7 +443,7 @@ Name | Type | Description | Notes
442
443
 
443
444
  > TransactionApprovalDetail getTransactionApprovalDetail(transaction_id)
444
445
 
445
- Get transaction approval information
446
+ Get transaction approval details
446
447
 
447
448
  This operation retrieves approval detailed information about a specified transaction.
448
449
 
@@ -530,7 +531,7 @@ Name | Type | Description | Notes
530
531
 
531
532
  ### Authorization
532
533
 
533
- [CoboAuth](../README.md#CoboAuth)
534
+ [OAuth2](../README.md#OAuth2)
534
535
 
535
536
  ### HTTP request headers
536
537
 
@@ -614,7 +615,7 @@ Name | Type | Description | Notes
614
615
 
615
616
  ### Authorization
616
617
 
617
- [CoboAuth](../README.md#CoboAuth)
618
+ [OAuth2](../README.md#OAuth2)
618
619
 
619
620
  ### HTTP request headers
620
621
 
@@ -668,7 +669,7 @@ Name | Type | Description | Notes
668
669
 
669
670
  ### Authorization
670
671
 
671
- [CoboAuth](../README.md#CoboAuth)
672
+ [OAuth2](../README.md#OAuth2)
672
673
 
673
674
  ### HTTP request headers
674
675
 
@@ -676,6 +677,56 @@ Name | Type | Description | Notes
676
677
  - **Accept**: application/json
677
678
 
678
679
 
680
+ ## signAndBroadcastTransactionById
681
+
682
+ > CreateTransferTransaction201Response signAndBroadcastTransactionById(transaction_id)
683
+
684
+ Sign and broadcast transaction
685
+
686
+ This operation signs and broadcasts a specified transaction. To call this operation, the following conditions must be met: - The `transaction_process_type` of the transaction must be set to `BuildOnly` when you call the [Transfer token](https://www.cobo.com/developers/v2/api-references/transactions/transfer-token) or [Call smart contract](https://www.cobo.com/developers/v2/api-references/transactions/call-smart-contract) operation. - The transaction status must be `Built`.
687
+
688
+ ### Example
689
+
690
+ ```javascript
691
+ const CoboWaas2 = require('@cobo/cobo-waas2');
692
+ // Initialize the API client
693
+ const apiClient = CoboWaas2.ApiClient.instance
694
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
695
+ apiClient.setEnv(CoboWaas2.Env.DEV);
696
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
697
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
698
+ // Call the API
699
+ const apiInstance = new CoboWaas2.TransactionsApi();
700
+ const transaction_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
701
+ apiInstance.signAndBroadcastTransactionById(transaction_id).then((data) => {
702
+ console.log('API called successfully. Returned data: ' + data);
703
+ }, (error) => {
704
+ console.error(error);
705
+ });
706
+
707
+ ```
708
+
709
+ ### Parameters
710
+
711
+
712
+ Name | Type | Description | Notes
713
+ ------------- | ------------- | ------------- | -------------
714
+ **transaction_id** | **String**| The transaction ID. |
715
+
716
+ ### Return type
717
+
718
+ [**CreateTransferTransaction201Response**](CreateTransferTransaction201Response.md)
719
+
720
+ ### Authorization
721
+
722
+ [CoboAuth](../README.md#CoboAuth)
723
+
724
+ ### HTTP request headers
725
+
726
+ - **Content-Type**: Not defined
727
+ - **Accept**: application/json
728
+
729
+
679
730
  ## speedupTransactionById
680
731
 
681
732
  > CreateTransferTransaction201Response speedupTransactionById(transaction_id, opts)
@@ -722,7 +773,7 @@ Name | Type | Description | Notes
722
773
 
723
774
  ### Authorization
724
775
 
725
- [CoboAuth](../README.md#CoboAuth)
776
+ [OAuth2](../README.md#OAuth2)
726
777
 
727
778
  ### HTTP request headers
728
779
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **account_output** | [**AddressTransferDestinationAccountOutput**](AddressTransferDestinationAccountOutput.md) | | [optional]
9
9
  **utxo_outputs** | [**[AddressTransferDestinationUtxoOutputsInner]**](AddressTransferDestinationUtxoOutputsInner.md) | | [optional]
10
10
  **change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
11
+ **change_output_type** | **String** | The position of the change output in the transaction&#39;s outputs. Possible values are: - &#x60;Last&#x60;: The change output is placed at the end of the transaction&#39;s outputs. - &#x60;First&#x60;: The change output is placed at the beginning of the transaction&#39;s outputs. | [optional]
11
12
  **force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction request must be executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both &#x60;force_internal&#x60; and &#x60;force_external&#x60; as &#x60;true&#x60;. | [optional]
12
13
  **force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction request must not be executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction request can be executed as a Cobo Loop transfer. Please do not set both &#x60;force_internal&#x60; and &#x60;force_external&#x60; as &#x60;true&#x60;. | [optional]
13
14
  **wallet_id** | **String** | The wallet ID. |
@@ -15,3 +16,16 @@ Name | Type | Description | Notes
15
16
  **amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is &#x60;1.5&#x60;. |
16
17
 
17
18
 
19
+
20
+ ## Enum: ChangeOutputTypeEnum
21
+
22
+
23
+ * `Last` (value: `"Last"`)
24
+
25
+ * `First` (value: `"First"`)
26
+
27
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
28
+
29
+
30
+
31
+
@@ -11,6 +11,20 @@ Name | Type | Description | Notes
11
11
  **category_names** | **[String]** | The custom category for you to identify your transactions. | [optional]
12
12
  **description** | **String** | The description of the transfer. | [optional]
13
13
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
14
+ **transaction_process_type** | **String** | Transaction processing type. Possible values are: - &#x60;AutoProcess&#x60; (default): After the transaction is constructed, it will be automatically signed and broadcast. - &#x60;BuildOnly&#x60;: Set to this value if you want to build the transaction first without automatically signing and broadcasting it. You can manually call the [Sign and broadcast transaction](https://www.cobo.com/developers/v2/api-references/transactions/sign-and-broadcast-transaction) operation to complete the signing and broadcasting process. | [optional]
14
15
  **auto_fuel** | [**AutoFuelType**](AutoFuelType.md) | | [optional]
15
16
 
16
17
 
18
+
19
+ ## Enum: TransactionProcessTypeEnum
20
+
21
+
22
+ * `AutoProcess` (value: `"AutoProcess"`)
23
+
24
+ * `BuildOnly` (value: `"BuildOnly"`)
25
+
26
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
27
+
28
+
29
+
30
+
@@ -6,8 +6,8 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**getTransactionLimitation**](TravelRuleApi.md#getTransactionLimitation) | **GET** /travel_rule/transaction/limitation | Retrieve transaction limitations
8
8
  [**listSupportedCountries**](TravelRuleApi.md#listSupportedCountries) | **GET** /travel_rule/transaction/countries | List supported countries
9
- [**submitDepositTravelRuleInfo**](TravelRuleApi.md#submitDepositTravelRuleInfo) | **POST** /travel_rule/transaction/deposit/travel_rule_info | Submit Deposit Transaction Travel Rule information
10
- [**submitWithdrawTravelRuleInfo**](TravelRuleApi.md#submitWithdrawTravelRuleInfo) | **POST** /travel_rule/transaction/withdraw/travel_rule_info | Submit Withdraw Transaction Travel Rule information
9
+ [**submitDepositTravelRuleInfo**](TravelRuleApi.md#submitDepositTravelRuleInfo) | **POST** /travel_rule/transaction/deposit/travel_rule_info | Submit Travel Rule information for deposits
10
+ [**submitWithdrawTravelRuleInfo**](TravelRuleApi.md#submitWithdrawTravelRuleInfo) | **POST** /travel_rule/transaction/withdraw/travel_rule_info | Submit Travel Rule information for withdrawals
11
11
 
12
12
 
13
13
 
@@ -17,7 +17,7 @@ Method | HTTP request | Description
17
17
 
18
18
  Retrieve transaction limitations
19
19
 
20
- This endpoint retrieves transaction-related limitations based on the provided &#x60;transaction_type&#x60; and &#x60;transaction_id&#x60;. The response includes the following information: - **&#x60;vasp_list&#x60;**: A list of Virtual Asset Service Providers (VASPs) associated with the transaction token. - **&#x60;is_threshold_reached&#x60;**: Indicates whether the transaction amount has exceeded the predefined threshold. - If &#x60;true&#x60;: Additional Travel Rule information may be required for processing. - **&#x60;self_custody_wallet_challenge&#x60;**: A challenge string for verifying ownership of self-custody wallets. - **&#x60;connect_wallet_list&#x60;**: A list of supported wallet integrations for the transaction, such as MetaMask or WalletConnect. Use this endpoint to ensure compliance with Travel Rule requirements and to retrieve supported options for completing the transaction.
20
+ This operation retrieves Travel Rule requirements and available options for a transaction based on its transaction type and ID. Use this endpoint before submitting Travel Rule information to understand the requirements and available options for your transaction.
21
21
 
22
22
  ### Example
23
23
 
@@ -47,7 +47,7 @@ apiInstance.getTransactionLimitation(transaction_type, transaction_id).then((dat
47
47
  Name | Type | Description | Notes
48
48
  ------------- | ------------- | ------------- | -------------
49
49
  **transaction_type** | **String**| The transaction type. Possible values include: - &#x60;DEPOSIT&#x60;: A deposit transaction. - &#x60;WITHDRAW&#x60;: A withdrawal transaction. |
50
- **transaction_id** | **String**| The transaction ID |
50
+ **transaction_id** | **String**| The transaction ID. |
51
51
 
52
52
  ### Return type
53
53
 
@@ -55,7 +55,7 @@ Name | Type | Description | Notes
55
55
 
56
56
  ### Authorization
57
57
 
58
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
58
+ [OAuth2](../README.md#OAuth2)
59
59
 
60
60
  ### HTTP request headers
61
61
 
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
69
69
 
70
70
  List supported countries
71
71
 
72
- This operation retrieves all countries supported.
72
+ This operation retrieves a list of supported countries that can be used when submitting Travel Rule information. Use this endpoint to obtain valid country values for: - Place of incorporation of a legal entity - Place of birth of a natural person
73
73
 
74
74
  ### Example
75
75
 
@@ -101,7 +101,7 @@ This endpoint does not need any parameter.
101
101
 
102
102
  ### Authorization
103
103
 
104
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
104
+ [OAuth2](../README.md#OAuth2)
105
105
 
106
106
  ### HTTP request headers
107
107
 
@@ -113,9 +113,9 @@ This endpoint does not need any parameter.
113
113
 
114
114
  > SubmitDepositTravelRuleInfo201Response submitDepositTravelRuleInfo(opts)
115
115
 
116
- Submit Deposit Transaction Travel Rule information
116
+ Submit Travel Rule information for deposits
117
117
 
118
- This operation allows you to submit the required Travel Rule information based on the transaction details. It supports both self-custody wallets and exchanges/VASPs, ensuring compliance with Travel Rule requirements. - **Destination Wallet Type (&#x60;destination_wallet_type&#x60;)**: - &#x60;SELF_CUSTODY_WALLET&#x60;: A self-custodial wallet (e.g., plugin wallet). Requires &#x60;self_custody_wallet_sign&#x60;, &#x60;self_custody_wallet_address&#x60;, and &#x60;self_custody_wallet_challenge&#x60;. - &#x60;EXCHANGES_OR_VASP&#x60;: A wallet associated with an exchange or VASP. Requires &#x60;vendor_vasp_id&#x60; and information depending on &#x60;selected_entity_type&#x60;. - **Entity Types (&#x60;selected_entity_type&#x60;)**: - &#x60;LEGAL&#x60;: For legal entities, provide &#x60;legal_name&#x60;, &#x60;date_of_incorporation&#x60;, and &#x60;place_of_incorporation&#x60;. - &#x60;NATURAL&#x60;: For natural persons, provide &#x60;date_of_birth&#x60;, &#x60;place_of_birth&#x60;, &#x60;first_name&#x60;, and &#x60;last_name&#x60;.
118
+ This operation submits Travel Rule information for a deposit transaction.
119
119
 
120
120
  ### Example
121
121
 
@@ -153,7 +153,7 @@ Name | Type | Description | Notes
153
153
 
154
154
  ### Authorization
155
155
 
156
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
156
+ [OAuth2](../README.md#OAuth2)
157
157
 
158
158
  ### HTTP request headers
159
159
 
@@ -165,9 +165,9 @@ Name | Type | Description | Notes
165
165
 
166
166
  > SubmitDepositTravelRuleInfo201Response submitWithdrawTravelRuleInfo(opts)
167
167
 
168
- Submit Withdraw Transaction Travel Rule information
168
+ Submit Travel Rule information for withdrawals
169
169
 
170
- This operation allows you to submit the required Travel Rule information based on the transaction details. It supports both self-custody wallets and exchanges/VASPs, ensuring compliance with Travel Rule requirements. - **Destination Wallet Type (&#x60;destination_wallet_type&#x60;)**: - &#x60;SELF_CUSTODY_WALLET&#x60;: A self-custodial wallet (e.g., plugin wallet). Requires &#x60;self_custody_wallet_sign&#x60;, &#x60;self_custody_wallet_address&#x60;, and &#x60;self_custody_wallet_challenge&#x60;. - &#x60;EXCHANGES_OR_VASP&#x60;: A wallet associated with an exchange or VASP. Requires &#x60;vendor_vasp_id&#x60; and information depending on &#x60;selected_entity_type&#x60;. - **Entity Types (&#x60;selected_entity_type&#x60;)**: - &#x60;LEGAL&#x60;: For legal entities, provide &#x60;legal_name&#x60;. - &#x60;NATURAL&#x60;: For natural persons, provide &#x60;date_of_birth&#x60;, &#x60;place_of_birth&#x60;, &#x60;first_name&#x60;, and &#x60;last_name&#x60;.
170
+ This operation submits Travel Rule information for a withdrawal transaction.
171
171
 
172
172
  ### Example
173
173
 
@@ -205,7 +205,7 @@ Name | Type | Description | Notes
205
205
 
206
206
  ### Authorization
207
207
 
208
- [OAuth2](../README.md#OAuth2), [CoboAuth](../README.md#CoboAuth)
208
+ [OAuth2](../README.md#OAuth2)
209
209
 
210
210
  ### HTTP request headers
211
211
 
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_wallet_type** | [**DestinationWalletType**](DestinationWalletType.md) | |
8
- **vendor_code** | **String** | The vendor code for exchanges or VASPs. |
8
+ **vendor_code** | **String** | The vendor code of the VASP. |
9
9
  **vendor_vasp_id** | **String** | The unique identifier of the VASP. |
10
- **vendor_vasp_name** | **String** | The vendor name to be provided when selecting \&quot;Others\&quot; as the VASP case. This field allows customers to specify the name of a vendor not listed. | [optional]
10
+ **vendor_vasp_name** | **String** | The vendor name. Use this field to specify the name of a vendor not listed. | [optional]
11
11
  **entity_info** | [**TravelRuleDepositExchangesOrVASPEntityInfo**](TravelRuleDepositExchangesOrVASPEntityInfo.md) | |
12
12
 
13
13
 
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **selected_entity_type** | **String** | Specifies the type of entity associated with the transaction. |
7
+ **selected_entity_type** | **String** | Specifies the type of entity associated with the transaction. - &#x60;LEGAL&#x60;: Legal entity. - &#x60;NATURAL&#x60;: Natural person. |
8
8
  **legal_name** | **String** | The legal name of the entity. |
9
- **date_of_incorporation** | **Date** | The incorporation date of the entity. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: LEGAL. Otherwise, this field can be omitted. | [optional]
10
- **place_of_incorporation** | **String** | The place of incorporation of the entity. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: LEGAL. Otherwise, this field can be omitted. | [optional]
11
- **first_name** | **String** | The first name of the user. |
12
- **last_name** | **String** | The last name of the user. |
13
- **date_of_birth** | **Date** | The date of birth of the user. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: NATURAL. Otherwise, this field can be omitted. | [optional]
14
- **place_of_birth** | **String** | The place of birth of the user. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: NATURAL. Otherwise, this field can be omitted. | [optional]
9
+ **date_of_incorporation** | **Date** | The date of incorporation of the entity. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;LEGAL&#x60;. | [optional]
10
+ **place_of_incorporation** | **String** | The place of incorporation of the entity. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;LEGAL&#x60;. | [optional]
11
+ **first_name** | **String** | The first name of the natural person. |
12
+ **last_name** | **String** | The last name of the natural person. |
13
+ **date_of_birth** | **Date** | The date of birth of the natural person. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;NATURAL&#x60;. | [optional]
14
+ **place_of_birth** | **String** | The place of birth of the natural person. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;NATURAL&#x60;. | [optional]
15
15
 
16
16
 
17
17
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **selected_entity_type** | **String** | Specifies the type of entity associated with the transaction. |
7
+ **selected_entity_type** | **String** | The entity type. Possible values include: - &#x60;LEGAL&#x60;: Legal entity. - &#x60;NATURAL&#x60;: Natural person. |
8
8
  **legal_name** | **String** | The legal name of the entity. |
9
- **date_of_incorporation** | **Date** | The incorporation date of the entity. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: LEGAL. Otherwise, this field can be omitted. | [optional]
10
- **place_of_incorporation** | **String** | The place of incorporation of the entity. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: LEGAL. Otherwise, this field can be omitted. | [optional]
9
+ **date_of_incorporation** | **Date** | The date of incorporation of the entity. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;LEGAL&#x60;. | [optional]
10
+ **place_of_incorporation** | **String** | The place of incorporation of the entity. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;LEGAL&#x60;. | [optional]
11
11
 
12
12
 
13
13
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **selected_entity_type** | **String** | Specifies the type of entity associated with the transaction. |
8
- **first_name** | **String** | The first name of the user. |
9
- **last_name** | **String** | The last name of the user. |
10
- **date_of_birth** | **Date** | The date of birth of the user. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: NATURAL. Otherwise, this field can be omitted. | [optional]
11
- **place_of_birth** | **String** | The place of birth of the user. This field is required when: - **Calling**: &#x60;travel_rule/transaction/limitation&#x60; API returns &#x60;is_threshold_reached &#x3D; true&#x60;. - **Entity Type**: NATURAL. Otherwise, this field can be omitted. | [optional]
7
+ **selected_entity_type** | **String** | Specifies the type of entity associated with the transaction. - &#x60;LEGAL&#x60;: Legal entity. - &#x60;NATURAL&#x60;: Natural person. |
8
+ **first_name** | **String** | The first name of the natural person. |
9
+ **last_name** | **String** | The last name of the natural person. |
10
+ **date_of_birth** | **Date** | The date of birth of the natural person. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;NATURAL&#x60;. | [optional]
11
+ **place_of_birth** | **String** | The place of birth of the natural person. This field is required when either of the following conditions is met: - &#x60;is_threshold_reached&#x60; is &#x60;true&#x60; in the response of the [Retrieve transaction limitations](https://www.cobo.com/developers/v2/api-references/travelrule/retrieve-transaction-limitations) operation. - &#x60;selected_entity_type&#x60; is &#x60;NATURAL&#x60;. | [optional]
12
12
 
13
13
 
14
14
 
@@ -5,12 +5,12 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_wallet_type** | [**DestinationWalletType**](DestinationWalletType.md) | |
8
- **vendor_code** | **String** | The vendor code for exchanges or VASPs. |
8
+ **vendor_code** | **String** | The vendor code of the VASP. |
9
9
  **vendor_vasp_id** | **String** | The unique identifier of the VASP. |
10
- **vendor_vasp_name** | **String** | The vendor name to be provided when selecting \&quot;Others\&quot; as the VASP case. This field allows customers to specify the name of a vendor not listed. | [optional]
10
+ **vendor_vasp_name** | **String** | The vendor name. Use this field to specify the name of a vendor not listed. | [optional]
11
11
  **entity_info** | [**TravelRuleDepositExchangesOrVASPEntityInfo**](TravelRuleDepositExchangesOrVASPEntityInfo.md) | |
12
- **self_custody_wallet_challenge** | **String** | The challenge obtained from a previous operation. |
13
- **self_custody_wallet_address** | **String** | The address of the self-custodial wallet. |
14
- **self_custody_wallet_sign** | **String** | The signed message from the self-custodial wallet. |
12
+ **self_custody_wallet_challenge** | **String** | The message obtained from the &#x60;Retrieve transaction limitations&#x60; operation. This message is used to verify wallet ownership through signing. |
13
+ **self_custody_wallet_address** | **String** | The address of the self-custody wallet. |
14
+ **self_custody_wallet_sign** | **String** | The signature created by signing the challenge message with the wallet&#39;s private key. |
15
15
 
16
16
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_wallet_type** | [**DestinationWalletType**](DestinationWalletType.md) | |
8
- **vendor_code** | **String** | The vendor code for exchanges or VASPs. |
8
+ **vendor_code** | **String** | The vendor code of the exchange or virtual asset service provider (VASP). |
9
9
  **vendor_vasp_id** | **String** | The unique identifier of the VASP. |
10
10
  **entity_info** | [**TravelRuleWithdrawExchangesOrVASPEntityInfo**](TravelRuleWithdrawExchangesOrVASPEntityInfo.md) | |
11
11
 
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **selected_entity_type** | [**SelectedEntityType**](SelectedEntityType.md) | |
8
8
  **legal_name** | **String** | The legal name of the entity. |
9
- **date_of_incorporation** | **Date** | The incorporation date of the entity. | [optional]
9
+ **date_of_incorporation** | **Date** | The date of incorporation of the entity. | [optional]
10
10
  **place_of_incorporation** | **String** | The place of incorporation of the entity. | [optional]
11
- **first_name** | **String** | The first name of the user. |
12
- **last_name** | **String** | The last name of the user. |
13
- **date_of_birth** | **Date** | The date of birth of the user. | [optional]
14
- **place_of_birth** | **String** | The place of birth of the user. | [optional]
11
+ **first_name** | **String** | The first name of the natural person. |
12
+ **last_name** | **String** | The last name of the natural person. |
13
+ **date_of_birth** | **Date** | The date of birth of the natural person. | [optional]
14
+ **place_of_birth** | **String** | The place of birth of the natural person. | [optional]
15
15
 
16
16
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **selected_entity_type** | [**SelectedEntityType**](SelectedEntityType.md) | |
8
8
  **legal_name** | **String** | The legal name of the entity. |
9
- **date_of_incorporation** | **Date** | The incorporation date of the entity. | [optional]
9
+ **date_of_incorporation** | **Date** | The date of incorporation of the entity. | [optional]
10
10
  **place_of_incorporation** | **String** | The place of incorporation of the entity. | [optional]
11
11
 
12
12
 
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **selected_entity_type** | [**SelectedEntityType**](SelectedEntityType.md) | |
8
- **first_name** | **String** | The first name of the user. |
9
- **last_name** | **String** | The last name of the user. |
10
- **date_of_birth** | **Date** | The date of birth of the user. | [optional]
11
- **place_of_birth** | **String** | The place of birth of the user. | [optional]
8
+ **first_name** | **String** | The first name of the natural person. |
9
+ **last_name** | **String** | The last name of the natural person. |
10
+ **date_of_birth** | **Date** | The date of birth of the natural person. | [optional]
11
+ **place_of_birth** | **String** | The place of birth of the natural person. | [optional]
12
12
 
13
13
 
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **destination_wallet_type** | [**DestinationWalletType**](DestinationWalletType.md) | |
8
- **self_custody_wallet_challenge** | **String** | The challenge obtained from a previous operation. |
9
- **self_custody_wallet_address** | **String** | The address of the self-custodial wallet. |
10
- **self_custody_wallet_sign** | **String** | The signed message from the self-custodial wallet. |
11
- **vendor_code** | **String** | The vendor code for exchanges or VASPs. |
8
+ **self_custody_wallet_challenge** | **String** | The message obtained from the &#x60;Retrieve transaction limitations&#x60; operation. This message is used to verify wallet ownership through signing. |
9
+ **self_custody_wallet_address** | **String** | The address of the self-custody wallet. |
10
+ **self_custody_wallet_sign** | **String** | The signature created by signing the challenge message with the wallet&#39;s private key. |
11
+ **vendor_code** | **String** | The vendor code of the exchange or virtual asset service provider (VASP). |
12
12
  **vendor_vasp_id** | **String** | The unique identifier of the VASP. |
13
13
  **entity_info** | [**TravelRuleWithdrawExchangesOrVASPEntityInfo**](TravelRuleWithdrawExchangesOrVASPEntityInfo.md) | |
14
14
 
package/docs/Vasp.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | The name of the vasp. |
8
- **vendor_code** | **String** | The symbol. |
9
- **vendor_vasp_id** | **String** | The vasp str id. |
7
+ **name** | **String** | The VASP name. |
8
+ **vendor_code** | **String** | The vendor code of the VASP. |
9
+ **vendor_vasp_id** | **String** | The VASP ID. |
10
10
 
11
11