@cobo/cobo-waas2 1.22.0 → 1.24.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 (285) hide show
  1. package/README.md +81 -17
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +200 -21
  4. package/dist/api/AutoSweepApi.js +26 -26
  5. package/dist/api/ComplianceApi.js +214 -0
  6. package/dist/api/FeeStationApi.js +47 -4
  7. package/dist/api/PaymentApi.js +204 -57
  8. package/dist/api/SwapsApi.js +374 -0
  9. package/dist/api/TokenizationApi.js +2 -2
  10. package/dist/api/TransactionsApi.js +18 -18
  11. package/dist/api/WalletsApi.js +4 -4
  12. package/dist/api/WalletsMPCWalletsApi.js +2 -2
  13. package/dist/index.js +329 -21
  14. package/dist/model/AddressBook.js +12 -12
  15. package/dist/model/AddressInfo.js +13 -0
  16. package/dist/model/AddressesEventData.js +8 -3
  17. package/dist/model/AddressesEventDataAllOfAddresses.js +18 -0
  18. package/dist/model/ApprovalDetail.js +4 -4
  19. package/dist/model/ApprovalResult.js +6 -11
  20. package/dist/model/ApprovalTemplate.js +4 -4
  21. package/dist/model/ApprovalTransactionResult.js +8 -8
  22. package/dist/model/ApprovalUserDetail.js +95 -24
  23. package/dist/model/AutoSweepTask.js +9 -9
  24. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  25. package/dist/model/BridgingFee.js +136 -0
  26. package/dist/model/ChainInfo.js +14 -1
  27. package/dist/model/ChainsEventData.js +8 -3
  28. package/dist/model/CommissionFee.js +110 -0
  29. package/dist/model/ComplianceDispositionUpdateEventData.js +321 -0
  30. package/dist/model/ContractCallDestination.js +48 -8
  31. package/dist/model/ContractCallDestinationType.js +5 -0
  32. package/dist/model/CreateAddressBookParam.js +165 -0
  33. package/dist/model/CreateAddressBooks201Response.js +107 -0
  34. package/dist/model/CreateAddressBooksParam.js +128 -0
  35. package/dist/model/CreateAutoSweepTask.js +5 -5
  36. package/dist/model/CreateCustodialWalletParams.js +1 -1
  37. package/dist/model/CreateExchangeWalletParams.js +2 -2
  38. package/dist/model/CreateMerchantRequest.js +14 -7
  39. package/dist/model/CreateMpcWalletParams.js +2 -2
  40. package/dist/model/CreatePaymentOrderRequest.js +17 -4
  41. package/dist/model/CreateRefundRequest.js +2 -2
  42. package/dist/model/CreateSafeWalletParams.js +1 -1
  43. package/dist/model/CreateSettlement.js +3 -3
  44. package/dist/model/CreateSettlementRequestRequest.js +39 -0
  45. package/dist/model/CreateSmartContractWalletParams.js +1 -1
  46. package/dist/model/CreateSwapActivityRequest.js +193 -0
  47. package/dist/model/CreateSweepToAddress.js +1 -1
  48. package/dist/model/CreateWalletParams.js +1 -1
  49. package/dist/model/CustodialTransferDestination.js +1 -1
  50. package/dist/model/DeleteAddressBookById201Response.js +106 -0
  51. package/dist/model/DispositionEventData.js +170 -0
  52. package/dist/model/DispositionQueryResponse.js +146 -0
  53. package/dist/model/DispositionResponse.js +122 -0
  54. package/dist/model/DispositionStatus.js +116 -0
  55. package/dist/model/DispositionType.js +66 -0
  56. package/dist/model/EstimateContractCallFeeParams.js +1 -1
  57. package/dist/model/EstimateFeeParams.js +1 -1
  58. package/dist/model/EstimateTransferFeeParams.js +1 -1
  59. package/dist/model/EstimatedEvmEip1559Fee.js +1 -1
  60. package/dist/model/EstimatedEvmLegacyFee.js +1 -1
  61. package/dist/model/EstimatedFILFee.js +1 -1
  62. package/dist/model/EstimatedFixedFee.js +1 -1
  63. package/dist/model/EstimatedSOLFee.js +1 -1
  64. package/dist/model/EstimatedUtxoFee.js +1 -1
  65. package/dist/model/FeeStationCheckFeeStationUsage.js +186 -0
  66. package/dist/model/FeeStationCheckFeeStationUsageResponse.js +200 -0
  67. package/dist/model/FeeStationGasStationType.js +61 -0
  68. package/dist/model/IsolateDisposition.js +167 -0
  69. package/dist/model/ListSwapActivities200Response.js +123 -0
  70. package/dist/model/ListSwapEnabledTokens200Response.js +123 -0
  71. package/dist/model/ListTopUpPayerAccounts200Response.js +123 -0
  72. package/dist/model/MPCVaultEventData.js +8 -3
  73. package/dist/model/Merchant.js +10 -1
  74. package/dist/model/MerchantBalance.js +7 -7
  75. package/dist/model/MessageSignDestination.js +8 -70
  76. package/dist/model/OrgInfo.js +9 -0
  77. package/dist/model/OtcFee.js +123 -0
  78. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  79. package/dist/model/PaymentEstimateFee.js +125 -0
  80. package/dist/model/PaymentEstimateFee201Response.js +107 -0
  81. package/dist/model/{RawMessageSignDestination.js → PaymentEstimateFeeRequest.js} +51 -37
  82. package/dist/model/PaymentEstimatedFee.js +173 -0
  83. package/dist/model/PaymentFeeType.js +71 -0
  84. package/dist/model/PaymentOrderEventData.js +8 -3
  85. package/dist/model/PaymentRefundEventData.js +30 -5
  86. package/dist/model/PaymentSettlementEvent.js +70 -9
  87. package/dist/model/PaymentTransactionEventData.js +8 -3
  88. package/dist/model/PaymentWalletBalance.js +6 -6
  89. package/dist/model/PspBalance.js +7 -7
  90. package/dist/model/ReceivedAmountPerAddress.js +5 -5
  91. package/dist/model/Refund.js +17 -1
  92. package/dist/model/RefundDisposition.js +167 -0
  93. package/dist/model/RoleDetail.js +41 -6
  94. package/dist/model/SettleRequestStatus.js +5 -0
  95. package/dist/model/Settlement.js +45 -3
  96. package/dist/model/SettlementDetail.js +33 -1
  97. package/dist/model/SettlementInfo.js +7 -7
  98. package/dist/model/SolContractCallAddressLookupTableAccount.js +126 -0
  99. package/dist/model/SolContractCallDestination.js +30 -0
  100. package/dist/model/StellarContractCallContractParam.js +164 -0
  101. package/dist/model/StellarContractCallContractType.js +56 -0
  102. package/dist/model/StellarContractCallDestination.js +125 -0
  103. package/dist/model/StellarContractCallTrustLineOperationType.js +56 -0
  104. package/dist/model/StellarContractCallTrustLineParam.js +133 -0
  105. package/dist/model/SupportedToken.js +9 -0
  106. package/dist/model/SuspendedTokenEventData.js +8 -3
  107. package/dist/model/SwapActivity.js +9 -9
  108. package/dist/model/SwapActivityApprovers.js +1 -1
  109. package/dist/model/SwapActivityDetail.js +34 -18
  110. package/dist/model/SwapActivitySigners.js +2 -2
  111. package/dist/model/SwapActivityTimeline.js +5 -5
  112. package/dist/model/SwapEstimateFee.js +147 -0
  113. package/dist/model/SwapQuote.js +18 -31
  114. package/dist/model/SwapReceivingTransaction.js +133 -0
  115. package/dist/model/SwapToken.js +9 -9
  116. package/dist/model/SweepToAddress.js +1 -1
  117. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  118. package/dist/model/TokenListingEventData.js +8 -3
  119. package/dist/model/TokensEventData.js +8 -3
  120. package/dist/model/TransactionCoboCategory.js +5 -0
  121. package/dist/model/TransactionDestination.js +48 -8
  122. package/dist/model/TransactionDestinationType.js +5 -0
  123. package/dist/model/TransactionEvmEip1559Fee.js +1 -1
  124. package/dist/model/TransactionEvmLegacyFee.js +1 -1
  125. package/dist/model/TransactionFILFee.js +1 -1
  126. package/dist/model/TransactionFixedFee.js +1 -1
  127. package/dist/model/TransactionFuelingInfo.js +13 -0
  128. package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
  129. package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
  130. package/dist/model/TransactionRequestFILFee.js +1 -1
  131. package/dist/model/TransactionRequestSOLFee.js +1 -1
  132. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  133. package/dist/model/TransactionSOLFee.js +1 -1
  134. package/dist/model/TransactionSolContractAddressLookupTableAccount.js +126 -0
  135. package/dist/model/TransactionSolContractDestination.js +30 -0
  136. package/dist/model/TransactionStellarContractParam.js +164 -0
  137. package/dist/model/TransactionStellarContractType.js +56 -0
  138. package/dist/model/{BTCEIP191MessageSignDestination.js → TransactionStellarDestination.js} +38 -35
  139. package/dist/model/TransactionStellarTrustLineOperationType.js +56 -0
  140. package/dist/model/TransactionStellarTrustLineParam.js +133 -0
  141. package/dist/model/TransactionUtxoFee.js +1 -1
  142. package/dist/model/TransactionWebhookEventData.js +8 -3
  143. package/dist/model/UnfreezeDisposition.js +111 -0
  144. package/dist/model/UpdateAddressBookParam.js +150 -0
  145. package/dist/model/UpdateBankAccountByIdRequest.js +108 -0
  146. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  147. package/dist/model/UpdateTopUpAddress.js +4 -6
  148. package/dist/model/WalletInfoEventData.js +8 -3
  149. package/dist/model/WalletSetup.js +66 -0
  150. package/dist/model/WebhookEventData.js +81 -11
  151. package/dist/model/WebhookEventDataType.js +7 -2
  152. package/dist/model/WebhookEventType.js +5 -0
  153. package/docs/AddressBook.md +7 -7
  154. package/docs/AddressBooksApi.md +218 -8
  155. package/docs/AddressInfo.md +1 -0
  156. package/docs/AddressesEventData.md +3 -1
  157. package/docs/AddressesEventDataAllOfAddresses.md +1 -0
  158. package/docs/ApprovalDetail.md +3 -3
  159. package/docs/ApprovalResult.md +3 -5
  160. package/docs/ApprovalTemplate.md +3 -3
  161. package/docs/ApprovalTransactionResult.md +4 -4
  162. package/docs/ApprovalUserDetail.md +15 -9
  163. package/docs/AutoSweepApi.md +18 -18
  164. package/docs/AutoSweepTask.md +5 -5
  165. package/docs/BalanceUpdateInfoEventData.md +3 -1
  166. package/docs/BridgingFee.md +11 -0
  167. package/docs/ChainInfo.md +2 -1
  168. package/docs/ChainsEventData.md +3 -1
  169. package/docs/CommissionFee.md +9 -0
  170. package/docs/ComplianceApi.md +218 -0
  171. package/docs/ComplianceDispositionUpdateEventData.md +56 -0
  172. package/docs/ContractCallDestination.md +2 -0
  173. package/docs/ContractCallDestinationType.md +2 -0
  174. package/docs/CreateAddressBookParam.md +13 -0
  175. package/docs/CreateAddressBooks201Response.md +9 -0
  176. package/docs/CreateAddressBooksParam.md +9 -0
  177. package/docs/CreateAutoSweepTask.md +2 -2
  178. package/docs/CreateCustodialWalletParams.md +1 -1
  179. package/docs/CreateExchangeWalletParams.md +1 -1
  180. package/docs/CreateMerchantRequest.md +3 -2
  181. package/docs/CreateMpcWalletParams.md +1 -1
  182. package/docs/CreatePaymentOrderRequest.md +4 -3
  183. package/docs/CreateRefundRequest.md +1 -1
  184. package/docs/CreateSafeWalletParams.md +1 -1
  185. package/docs/CreateSettlement.md +3 -3
  186. package/docs/CreateSettlementRequestRequest.md +3 -0
  187. package/docs/CreateSmartContractWalletParams.md +1 -1
  188. package/docs/CreateSwapActivityRequest.md +15 -0
  189. package/docs/CreateWalletParams.md +1 -1
  190. package/docs/DeleteAddressBookById201Response.md +9 -0
  191. package/docs/DispositionEventData.md +14 -0
  192. package/docs/DispositionQueryResponse.md +12 -0
  193. package/docs/DispositionResponse.md +10 -0
  194. package/docs/DispositionStatus.md +34 -0
  195. package/docs/DispositionType.md +14 -0
  196. package/docs/EstimateContractCallFeeParams.md +1 -1
  197. package/docs/EstimateFeeParams.md +1 -1
  198. package/docs/EstimateTransferFeeParams.md +1 -1
  199. package/docs/FeeStationApi.md +53 -0
  200. package/docs/FeeStationCheckFeeStationUsage.md +14 -0
  201. package/docs/FeeStationCheckFeeStationUsageResponse.md +16 -0
  202. package/docs/FeeStationGasStationType.md +12 -0
  203. package/docs/IsolateDisposition.md +13 -0
  204. package/docs/ListSwapActivities200Response.md +10 -0
  205. package/docs/ListSwapEnabledTokens200Response.md +10 -0
  206. package/docs/ListTopUpPayerAccounts200Response.md +10 -0
  207. package/docs/MPCVaultEventData.md +3 -1
  208. package/docs/Merchant.md +2 -1
  209. package/docs/MerchantBalance.md +6 -6
  210. package/docs/MessageSignDestination.md +0 -1
  211. package/docs/OrgInfo.md +1 -0
  212. package/docs/OtcFee.md +10 -0
  213. package/docs/PaymentAddressUpdateEventData.md +3 -1
  214. package/docs/PaymentApi.md +203 -28
  215. package/docs/PaymentEstimateFee.md +10 -0
  216. package/docs/PaymentEstimateFee201Response.md +9 -0
  217. package/docs/PaymentEstimateFeeRequest.md +10 -0
  218. package/docs/PaymentEstimatedFee.md +13 -0
  219. package/docs/PaymentFeeType.md +16 -0
  220. package/docs/PaymentOrderEventData.md +3 -1
  221. package/docs/PaymentRefundEventData.md +5 -2
  222. package/docs/PaymentSettlementEvent.md +9 -4
  223. package/docs/PaymentTransactionEventData.md +3 -1
  224. package/docs/PaymentWalletBalance.md +5 -5
  225. package/docs/PspBalance.md +6 -6
  226. package/docs/ReceivedAmountPerAddress.md +2 -2
  227. package/docs/Refund.md +2 -1
  228. package/docs/RefundDisposition.md +13 -0
  229. package/docs/RoleDetail.md +4 -1
  230. package/docs/SettleRequestStatus.md +2 -0
  231. package/docs/Settlement.md +6 -3
  232. package/docs/SettlementDetail.md +3 -1
  233. package/docs/SettlementInfo.md +6 -6
  234. package/docs/SolContractCallAddressLookupTableAccount.md +10 -0
  235. package/docs/SolContractCallDestination.md +1 -0
  236. package/docs/StellarContractCallContractParam.md +11 -0
  237. package/docs/StellarContractCallContractType.md +10 -0
  238. package/docs/StellarContractCallDestination.md +10 -0
  239. package/docs/StellarContractCallTrustLineOperationType.md +10 -0
  240. package/docs/StellarContractCallTrustLineParam.md +11 -0
  241. package/docs/SupportedToken.md +1 -0
  242. package/docs/SuspendedTokenEventData.md +3 -1
  243. package/docs/SwapActivity.md +9 -9
  244. package/docs/SwapActivityDetail.md +10 -9
  245. package/docs/SwapActivitySigners.md +1 -1
  246. package/docs/SwapActivityTimeline.md +3 -3
  247. package/docs/SwapEstimateFee.md +12 -0
  248. package/docs/SwapQuote.md +10 -11
  249. package/docs/SwapReceivingTransaction.md +11 -0
  250. package/docs/SwapToken.md +6 -6
  251. package/docs/SwapsApi.md +356 -0
  252. package/docs/TSSRequestWebhookEventData.md +3 -1
  253. package/docs/TokenListingEventData.md +3 -1
  254. package/docs/TokenizationApi.md +2 -2
  255. package/docs/TokensEventData.md +3 -1
  256. package/docs/TransactionCoboCategory.md +2 -0
  257. package/docs/TransactionDestination.md +2 -0
  258. package/docs/TransactionDestinationType.md +2 -0
  259. package/docs/TransactionFuelingInfo.md +1 -0
  260. package/docs/TransactionSolContractAddressLookupTableAccount.md +10 -0
  261. package/docs/TransactionSolContractDestination.md +1 -0
  262. package/docs/TransactionStellarContractParam.md +11 -0
  263. package/docs/TransactionStellarContractType.md +10 -0
  264. package/docs/TransactionStellarDestination.md +10 -0
  265. package/docs/TransactionStellarTrustLineOperationType.md +10 -0
  266. package/docs/TransactionStellarTrustLineParam.md +11 -0
  267. package/docs/TransactionWebhookEventData.md +3 -1
  268. package/docs/TransactionsApi.md +11 -11
  269. package/docs/UnfreezeDisposition.md +9 -0
  270. package/docs/UpdateAddressBookParam.md +12 -0
  271. package/docs/UpdateBankAccountByIdRequest.md +9 -0
  272. package/docs/UpdateMerchantByIdRequest.md +1 -1
  273. package/docs/UpdateTopUpAddress.md +1 -1
  274. package/docs/WalletInfoEventData.md +3 -1
  275. package/docs/WalletSetup.md +14 -0
  276. package/docs/WalletsApi.md +2 -2
  277. package/docs/WalletsMPCWalletsApi.md +1 -1
  278. package/docs/WebhookEventData.md +12 -3
  279. package/docs/WebhookEventDataType.md +3 -1
  280. package/docs/WebhookEventType.md +2 -0
  281. package/package.json +1 -1
  282. package/dist/model/ApprovalShowInfo.js +0 -140
  283. package/docs/ApprovalShowInfo.md +0 -13
  284. package/docs/BTCEIP191MessageSignDestination.md +0 -10
  285. package/docs/RawMessageSignDestination.md +0 -10
