@cobo/cobo-waas2 1.20.0 → 1.22.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 (224) hide show
  1. package/README.md +60 -4
  2. package/dist/ApiClient.js +11 -2
  3. package/dist/PreRequestScript.js +2 -4
  4. package/dist/api/AutoSweepApi.js +289 -0
  5. package/dist/api/PaymentApi.js +386 -24
  6. package/dist/api/TokenizationApi.js +1024 -0
  7. package/dist/api/TransactionsApi.js +103 -2
  8. package/dist/api/WalletsApi.js +2 -2
  9. package/dist/crypto/ApiSigner.js +5 -1
  10. package/dist/index.js +175 -0
  11. package/dist/model/AddressesEventData.js +3 -3
  12. package/dist/model/ApprovalDetail.js +7 -7
  13. package/dist/model/AutoSweepTask.js +198 -0
  14. package/dist/model/AutoSweepTaskStatus.js +61 -0
  15. package/dist/model/BalanceUpdateInfoEventData.js +3 -3
  16. package/dist/model/ChainsEventData.js +3 -3
  17. package/dist/model/CreateAutoSweepTask.js +126 -0
  18. package/dist/model/CreateCryptoAddressRequest.js +138 -0
  19. package/dist/model/CreateCustodialWalletParams.js +9 -0
  20. package/dist/model/CreateExchangeWalletParams.js +14 -0
  21. package/dist/model/CreateMpcWalletParams.js +14 -0
  22. package/dist/model/CreatePaymentOrderRequest.js +5 -5
  23. package/dist/model/CreateSafeWalletParams.js +9 -0
  24. package/dist/model/CreateSettlement.js +27 -4
  25. package/dist/model/CreateSmartContractWalletParams.js +6 -0
  26. package/dist/model/CreateSweepToAddress.js +126 -0
  27. package/dist/model/CreateWalletParams.js +6 -0
  28. package/dist/model/CreatedWalletInfo.js +6 -0
  29. package/dist/model/CryptoAddress.js +12 -12
  30. package/dist/model/CustodialWalletInfo.js +9 -0
  31. package/dist/model/DeleteCryptoAddress201Response.js +110 -0
  32. package/dist/model/ExchangeWalletInfo.js +14 -0
  33. package/dist/model/ForcedSweep.js +9 -9
  34. package/dist/model/ForcedSweepRequest.js +8 -9
  35. package/dist/model/GetTokenizationAllowlistActivation200Response.js +107 -0
  36. package/dist/model/ListAutoSweepTask200Response.js +123 -0
  37. package/dist/model/ListMerchantBalances200Response.js +107 -0
  38. package/dist/model/ListPaymentWalletBalances200Response.js +107 -0
  39. package/dist/model/ListSettlementDetails200Response.js +123 -0
  40. package/dist/model/ListTokenizationBlocklistAddresses200Response.js +145 -0
  41. package/dist/model/ListWalletSweepToAddresses200Response.js +107 -0
  42. package/dist/model/MPCVaultEventData.js +3 -3
  43. package/dist/model/MPCWalletInfo.js +14 -0
  44. package/dist/model/MerchantBalance.js +201 -0
  45. package/dist/model/PaymentAddressUpdateEventData.js +13 -13
  46. package/dist/model/PaymentOrderEventData.js +3 -3
  47. package/dist/model/PaymentRefundEventData.js +3 -3
  48. package/dist/model/PaymentSettlementEvent.js +42 -3
  49. package/dist/model/PaymentTransactionEventData.js +6 -6
  50. package/dist/model/PaymentWalletBalance.js +177 -0
  51. package/dist/model/PspBalance.js +175 -0
  52. package/dist/model/ReceivedAmountPerAddress.js +126 -0
  53. package/dist/model/SafeWallet.js +9 -0
  54. package/dist/model/Settlement.js +27 -0
  55. package/dist/model/SettlementDetail.js +26 -0
  56. package/dist/model/SettlementInfo.js +7 -7
  57. package/dist/model/SmartContractWalletInfo.js +6 -0
  58. package/dist/model/SuspendedTokenEventData.js +3 -3
  59. package/dist/model/SweepToAddress.js +135 -0
  60. package/dist/model/SweepToAddressStatus.js +61 -0
  61. package/dist/model/TSSRequestWebhookEventData.js +3 -3
  62. package/dist/model/TokenListingEventData.js +3 -3
  63. package/dist/model/TokenizationActivityInfo.js +8 -4
  64. package/dist/model/TokenizationAllowlistActivationRequest.js +13 -0
  65. package/dist/model/TokenizationAllowlistAddressNote.js +4 -4
  66. package/dist/model/TokenizationAllowlistAddressesResponse.js +145 -0
  67. package/dist/model/TokenizationBlocklistAddressNote.js +4 -4
  68. package/dist/model/TokenizationBurnEstimateFeeParams.js +13 -0
  69. package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +4 -4
  70. package/dist/model/TokenizationBurnTokenRequest.js +13 -0
  71. package/dist/model/TokenizationContractCallEstimateFeeParams.js +13 -0
  72. package/dist/model/TokenizationContractCallParamsData.js +43 -9
  73. package/dist/model/TokenizationContractCallRequest.js +13 -0
  74. package/dist/model/TokenizationContractCallType.js +5 -0
  75. package/dist/model/TokenizationERC20TokenParams.js +4 -4
  76. package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +6 -0
  77. package/dist/model/TokenizationEvmContractCallParams.js +2 -2
  78. package/dist/model/TokenizationIssueEstimateFeeParams.js +13 -0
  79. package/dist/model/TokenizationIssueTokenParamsTokenParams.js +40 -12
  80. package/dist/model/TokenizationIssuedTokenRequest.js +14 -1
  81. package/dist/model/TokenizationMintEstimateFeeParams.js +13 -0
  82. package/dist/model/TokenizationMintTokenRequest.js +13 -0
  83. package/dist/model/TokenizationMpcOperationSource.js +2 -2
  84. package/dist/model/TokenizationPauseEstimateFeeParams.js +13 -0
  85. package/dist/model/TokenizationPauseTokenRequest.js +13 -0
  86. package/dist/model/TokenizationSOLTokenParams.js +173 -0
  87. package/dist/model/TokenizationSolContractCallParams.js +137 -0
  88. package/dist/model/TokenizationSolTokenPermissionParams.js +140 -0
  89. package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +13 -0
  90. package/dist/model/TokenizationTokenDetailInfo.js +6 -6
  91. package/dist/model/TokenizationTokenInfo.js +4 -4
  92. package/dist/model/TokenizationTokenOperationSource.js +1 -1
  93. package/dist/model/TokenizationTokenPermissionParams.js +1 -1
  94. package/dist/model/TokenizationTokenPermissionType.js +15 -0
  95. package/dist/model/TokenizationTokenStandard.js +5 -0
  96. package/dist/model/TokenizationUnpauseEstimateFeeParams.js +13 -0
  97. package/dist/model/TokenizationUnpauseTokenRequest.js +13 -0
  98. package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +13 -0
  99. package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +1 -1
  100. package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +13 -0
  101. package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +13 -0
  102. package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +1 -1
  103. package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +13 -0
  104. package/dist/model/TokenizationWeb3OperationSource.js +2 -2
  105. package/dist/model/TokensEventData.js +3 -3
  106. package/dist/model/TopUpAddress.js +0 -1
  107. package/dist/model/TransactionWebhookEventData.js +3 -3
  108. package/dist/model/UpdateCustodialWalletParams.js +13 -6
  109. package/dist/model/UpdateMpcWalletParams.js +13 -6
  110. package/dist/model/UpdateTopUpAddress.js +3 -3
  111. package/dist/model/UpdateWalletParams.js +6 -0
  112. package/dist/model/WalletInfo.js +6 -0
  113. package/dist/model/WalletInfoEventData.js +3 -3
  114. package/dist/model/WebhookEventData.js +19 -7
  115. package/dist/model/WebhookEventDataType.js +2 -2
  116. package/docs/AddressesEventData.md +1 -1
  117. package/docs/ApprovalDetail.md +1 -1
  118. package/docs/AutoSweepApi.md +285 -0
  119. package/docs/AutoSweepTask.md +16 -0
  120. package/docs/AutoSweepTaskStatus.md +12 -0
  121. package/docs/BalanceUpdateInfoEventData.md +1 -1
  122. package/docs/ChainsEventData.md +1 -1
  123. package/docs/CreateAutoSweepTask.md +10 -0
  124. package/docs/CreateCryptoAddressRequest.md +11 -0
  125. package/docs/CreateCustodialWalletParams.md +1 -0
  126. package/docs/CreateExchangeWalletParams.md +1 -0
  127. package/docs/CreateMpcWalletParams.md +1 -0
  128. package/docs/CreatePaymentOrderRequest.md +3 -3
  129. package/docs/CreateSafeWalletParams.md +1 -0
  130. package/docs/CreateSettlement.md +1 -1
  131. package/docs/CreateSmartContractWalletParams.md +1 -0
  132. package/docs/CreateSweepToAddress.md +10 -0
  133. package/docs/CreateWalletParams.md +1 -0
  134. package/docs/CreatedWalletInfo.md +1 -0
  135. package/docs/CryptoAddress.md +1 -1
  136. package/docs/CustodialWalletInfo.md +1 -0
  137. package/docs/DeleteCryptoAddress201Response.md +9 -0
  138. package/docs/ExchangeWalletInfo.md +1 -0
  139. package/docs/ForcedSweep.md +7 -7
  140. package/docs/ForcedSweepRequest.md +4 -4
  141. package/docs/GetTokenizationAllowlistActivation200Response.md +9 -0
  142. package/docs/ListAutoSweepTask200Response.md +10 -0
  143. package/docs/ListMerchantBalances200Response.md +9 -0
  144. package/docs/ListPaymentWalletBalances200Response.md +9 -0
  145. package/docs/ListSettlementDetails200Response.md +10 -0
  146. package/docs/ListTokenizationBlocklistAddresses200Response.md +10 -0
  147. package/docs/ListWalletSweepToAddresses200Response.md +9 -0
  148. package/docs/MPCVaultEventData.md +1 -1
  149. package/docs/MPCWalletInfo.md +1 -0
  150. package/docs/MerchantBalance.md +16 -0
  151. package/docs/PaymentAddressUpdateEventData.md +6 -6
  152. package/docs/PaymentApi.md +403 -16
  153. package/docs/PaymentOrderEventData.md +1 -1
  154. package/docs/PaymentRefundEventData.md +1 -1
  155. package/docs/PaymentSettlementEvent.md +4 -1
  156. package/docs/PaymentTransactionEventData.md +4 -4
  157. package/docs/PaymentWalletBalance.md +14 -0
  158. package/docs/PspBalance.md +14 -0
  159. package/docs/ReceivedAmountPerAddress.md +10 -0
  160. package/docs/SafeWallet.md +1 -0
  161. package/docs/Settlement.md +3 -0
  162. package/docs/SettlementDetail.md +2 -0
  163. package/docs/SettlementInfo.md +6 -6
  164. package/docs/SmartContractWalletInfo.md +1 -0
  165. package/docs/SuspendedTokenEventData.md +1 -1
  166. package/docs/SweepToAddress.md +11 -0
  167. package/docs/SweepToAddressStatus.md +12 -0
  168. package/docs/TSSRequestWebhookEventData.md +1 -1
  169. package/docs/TokenListingEventData.md +1 -1
  170. package/docs/TokenizationActivityInfo.md +2 -2
  171. package/docs/TokenizationAllowlistActivationRequest.md +1 -0
  172. package/docs/TokenizationAllowlistAddressNote.md +3 -3
  173. package/docs/TokenizationAllowlistAddressesResponse.md +10 -0
  174. package/docs/TokenizationApi.md +1069 -0
  175. package/docs/TokenizationBlocklistAddressNote.md +3 -3
  176. package/docs/TokenizationBurnEstimateFeeParams.md +1 -0
  177. package/docs/TokenizationBurnTokenParamsBurnsInner.md +2 -2
  178. package/docs/TokenizationBurnTokenRequest.md +1 -0
  179. package/docs/TokenizationContractCallEstimateFeeParams.md +1 -0
  180. package/docs/TokenizationContractCallParamsData.md +2 -1
  181. package/docs/TokenizationContractCallRequest.md +1 -0
  182. package/docs/TokenizationContractCallType.md +2 -0
  183. package/docs/TokenizationERC20TokenParams.md +1 -1
  184. package/docs/TokenizationEstimateFeeRequestOperationParams.md +1 -0
  185. package/docs/TokenizationEvmContractCallParams.md +1 -1
  186. package/docs/TokenizationIssueEstimateFeeParams.md +1 -0
  187. package/docs/TokenizationIssueTokenParamsTokenParams.md +2 -2
  188. package/docs/TokenizationIssuedTokenRequest.md +2 -1
  189. package/docs/TokenizationMintEstimateFeeParams.md +1 -0
  190. package/docs/TokenizationMintTokenRequest.md +1 -0
  191. package/docs/TokenizationMpcOperationSource.md +1 -1
  192. package/docs/TokenizationPauseEstimateFeeParams.md +1 -0
  193. package/docs/TokenizationPauseTokenRequest.md +1 -0
  194. package/docs/TokenizationSOLTokenParams.md +14 -0
  195. package/docs/TokenizationSolContractCallParams.md +10 -0
  196. package/docs/TokenizationSolTokenPermissionParams.md +13 -0
  197. package/docs/TokenizationToggleAllowlistEstimateFeeParams.md +1 -0
  198. package/docs/TokenizationTokenDetailInfo.md +1 -1
  199. package/docs/TokenizationTokenInfo.md +1 -1
  200. package/docs/TokenizationTokenOperationSource.md +1 -1
  201. package/docs/TokenizationTokenPermissionType.md +6 -0
  202. package/docs/TokenizationTokenStandard.md +2 -0
  203. package/docs/TokenizationUnpauseEstimateFeeParams.md +1 -0
  204. package/docs/TokenizationUnpauseTokenRequest.md +1 -0
  205. package/docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md +1 -0
  206. package/docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md +1 -1
  207. package/docs/TokenizationUpdateAllowlistAddressesRequest.md +1 -0
  208. package/docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md +1 -0
  209. package/docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md +1 -1
  210. package/docs/TokenizationUpdateBlocklistAddressesRequest.md +1 -0
  211. package/docs/TokenizationWeb3OperationSource.md +1 -1
  212. package/docs/TokensEventData.md +1 -1
  213. package/docs/TransactionWebhookEventData.md +1 -1
  214. package/docs/TransactionsApi.md +113 -1
  215. package/docs/UpdateCustodialWalletParams.md +2 -1
  216. package/docs/UpdateMpcWalletParams.md +2 -1
  217. package/docs/UpdateTopUpAddress.md +1 -1
  218. package/docs/UpdateWalletParams.md +1 -0
  219. package/docs/WalletInfo.md +1 -0
  220. package/docs/WalletInfoEventData.md +1 -1
  221. package/docs/WalletsApi.md +1 -1
  222. package/docs/WebhookEventData.md +9 -7
  223. package/docs/WebhookEventDataType.md +1 -1
  224. package/package.json +1 -1
