@cobo/cobo-waas2 1.14.0 → 1.16.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 (216) hide show
  1. package/README.md +70 -5
  2. package/dist/ApiClient.js +2 -3
  3. package/dist/PreRequestScript.js +1 -1
  4. package/dist/api/AddressBooksApi.js +4 -4
  5. package/dist/api/AppWorkflowsApi.js +275 -0
  6. package/dist/api/DevelopersApi.js +4 -4
  7. package/dist/api/DevelopersWebhooksApi.js +12 -12
  8. package/dist/api/FeeStationApi.js +26 -26
  9. package/dist/api/PaymentApi.js +16 -16
  10. package/dist/api/StakingsApi.js +28 -28
  11. package/dist/api/TransactionsApi.js +16 -8
  12. package/dist/api/WalletsApi.js +121 -70
  13. package/dist/api/WalletsExchangeWalletApi.js +8 -8
  14. package/dist/api/WalletsMPCWalletsApi.js +20 -20
  15. package/dist/crypto/ApiSigner.js +1 -2
  16. package/dist/index.js +420 -0
  17. package/dist/model/AddressBook.js +18 -0
  18. package/dist/model/AppWorkflow.js +173 -0
  19. package/dist/model/AppWorkflowField.js +137 -0
  20. package/dist/model/AppWorkflowPolicy.js +144 -0
  21. package/dist/model/ApprovalEntry.js +148 -0
  22. package/dist/model/ApprovalRequest.js +178 -0
  23. package/dist/model/ApprovalRequestDetail.js +176 -0
  24. package/dist/model/ApprovalStatus.js +71 -0
  25. package/dist/model/ApprovalUser.js +146 -0
  26. package/dist/model/BabylonStakeExtra.js +16 -0
  27. package/dist/model/BankAccount.js +18 -0
  28. package/dist/model/BatchCheckUtxo201Response.js +107 -0
  29. package/dist/model/BatchCheckUtxoRequest.js +142 -0
  30. package/dist/model/BatchUTXOParam.js +123 -0
  31. package/dist/model/ChainInfo.js +9 -0
  32. package/dist/model/CreateApprovalRequest201Response.js +109 -0
  33. package/dist/model/CreateSettlement.js +4 -29
  34. package/dist/model/CreateStakeActivityExtra.js +6 -0
  35. package/dist/model/CreateTokenListingRequest201Response.js +2 -2
  36. package/dist/model/CreateTokenListingRequestRequest.js +4 -4
  37. package/dist/model/CustodialWeb3TransferSource.js +1 -1
  38. package/dist/model/EstimateContractCallFeeParams.js +13 -0
  39. package/dist/model/EstimateFeeParams.js +6 -0
  40. package/dist/model/EstimateTransferFeeParams.js +13 -0
  41. package/dist/model/FeeStationTransfer.js +1 -1
  42. package/dist/model/ListApprovalRequests200Response.js +123 -0
  43. package/dist/model/Merchant.js +18 -0
  44. package/dist/model/MpcTransferSource.js +1 -1
  45. package/dist/model/Order.js +49 -0
  46. package/dist/model/PaymentOrderEventData.js +64 -0
  47. package/dist/model/PaymentRefundEventData.js +77 -0
  48. package/dist/model/PaymentSettlementEvent.js +46 -0
  49. package/dist/model/PaymentTransaction.js +13 -0
  50. package/dist/model/PolicyAction.js +123 -0
  51. package/dist/model/PolicyActionContent.js +167 -0
  52. package/dist/model/PolicyActionType.js +66 -0
  53. package/dist/model/PolicyCondition.js +148 -0
  54. package/dist/model/PolicyFieldOperator.js +76 -0
  55. package/dist/model/PolicyFieldValueType.js +61 -0
  56. package/dist/model/Refund.js +53 -0
  57. package/dist/model/RequestApproval.js +188 -0
  58. package/dist/model/RevokeApprovalRequest201Response.js +118 -0
  59. package/dist/model/RevokeApprovalRequestRequest.js +110 -0
  60. package/dist/model/Settlement.js +31 -0
  61. package/dist/model/SettlementDetail.js +57 -0
  62. package/dist/model/SettlementInfo.js +31 -0
  63. package/dist/model/SwapActivity.js +3 -3
  64. package/dist/model/SwapActivityApprovers.js +122 -0
  65. package/dist/model/SwapActivityDetail.js +36 -6
  66. package/dist/model/SwapApproversStatus.js +66 -0
  67. package/dist/model/SwapQuote.js +49 -4
  68. package/dist/model/SwapToken.js +2 -2
  69. package/dist/model/TSSBaseRequestEventData.js +163 -0
  70. package/dist/model/TSSCallbackActionType.js +61 -0
  71. package/dist/model/TSSCallbackRequest.js +122 -0
  72. package/dist/model/TSSCallbackRequestType.js +76 -0
  73. package/dist/model/TSSCallbackResponse.js +118 -0
  74. package/dist/model/TSSCurve.js +61 -0
  75. package/dist/model/TSSCurveType.js +61 -0
  76. package/dist/model/TSSEvent.js +158 -0
  77. package/dist/model/TSSEventData.js +278 -0
  78. package/dist/model/TSSEventDataType.js +71 -0
  79. package/dist/model/TSSEventType.js +136 -0
  80. package/dist/model/TSSGroup.js +221 -0
  81. package/dist/model/TSSGroupType.js +61 -0
  82. package/dist/model/TSSGroups.js +1 -1
  83. package/dist/model/TSSKeyGenEventData.js +228 -0
  84. package/dist/model/TSSKeyGenExtra.js +154 -0
  85. package/dist/model/TSSKeyGenRequest.js +130 -0
  86. package/dist/model/TSSKeyReshareEventData.js +228 -0
  87. package/dist/model/TSSKeyReshareExtra.js +169 -0
  88. package/dist/model/TSSKeyReshareRequest.js +177 -0
  89. package/dist/model/TSSKeyShareSignDetail.js +100 -0
  90. package/dist/model/TSSKeyShareSignEventData.js +228 -0
  91. package/dist/model/TSSKeyShareSignExtra.js +171 -0
  92. package/dist/model/TSSKeyShareSignRequest.js +146 -0
  93. package/dist/model/TSSKeyShareSignSignature.js +126 -0
  94. package/dist/model/TSSKeyShareSignSignatures.js +107 -0
  95. package/dist/model/TSSKeySignEventData.js +228 -0
  96. package/dist/model/TSSKeySignExtra.js +203 -0
  97. package/dist/model/TSSKeySignRequest.js +192 -0
  98. package/dist/model/TSSParticipant.js +113 -0
  99. package/dist/model/TSSProtocol.js +66 -0
  100. package/dist/model/TSSRequestTypeEenum.js +71 -0
  101. package/dist/model/TSSSignature.js +139 -0
  102. package/dist/model/TSSSignatureType.js +66 -0
  103. package/dist/model/TSSSignatures.js +125 -0
  104. package/dist/model/TSSStatus.js +96 -0
  105. package/dist/model/TokenListing.js +10 -10
  106. package/dist/model/TokenListingEventData.js +15 -15
  107. package/dist/model/TransactionCoboCategory.js +102 -7
  108. package/dist/model/TransactionRbfSource.js +1 -1
  109. package/dist/model/TransactionSubStatus.js +35 -0
  110. package/dist/model/UTXO.js +9 -0
  111. package/dist/model/WebhookEventData.js +15 -9
  112. package/docs/AddressBook.md +2 -0
  113. package/docs/AddressBooksApi.md +2 -2
  114. package/docs/AppWorkflow.md +12 -0
  115. package/docs/AppWorkflowField.md +11 -0
  116. package/docs/AppWorkflowPolicy.md +10 -0
  117. package/docs/AppWorkflowsApi.md +273 -0
  118. package/docs/ApprovalEntry.md +11 -0
  119. package/docs/ApprovalRequest.md +13 -0
  120. package/docs/ApprovalRequestDetail.md +13 -0
  121. package/docs/ApprovalStatus.md +16 -0
  122. package/docs/ApprovalUser.md +12 -0
  123. package/docs/BabylonStakeExtra.md +1 -0
  124. package/docs/BankAccount.md +2 -0
  125. package/docs/BatchCheckUtxo201Response.md +9 -0
  126. package/docs/BatchCheckUtxoRequest.md +10 -0
  127. package/docs/BatchUTXOParam.md +10 -0
  128. package/docs/ChainInfo.md +1 -0
  129. package/docs/CreateApprovalRequest201Response.md +9 -0
  130. package/docs/CreateSettlement.md +2 -2
  131. package/docs/CreateStakeActivityExtra.md +1 -0
  132. package/docs/CreateTokenListingRequest201Response.md +1 -1
  133. package/docs/CreateTokenListingRequestRequest.md +2 -2
  134. package/docs/CustodialWeb3TransferSource.md +1 -1
  135. package/docs/DevelopersApi.md +2 -2
  136. package/docs/DevelopersWebhooksApi.md +6 -6
  137. package/docs/EstimateContractCallFeeParams.md +1 -0
  138. package/docs/EstimateFeeParams.md +1 -0
  139. package/docs/EstimateTransferFeeParams.md +1 -0
  140. package/docs/FeeStationApi.md +14 -14
  141. package/docs/ListApprovalRequests200Response.md +10 -0
  142. package/docs/Merchant.md +2 -0
  143. package/docs/MpcTransferSource.md +1 -1
  144. package/docs/Order.md +3 -0
  145. package/docs/PaymentApi.md +8 -8
  146. package/docs/PaymentOrderEventData.md +3 -0
  147. package/docs/PaymentRefundEventData.md +5 -0
  148. package/docs/PaymentSettlementEvent.md +3 -0
  149. package/docs/PaymentTransaction.md +1 -0
  150. package/docs/PolicyAction.md +10 -0
  151. package/docs/PolicyActionContent.md +25 -0
  152. package/docs/PolicyActionType.md +14 -0
  153. package/docs/PolicyCondition.md +12 -0
  154. package/docs/PolicyFieldOperator.md +18 -0
  155. package/docs/PolicyFieldValueType.md +12 -0
  156. package/docs/Refund.md +5 -0
  157. package/docs/RequestApproval.md +13 -0
  158. package/docs/RevokeApprovalRequest201Response.md +10 -0
  159. package/docs/RevokeApprovalRequestRequest.md +9 -0
  160. package/docs/Settlement.md +3 -0
  161. package/docs/SettlementDetail.md +5 -0
  162. package/docs/SettlementInfo.md +3 -0
  163. package/docs/StakingsApi.md +14 -14
  164. package/docs/SwapActivity.md +3 -3
  165. package/docs/SwapActivityApprovers.md +10 -0
  166. package/docs/SwapActivityDetail.md +4 -3
  167. package/docs/SwapApproversStatus.md +14 -0
  168. package/docs/SwapQuote.md +3 -0
  169. package/docs/SwapToken.md +2 -2
  170. package/docs/TSSBaseRequestEventData.md +14 -0
  171. package/docs/TSSCallbackActionType.md +12 -0
  172. package/docs/TSSCallbackRequest.md +12 -0
  173. package/docs/TSSCallbackRequestType.md +18 -0
  174. package/docs/TSSCallbackResponse.md +12 -0
  175. package/docs/TSSCurve.md +12 -0
  176. package/docs/TSSCurveType.md +12 -0
  177. package/docs/TSSEvent.md +13 -0
  178. package/docs/TSSEventData.md +16 -0
  179. package/docs/TSSEventDataType.md +16 -0
  180. package/docs/TSSEventType.md +42 -0
  181. package/docs/TSSGroup.md +19 -0
  182. package/docs/TSSGroupType.md +12 -0
  183. package/docs/TSSKeyGenEventData.md +16 -0
  184. package/docs/TSSKeyGenExtra.md +13 -0
  185. package/docs/TSSKeyGenRequest.md +13 -0
  186. package/docs/TSSKeyReshareEventData.md +16 -0
  187. package/docs/TSSKeyReshareExtra.md +14 -0
  188. package/docs/TSSKeyReshareRequest.md +17 -0
  189. package/docs/TSSKeyShareSignDetail.md +10 -0
  190. package/docs/TSSKeyShareSignEventData.md +16 -0
  191. package/docs/TSSKeyShareSignExtra.md +13 -0
  192. package/docs/TSSKeyShareSignRequest.md +12 -0
  193. package/docs/TSSKeyShareSignSignature.md +12 -0
  194. package/docs/TSSKeyShareSignSignatures.md +9 -0
  195. package/docs/TSSKeySignEventData.md +16 -0
  196. package/docs/TSSKeySignExtra.md +15 -0
  197. package/docs/TSSKeySignRequest.md +18 -0
  198. package/docs/TSSParticipant.md +11 -0
  199. package/docs/TSSProtocol.md +14 -0
  200. package/docs/TSSRequestTypeEenum.md +16 -0
  201. package/docs/TSSSignature.md +13 -0
  202. package/docs/TSSSignatureType.md +14 -0
  203. package/docs/TSSSignatures.md +11 -0
  204. package/docs/TSSStatus.md +26 -0
  205. package/docs/TokenListing.md +6 -6
  206. package/docs/TokenListingEventData.md +6 -6
  207. package/docs/TransactionCoboCategory.md +41 -3
  208. package/docs/TransactionRbfSource.md +1 -1
  209. package/docs/TransactionSubStatus.md +14 -0
  210. package/docs/TransactionsApi.md +8 -4
  211. package/docs/UTXO.md +1 -0
  212. package/docs/WalletsApi.md +91 -36
  213. package/docs/WalletsExchangeWalletApi.md +4 -4
  214. package/docs/WalletsMPCWalletsApi.md +10 -10
  215. package/docs/WebhookEventData.md +8 -7
  216. package/package.json +1 -1
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.TSSKeySignEventData
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data_type** | [**TSSEventDataType**](TSSEventDataType.md) | |
8
+ **request_id** | **String** | The request ID. | [optional]
9
+ **request_type** | [**TSSRequestTypeEenum**](TSSRequestTypeEenum.md) | | [optional]
10
+ **request_status** | [**TSSStatus**](TSSStatus.md) | | [optional]
11
+ **extra_info** | **String** | The extra info. | [optional]
12
+ **failed_reason** | **String** | The failed reason. | [optional]
13
+ **request_detail** | [**TSSKeySignRequest**](TSSKeySignRequest.md) | | [optional]
14
+ **result** | [**TSSSignatures**](TSSSignatures.md) | | [optional]
15
+
16
+
@@ -0,0 +1,15 @@
1
+ # CoboWaas2.TSSKeySignExtra
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **org** | [**OrgInfo**](OrgInfo.md) | | [optional]
8
+ **project** | [**MPCProject**](MPCProject.md) | | [optional]
9
+ **vault** | [**MPCVault**](MPCVault.md) | | [optional]
10
+ **wallet** | [**MPCWalletInfo**](MPCWalletInfo.md) | | [optional]
11
+ **signer_key_share_holder_group** | [**KeyShareHolderGroup**](KeyShareHolderGroup.md) | | [optional]
12
+ **source_addresses** | [**[AddressInfo]**](AddressInfo.md) | | [optional]
13
+ **transaction** | [**Transaction**](Transaction.md) | | [optional]
14
+
15
+
@@ -0,0 +1,18 @@
1
+ # CoboWaas2.TSSKeySignRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **group_id** | **String** | The TSS key share group ID. | [optional]
8
+ **root_pub_key** | **String** | The The old TSS key share group's root extended public key. | [optional]
9
+ **used_node_ids** | **[String]** | | [optional]
10
+ **bip32_path_list** | **[String]** | | [optional]
11
+ **msg_hash_list** | **[String]** | | [optional]
12
+ **tweak_list** | **[String]** | | [optional]
13
+ **signature_type** | [**TSSSignatureType**](TSSSignatureType.md) | | [optional]
14
+ **tss_protocol** | [**TSSProtocol**](TSSProtocol.md) | | [optional]
15
+ **task_id** | **String** | The task ID. | [optional]
16
+ **biz_task_id** | **String** | The business task ID. This field contains the transaction ID. | [optional]
17
+
18
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.TSSParticipant
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **node_id** | **String** | The node ID. | [optional]
8
+ **share_id** | **String** | The share ID. | [optional]
9
+ **share_public_key** | **String** | The share public key. | [optional]
10
+
11
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.TSSProtocol
2
+
3
+ ## Enum
4
+
5
+
6
+ * `GG18` (value: `1`)
7
+
8
+ * `Lindell` (value: `2`)
9
+
10
+ * `EddsaTSS` (value: `3`)
11
+
12
+ * `unknown_default_open_api` (value: `11184809`)
13
+
14
+
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.TSSRequestTypeEenum
2
+
3
+ ## Enum
4
+
5
+
6
+ * `KeyGen` (value: `"KeyGen"`)
7
+
8
+ * `KeyReshare` (value: `"KeyReshare"`)
9
+
10
+ * `KeySign` (value: `"KeySign"`)
11
+
12
+ * `KeyShareSign` (value: `"KeyShareSign"`)
13
+
14
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
15
+
16
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.TSSSignature
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **bip32_path** | **String** | The BIP32 path. | [optional]
8
+ **msg_hash** | **String** | The message hash. | [optional]
9
+ **tweak** | **String** | The tweak. | [optional]
10
+ **signature** | **String** | The signature. | [optional]
11
+ **signature_recovery** | **String** | The signature recovery. | [optional]
12
+
13
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.TSSSignatureType
2
+
3
+ ## Enum
4
+
5
+
6
+ * `ECDSA` (value: `1`)
7
+
8
+ * `EdDSA` (value: `2`)
9
+
10
+ * `Schnorr` (value: `3`)
11
+
12
+ * `unknown_default_open_api` (value: `11184809`)
13
+
14
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.TSSSignatures
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **signatures** | [**[TSSSignature]**](TSSSignature.md) | | [optional]
8
+ **signature_type** | [**TSSSignatureType**](TSSSignatureType.md) | | [optional]
9
+ **tss_protocol** | [**TSSProtocol**](TSSProtocol.md) | | [optional]
10
+
11
+
@@ -0,0 +1,26 @@
1
+ # CoboWaas2.TSSStatus
2
+
3
+ ## Enum
4
+
5
+
6
+ * `UNDEFINED` (value: `100`)
7
+
8
+ * `SCHEDULING` (value: `110`)
9
+
10
+ * `INITIALIZING` (value: `120`)
11
+
12
+ * `APPROVING` (value: `130`)
13
+
14
+ * `PROCESSING` (value: `140`)
15
+
16
+ * `DECLINED` (value: `160`)
17
+
18
+ * `FAILED` (value: `170`)
19
+
20
+ * `CANCELED` (value: `180`)
21
+
22
+ * `COMPLETED` (value: `190`)
23
+
24
+ * `unknown_default_open_api` (value: `11184809`)
25
+
26
+
@@ -4,16 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **request_id** | **String** | Unique identifier of the token listing request |
8
- **chain_id** | **String** | chain_id of the blockchain where the token exists |
9
- **contract_address** | **String** | Contract address of the token |
7
+ **request_id** | **String** | The unique identifier of the token listing request. |
8
+ **chain_id** | **String** | The ID of the blockchain where the token is deployed. |
9
+ **contract_address** | **String** | The token's contract address on the specified blockchain. |
10
10
  **wallet_type** | [**WalletType**](WalletType.md) | |