@@ -34,12 +34,12 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  var AddressBook = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>AddressBook</code>.
37
- * The information of an address book entry.
37
+ * The information of an Address Book entry.
38
38
  * @alias module:model/AddressBook
39
- * @param org_id {String} The organization ID.
40
- * @param entry_id {String} The entry ID.
41
- * @param address {String} The wallet address.
42
- * @param label {String} The address label.
39
+ * @param org_id {String} Organization ID.
40
+ * @param entry_id {String} Address Book entry ID.
41
+ * @param address {String} Wallet address.
42
+ * @param label {String} A user-defined label for the address.
43
43
  */
44
44
  function AddressBook(org_id, entry_id, address, label) {
45
45
  _classCallCheck(this, AddressBook);
@@ -171,31 +171,31 @@ var AddressBook = /*#__PURE__*/function () {
171
171
  AddressBook.RequiredProperties = ["org_id", "entry_id", "address", "label"];
172
172
 
173
173
  /**
174
- * The organization ID.
174
+ * Organization ID.
175
175
  * @member {String} org_id
176
176
  */
177
177
  AddressBook.prototype['org_id'] = undefined;
178
178
 
179
179
  /**
180
- * The entry ID.
180
+ * Address Book entry ID.
181
181
  * @member {String} entry_id
182
182
  */
183
183
  AddressBook.prototype['entry_id'] = undefined;
184
184
 
185
185
  /**
186
- * The wallet address.
186
+ * Wallet address.
187
187
  * @member {String} address
188
188
  */
189
189
  AddressBook.prototype['address'] = undefined;
190
190
 
191
191
  /**
192
- * The memo.
192
+ * Optional memo or tag required by some chains.
193
193
  * @member {String} memo
194
194
  */
195
195
  AddressBook.prototype['memo'] = undefined;
196
196
 
197
197
  /**
198
- * The wallet name.
198
+ * Wallet name.
199
199
  * @member {String} wallet_name
200
200
  */
201
201
  AddressBook.prototype['wallet_name'] = undefined;
@@ -211,7 +211,7 @@ AddressBook.prototype['wallet_type'] = undefined;
211
211
  AddressBook.prototype['wallet_subtype'] = undefined;
212
212
 
213
213
  /**
214
- * The address label.
214
+ * A user-defined label for the address.
215
215
  * @member {String} label
216
216
  */
217
217
  AddressBook.prototype['label'] = undefined;
@@ -223,7 +223,7 @@ AddressBook.prototype['label'] = undefined;
223
223
  AddressBook.prototype['chain_ids'] = undefined;
224
224
 
225
225
  /**
226
- * The email of the address owner.
226
+ * Email of the address owner.
227
227
  * @member {String} email
228
228
  */
229
229
  AddressBook.prototype['email'] = undefined;
@@ -96,6 +96,9 @@ var AddressInfo = /*#__PURE__*/function () {
96
96
  if (data.hasOwnProperty('taproot_internal_address')) {
97
97
  obj['taproot_internal_address'] = _ApiClient["default"].convertToType(data['taproot_internal_address'], 'String');
98
98
  }
99
+ if (data.hasOwnProperty('stellar_trusted_token_ids')) {
100
+ obj['stellar_trusted_token_ids'] = _ApiClient["default"].convertToType(data['stellar_trusted_token_ids'], ['String']);
101
+ }
99
102
  }
100
103
  return obj;
101
104
  }
@@ -159,6 +162,10 @@ var AddressInfo = /*#__PURE__*/function () {
159
162
  if (data['taproot_internal_address'] && !(typeof data['taproot_internal_address'] === 'string' || data['taproot_internal_address'] instanceof String)) {
160
163
  throw new Error("Expected the field `taproot_internal_address` to be a primitive type in the JSON string but got " + data['taproot_internal_address']);
161
164
  }
165
+ // ensure the json data is an array
166
+ if (!Array.isArray(data['stellar_trusted_token_ids'])) {
167
+ throw new Error("Expected the field `stellar_trusted_token_ids` to be an array in the JSON data but got " + data['stellar_trusted_token_ids']);
168
+ }
162
169
  return true;
163
170
  }
164
171
  }]);