@@ -83,6 +83,9 @@ var TokenizationUnpauseTokenRequest = /*#__PURE__*/function () {
83
83
  if (data.hasOwnProperty('fee')) {
84
84
  obj['fee'] = _TransactionRequestFee["default"].constructFromObject(data['fee']);
85
85
  }
86
+ if (data.hasOwnProperty('request_id')) {
87
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
88
+ }
86
89
  }
87
90
  return obj;
88
91
  }
@@ -128,6 +131,10 @@ var TokenizationUnpauseTokenRequest = /*#__PURE__*/function () {
128
131
  _TransactionRequestFee["default"].validateJSON(data['fee']);
129
132
  }
130
133
  }
134
+ // ensure the json data is a string
135
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
136
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
137
+ }
131
138
  return true;
132
139
  }
133
140
  }]);
@@ -150,6 +157,12 @@ TokenizationUnpauseTokenRequest.prototype['app_initiator'] = undefined;
150
157
  */
151
158
  TokenizationUnpauseTokenRequest.prototype['fee'] = undefined;
152
159
 
160
+ /**
161
+ * 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.
162
+ * @member {String} request_id
163
+ */
164
+ TokenizationUnpauseTokenRequest.prototype['request_id'] = undefined;
165
+
153
166
  // Implement TokenizationUnpauseTokenParams interface:
154
167
  /**
155
168
  * @member {module:model/TokenizationTokenOperationSource} source
@@ -93,6 +93,9 @@ var TokenizationUpdateAllowlistAddressesEstimateFeeParams = /*#__PURE__*/functio
93
93
  if (data.hasOwnProperty('token_id')) {
94
94
  obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
95
95
  }
96
+ if (data.hasOwnProperty('request_id')) {
97
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
98
+ }
96
99
  }
97
100
  return obj;
98
101
  }
@@ -152,6 +155,10 @@ var TokenizationUpdateAllowlistAddressesEstimateFeeParams = /*#__PURE__*/functio
152
155
  if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
153
156
  throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
154
157
  }
158
+ // ensure the json data is a string
159
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
160
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
161
+ }
155
162
  return true;
156
163
  }
157
164
  }]);
@@ -185,6 +192,12 @@ TokenizationUpdateAllowlistAddressesEstimateFeeParams.prototype['operation_type'
185
192
  */
186
193
  TokenizationUpdateAllowlistAddressesEstimateFeeParams.prototype['token_id'] = undefined;
187
194
 
195
+ /**
196
+ * 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.
197
+ * @member {String} request_id
198
+ */
199
+ TokenizationUpdateAllowlistAddressesEstimateFeeParams.prototype['request_id'] = undefined;
200
+
188
201
  // Implement TokenizationUpdateAllowlistAddressesParams interface:
189
202
  /**
190
203
  * @member {module:model/TokenizationUpdateAddressAction} action
@@ -116,7 +116,7 @@ TokenizationUpdateAllowlistAddressesParamsAddressesInner.RequiredProperties = ["
116
116
  TokenizationUpdateAllowlistAddressesParamsAddressesInner.prototype['address'] = undefined;
117
117
 
118
118
  /**
119
- * An optional note for the address, primarily used when adding.
119
+ * An optional note for the address, primarily used when adding addresses.
120
120
  * @member {String} note
121
121
  */
122
122
  TokenizationUpdateAllowlistAddressesParamsAddressesInner.prototype['note'] = undefined;
@@ -95,6 +95,9 @@ var TokenizationUpdateAllowlistAddressesRequest = /*#__PURE__*/function () {
95
95
  if (data.hasOwnProperty('fee')) {
96
96
  obj['fee'] = _TransactionRequestFee["default"].constructFromObject(data['fee']);
97
97
  }
98
+ if (data.hasOwnProperty('request_id')) {
99
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
100
+ }
98
101
  }
99
102
  return obj;
100
103
  }