11
11
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
12
12
  **token** | [**TokenInfo**](TokenInfo.md) | | [optional]
13
13
  **status** | [**TokenListingRequestStatus**](TokenListingRequestStatus.md) | |
14
14
  **source** | [**TokenListingRequestSource**](TokenListingRequestSource.md) | | [optional]
15
- **feedback** | **String** | Feedback provided by the admin for rejected requests | [optional]
16
- **created_timestamp** | **Number** | Timestamp when the request was created (in milliseconds since Unix epoch) | [optional]
17
- **updated_timestamp** | **Number** | Timestamp when the request was last updated (in milliseconds since Unix epoch) | [optional]
15
+ **feedback** | **String** | The feedback provided by Cobo when a token listing request is rejected. | [optional]
16
+ **created_timestamp** | **Number** | The time when the request was created in Unix timestamp format, measured in milliseconds. | [optional]
17
+ **updated_timestamp** | **Number** | The time when the request was last updated in Unix timestamp format, measured in milliseconds. | [optional]
18
18
 
19
19
 
@@ -5,17 +5,17 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **data_type** | **String** | The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. |
8
- **request_id** | **String** | Unique identifier of the token listing request |
9
- **chain_id** | **String** | chain_id of the blockchain where the token exists |
10
- **contract_address** | **String** | Contract address of the token |
8
+ **request_id** | **String** | The unique identifier of the token listing request. |
9
+ **chain_id** | **String** | The ID of the blockchain where the token is deployed. |
10
+ **contract_address** | **String** | The token's contract address on the specified blockchain. |
11
11
  **wallet_type** | [**WalletType**](WalletType.md) | |