@@ -223,4 +230,10 @@ AddressInfo.prototype['taproot_script_tree_hash'] = undefined;
223
230
  * @member {String} taproot_internal_address
224
231
  */
225
232
  AddressInfo.prototype['taproot_internal_address'] = undefined;
233
+
234
+ /**
235
+ * The list of token IDs for which this address has already established trustlines on the Stellar network.
236
+ * @member {Array.<String>} stellar_trusted_token_ids
237
+ */
238
+ AddressInfo.prototype['stellar_trusted_token_ids'] = undefined;
226
239
  var _default = exports["default"] = AddressInfo;
@@ -35,7 +35,7 @@ var AddressesEventData = /*#__PURE__*/function () {
35
35
  * Constructs a new <code>AddressesEventData</code>.
36
36
  * @alias module:model/AddressesEventData
37
37
  * @implements module:model/WebhookEventDataType
38
- * @param data_type {module:model/AddressesEventData.DataTypeEnum} 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
38
+ * @param data_type {module:model/AddressesEventData.DataTypeEnum} 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
39
39
  */
40
40
  function AddressesEventData(data_type) {
41
41
  _classCallCheck(this, AddressesEventData);
@@ -132,7 +132,7 @@ var AddressesEventData = /*#__PURE__*/function () {
132
132
  AddressesEventData.RequiredProperties = ["data_type"];
133
133
 
134
134
  /**
135
- * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
135
+ * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
136
136
  * @member {module:model/AddressesEventData.DataTypeEnum} data_type
137
137
  */
138
138
  AddressesEventData.prototype['data_type'] = undefined;
@@ -145,7 +145,7 @@ AddressesEventData.prototype['addresses'] = undefined;
145
145
 
146
146
  // Implement WebhookEventDataType interface:
147
147
  /**
148
- * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
148
+ * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
149
149
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
150
150
  */
151
151
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -231,6 +231,11 @@ AddressesEventData['DataTypeEnum'] = {
231
231
  * @const
232
232
  */
233
233
  "SuspendedToken": "SuspendedToken",
234
+ /**
235
+ * value: "ComplianceDisposition"
236
+ * @const
237
+ */
238
+ "ComplianceDisposition": "ComplianceDisposition",
234
239
  /**
235
240
  * value: "unknown_default_open_api"
236
241
  * @const
@@ -101,6 +101,9 @@ var AddressesEventDataAllOfAddresses = /*#__PURE__*/function () {
101
101
  if (data.hasOwnProperty('taproot_internal_address')) {
102
102
  obj['taproot_internal_address'] = _ApiClient["default"].convertToType(data['taproot_internal_address'], 'String');
103
103
  }
104
+ if (data.hasOwnProperty('stellar_trusted_token_ids')) {
105
+ obj['stellar_trusted_token_ids'] = _ApiClient["default"].convertToType(data['stellar_trusted_token_ids'], ['String']);
106
+ }
104
107
  if (data.hasOwnProperty('wallet_id')) {
105
108
  obj['wallet_id'] = _ApiClient["default"].convertToType(data['wallet_id'], 'String');
106
109
  }
@@ -167,6 +170,10 @@ var AddressesEventDataAllOfAddresses = /*#__PURE__*/function () {
167
170
  if (data['taproot_internal_address'] && !(typeof data['taproot_internal_address'] === 'string' || data['taproot_internal_address'] instanceof String)) {
168
171
  throw new Error("Expected the field `taproot_internal_address` to be a primitive type in the JSON string but got " + data['taproot_internal_address']);
169
172
  }
173
+ // ensure the json data is an array
174
+ if (!Array.isArray(data['stellar_trusted_token_ids'])) {
175
+ throw new Error("Expected the field `stellar_trusted_token_ids` to be an array in the JSON data but got " + data['stellar_trusted_token_ids']);
176
+ }
170
177
  // ensure the json data is a string
171
178
  if (data['wallet_id'] && !(typeof data['wallet_id'] === 'string' || data['wallet_id'] instanceof String)) {
172
179
  throw new Error("Expected the field `wallet_id` to be a primitive type in the JSON string but got " + data['wallet_id']);
@@ -236,6 +243,12 @@ AddressesEventDataAllOfAddresses.prototype['taproot_script_tree_hash'] = undefin
236
243
  */
237
244
  AddressesEventDataAllOfAddresses.prototype['taproot_internal_address'] = undefined;
238
245
 
246
+ /**
247
+ * The list of token IDs for which this address has already established trustlines on the Stellar network.
248
+ * @member {Array.<String>} stellar_trusted_token_ids
249
+ */
250
+ AddressesEventDataAllOfAddresses.prototype['stellar_trusted_token_ids'] = undefined;
251
+
239
252
  /**
240
253
  * The wallet ID.
241
254
  * @member {String} wallet_id
@@ -292,4 +305,9 @@ _AddressInfo["default"].prototype['taproot_script_tree_hash'] = undefined;
292
305
  * @member {String} taproot_internal_address
293
306
  */
294
307
  _AddressInfo["default"].prototype['taproot_internal_address'] = undefined;
308
+ /**
309
+ * The list of token IDs for which this address has already established trustlines on the Stellar network.
310
+ * @member {Array.<String>} stellar_trusted_token_ids
311
+ */
312
+ _AddressInfo["default"].prototype['stellar_trusted_token_ids'] = undefined;
295
313
  var _default = exports["default"] = AddressesEventDataAllOfAddresses;
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  var ApprovalDetail = /*#__PURE__*/function () {
30
30
  /**
31
31
  * Constructs a new <code>ApprovalDetail</code>.
32
- * The approval detail data for transaction.
32
+ * Details of the transaction approval.
33
33
  * @alias module:model/ApprovalDetail
34
34
  */
35
35
  function ApprovalDetail() {
@@ -126,19 +126,19 @@ var ApprovalDetail = /*#__PURE__*/function () {
126
126
  }]);
127
127
  }();
128
128
  /**
129
- * The transaction ID.
129
+ * Transaction ID.
130
130
  * @member {String} transaction_id
131
131
  */
132
132
  ApprovalDetail.prototype['transaction_id'] = undefined;
133
133
 
134
134
  /**
135
- * The Cobo ID, which can be used to track a transaction.
135
+ * Cobo ID used to track a transaction.
136
136
  * @member {String} cobo_id
137
137
  */
138
138
  ApprovalDetail.prototype['cobo_id'] = undefined;
139
139
 
140
140
  /**
141
- * The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization.
141
+ * Request ID used to track a transaction request.
142
142
  * @member {String} request_id
143
143
  */
144
144
  ApprovalDetail.prototype['request_id'] = undefined;
@@ -31,25 +31,20 @@ var ApprovalResult = exports["default"] = /*#__PURE__*/function () {
31
31
  function ApprovalResult() {
32
32
  _classCallCheck(this, ApprovalResult);
33
33
  /**
34
- * value: 1
34
+ * value: "Approved"
35
35
  * @const
36
36
  */
37
- _defineProperty(this, "PENDING", 1);
37
+ _defineProperty(this, "APPROVED", "Approved");
38
38
  /**
39
- * value: 2
39
+ * value: "Rejected"
40
40
  * @const
41
41
  */
42
- _defineProperty(this, "APPROVED", 2);
42
+ _defineProperty(this, "REJECTED", "Rejected");
43
43
  /**
44
- * value: 3
44
+ * value: "unknown_default_open_api"
45
45
  * @const
46
46
  */
47
- _defineProperty(this, "REJECTED", 3);
48
- /**
49
- * value: 11184809
50
- * @const
51
- */
52
- _defineProperty(this, "unknown_default_open_api", 11184809);
47
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
53
48
  }
54
49
  return _createClass(ApprovalResult, null, [{
55
50
  key: "constructFromObject",
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  var ApprovalTemplate = /*#__PURE__*/function () {
29
29
  /**
30
30
  * Constructs a new <code>ApprovalTemplate</code>.
31
- * The template for transaction approval details.
31
+ * Approval template details.
32
32
  * @alias module:model/ApprovalTemplate
33
33
  */
34
34
  function ApprovalTemplate() {
@@ -95,19 +95,19 @@ var ApprovalTemplate = /*#__PURE__*/function () {
95
95
  }]);
96
96
  }();
97
97
  /**
98
- * The business key that is used to identify the transaction.
98
+ * Business key used to identify the type of approval template.
99
99
  * @member {String} business_key
100
100
  */
101
101
  ApprovalTemplate.prototype['business_key'] = undefined;
102
102
 
103
103
  /**
104
- * The template text that is used for the transaction approval.
104
+ * Text content defined in the approval template used to generate approval messages shown to users
105
105
  * @member {String} template_text
106
106
  */
107
107
  ApprovalTemplate.prototype['template_text'] = undefined;
108
108
 
109
109
  /**
110
- * The version of the template used for the transaction approval.
110
+ * Version of the approval template.
111
111
  * @member {String} template_version
112
112
  */
113
113
  ApprovalTemplate.prototype['template_version'] = undefined;
@@ -31,25 +31,25 @@ var ApprovalTransactionResult = exports["default"] = /*#__PURE__*/function () {
31
31
  function ApprovalTransactionResult() {
32
32
  _classCallCheck(this, ApprovalTransactionResult);
33
33
  /**
34
- * value: -1
34
+ * value: "Rejected"
35
35
  * @const
36
36
  */
37
- _defineProperty(this, "REJECTED", -1);
37
+ _defineProperty(this, "REJECTED", "Rejected");
38
38
  /**
39
- * value: 0
39
+ * value: "Pending"
40
40
  * @const
41
41
  */
42
- _defineProperty(this, "PENDING", 0);
42
+ _defineProperty(this, "PENDING", "Pending");
43
43
  /**
44
- * value: 1
44
+ * value: "Approved"
45
45
  * @const
46
46
  */
47
- _defineProperty(this, "APPROVED", 1);
47
+ _defineProperty(this, "APPROVED", "Approved");
48
48
  /**
49
- * value: 11184809
49
+ * value: "unknown_default_open_api"
50
50
  * @const
51
51
  */
52
- _defineProperty(this, "unknown_default_open_api", 11184809);
52
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
53
53
  }
54
54
  return _createClass(ApprovalTransactionResult, null, [{
55
55
  key: "constructFromObject",
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _ApprovalResult = _interopRequireDefault(require("./ApprovalResult"));
9
- var _ApprovalShowInfo = _interopRequireDefault(require("./ApprovalShowInfo"));
10
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
10
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
11
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -30,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
29
  var ApprovalUserDetail = /*#__PURE__*/function () {
31
30
  /**
32
31
  * Constructs a new <code>ApprovalUserDetail</code>.
33
- * The user detail for a transaction approval. This includes the user&#39;s email, public key, signature, statement UUID, result of the approval, creation time, template version, header title, whether it is for signing, and additional information to show.
32
+ * Details about a user involved in a transaction approval workflow.
34
33
  * @alias module:model/ApprovalUserDetail
35
34
  */
36
35
  function ApprovalUserDetail() {
@@ -59,8 +58,11 @@ var ApprovalUserDetail = /*#__PURE__*/function () {
59
58
  value: function constructFromObject(data, obj) {
60
59
  if (data) {
61
60
  obj = obj || new ApprovalUserDetail();
62
- if (data.hasOwnProperty('user_email')) {
63
- obj['user_email'] = _ApiClient["default"].convertToType(data['user_email'], 'String');
61
+ if (data.hasOwnProperty('name')) {
62
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
63
+ }
64
+ if (data.hasOwnProperty('email')) {
65
+ obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
64
66
  }
65
67
  if (data.hasOwnProperty('pubkey')) {
66
68
  obj['pubkey'] = _ApiClient["default"].convertToType(data['pubkey'], 'String');
@@ -74,6 +76,9 @@ var ApprovalUserDetail = /*#__PURE__*/function () {
74
76
  if (data.hasOwnProperty('result')) {
75
77
  obj['result'] = _ApprovalResult["default"].constructFromObject(data['result']);
76
78
  }
79
+ if (data.hasOwnProperty('approval_result_code')) {
80
+ obj['approval_result_code'] = _ApiClient["default"].convertToType(data['approval_result_code'], 'Number');
81
+ }
77
82
  if (data.hasOwnProperty('created_time')) {
78
83
  obj['created_time'] = _ApiClient["default"].convertToType(data['created_time'], 'Number');
79
84
  }
@@ -87,7 +92,19 @@ var ApprovalUserDetail = /*#__PURE__*/function () {
87
92
  obj['is_for_sign'] = _ApiClient["default"].convertToType(data['is_for_sign'], 'Boolean');
88
93
  }
89
94
  if (data.hasOwnProperty('show_info')) {
90
- obj['show_info'] = _ApprovalShowInfo["default"].constructFromObject(data['show_info']);
95
+ obj['show_info'] = _ApiClient["default"].convertToType(data['show_info'], 'String');
96
+ }
97
+ if (data.hasOwnProperty('language')) {
98
+ obj['language'] = _ApiClient["default"].convertToType(data['language'], 'String');
99
+ }
100
+ if (data.hasOwnProperty('message_version')) {
101
+ obj['message_version'] = _ApiClient["default"].convertToType(data['message_version'], 'String');
102
+ }
103
+ if (data.hasOwnProperty('message')) {
104
+ obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
105
+ }
106
+ if (data.hasOwnProperty('extra_message')) {
107
+ obj['extra_message'] = _ApiClient["default"].convertToType(data['extra_message'], 'String');
91
108
  }
92
109
  }
93
110
  return obj;
@@ -102,8 +119,12 @@ var ApprovalUserDetail = /*#__PURE__*/function () {
102
119
  key: "validateJSON",
103
120
  value: function validateJSON(data) {
104
121
  // ensure the json data is a string
105
- if (data['user_email'] && !(typeof data['user_email'] === 'string' || data['user_email'] instanceof String)) {
106
- throw new Error("Expected the field `user_email` to be a primitive type in the JSON string but got " + data['user_email']);
122
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
123
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
124
+ }
125
+ // ensure the json data is a string
126
+ if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
127
+ throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
107
128
  }
108
129
  // ensure the json data is a string
109
130
  if (data['pubkey'] && !(typeof data['pubkey'] === 'string' || data['pubkey'] instanceof String)) {
@@ -125,37 +146,56 @@ var ApprovalUserDetail = /*#__PURE__*/function () {
125
146
  if (data['header_title'] && !(typeof data['header_title'] === 'string' || data['header_title'] instanceof String)) {
126
147
  throw new Error("Expected the field `header_title` to be a primitive type in the JSON string but got " + data['header_title']);
127
148
  }
128
- // validate the optional field `show_info`
129
- if (data['show_info']) {
130
- // data not null
131
- if (!!_ApprovalShowInfo["default"].validateJSON) {
132
- _ApprovalShowInfo["default"].validateJSON(data['show_info']);
133
- }
149
+ // ensure the json data is a string
150
+ if (data['show_info'] && !(typeof data['show_info'] === 'string' || data['show_info'] instanceof String)) {
151
+ throw new Error("Expected the field `show_info` to be a primitive type in the JSON string but got " + data['show_info']);
152
+ }
153
+ // ensure the json data is a string
154
+ if (data['language'] && !(typeof data['language'] === 'string' || data['language'] instanceof String)) {
155
+ throw new Error("Expected the field `language` to be a primitive type in the JSON string but got " + data['language']);
156
+ }
157
+ // ensure the json data is a string
158
+ if (data['message_version'] && !(typeof data['message_version'] === 'string' || data['message_version'] instanceof String)) {
159
+ throw new Error("Expected the field `message_version` to be a primitive type in the JSON string but got " + data['message_version']);
160
+ }
161
+ // ensure the json data is a string
162
+ if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
163
+ throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
164
+ }
165
+ // ensure the json data is a string
166
+ if (data['extra_message'] && !(typeof data['extra_message'] === 'string' || data['extra_message'] instanceof String)) {
167
+ throw new Error("Expected the field `extra_message` to be a primitive type in the JSON string but got " + data['extra_message']);
134
168
  }
135
169
  return true;
136
170
  }
137
171
  }]);
138
172
  }();
139
173
  /**
140
- * The email address of the user who approved the transaction.
141
- * @member {String} user_email
174
+ * Name of the user who approved the transaction.
175
+ * @member {String} name
142
176
  */
143
- ApprovalUserDetail.prototype['user_email'] = undefined;
177
+ ApprovalUserDetail.prototype['name'] = undefined;
144
178
 
145
179
  /**
146
- * The public key of the user who approved the transaction.
180
+ * Email of the user.
181
+ * @member {String} email
182
+ */
183
+ ApprovalUserDetail.prototype['email'] = undefined;
184
+
185
+ /**
186
+ * Public key of the user.
147
187
  * @member {String} pubkey
148
188
  */
149
189
  ApprovalUserDetail.prototype['pubkey'] = undefined;
150
190
 
151
191
  /**
152
- * The signature of the transaction approval.
192
+ * Signature produced by the user for this approval.
153
193
  * @member {String} signature
154
194
  */
155
195
  ApprovalUserDetail.prototype['signature'] = undefined;
156
196
 
157
197
  /**
158
- * The UUID of the statement associated with the transaction approval.
198
+ * UUID of the statement associated with this approval.
159
199
  * @member {String} statement_uuid
160
200
  */
161
201
  ApprovalUserDetail.prototype['statement_uuid'] = undefined;
@@ -166,31 +206,62 @@ ApprovalUserDetail.prototype['statement_uuid'] = undefined;
166
206
  ApprovalUserDetail.prototype['result'] = undefined;
167
207
 
168
208
  /**
169
- * The timestamp when the approval was created.
209
+ * Integer value representing the result of the approval.
210
+ * @member {Number} approval_result_code
211
+ */
212
+ ApprovalUserDetail.prototype['approval_result_code'] = undefined;
213
+
214
+ /**
215
+ * Timestamp when the approval was created.
170
216
  * @member {Number} created_time
171
217
  */
172
218
  ApprovalUserDetail.prototype['created_time'] = undefined;
173
219
 
174
220
  /**
175
- * The version of the template used for the transaction approval.
221
+ * Version of the template used for the transaction approval.
176
222
  * @member {String} template_version
177
223
  */
178
224
  ApprovalUserDetail.prototype['template_version'] = undefined;
179
225
 
180
226
  /**
181
- * The title of the header for the transaction approval.
227
+ * Display title used in the transaction approval.
182
228
  * @member {String} header_title
183
229
  */
184
230
  ApprovalUserDetail.prototype['header_title'] = undefined;
185
231
 
186
232
  /**
187
- * Indicates whether the approval is for signing.
233
+ * Indicates whether this approval requires signing: - `true`: The user must sign the transaction. - `false`: The user only needs to approve or reject without signing.
188
234
  * @member {Boolean} is_for_sign
189
235
  */
190
236
  ApprovalUserDetail.prototype['is_for_sign'] = undefined;
191
237
 
192
238
  /**
193
- * @member {module:model/ApprovalShowInfo} show_info
239
+ * Additional information to show for the transaction approval.
240
+ * @member {String} show_info
194
241
  */
195
242
  ApprovalUserDetail.prototype['show_info'] = undefined;
243
+
244
+ /**
245
+ * Language used for the transaction approval.
246
+ * @member {String} language
247
+ */
248
+ ApprovalUserDetail.prototype['language'] = undefined;
249
+
250
+ /**
251
+ * Version of the message format used for the transaction approval.
252
+ * @member {String} message_version
253
+ */
254
+ ApprovalUserDetail.prototype['message_version'] = undefined;
255
+
256
+ /**
257
+ * Message associated with the transaction approval.
258
+ * @member {String} message
259
+ */
260
+ ApprovalUserDetail.prototype['message'] = undefined;
261
+
262
+ /**
263
+ * Any additional message or information related to the transaction approval.
264
+ * @member {String} extra_message
265
+ */
266
+ ApprovalUserDetail.prototype['extra_message'] = undefined;
196
267
  var _default = exports["default"] = ApprovalUserDetail;
@@ -32,11 +32,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  var AutoSweepTask = /*#__PURE__*/function () {
33
33
  /**
34
34
  * Constructs a new <code>AutoSweepTask</code>.
35
- * The auto sweep task information.
35
+ * Auto-sweep task information.
36
36
  * @alias module:model/AutoSweepTask
37
- * @param task_id {String} The auto sweep task ID.
38
- * @param wallet_id {String} The wallet ID.
39
- * @param token_id {String} The token ID of the swept 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).
37
+ * @param task_id {String} Auto-sweep task ID.
38
+ * @param wallet_id {String} Wallet ID.
39
+ * @param token_id {String} Token ID of the swept 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).
40
40
  * @param status {module:model/AutoSweepTaskStatus}
41
41
  * @param created_timestamp {Number} The time when the task was created, in Unix timestamp format, measured in milliseconds.
42
42
  */
@@ -150,19 +150,19 @@ var AutoSweepTask = /*#__PURE__*/function () {
150
150
  AutoSweepTask.RequiredProperties = ["task_id", "wallet_id", "token_id", "status", "created_timestamp"];
151
151
 
152
152
  /**
153
- * The auto sweep task ID.
153
+ * Auto-sweep task ID.
154
154
  * @member {String} task_id
155
155
  */
156
156
  AutoSweepTask.prototype['task_id'] = undefined;
157
157
 
158
158
  /**
159
- * The wallet ID.
159
+ * Wallet ID.
160
160
  * @member {String} wallet_id
161
161
  */
162
162
  AutoSweepTask.prototype['wallet_id'] = undefined;
163
163
 
164
164
  /**
165
- * The token ID of the swept 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).
165
+ * Token ID of the swept 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).
166
166
  * @member {String} token_id
167
167
  */
168
168
  AutoSweepTask.prototype['token_id'] = undefined;
@@ -173,13 +173,13 @@ AutoSweepTask.prototype['token_id'] = undefined;
173
173
  AutoSweepTask.prototype['status'] = undefined;
174
174
 
175
175
  /**
176
- * The IDs of the corresponding transactions of the auto sweep task.
176
+ * IDs of the transactions triggered by the task.
177
177
  * @member {Array.<String>} transaction_ids
178
178
  */
179
179
  AutoSweepTask.prototype['transaction_ids'] = undefined;
180
180
 
181
181
  /**
182
- * Failed reason of create auto sweep transaction.
182
+ * Reasons why the task creation failed.
183
183
  * @member {Array.<String>} failed_reasons
184
184
  */
185
185
  AutoSweepTask.prototype['failed_reasons'] = undefined;
@@ -37,7 +37,7 @@ var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
37
37
  * @alias module:model/BalanceUpdateInfoEventData
38
38
  * @implements module:model/WebhookEventDataType
39
39
  * @implements module:model/BalanceUpdateInfo
40
- * @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
40
+ * @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
41
41
  * @param token_id {String} The token ID, which 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).
42
42
  * @param address {String} The wallet address.
43
43
  * @param wallet_uuid {String} The wallet ID.
@@ -156,7 +156,7 @@ var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
156
156
  BalanceUpdateInfoEventData.RequiredProperties = ["data_type", "token_id", "address", "wallet_uuid", "updated_timestamp", "balance"];
157
157
 
158
158
  /**
159
- * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
159
+ * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
160
160
  * @member {module:model/BalanceUpdateInfoEventData.DataTypeEnum} data_type
161
161
  */
162
162
  BalanceUpdateInfoEventData.prototype['data_type'] = undefined;
@@ -192,7 +192,7 @@ BalanceUpdateInfoEventData.prototype['balance'] = undefined;
192
192
 
193
193
  // Implement WebhookEventDataType interface:
194
194
  /**
195
- * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
195
+ * 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. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
196
196
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
197
197
  */
198
198
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -303,6 +303,11 @@ BalanceUpdateInfoEventData['DataTypeEnum'] = {
303
303
  * @const
304
304
  */
305
305
  "SuspendedToken": "SuspendedToken",
306
+ /**
307
+ * value: "ComplianceDisposition"
308
+ * @const
309
+ */
310
+ "ComplianceDisposition": "ComplianceDisposition",
306
311
  /**
307
312
  * value: "unknown_default_open_api"
308
313
  * @const