@@ -161,6 +164,10 @@ var TokenizationUpdateAllowlistAddressesRequest = /*#__PURE__*/function () {
161
164
  _TransactionRequestFee["default"].validateJSON(data['fee']);
162
165
  }
163
166
  }
167
+ // ensure the json data is a string
168
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
169
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
170
+ }
164
171
  return true;
165
172
  }
166
173
  }]);
@@ -194,6 +201,12 @@ TokenizationUpdateAllowlistAddressesRequest.prototype['app_initiator'] = undefin
194
201
  */
195
202
  TokenizationUpdateAllowlistAddressesRequest.prototype['fee'] = undefined;
196
203
 
204
+ /**
205
+ * 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.
206
+ * @member {String} request_id
207
+ */
208
+ TokenizationUpdateAllowlistAddressesRequest.prototype['request_id'] = undefined;
209
+
197
210
  // Implement TokenizationUpdateAllowlistAddressesParams interface:
198
211
  /**
199
212
  * @member {module:model/TokenizationUpdateAddressAction} action
@@ -93,6 +93,9 @@ var TokenizationUpdateBlocklistAddressesEstimateFeeParams = /*#__PURE__*/functio
93
93
  if (data.hasOwnProperty('token_id')) {
94
94
  obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
95
95
  }
96
+ if (data.hasOwnProperty('request_id')) {
97
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
98
+ }
96
99
  }
97
100
  return obj;
98
101
  }
@@ -152,6 +155,10 @@ var TokenizationUpdateBlocklistAddressesEstimateFeeParams = /*#__PURE__*/functio
152
155
  if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
153
156
  throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
154
157
  }
158
+ // ensure the json data is a string
159
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
160
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
161
+ }
155
162
  return true;
156
163
  }
157
164
  }]);
@@ -185,6 +192,12 @@ TokenizationUpdateBlocklistAddressesEstimateFeeParams.prototype['operation_type'
185
192
  */
186
193
  TokenizationUpdateBlocklistAddressesEstimateFeeParams.prototype['token_id'] = undefined;
187
194
 
195
+ /**
196
+ * 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.
197
+ * @member {String} request_id
198
+ */
199
+ TokenizationUpdateBlocklistAddressesEstimateFeeParams.prototype['request_id'] = undefined;
200
+
188
201
  // Implement TokenizationUpdateBlocklistAddressesParams interface:
189
202
  /**
190
203
  * @member {module:model/TokenizationUpdateAddressAction} action
@@ -116,7 +116,7 @@ TokenizationUpdateBlocklistAddressesParamsAddressesInner.RequiredProperties = ["
116
116
  TokenizationUpdateBlocklistAddressesParamsAddressesInner.prototype['address'] = undefined;
117
117
 
118
118
  /**
119
- * An optional note for the address, primarily used when adding.
119
+ * An optional note for the address, primarily used when adding addresses.
120
120
  * @member {String} note
121
121
  */
122
122
  TokenizationUpdateBlocklistAddressesParamsAddressesInner.prototype['note'] = undefined;
@@ -95,6 +95,9 @@ var TokenizationUpdateBlocklistAddressesRequest = /*#__PURE__*/function () {
95
95
  if (data.hasOwnProperty('fee')) {
96
96
  obj['fee'] = _TransactionRequestFee["default"].constructFromObject(data['fee']);
97
97
  }
98
+ if (data.hasOwnProperty('request_id')) {
99
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
100
+ }
98
101
  }
99
102
  return obj;
100
103
  }