12
12
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
13
13
  **token** | [**TokenInfo**](TokenInfo.md) | | [optional]
14
14
  **status** | [**TokenListingRequestStatus**](TokenListingRequestStatus.md) | |
15
15
  **source** | [**TokenListingRequestSource**](TokenListingRequestSource.md) | | [optional]
16
- **feedback** | **String** | Feedback provided by the admin for rejected requests | [optional]
17
- **created_timestamp** | **Number** | Timestamp when the request was created (in milliseconds since Unix epoch) | [optional]
18
- **updated_timestamp** | **Number** | Timestamp when the request was last updated (in milliseconds since Unix epoch) | [optional]
16
+ **feedback** | **String** | The feedback provided by Cobo when a token listing request is rejected. | [optional]
17
+ **created_timestamp** | **Number** | The time when the request was created in Unix timestamp format, measured in milliseconds. | [optional]
18
+ **updated_timestamp** | **Number** | The time when the request was last updated in Unix timestamp format, measured in milliseconds. | [optional]
19
19
 
20
20
 
21
21
 
@@ -3,13 +3,11 @@
3
3
  ## Enum
4
4
 
5
5
 
6
- * `AutoSweep` (value: `"AutoSweep"`)
7
-
8
6
  * `AutoFueling` (value: `"AutoFueling"`)