@@ -161,6 +164,10 @@ var TokenizationUpdateBlocklistAddressesRequest = /*#__PURE__*/function () {
161
164
  _TransactionRequestFee["default"].validateJSON(data['fee']);
162
165
  }
163
166
  }
167
+ // ensure the json data is a string
168
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
169
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
170
+ }
164
171
  return true;
165
172
  }
166
173
  }]);
@@ -194,6 +201,12 @@ TokenizationUpdateBlocklistAddressesRequest.prototype['app_initiator'] = undefin
194
201
  */
195
202
  TokenizationUpdateBlocklistAddressesRequest.prototype['fee'] = undefined;
196
203
 
204
+ /**
205
+ * 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.
206
+ * @member {String} request_id
207
+ */
208
+ TokenizationUpdateBlocklistAddressesRequest.prototype['request_id'] = undefined;
209
+
197
210
  // Implement TokenizationUpdateBlocklistAddressesParams interface:
198
211
  /**
199
212
  * @member {module:model/TokenizationUpdateAddressAction} action
@@ -35,7 +35,7 @@ var TokenizationWeb3OperationSource = /*#__PURE__*/function () {
35
35
  * @alias module:model/TokenizationWeb3OperationSource
36
36
  * @param source_type {module:model/TokenizationOperationSourceType}
37
37
  * @param wallet_id {String} The wallet ID.
38
- * @param address {String} The wallet address to interact with the token contract from.
38
+ * @param address {String} The wallet address used to interact with the token contract.
39
39
  */
40
40
  function TokenizationWeb3OperationSource(source_type, wallet_id, address) {
41
41
  _classCallCheck(this, TokenizationWeb3OperationSource);
@@ -129,7 +129,7 @@ TokenizationWeb3OperationSource.prototype['source_type'] = undefined;
129
129
  TokenizationWeb3OperationSource.prototype['wallet_id'] = undefined;
130
130
 
131
131
  /**
132
- * The wallet address to interact with the token contract from.
132
+ * The wallet address used to interact with the token contract.
133
133
  * @member {String} address
134
134
  */
135
135
  TokenizationWeb3OperationSource.prototype['address'] = undefined;
@@ -37,7 +37,7 @@ var TokensEventData = /*#__PURE__*/function () {
37
37
  * Constructs a new <code>TokensEventData</code>.
38
38
  * @alias module:model/TokensEventData
39
39
  * @implements module:model/WebhookEventDataType
40
- * @param data_type {module:model/TokensEventData.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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
40
+ * @param data_type {module:model/TokensEventData.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.
41
41
  * @param tokens {Array.<module:model/TokenInfo>} The enabled tokens.
42
42
  */
43
43
  function TokensEventData(data_type, tokens) {
@@ -146,7 +146,7 @@ var TokensEventData = /*#__PURE__*/function () {
146
146
  TokensEventData.RequiredProperties = ["data_type", "tokens"];
147
147
 
148
148
  /**
149
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
149
+ * 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.
150
150
  * @member {module:model/TokensEventData.DataTypeEnum} data_type
151
151
  */
152
152
  TokensEventData.prototype['data_type'] = undefined;
@@ -169,7 +169,7 @@ TokensEventData.prototype['wallet_subtypes'] = undefined;
169
169
 
170
170
  // Implement WebhookEventDataType interface:
171
171
  /**
172
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
172
+ * 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.
173
173
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
174
174
  */
175
175
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -31,7 +31,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  var TopUpAddress = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>TopUpAddress</code>.
34
- * The details of a top-up address
35
34
  * @alias module:model/TopUpAddress
36
35
  * @param address {String} The dedicated top-up address assigned to a specific payer under a merchant on a specified chain.
37
36
  * @param payer_id {String} A unique identifier assigned by Cobo to track and identify individual payers.
@@ -48,7 +48,7 @@ var TransactionWebhookEventData = /*#__PURE__*/function () {
48
48
  * @alias module:model/TransactionWebhookEventData
49
49
  * @implements module:model/WebhookEventDataType
50
50
  * @implements module:model/Transaction
51
- * @param data_type {module:model/TransactionWebhookEventData.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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
51
+ * @param data_type {module:model/TransactionWebhookEventData.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.
52
52
  * @param transaction_id {String} The transaction ID.
53
53
  * @param wallet_id {String} For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source.
54
54
  * @param status {module:model/TransactionStatus}
@@ -344,7 +344,7 @@ var TransactionWebhookEventData = /*#__PURE__*/function () {
344
344
  TransactionWebhookEventData.RequiredProperties = ["data_type", "transaction_id", "wallet_id", "status", "source", "destination", "initiator_type", "created_timestamp", "updated_timestamp"];
345
345
 
346
346
  /**
347
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
347
+ * 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.
348
348
  * @member {module:model/TransactionWebhookEventData.DataTypeEnum} data_type
349
349
  */
350
350
  TransactionWebhookEventData.prototype['data_type'] = undefined;
@@ -525,7 +525,7 @@ TransactionWebhookEventData.prototype['updated_timestamp'] = undefined;
525
525
 
526
526
  // Implement WebhookEventDataType interface:
527
527
  /**
528
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
528
+ * 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.
529
529
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
530
530
  */
531
531
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -35,11 +35,10 @@ var UpdateCustodialWalletParams = /*#__PURE__*/function () {
35
35
  * The information of Custodial Wallets.
36
36
  * @alias module:model/UpdateCustodialWalletParams
37
37
  * @param wallet_type {module:model/WalletType}
38
- * @param name {String} The wallet name.
39
38
  */
40
- function UpdateCustodialWalletParams(wallet_type, name) {
39
+ function UpdateCustodialWalletParams(wallet_type) {
41
40
  _classCallCheck(this, UpdateCustodialWalletParams);
42
- UpdateCustodialWalletParams.initialize(this, wallet_type, name);
41
+ UpdateCustodialWalletParams.initialize(this, wallet_type);
43
42
  }
44
43
 
45
44
  /**
@@ -49,9 +48,8 @@ var UpdateCustodialWalletParams = /*#__PURE__*/function () {
49
48
  */
50
49
  return _createClass(UpdateCustodialWalletParams, null, [{
51
50
  key: "initialize",
52
- value: function initialize(obj, wallet_type, name) {
51
+ value: function initialize(obj, wallet_type) {
53
52
  obj['wallet_type'] = wallet_type;
54
- obj['name'] = name;
55
53
  }
56
54
 
57
55
  /**
@@ -72,6 +70,9 @@ var UpdateCustodialWalletParams = /*#__PURE__*/function () {
72
70
  if (data.hasOwnProperty('name')) {
73
71
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
74
72
  }
73
+ if (data.hasOwnProperty('enable_auto_sweep')) {
74
+ obj['enable_auto_sweep'] = _ApiClient["default"].convertToType(data['enable_auto_sweep'], 'Boolean');
75
+ }
75
76
  }
76
77
  return obj;
77
78
  }
@@ -107,7 +108,7 @@ var UpdateCustodialWalletParams = /*#__PURE__*/function () {
107
108
  }
108
109
  }]);
109
110
  }();
110
- UpdateCustodialWalletParams.RequiredProperties = ["wallet_type", "name"];
111
+ UpdateCustodialWalletParams.RequiredProperties = ["wallet_type"];
111
112
 
112
113
  /**
113
114
  * @member {module:model/WalletType} wallet_type
@@ -119,4 +120,10 @@ UpdateCustodialWalletParams.prototype['wallet_type'] = undefined;
119
120
  * @member {String} name
120
121
  */
121
122
  UpdateCustodialWalletParams.prototype['name'] = undefined;
123
+
124
+ /**
125
+ * Enable the auto sweep feature for the wallet
126
+ * @member {Boolean} enable_auto_sweep
127
+ */
128
+ UpdateCustodialWalletParams.prototype['enable_auto_sweep'] = undefined;
122
129
  var _default = exports["default"] = UpdateCustodialWalletParams;
@@ -35,11 +35,10 @@ var UpdateMpcWalletParams = /*#__PURE__*/function () {
35
35
  * The information of MPC Wallets.
36
36
  * @alias module:model/UpdateMpcWalletParams
37
37
  * @param wallet_type {module:model/WalletType}
38
- * @param name {String} The wallet name.
39
38
  */
40
- function UpdateMpcWalletParams(wallet_type, name) {
39
+ function UpdateMpcWalletParams(wallet_type) {
41
40
  _classCallCheck(this, UpdateMpcWalletParams);
42
- UpdateMpcWalletParams.initialize(this, wallet_type, name);
41
+ UpdateMpcWalletParams.initialize(this, wallet_type);
43
42
  }
44
43
 
45
44
  /**
@@ -49,9 +48,8 @@ var UpdateMpcWalletParams = /*#__PURE__*/function () {
49
48
  */
50
49
  return _createClass(UpdateMpcWalletParams, null, [{
51
50
  key: "initialize",
52
- value: function initialize(obj, wallet_type, name) {
51
+ value: function initialize(obj, wallet_type) {
53
52
  obj['wallet_type'] = wallet_type;
54
- obj['name'] = name;
55
53
  }
56
54
 
57
55
  /**
@@ -72,6 +70,9 @@ var UpdateMpcWalletParams = /*#__PURE__*/function () {
72
70
  if (data.hasOwnProperty('name')) {
73
71
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
74
72
  }
73
+ if (data.hasOwnProperty('enable_auto_sweep')) {
74
+ obj['enable_auto_sweep'] = _ApiClient["default"].convertToType(data['enable_auto_sweep'], 'Boolean');
75
+ }
75
76
  }
76
77
  return obj;
77
78
  }
@@ -107,7 +108,7 @@ var UpdateMpcWalletParams = /*#__PURE__*/function () {
107
108
  }
108
109
  }]);
109
110
  }();
110
- UpdateMpcWalletParams.RequiredProperties = ["wallet_type", "name"];
111
+ UpdateMpcWalletParams.RequiredProperties = ["wallet_type"];
111
112
 
112
113
  /**
113
114
  * @member {module:model/WalletType} wallet_type
@@ -119,4 +120,10 @@ UpdateMpcWalletParams.prototype['wallet_type'] = undefined;
119
120
  * @member {String} name
120
121
  */
121
122
  UpdateMpcWalletParams.prototype['name'] = undefined;
123
+
124
+ /**
125
+ * Enable the auto sweep feature for the wallet
126
+ * @member {Boolean} enable_auto_sweep
127
+ */
128
+ UpdateMpcWalletParams.prototype['enable_auto_sweep'] = undefined;
122
129
  var _default = exports["default"] = UpdateMpcWalletParams;
@@ -31,11 +31,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  var UpdateTopUpAddress = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>UpdateTopUpAddress</code>.
34
- * The request body to update top up address.
34
+ * The request body to update top-up address.
35
35
  * @alias module:model/UpdateTopUpAddress
36
36
  * @param merchant_id {String} The merchant ID.
37
37
  * @param token_id {String} The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format `{CHAIN}_{TOKEN}`. Supported values include: - USDC: `ETH_USDC`, `ARBITRUM_USDCOIN`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC2`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
38
- * @param custom_payer_id {String} Unique customer identifier on the merchant side, used to allocate a dedicated top-up address
38
+ * @param custom_payer_id {String} A unique identifier assigned by the developer to track and identify individual payers in their system.
39
39
  */
40
40
  function UpdateTopUpAddress(merchant_id, token_id, custom_payer_id) {
41
41
  _classCallCheck(this, UpdateTopUpAddress);
@@ -134,7 +134,7 @@ UpdateTopUpAddress.prototype['merchant_id'] = undefined;
134
134
  UpdateTopUpAddress.prototype['token_id'] = undefined;
135
135
 
136
136
  /**
137
- * Unique customer identifier on the merchant side, used to allocate a dedicated top-up address
137
+ * A unique identifier assigned by the developer to track and identify individual payers in their system.
138
138
  * @member {String} custom_payer_id
139
139
  */
140
140
  UpdateTopUpAddress.prototype['custom_payer_id'] = undefined;
@@ -238,5 +238,11 @@ UpdateWalletParams.prototype['wallet_type'] = undefined;
238
238
  * @member {String} name
239
239
  */
240
240
  UpdateWalletParams.prototype['name'] = undefined;
241
+
242
+ /**
243
+ * Enable the auto sweep feature for the wallet
244
+ * @member {Boolean} enable_auto_sweep
245
+ */
246
+ UpdateWalletParams.prototype['enable_auto_sweep'] = undefined;
241
247
  UpdateWalletParams.OneOf = ["UpdateCustodialWalletParams", "UpdateExchangeWalletParams", "UpdateMpcWalletParams", "UpdateSmartContractWalletParams"];
242
248
  var _default = exports["default"] = UpdateWalletParams;
@@ -260,6 +260,12 @@ WalletInfo.prototype['name'] = undefined;
260
260
  */
261
261
  WalletInfo.prototype['org_id'] = undefined;
262
262
 
263
+ /**
264
+ * Enable the auto sweep feature for the wallet
265
+ * @member {Boolean} enable_auto_sweep
266
+ */
267
+ WalletInfo.prototype['enable_auto_sweep'] = undefined;
268
+
263
269
  /**
264
270
  * The project ID.
265
271
  * @member {String} project_id
@@ -35,7 +35,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
35
35
  * Constructs a new <code>WalletInfoEventData</code>.
36
36
  * @alias module:model/WalletInfoEventData
37
37
  * @implements module:model/WebhookEventDataType
38
- * @param data_type {module:model/WalletInfoEventData.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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
38
+ * @param data_type {module:model/WalletInfoEventData.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.
39
39
  */
40
40
  function WalletInfoEventData(data_type) {
41
41
  _classCallCheck(this, WalletInfoEventData);
@@ -118,7 +118,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
118
118
  WalletInfoEventData.RequiredProperties = ["data_type"];
119
119
 
120
120
  /**
121
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
121
+ * 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.
122
122
  * @member {module:model/WalletInfoEventData.DataTypeEnum} data_type
123
123
  */
124
124
  WalletInfoEventData.prototype['data_type'] = undefined;
@@ -130,7 +130,7 @@ WalletInfoEventData.prototype['wallet'] = undefined;
130
130
 
131
131
  // Implement WebhookEventDataType interface:
132
132
  /**
133
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
133
+ * 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.
134
134
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
135
135
  */
136
136
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -19,10 +19,12 @@ var _PaymentRefundEventData = _interopRequireDefault(require("./PaymentRefundEve
19
19
  var _PaymentSettlementEvent = _interopRequireDefault(require("./PaymentSettlementEvent"));
20
20
  var _PaymentTransaction = _interopRequireDefault(require("./PaymentTransaction"));
21
21
  var _PaymentTransactionEventData = _interopRequireDefault(require("./PaymentTransactionEventData"));
22
+ var _PayoutChannel = _interopRequireDefault(require("./PayoutChannel"));
22
23
  var _RefundType = _interopRequireDefault(require("./RefundType"));
23
24
  var _RootPubkey = _interopRequireDefault(require("./RootPubkey"));
24
25
  var _SettleStatus = _interopRequireDefault(require("./SettleStatus"));
25
26
  var _SettlementDetail = _interopRequireDefault(require("./SettlementDetail"));
27
+ var _SettlementType = _interopRequireDefault(require("./SettlementType"));
26
28
  var _SourceGroup = _interopRequireDefault(require("./SourceGroup"));
27
29
  var _SuspendedTokenEventData = _interopRequireDefault(require("./SuspendedTokenEventData"));
28
30
  var _SuspendedTokenOperationType = _interopRequireDefault(require("./SuspendedTokenOperationType"));
@@ -554,7 +556,7 @@ var WebhookEventData = /*#__PURE__*/function () {
554
556
  }]);
555
557
  }();
556
558
  /**
557
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
559
+ * 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.
558
560
  * @member {module:model/WebhookEventData.DataTypeEnum} data_type
559
561
  */
560
562
  _WebhookEventData = WebhookEventData;
@@ -866,7 +868,7 @@ WebhookEventData.prototype['token_ids'] = undefined;
866
868
  WebhookEventData.prototype['operation_type'] = undefined;
867
869
 
868
870
  /**
869
- * Unique identifier of a single order
871
+ * The pay-in order ID.
870
872
  * @member {String} order_id
871
873
  */
872
874
  WebhookEventData.prototype['order_id'] = undefined;
@@ -1006,31 +1008,41 @@ WebhookEventData.prototype['settlements'] = undefined;
1006
1008
  WebhookEventData.prototype['acquiring_type'] = undefined;
1007
1009
 
1008
1010
  /**
1009
- * Unique payer identifier on the Cobo side, auto-generated by the system.
1011
+ * @member {module:model/PayoutChannel} payout_channel
1012
+ */
1013
+ WebhookEventData.prototype['payout_channel'] = undefined;
1014
+
1015
+ /**
1016
+ * @member {module:model/SettlementType} settlement_type
1017
+ */
1018
+ WebhookEventData.prototype['settlement_type'] = undefined;
1019
+
1020
+ /**
1021
+ * A unique identifier assigned by Cobo to track and identify individual payers.
1010
1022
  * @member {String} payer_id
1011
1023
  */
1012
1024
  WebhookEventData.prototype['payer_id'] = undefined;
1013
1025
 
1014
1026
  /**
1015
- * Unique user identifier on the merchant side, used to assign a dedicated deposit address.
1027
+ * A unique identifier assigned by the developer to track and identify individual payers in their system.
1016
1028
  * @member {String} custom_payer_id
1017
1029
  */
1018
1030
  WebhookEventData.prototype['custom_payer_id'] = undefined;
1019
1031
 
1020
1032
  /**
1021
- * Blockchain network identifier, e.g., 'ETH' for Ethereum, 'TRON' for Tron.
1033
+ * The chain ID.
1022
1034
  * @member {String} chain
1023
1035
  */
1024
1036
  WebhookEventData.prototype['chain'] = undefined;
1025
1037
 
1026
1038
  /**
1027
- * The previous deposit address that was assigned before update.
1039
+ * The previous top-up address that was assigned to the payer.
1028
1040
  * @member {String} previous_address
1029
1041
  */
1030
1042
  WebhookEventData.prototype['previous_address'] = undefined;
1031
1043
 
1032
1044
  /**
1033
- * The new updated deposit address assigned to the user.
1045
+ * The new top-up address that has been assigned to the payer.
1034
1046
  * @member {String} updated_address
1035
1047
  */
1036
1048
  WebhookEventData.prototype['updated_address'] = undefined;
@@ -33,7 +33,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
33
33
  * Constructs a new <code>WebhookEventDataType</code>.
34
34
  * The data type of the event.
35
35
  * @alias module:model/WebhookEventDataType
36
- * @param data_type {module:model/WebhookEventDataType.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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
36
+ * @param data_type {module:model/WebhookEventDataType.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.
37
37
  */
38
38
  function WebhookEventDataType(data_type) {
39
39
  _classCallCheck(this, WebhookEventDataType);
@@ -104,7 +104,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
104
104
  WebhookEventDataType.RequiredProperties = ["data_type"];
105
105
 
106
106
  /**
107
- * 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 payment address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
107
+ * 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.
108
108
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
109
109
  */
110
110
  WebhookEventDataType.prototype['data_type'] = undefined;
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The payment address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
7
+ **data_type** | **String** | The data type of the event. - &#x60;Transaction&#x60;: The transaction event data. - &#x60;TSSRequest&#x60;: The TSS request event data. - &#x60;Addresses&#x60;: The addresses event data. - &#x60;WalletInfo&#x60;: The wallet information event data. - &#x60;MPCVault&#x60;: The MPC vault event data. - &#x60;Chains&#x60;: The enabled chain event data. - &#x60;Tokens&#x60;: The enabled token event data. - &#x60;TokenListing&#x60;: The token listing event data. - &#x60;PaymentOrder&#x60;: The payment order event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement event data. - &#x60;PaymentTransaction&#x60;: The payment transaction event data. - &#x60;PaymentAddressUpdate&#x60;: The top-up address update event data. - &#x60;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
8
8
  **addresses** | [**[AddressesEventDataAllOfAddresses]**](AddressesEventDataAllOfAddresses.md) | A list of addresses. | [optional]
9
9
 
10
10
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **transaction_id** | **String** | The transaction ID. | [optional]
8
8
  **cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
9
9
  **request_id** | **String** | 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. | [optional]
10
- **broker_user** | [**RoleDetail**](RoleDetail.md) | | [optional]
10
+ **address_owner** | [**RoleDetail**](RoleDetail.md) | | [optional]
11
11
  **spender** | [**RoleDetail**](RoleDetail.md) | | [optional]
12
12
  **approver** | [**RoleDetail**](RoleDetail.md) | | [optional]
13
13