9
7
 
10
8
  * `AutoFuelingRefund` (value: `"AutoFuelingRefund"`)
11
9
 
12
- * `SafeTxMessage` (value: `"SafeTxMessage"`)
10
+ * `AutoSweep` (value: `"AutoSweep"`)
13
11
 
14
12
  * `BillPayment` (value: `"BillPayment"`)
15
13
 
@@ -19,6 +17,46 @@
19
17
 
20
18
  * `CommissionFeeRefund` (value: `"CommissionFeeRefund"`)
21
19
 
20
+ * `SafeTxMessage` (value: `"SafeTxMessage"`)
21
+
22
+ * `StakingBabylonBtcDelegation` (value: `"StakingBabylonBtcDelegation"`)
23
+
24
+ * `StakingBabylonBtcSignBabylon` (value: `"StakingBabylonBtcSignBabylon"`)
25
+
26
+ * `StakingBabylonClaim` (value: `"StakingBabylonClaim"`)
27
+
28
+ * `StakingBabylonSlashing` (value: `"StakingBabylonSlashing"`)
29
+
30
+ * `StakingBabylonStake` (value: `"StakingBabylonStake"`)
31
+
32
+ * `StakingBabylonUnstake` (value: `"StakingBabylonUnstake"`)
33
+
34
+ * `StakingBabylonWithdraw` (value: `"StakingBabylonWithdraw"`)
35
+
36
+ * `StakingBithiveClaim` (value: `"StakingBithiveClaim"`)
37
+
38
+ * `StakingBithiveStake` (value: `"StakingBithiveStake"`)
39
+
40
+ * `StakingBithiveUnstake` (value: `"StakingBithiveUnstake"`)
41
+
42
+ * `StakingBithiveWithdraw` (value: `"StakingBithiveWithdraw"`)
43
+
44
+ * `StakingCoreStake` (value: `"StakingCoreStake"`)
45
+
46
+ * `StakingCoreWithdraw` (value: `"StakingCoreWithdraw"`)
47
+
48
+ * `StakingEthClaim` (value: `"StakingEthClaim"`)
49
+
50
+ * `StakingEthStake` (value: `"StakingEthStake"`)
51
+
52
+ * `StakingEthUnstake` (value: `"StakingEthUnstake"`)
53
+
54
+ * `StakingSkyfarmClaim` (value: `"StakingSkyfarmClaim"`)
55
+
56
+ * `StakingSkyfarmStake` (value: `"StakingSkyfarmStake"`)
57
+
58
+ * `StakingSkyfarmUnstake` (value: `"StakingSkyfarmUnstake"`)
59
+
22
60
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
23
61
 
24
62
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **source_type** | [**WalletSubtype**](WalletSubtype.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
- **address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail. | [optional]
9
+ **address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. When `included_utxos` is specified, only these specified UTXOs will be used for the transaction. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail. | [optional]
10
10
  **included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
11
11
  **excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
12
12
  **mpc_used_key_share_holder_group** | [**MpcSigningGroup**](MpcSigningGroup.md) | | [optional]
@@ -85,6 +85,20 @@
85
85
 
86
86
  * `SignatureVerificationFailed` (value: `"SignatureVerificationFailed"`)
87
87
 
88
+ * `PendingCoboCheck` (value: `"PendingCoboCheck"`)
89
+
90
+ * `RejectedTransactionPolicy` (value: `"RejectedTransactionPolicy"`)
91
+
92
+ * `RejectedByScreeningApp` (value: `"RejectedByScreeningApp"`)
93
+
94
+ * `PendingScreeningAppCheck` (value: `"PendingScreeningAppCheck"`)
95
+
96
+ * `PendingCoboKYTCheck` (value: `"PendingCoboKYTCheck"`)
97
+
98
+ * `RejectedByCoboKYT` (value: `"RejectedByCoboKYT"`)
99
+
100
+ * `PendingCoboTravelRuleCheck` (value: `"PendingCoboTravelRuleCheck"`)
101
+
88
102
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
89
103
 
90
104
 
@@ -626,6 +626,8 @@ const opts = {
626
626
  'token_ids': "ETH_USDT,ETH_USDC",
627
627
  'asset_ids': "USDT,USDC",
628
628
  'vault_id': "f47ac10b-58cc-4372-a567-0e02b2c3d479",
629
+ 'wallet_type': new CoboWaas2.WalletType(),
630
+ 'wallet_subtype': new CoboWaas2.WalletSubtype(),
629
631
  'project_id': "f47ac10b-58cc-4372-a567-0e02b2c3d479",
630
632
  'min_created_timestamp': 1635744000000,
631
633
  'max_created_timestamp': 1635744000000,
@@ -658,12 +660,14 @@ Name | Type | Description | Notes
658
660
  **token_ids** | **String**| A list of token IDs, separated by comma. The token ID is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). | [optional]
659
661
  **asset_ids** | **String**| (This concept applies to Exchange Wallets only) A list of asset IDs, separated by comma. An asset ID is the unique identifier of the asset held within your linked exchange account. | [optional]
660
662
  **vault_id** | **String**| The vault ID, which you can retrieve by calling [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults). | [optional]
663
+ **wallet_type** | [**WalletType**](.md)| The wallet type. - `Custodial`: [Custodial Wallets](https://manuals.cobo.com/en/portal/custodial-wallets/introduction) - `MPC`: [MPC Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction) - `SmartContract`: [Smart Contract Wallets](https://manuals.cobo.com/en/portal/smart-contract-wallets/introduction) - `Exchange`: [Exchange Wallets](https://manuals.cobo.com/en/portal/exchange-wallets/introduction) | [optional]
664
+ **wallet_subtype** | [**WalletSubtype**](.md)| The wallet subtype. - `Asset`: Custodial Wallets (Asset Wallets) - `Web3`: Custodial Wallets (Web3 Wallets) - `Main`: Exchange Wallets (Main Account) - `Sub`: Exchange Wallets (Sub Account) - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets) - `User-Controlled`: MPC Wallets (User-Controlled Wallets) - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet}) | [optional]
661
665
  **project_id** | **String**| The project ID, which you can retrieve by calling [List all projects](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-projects). | [optional]
662
- **min_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. | [optional]
663
- **max_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. | [optional]
666
+ **min_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change. | [optional]
667
+ **max_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change. | [optional]
664
668
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
665
- **before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned. | [optional]
666
- **after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. | [optional]
669
+ **before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
670
+ **after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
667
671
  **direction** | **String**| The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. | [optional] [default to '']
668
672
 
669
673
  ### Return type
package/docs/UTXO.md CHANGED
@@ -12,5 +12,6 @@ Name | Type | Description | Notes
12
12
  **is_coinbase** | **Boolean** | Whether the UTXO comes from a coinbase transaction. | [optional]
13
13
  **is_locked** | **Boolean** | Whether the UTXO is locked. | [optional]
14
14
  **confirmed_number** | **Number** | The number of confirmations for the UTXO. | [optional]
15
+ **is_frozen** | **Boolean** | Whether the UTXO is frozen. | [optional]
15
16
 
16
17