@cobo/cobo-waas2 1.18.0 → 1.19.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 (283) hide show
  1. package/README.md +78 -4
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/OAuthApi.js +2 -2
  4. package/dist/api/TransactionsApi.js +0 -92
  5. package/dist/api/WalletsApi.js +50 -0
  6. package/dist/index.js +518 -7
  7. package/dist/model/AddressesEventData.js +13 -8
  8. package/dist/model/ApprovalDetail.js +160 -0
  9. package/dist/model/ApprovalResult.js +66 -0
  10. package/dist/model/ApprovalShowInfo.js +140 -0
  11. package/dist/model/ApprovalTemplate.js +114 -0
  12. package/dist/model/ApprovalTransactionResult.js +66 -0
  13. package/dist/model/ApprovalUserDetail.js +196 -0
  14. package/dist/model/AutoFuelType.js +5 -0
  15. package/dist/model/BalanceUpdateInfoEventData.js +13 -8
  16. package/dist/model/ChainsEventData.js +13 -8
  17. package/dist/model/CreatePaymentOrderRequest.js +7 -6
  18. package/dist/model/CreateSettlement.js +1 -2
  19. package/dist/model/CustodialWeb3TransferSource.js +2 -2
  20. package/dist/model/EstimatedEvmEip1559Fee.js +2 -2
  21. package/dist/model/EstimatedEvmLegacyFee.js +2 -2
  22. package/dist/model/EstimatedFILFee.js +2 -2
  23. package/dist/model/EstimatedFILFeeSlow.js +12 -12
  24. package/dist/model/EstimatedFee.js +1 -1
  25. package/dist/model/EstimatedFixedFee.js +2 -2
  26. package/dist/model/EstimatedSOLFee.js +2 -2
  27. package/dist/model/EstimatedSOLFeeSlow.js +11 -11
  28. package/dist/model/EstimatedUtxoFee.js +2 -2
  29. package/dist/model/EvmEip1559FeeBasePrice.js +0 -1
  30. package/dist/model/EvmEip1559FeeRate.js +2 -2
  31. package/dist/model/EvmLegacyFeeBasePrice.js +0 -1
  32. package/dist/model/EvmLegacyFeeRate.js +2 -2
  33. package/dist/model/FILBase.js +1 -1
  34. package/dist/model/FILPrice.js +3 -4
  35. package/dist/model/FeeRate.js +1 -1
  36. package/dist/model/FixedFeeRate.js +2 -2
  37. package/dist/model/GetMaxTransferableValueWithFeeModelRequest.js +156 -0
  38. package/dist/model/MPCVaultEventData.js +13 -8
  39. package/dist/model/MaxFeeAmount.js +0 -1
  40. package/dist/model/MaxTransferableValue.js +2 -2
  41. package/dist/model/MpcTransferSource.js +2 -2
  42. package/dist/model/PaymentOrderEventData.js +13 -8
  43. package/dist/model/PaymentRefundEventData.js +13 -8
  44. package/dist/model/PaymentSettlementEvent.js +13 -8
  45. package/dist/model/{ListTransactionApprovalDetails200Response.js → RoleDetail.js} +46 -27
  46. package/dist/model/SOLBase.js +2 -2
  47. package/dist/model/SOLComputeUnit.js +2 -3
  48. package/dist/model/SuspendedTokenEventData.js +225 -0
  49. package/dist/model/SuspendedTokenOperationType.js +61 -0
  50. package/dist/model/SwapActivity.js +29 -0
  51. package/dist/model/SwapActivityDetail.js +38 -0
  52. package/dist/model/TSSRequestWebhookEventData.js +13 -8
  53. package/dist/model/TokenListingEventData.js +13 -8
  54. package/dist/model/TokenizationActivityInfo.js +224 -0
  55. package/dist/model/TokenizationActivityStatus.js +66 -0
  56. package/dist/model/TokenizationAddressPermission.js +135 -0
  57. package/dist/model/TokenizationAllowlistActivationParams.js +124 -0
  58. package/dist/model/TokenizationAllowlistActivationRequest.js +180 -0
  59. package/dist/model/TokenizationAllowlistAddressNote.js +132 -0
  60. package/dist/model/TokenizationAppInitiator.js +87 -0
  61. package/dist/model/TokenizationBlocklistAddressNote.js +132 -0
  62. package/dist/model/TokenizationBurnEstimateFeeParams.js +187 -0
  63. package/dist/model/TokenizationBurnTokenParams.js +146 -0
  64. package/dist/model/TokenizationBurnTokenParamsBurnsInner.js +125 -0
  65. package/dist/model/TokenizationBurnTokenRequest.js +202 -0
  66. package/dist/model/TokenizationContractCallEstimateFeeParams.js +167 -0
  67. package/dist/model/TokenizationContractCallParams.js +107 -0
  68. package/dist/model/TokenizationContractCallParamsData.js +164 -0
  69. package/dist/model/TokenizationContractCallRequest.js +182 -0
  70. package/dist/model/TokenizationContractCallType.js +56 -0
  71. package/dist/model/TokenizationERC20TokenParams.js +173 -0
  72. package/dist/model/TokenizationEstimateFeeRequest.js +113 -0
  73. package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +439 -0
  74. package/dist/model/TokenizationEvmContractCallParams.js +133 -0
  75. package/dist/model/TokenizationHoldingInfo.js +166 -0
  76. package/dist/model/TokenizationIssueEstimateFeeParams.js +176 -0
  77. package/dist/model/TokenizationIssueTokenParams.js +146 -0
  78. package/dist/model/TokenizationIssueTokenParamsTokenParams.js +183 -0
  79. package/dist/model/TokenizationIssuedTokenRequest.js +206 -0
  80. package/dist/model/TokenizationListActivitiesResponse.js +146 -0
  81. package/dist/model/TokenizationListEnabledChainsResponse.js +128 -0
  82. package/dist/model/TokenizationListHoldingsResponse.js +146 -0
  83. package/dist/model/TokenizationListTokenInfoResponse.js +146 -0
  84. package/dist/model/TokenizationMintEstimateFeeParams.js +187 -0
  85. package/dist/model/TokenizationMintTokenParams.js +146 -0
  86. package/dist/model/TokenizationMintTokenParamsMintsInner.js +125 -0
  87. package/dist/model/TokenizationMintTokenRequest.js +202 -0
  88. package/dist/model/TokenizationMpcOperationSource.js +136 -0
  89. package/dist/model/TokenizationOperationResponse.js +110 -0
  90. package/dist/model/TokenizationOperationSourceType.js +61 -0
  91. package/dist/model/TokenizationOperationType.js +96 -0
  92. package/dist/model/TokenizationPauseEstimateFeeParams.js +149 -0
  93. package/dist/model/TokenizationPauseTokenParams.js +113 -0
  94. package/dist/model/TokenizationPauseTokenRequest.js +164 -0
  95. package/dist/model/TokenizationStatus.js +71 -0
  96. package/dist/model/TokenizationToggleAllowlistEstimateFeeParams.js +165 -0
  97. package/dist/model/TokenizationTokenDetailInfo.js +309 -0
  98. package/dist/model/TokenizationTokenInfo.js +223 -0
  99. package/dist/model/TokenizationTokenOperationSource.js +192 -0
  100. package/dist/model/TokenizationTokenPermission.js +147 -0
  101. package/dist/model/TokenizationTokenPermissionParams.js +166 -0
  102. package/dist/model/TokenizationTokenPermissionType.js +86 -0
  103. package/dist/model/TokenizationTokenPermissionsResponse.js +139 -0
  104. package/dist/model/TokenizationTokenStandard.js +56 -0
  105. package/dist/model/TokenizationUnpauseEstimateFeeParams.js +149 -0
  106. package/dist/model/TokenizationUnpauseTokenParams.js +113 -0
  107. package/dist/model/TokenizationUnpauseTokenRequest.js +164 -0
  108. package/dist/model/TokenizationUpdateAddressAction.js +61 -0
  109. package/dist/model/TokenizationUpdateAllowlistAddressesEstimateFeeParams.js +202 -0
  110. package/dist/model/TokenizationUpdateAllowlistAddressesParams.js +157 -0
  111. package/dist/model/TokenizationUpdateAllowlistAddressesParamsAddressesInner.js +123 -0
  112. package/dist/model/TokenizationUpdateAllowlistAddressesRequest.js +217 -0
  113. package/dist/model/TokenizationUpdateBlocklistAddressesEstimateFeeParams.js +202 -0
  114. package/dist/model/TokenizationUpdateBlocklistAddressesParams.js +157 -0
  115. package/dist/model/TokenizationUpdateBlocklistAddressesParamsAddressesInner.js +123 -0
  116. package/dist/model/TokenizationUpdateBlocklistAddressesRequest.js +217 -0
  117. package/dist/model/TokenizationWeb3OperationSource.js +136 -0
  118. package/dist/model/TokensEventData.js +13 -8
  119. package/dist/model/TopUpAddress.js +2 -2
  120. package/dist/model/TransactionEvmEip1559Fee.js +2 -2
  121. package/dist/model/TransactionEvmLegacyFee.js +2 -2
  122. package/dist/model/TransactionFILFee.js +11 -11
  123. package/dist/model/TransactionFee.js +10 -10
  124. package/dist/model/TransactionFixedFee.js +2 -2
  125. package/dist/model/TransactionRbfSource.js +1 -1
  126. package/dist/model/TransactionRequestEvmEip1559Fee.js +2 -2
  127. package/dist/model/TransactionRequestEvmLegacyFee.js +2 -2
  128. package/dist/model/TransactionRequestFILFee.js +11 -11
  129. package/dist/model/TransactionRequestFee.js +6 -6
  130. package/dist/model/TransactionRequestFixedFee.js +2 -2
  131. package/dist/model/TransactionRequestSOLFee.js +9 -9
  132. package/dist/model/TransactionRequestUtxoFee.js +2 -2
  133. package/dist/model/TransactionSOLFee.js +11 -11
  134. package/dist/model/TransactionSubStatus.js +5 -0
  135. package/dist/model/TransactionUtxoFee.js +2 -2
  136. package/dist/model/TransactionWebhookEventData.js +13 -8
  137. package/dist/model/UtxoFeeBasePrice.js +0 -1
  138. package/dist/model/UtxoFeeRate.js +2 -2
  139. package/dist/model/WalletInfoEventData.js +13 -8
  140. package/dist/model/WebhookEvent.js +2 -2
  141. package/dist/model/WebhookEventData.js +49 -9
  142. package/dist/model/WebhookEventDataType.js +12 -7
  143. package/dist/model/WebhookEventLog.js +2 -2
  144. package/dist/model/WebhookEventType.js +20 -0
  145. package/docs/AddressesEventData.md +5 -3
  146. package/docs/ApprovalDetail.md +14 -0
  147. package/docs/ApprovalResult.md +14 -0
  148. package/docs/ApprovalShowInfo.md +13 -0
  149. package/docs/ApprovalTemplate.md +11 -0
  150. package/docs/ApprovalTransactionResult.md +14 -0
  151. package/docs/ApprovalUserDetail.md +18 -0
  152. package/docs/AutoFuelType.md +2 -0
  153. package/docs/BalanceUpdateInfoEventData.md +5 -3
  154. package/docs/ChainsEventData.md +5 -3
  155. package/docs/CreatePaymentOrderRequest.md +4 -4
  156. package/docs/CreateSettlement.md +2 -2
  157. package/docs/CustodialWeb3TransferSource.md +1 -1
  158. package/docs/EstimatedEvmEip1559Fee.md +1 -1
  159. package/docs/EstimatedEvmLegacyFee.md +1 -1
  160. package/docs/EstimatedFILFee.md +1 -1
  161. package/docs/EstimatedFILFeeSlow.md +4 -4
  162. package/docs/EstimatedFee.md +1 -1
  163. package/docs/EstimatedFixedFee.md +1 -1
  164. package/docs/EstimatedSOLFee.md +1 -1
  165. package/docs/EstimatedSOLFeeSlow.md +4 -4
  166. package/docs/EstimatedUtxoFee.md +1 -1
  167. package/docs/EvmEip1559FeeRate.md +1 -1
  168. package/docs/EvmLegacyFeeRate.md +1 -1
  169. package/docs/FILBase.md +1 -1
  170. package/docs/FILPrice.md +3 -3
  171. package/docs/FeeRate.md +1 -1
  172. package/docs/FixedFeeRate.md +1 -1
  173. package/docs/GetMaxTransferableValueWithFeeModelRequest.md +12 -0
  174. package/docs/MPCVaultEventData.md +5 -3
  175. package/docs/MaxTransferableValue.md +1 -1
  176. package/docs/MpcTransferSource.md +1 -1
  177. package/docs/OAuthApi.md +1 -1
  178. package/docs/PaymentOrderEventData.md +5 -3
  179. package/docs/PaymentRefundEventData.md +5 -3
  180. package/docs/PaymentSettlementEvent.md +5 -3
  181. package/docs/RoleDetail.md +11 -0
  182. package/docs/SOLBase.md +2 -2
  183. package/docs/SOLComputeUnit.md +2 -2
  184. package/docs/SuspendedTokenEventData.md +46 -0
  185. package/docs/SuspendedTokenOperationType.md +12 -0
  186. package/docs/SwapActivity.md +2 -0
  187. package/docs/SwapActivityDetail.md +2 -0
  188. package/docs/TSSRequestWebhookEventData.md +5 -3
  189. package/docs/TokenListingEventData.md +5 -3
  190. package/docs/TokenizationActivityInfo.md +18 -0
  191. package/docs/TokenizationActivityStatus.md +14 -0
  192. package/docs/TokenizationAddressPermission.md +11 -0
  193. package/docs/TokenizationAllowlistActivationParams.md +10 -0
  194. package/docs/TokenizationAllowlistActivationRequest.md +12 -0
  195. package/docs/TokenizationAllowlistAddressNote.md +11 -0
  196. package/docs/TokenizationAppInitiator.md +9 -0
  197. package/docs/TokenizationBlocklistAddressNote.md +11 -0
  198. package/docs/TokenizationBurnEstimateFeeParams.md +12 -0
  199. package/docs/TokenizationBurnTokenParams.md +10 -0
  200. package/docs/TokenizationBurnTokenParamsBurnsInner.md +10 -0
  201. package/docs/TokenizationBurnTokenRequest.md +12 -0
  202. package/docs/TokenizationContractCallEstimateFeeParams.md +12 -0
  203. package/docs/TokenizationContractCallParams.md +10 -0
  204. package/docs/TokenizationContractCallParamsData.md +11 -0
  205. package/docs/TokenizationContractCallRequest.md +12 -0
  206. package/docs/TokenizationContractCallType.md +10 -0
  207. package/docs/TokenizationERC20TokenParams.md +14 -0
  208. package/docs/TokenizationEstimateFeeRequest.md +9 -0
  209. package/docs/TokenizationEstimateFeeRequestOperationParams.md +19 -0
  210. package/docs/TokenizationEvmContractCallParams.md +11 -0
  211. package/docs/TokenizationHoldingInfo.md +13 -0
  212. package/docs/TokenizationIssueEstimateFeeParams.md +12 -0
  213. package/docs/TokenizationIssueTokenParams.md +11 -0
  214. package/docs/TokenizationIssueTokenParamsTokenParams.md +14 -0
  215. package/docs/TokenizationIssuedTokenRequest.md +13 -0
  216. package/docs/TokenizationListActivitiesResponse.md +10 -0
  217. package/docs/TokenizationListEnabledChainsResponse.md +10 -0
  218. package/docs/TokenizationListHoldingsResponse.md +10 -0
  219. package/docs/TokenizationListTokenInfoResponse.md +10 -0
  220. package/docs/TokenizationMintEstimateFeeParams.md +12 -0
  221. package/docs/TokenizationMintTokenParams.md +10 -0
  222. package/docs/TokenizationMintTokenParamsMintsInner.md +10 -0
  223. package/docs/TokenizationMintTokenRequest.md +12 -0
  224. package/docs/TokenizationMpcOperationSource.md +11 -0
  225. package/docs/TokenizationOperationResponse.md +9 -0
  226. package/docs/TokenizationOperationSourceType.md +12 -0
  227. package/docs/TokenizationOperationType.md +26 -0
  228. package/docs/TokenizationPauseEstimateFeeParams.md +11 -0
  229. package/docs/TokenizationPauseTokenParams.md +9 -0
  230. package/docs/TokenizationPauseTokenRequest.md +11 -0
  231. package/docs/TokenizationStatus.md +16 -0
  232. package/docs/TokenizationToggleAllowlistEstimateFeeParams.md +12 -0
  233. package/docs/TokenizationTokenDetailInfo.md +19 -0
  234. package/docs/TokenizationTokenInfo.md +18 -0
  235. package/docs/TokenizationTokenOperationSource.md +11 -0
  236. package/docs/TokenizationTokenPermission.md +12 -0
  237. package/docs/TokenizationTokenPermissionParams.md +15 -0
  238. package/docs/TokenizationTokenPermissionType.md +22 -0
  239. package/docs/TokenizationTokenPermissionsResponse.md +10 -0
  240. package/docs/TokenizationTokenStandard.md +10 -0
  241. package/docs/TokenizationUnpauseEstimateFeeParams.md +11 -0
  242. package/docs/TokenizationUnpauseTokenParams.md +9 -0
  243. package/docs/TokenizationUnpauseTokenRequest.md +11 -0
  244. package/docs/TokenizationUpdateAddressAction.md +12 -0
  245. package/docs/TokenizationUpdateAllowlistAddressesEstimateFeeParams.md +13 -0
  246. package/docs/TokenizationUpdateAllowlistAddressesParams.md +11 -0
  247. package/docs/TokenizationUpdateAllowlistAddressesParamsAddressesInner.md +10 -0
  248. package/docs/TokenizationUpdateAllowlistAddressesRequest.md +13 -0
  249. package/docs/TokenizationUpdateBlocklistAddressesEstimateFeeParams.md +13 -0
  250. package/docs/TokenizationUpdateBlocklistAddressesParams.md +11 -0
  251. package/docs/TokenizationUpdateBlocklistAddressesParamsAddressesInner.md +10 -0
  252. package/docs/TokenizationUpdateBlocklistAddressesRequest.md +13 -0
  253. package/docs/TokenizationWeb3OperationSource.md +11 -0
  254. package/docs/TokensEventData.md +5 -3
  255. package/docs/TopUpAddress.md +1 -1
  256. package/docs/TransactionEvmEip1559Fee.md +2 -2
  257. package/docs/TransactionEvmLegacyFee.md +2 -2
  258. package/docs/TransactionFILFee.md +6 -6
  259. package/docs/TransactionFee.md +10 -10
  260. package/docs/TransactionFixedFee.md +2 -2
  261. package/docs/TransactionRbfSource.md +1 -1
  262. package/docs/TransactionRequestEvmEip1559Fee.md +1 -1
  263. package/docs/TransactionRequestEvmLegacyFee.md +1 -1
  264. package/docs/TransactionRequestFILFee.md +4 -4
  265. package/docs/TransactionRequestFee.md +6 -6
  266. package/docs/TransactionRequestFixedFee.md +1 -1
  267. package/docs/TransactionRequestSOLFee.md +3 -3
  268. package/docs/TransactionRequestUtxoFee.md +1 -1
  269. package/docs/TransactionSOLFee.md +6 -6
  270. package/docs/TransactionSubStatus.md +2 -0
  271. package/docs/TransactionUtxoFee.md +2 -2
  272. package/docs/TransactionWebhookEventData.md +5 -3
  273. package/docs/TransactionsApi.md +0 -106
  274. package/docs/UtxoFeeRate.md +1 -1
  275. package/docs/WalletInfoEventData.md +5 -3
  276. package/docs/WalletsApi.md +55 -0
  277. package/docs/WebhookEvent.md +1 -1
  278. package/docs/WebhookEventData.md +7 -3
  279. package/docs/WebhookEventDataType.md +5 -3
  280. package/docs/WebhookEventLog.md +1 -1
  281. package/docs/WebhookEventType.md +8 -0
  282. package/package.json +1 -1
  283. package/docs/ListTransactionApprovalDetails200Response.md +0 -9
@@ -23,6 +23,8 @@ var _SettleRequestStatus = _interopRequireDefault(require("./SettleRequestStatus
23
23
  var _SettleStatus = _interopRequireDefault(require("./SettleStatus"));
24
24
  var _SettlementDetail = _interopRequireDefault(require("./SettlementDetail"));
25
25
  var _SourceGroup = _interopRequireDefault(require("./SourceGroup"));
26
+ var _SuspendedTokenEventData = _interopRequireDefault(require("./SuspendedTokenEventData"));
27
+ var _SuspendedTokenOperationType = _interopRequireDefault(require("./SuspendedTokenOperationType"));
26
28
  var _TSSRequestWebhookEventData = _interopRequireDefault(require("./TSSRequestWebhookEventData"));
27
29
  var _TokenInfo = _interopRequireDefault(require("./TokenInfo"));
28
30
  var _TokenListingEventData = _interopRequireDefault(require("./TokenListingEventData"));
@@ -68,7 +70,7 @@ var WebhookEventData = /*#__PURE__*/function () {
68
70
  /**
69
71
  * Constructs a new <code>WebhookEventData</code>.
70
72
  * @alias module:model/WebhookEventData
71
- * @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
73
+ * @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
72
74
  */
73
75
  function WebhookEventData() {
74
76
  var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
@@ -117,6 +119,10 @@ var WebhookEventData = /*#__PURE__*/function () {
117
119
  this.actualInstance = _PaymentSettlementEvent["default"].constructFromObject(instance);
118
120
  match++;
119
121
  break;
122
+ case "SuspendedToken":
123
+ this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
124
+ match++;
125
+ break;
120
126
  case "TSSRequest":
121
127
  this.actualInstance = _TSSRequestWebhookEventData["default"].constructFromObject(instance);
122
128
  match++;
@@ -350,6 +356,29 @@ var WebhookEventData = /*#__PURE__*/function () {
350
356
  // json data failed to deserialize into BalanceUpdateInfoEventData
351
357
  errorMessages.push("Failed to construct BalanceUpdateInfoEventData: " + err);
352
358
  }
359
+ try {
360
+ if (instance instanceof _SuspendedTokenEventData["default"]) {
361
+ this.actualInstance = instance;
362
+ } else if (!!_SuspendedTokenEventData["default"].validateJSON && _SuspendedTokenEventData["default"].validateJSON(instance)) {
363
+ // plain JS object
364
+ // create SuspendedTokenEventData from JS object
365
+ this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
366
+ } else {
367
+ if (_SuspendedTokenEventData["default"].constructFromObject(instance)) {
368
+ if (!!_SuspendedTokenEventData["default"].constructFromObject(instance).toJSON) {
369
+ if (_SuspendedTokenEventData["default"].constructFromObject(instance).toJSON()) {
370
+ this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
371
+ }
372
+ } else {
373
+ this.actualInstance = _SuspendedTokenEventData["default"].constructFromObject(instance);
374
+ }
375
+ }
376
+ }
377
+ match++;
378
+ } catch (err) {
379
+ // json data failed to deserialize into SuspendedTokenEventData
380
+ errorMessages.push("Failed to construct SuspendedTokenEventData: " + err);
381
+ }
353
382
  try {
354
383
  if (instance instanceof _PaymentOrderEventData["default"]) {
355
384
  this.actualInstance = instance;
@@ -421,11 +450,11 @@ var WebhookEventData = /*#__PURE__*/function () {
421
450
  }
422
451
 
423
452
  // if (match > 1) {
424
- // throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
453
+ // throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
425
454
  // } else
426
455
  if (match === 0) {
427
456
  // this.actualInstance = null; // clear the actual instance in case there are multiple matches
428
- // throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
457
+ // throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, MPCVaultEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
429
458
  // errorMessages.join(", "));
430
459
  return;
431
460
  } else {// only 1 match
@@ -444,16 +473,16 @@ var WebhookEventData = /*#__PURE__*/function () {
444
473
  key: "getActualInstance",
445
474
  value:
446
475
  /**
447
- * Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
448
- * @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
476
+ * Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
477
+ * @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
449
478
  */
450
479
  function getActualInstance() {
451
480
  return this.actualInstance;
452
481
  }
453
482
 
454
483
  /**
455
- * Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
456
- * @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
484
+ * Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
485
+ * @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/MPCVaultEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
457
486
  */
458
487
  }, {
459
488
  key: "setActualInstance",
@@ -468,7 +497,7 @@ var WebhookEventData = /*#__PURE__*/function () {
468
497
  }]);
469
498
  }();
470
499
  /**
471
- * 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. - `BalanceUpdateInfo`: The balance update event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data.
500
+ * 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. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data.
472
501
  * @member {module:model/WebhookEventData.DataTypeEnum} data_type
473
502
  */
474
503
  _WebhookEventData = WebhookEventData;
@@ -768,6 +797,17 @@ WebhookEventData.prototype['wallet_uuid'] = undefined;
768
797
  */
769
798
  WebhookEventData.prototype['balance'] = undefined;
770
799
 
800
+ /**
801
+ * A list of token IDs, separated by comma.
802
+ * @member {String} token_ids
803
+ */
804
+ WebhookEventData.prototype['token_ids'] = undefined;
805
+
806
+ /**
807
+ * @member {module:model/SuspendedTokenOperationType} operation_type
808
+ */
809
+ WebhookEventData.prototype['operation_type'] = undefined;
810
+
771
811
  /**
772
812
  * The ID of the pay-in order corresponding to this refund.
773
813
  * @member {String} order_id
@@ -902,5 +942,5 @@ WebhookEventData.prototype['settlement_request_id'] = undefined;
902
942
  * @member {Array.<module:model/SettlementDetail>} settlements
903
943
  */
904
944
  WebhookEventData.prototype['settlements'] = undefined;
905
- WebhookEventData.OneOf = ["AddressesEventData", "BalanceUpdateInfoEventData", "ChainsEventData", "MPCVaultEventData", "PaymentOrderEventData", "PaymentRefundEventData", "PaymentSettlementEvent", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
945
+ WebhookEventData.OneOf = ["AddressesEventData", "BalanceUpdateInfoEventData", "ChainsEventData", "MPCVaultEventData", "PaymentOrderEventData", "PaymentRefundEventData", "PaymentSettlementEvent", "SuspendedTokenEventData", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
906
946
  var _default = exports["default"] = WebhookEventData;
@@ -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. - `BalanceUpdateInfo`: The balance update event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement 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. - `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. - `BalanceUpdateInfo`: The balance update event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement 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. - `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;
@@ -155,11 +155,6 @@ WebhookEventDataType['DataTypeEnum'] = {
155
155
  * @const
156
156
  */
157
157
  "TokenListing": "TokenListing",
158
- /**
159
- * value: "BalanceUpdateInfo"
160
- * @const
161
- */
162
- "BalanceUpdateInfo": "BalanceUpdateInfo",
163
158
  /**
164
159
  * value: "PaymentOrder"
165
160
  * @const
@@ -175,6 +170,16 @@ WebhookEventDataType['DataTypeEnum'] = {
175
170
  * @const
176
171
  */
177
172
  "PaymentSettlement": "PaymentSettlement",
173
+ /**
174
+ * value: "BalanceUpdateInfo"
175
+ * @const
176
+ */
177
+ "BalanceUpdateInfo": "BalanceUpdateInfo",
178
+ /**
179
+ * value: "SuspendedToken"
180
+ * @const
181
+ */
182
+ "SuspendedToken": "SuspendedToken",
178
183
  /**
179
184
  * value: "unknown_default_open_api"
180
185
  * @const
@@ -35,7 +35,7 @@ var WebhookEventLog = /*#__PURE__*/function () {
35
35
  * The webhook event log.
36
36
  * @alias module:model/WebhookEventLog
37
37
  * @param id {String} The event log ID.
38
- * @param created_timestamp {Number} The time when the event type was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
38
+ * @param created_timestamp {Number} The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
39
39
  * @param request_headers {Object} The request headers of the webhook event.
40
40
  * @param request_body {module:model/WebhookEvent}
41
41
  * @param success {Boolean} Whether the webhook event has been successfully delivered.
@@ -158,7 +158,7 @@ WebhookEventLog.RequiredProperties = ["id", "created_timestamp", "request_header
158
158
  WebhookEventLog.prototype['id'] = undefined;
159
159
 
160
160
  /**
161
- * The time when the event type was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
161
+ * The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
162
162
  * @member {Number} created_timestamp
163
163
  */
164
164
  WebhookEventLog.prototype['created_timestamp'] = undefined;
@@ -135,6 +135,26 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
135
135
  * @const
136
136
  */
137
137
  _defineProperty(this, "wallet.web3.balance.updated", "wallet.web3.balance.updated");
138
+ /**
139
+ * value: "wallet.token.disabled"
140
+ * @const
141
+ */
142
+ _defineProperty(this, "wallet.token.disabled", "wallet.token.disabled");
143
+ /**
144
+ * value: "wallet.chain.disabled"
145
+ * @const
146
+ */
147
+ _defineProperty(this, "wallet.chain.disabled", "wallet.chain.disabled");
148
+ /**
149
+ * value: "token.suspended.deposit"
150
+ * @const
151
+ */
152
+ _defineProperty(this, "token.suspended.deposit", "token.suspended.deposit");
153
+ /**
154
+ * value: "token.suspended.withdraw"
155
+ * @const
156
+ */
157
+ _defineProperty(this, "token.suspended.withdraw", "token.suspended.withdraw");
138
158
  /**
139
159
  * value: "payment.transaction.created"
140
160
  * @const
@@ -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;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement 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;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
 
@@ -28,14 +28,16 @@ Name | Type | Description | Notes
28
28
 
29
29
  * `TokenListing` (value: `"TokenListing"`)
30
30
 
31
- * `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
32
-
33
31
  * `PaymentOrder` (value: `"PaymentOrder"`)
34
32
 
35
33
  * `PaymentRefund` (value: `"PaymentRefund"`)
36
34
 
37
35
  * `PaymentSettlement` (value: `"PaymentSettlement"`)
38
36
 
37
+ * `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
38
+
39
+ * `SuspendedToken` (value: `"SuspendedToken"`)
40
+
39
41
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
40
42
 
41
43
 
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.ApprovalDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **transaction_id** | **String** | The transaction ID. | [optional]
8
+ **cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
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]
11
+ **spender** | [**RoleDetail**](RoleDetail.md) | | [optional]
12
+ **approver** | [**RoleDetail**](RoleDetail.md) | | [optional]
13
+
14
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.ApprovalResult
2
+
3
+ ## Enum
4
+
5
+
6
+ * `PENDING` (value: `1`)
7
+
8
+ * `APPROVED` (value: `2`)
9
+
10
+ * `REJECTED` (value: `3`)
11
+
12
+ * `unknown_default_open_api` (value: `11184809`)
13
+
14
+
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.ApprovalShowInfo
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **org_name** | **String** | The name of the organization that the transaction belongs to. | [optional]
8
+ **wallet_name** | **String** | The name of the wallet that the transaction belongs to. | [optional]
9
+ **environment** | **String** | The environment in which the transaction is processed. | [optional]
10
+ **from_address_label** | **String** | The label of the address from which the transaction is initiated. | [optional]
11
+ **to_address_label** | **String** | The label of the address to which the transaction is sent. | [optional]
12
+
13
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.ApprovalTemplate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **business_key** | **String** | The business key that is used to identify the transaction. | [optional]
8
+ **template_text** | **String** | The template text that is used for the transaction approval. | [optional]
9
+ **template_version** | **String** | The version of the template used for the transaction approval. | [optional]
10
+
11
+
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.ApprovalTransactionResult
2
+
3
+ ## Enum
4
+
5
+
6
+ * `REJECTED` (value: `-1`)
7
+
8
+ * `PENDING` (value: `0`)
9
+
10
+ * `APPROVED` (value: `1`)
11
+
12
+ * `unknown_default_open_api` (value: `11184809`)
13
+
14
+
@@ -0,0 +1,18 @@
1
+ # CoboWaas2.ApprovalUserDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **user_email** | **String** | The email address of the user who approved the transaction. | [optional]
8
+ **pubkey** | **String** | The public key of the user who approved the transaction. | [optional]
9
+ **signature** | **String** | The signature of the transaction approval. | [optional]
10
+ **statement_uuid** | **String** | The UUID of the statement associated with the transaction approval. | [optional]
11
+ **result** | [**ApprovalResult**](ApprovalResult.md) | | [optional]
12
+ **created_time** | **Number** | The timestamp when the approval was created. | [optional]
13
+ **template_version** | **String** | The version of the template used for the transaction approval. | [optional]
14
+ **header_title** | **String** | The title of the header for the transaction approval. | [optional]
15
+ **is_for_sign** | **Boolean** | Indicates whether the approval is for signing. | [optional]
16
+ **show_info** | [**ApprovalShowInfo**](ApprovalShowInfo.md) | | [optional]
17
+
18
+
@@ -7,6 +7,8 @@
7
7
 
8
8
  * `ProActiveAutoFuel` (value: `"ProActiveAutoFuel"`)
9
9
 
10
+ * `UsePortalPreference` (value: `"UsePortalPreference"`)
11
+
10
12
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
13
 
12
14
 
@@ -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;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement 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;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
8
8
  **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). |
9
9
  **address** | **String** | The wallet address. |
10
10
  **wallet_uuid** | **String** | The wallet ID. |
@@ -32,14 +32,16 @@ Name | Type | Description | Notes
32
32
 
33
33
  * `TokenListing` (value: `"TokenListing"`)
34
34
 
35
- * `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
36
-
37
35
  * `PaymentOrder` (value: `"PaymentOrder"`)
38
36
 
39
37
  * `PaymentRefund` (value: `"PaymentRefund"`)
40
38
 
41
39
  * `PaymentSettlement` (value: `"PaymentSettlement"`)
42
40
 
41
+ * `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
42
+
43
+ * `SuspendedToken` (value: `"SuspendedToken"`)
44
+
43
45
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
44
46
 
45
47
 
@@ -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;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;PaymentRefund&#x60;: The payment refund event data. - &#x60;PaymentSettlement&#x60;: The payment settlement 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;BalanceUpdateInfo&#x60;: The balance update event data. - &#x60;SuspendedToken&#x60;: The token suspension event data. |
8
8
  **chains** | [**[ChainInfo]**](ChainInfo.md) | The enabled chains. |
9
9
  **wallet_type** | [**WalletType**](WalletType.md) | | [optional]
10
10
  **wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | | [optional]
@@ -30,14 +30,16 @@ Name | Type | Description | Notes
30
30
 
31
31
  * `TokenListing` (value: `"TokenListing"`)
32
32
 
33
- * `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
34
-
35
33
  * `PaymentOrder` (value: `"PaymentOrder"`)
36
34
 
37
35
  * `PaymentRefund` (value: `"PaymentRefund"`)
38
36
 
39
37
  * `PaymentSettlement` (value: `"PaymentSettlement"`)
40
38
 
39
+ * `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
40
+
41
+ * `SuspendedToken` (value: `"SuspendedToken"`)
42
+
41
43
  * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
42
44
 
43
45
 
@@ -6,12 +6,12 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **merchant_id** | **String** | The merchant ID. |
8
8
  **token_id** | **String** | The ID of the cryptocurrency used for payment. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDC&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; |
9
- **currency** | **String** | The fiat currency of the order. | [optional] [default to &#39;USD&#39;]
9
+ **currency** | **String** | The fiat currency of the order. Currently, only &#x60;USD&#x60; is supported. | [optional] [default to &#39;USD&#39;]
10
10
  **order_amount** | **String** | The base amount of the order in fiat currency, excluding the developer fee (specified in &#x60;fee_amount&#x60;). Values must be greater than &#x60;0&#x60; and contain two decimal places. |
11
11
  **fee_amount** | **String** | The developer fee for the order in fiat currency. It is added to the base amount (&#x60;order_amount&#x60;) to determine the final charge. For example, if order_amount is \&quot;100.00\&quot; and fee_amount is \&quot;2.00\&quot;, the customer will be charged \&quot;102.00\&quot; in total, with \&quot;100.00\&quot; being settled to the merchant and \&quot;2.00\&quot; settled to the developer. Values must be greater than 0 and contain two decimal places. |
12
- **merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. | [optional]
13
- **psp_order_code** | **String** | A unique reference code assigned by the developer to identify this order in their system. |
14
- **expired_in** | **Number** | The number of seconds after which the pay-in order will expire. After expiration: - The order status becomes final and cannot be changed - The &#x60;received_token_amount&#x60; field will no longer be updated - Funds received after expiration will be categorized as late payments and can only be settled from the developer balance. - A late payment will trigger a &#x60;transactionLate&#x60; webhook event. | [optional]
12
+ **merchant_order_code** | **String** | A unique reference code assigned by the merchant to identify this order in their system. The code should have a maximum length of 128 characters. | [optional]
13
+ **psp_order_code** | **String** | A unique reference code assigned by you as a developer to identify this order in your system. This code must be unique across all orders in your system. The code should have a maximum length of 128 characters. |
14
+ **expired_in** | **Number** | The number of seconds until the pay-in order expires, counted from when the request is sent. For example, if set to &#x60;1800&#x60;, the order will expire in 30 minutes. After expiration: - The order status becomes final and cannot be changed - The &#x60;received_token_amount&#x60; field will no longer be updated - Funds received after expiration will be categorized as late payments and can only be settled from the developer balance. - A late payment will trigger a &#x60;transactionLate&#x60; webhook event. | [optional] [default to 1800]
15
15
  **use_dedicated_address** | **Boolean** | Whether to allocate a dedicated address for this order. - &#x60;true&#x60;: A dedicated address will be allocated for this order. - &#x60;false&#x60;: A shared address from the address pool will be used. | [optional]
16
16
 
17
17
 
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
7
7
  **merchant_id** | **String** | The merchant ID. Specify this field when &#x60;settlement_type&#x60; is set to &#x60;Merchant&#x60;. | [optional]
8
8
  **token_id** | **String** | The ID of the cryptocurrency you want to settle. Specify this field when &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;. Supported values: - USDC: &#x60;ETH_USDC&#x60;, &#x60;ARBITRUM_USDC&#x60;, &#x60;SOL_USDC&#x60;, &#x60;BASE_USDC&#x60;, &#x60;MATIC_USDC&#x60;, &#x60;BSC_USDC&#x60; - USDT: &#x60;TRON_USDT&#x60;, &#x60;ETH_USDT&#x60;, &#x60;ARBITRUM_USDT&#x60;, &#x60;SOL_USDT&#x60;, &#x60;BASE_USDT&#x60;, &#x60;MATIC_USDT&#x60;, &#x60;BSC_USDT&#x60; | [optional]
9
9
  **currency** | **String** | The fiat currency for settling the cryptocurrency. Currently, only &#x60;USD&#x60; is supported. Specify this field when &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;. | [optional]
10
- **amount** | **String** | The settlement amount. - If &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;, this represents the settlement amount in the specified cryptocurrency. - If &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;, this represents the settlement amount in the specified fiat currency. | [optional]
10
+ **amount** | **String** | The settlement amount. When settling merchant balance from orders (&#x60;acquiring_type&#x60; is &#x60;Order&#x60; and &#x60;settlement_type&#x60; is &#x60;Merchant&#x60;), do not specify this field as the settlement amount will be automatically calculated based on the order amounts. - If &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;, this represents the settlement amount in the specified cryptocurrency. - If &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;, this represents the settlement amount in the specified fiat currency. | [optional]
11
11
  **bank_account_id** | **String** | The ID of the bank account where the settled funds will be deposited. This field is only applicable when &#x60;payout_channel&#x60; is set to &#x60;OffRamp&#x60;. Call [List all bank accounts](/v2/api-references/payment/list-all-bank-accounts) to retrieve the IDs of registered bank accounts. | [optional]
12
12
  **crypto_address_id** | **String** | The ID of the crypto address used for crypto withdrawal. Specify this field when &#x60;payout_channel&#x60; is set to &#x60;Crypto&#x60;. Call [List all crypto addresses](/v2/api-references/payments/list-all-crypto-addresses) to retrieve registered crypto addresses. | [optional]
13
- **order_ids** | **[String]** | A list of order IDs to be included in this settlement. If provided, the settlement request will settle the merchant funds received from the specified orders, and the &#x60;amount&#x60; field will be ignored. This field is only applicable when &#x60;settlement_type&#x60; is set to &#x60;Merchant&#x60;. | [optional]
13
+ **order_ids** | **[String]** | | [optional]
14
14
 
15
15
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **source_type** | [**WalletSubtype**](WalletSubtype.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
- **address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the &#x60;included_utxos&#x60; property. When &#x60;included_utxos&#x60; is specified, only these specified UTXOs will be used for the transaction. If you specify both the &#x60;address&#x60; and &#x60;included_utxos&#x60; properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the &#x60;address&#x60; or &#x60;included_utxos&#x60; property. If neither property is provided, the transfer will fail. | [optional]
9
+ **address** | **String** | Indicates the wallet address to be used as the source of funds. - For UTXO-based chains: both &#x60;address&#x60; and &#x60;included_utxos&#x60; are optional. If both &#x60;address&#x60; and &#x60;included_utxos&#x60; are provided, the UTXOs must belong to the specified address. If neither &#x60;address&#x60; nor &#x60;included_utxos&#x60; is provided, the system will select UTXOs from the wallet associated with &#x60;wallet_id&#x60;. For RBF transactions, please note the following: - If the original transaction did not specify &#x60;included_utxos&#x60;, the RBF transaction may omit &#x60;address&#x60;, &#x60;included_utxos&#x60;, or both. - If the original transaction specified &#x60;included_utxos&#x60;, the RBF transaction must specify either &#x60;address&#x60; or &#x60;included_utxos&#x60;, or both. - The &#x60;address&#x60; or &#x60;included_utxos&#x60; in the RBF transaction may differ from those in the original transaction. - For account-based chains: You need to provide &#x60;address&#x60; otherwise the token transfer will fail. However, when estimating fees for a transfer, &#x60;address&#x60; is not required. | [optional]
10
10
  **included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
11
11
  **excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
12
12
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EstimatedEvmEip1559FeeSlow**](EstimatedEvmEip1559FeeSlow.md) | | [optional]
10
10
  **recommended** | [**EstimatedEvmEip1559FeeSlow**](EstimatedEvmEip1559FeeSlow.md) | |
11
11
  **fast** | [**EstimatedEvmEip1559FeeSlow**](EstimatedEvmEip1559FeeSlow.md) | | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EstimatedEvmLegacyFeeSlow**](EstimatedEvmLegacyFeeSlow.md) | | [optional]
10
10
  **recommended** | [**EstimatedEvmLegacyFeeSlow**](EstimatedEvmLegacyFeeSlow.md) | |
11
11
  **fast** | [**EstimatedEvmLegacyFeeSlow**](EstimatedEvmLegacyFeeSlow.md) | | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EstimatedFILFeeSlow**](EstimatedFILFeeSlow.md) | | [optional]
10
10
  **recommended** | [**EstimatedFILFeeSlow**](EstimatedFILFeeSlow.md) | |
11
11
  **fast** | [**EstimatedFILFeeSlow**](EstimatedFILFeeSlow.md) | | [optional]
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **gas_premium** | **String** | An optional additional fee that users can include to prioritize their transactions over others. It acts like a tip to incentivize miners to select and include your transaction over transactions with only the base fee. |
8
- **gas_fee_cap** | **String** | The gas_fee_cap is a user-defined limit on how much they are willing to pay per unit of gas. |
9
- **gas_limit** | **String** | This defines the maximum amount of computational effort that a transaction is allowed to consume. It&#39;s a way to cap the resources that a transaction can use, ensuring it doesn&#39;t consume excessive network resources. |
10
- **gas_base** | **String** | This is the minimum fee required to include a transaction in a block. It is determined by the network&#39;s congestion level, which adjusts to maintain a target block utilization rate. The base fee is burned, reducing the total supply of Filecoin over time. |
7
+ **gas_premium** | **String** | An optional tip you can include to prioritize your transaction. The gas premium incentivizes miners to include your transaction sooner than those offering only the base fee. |
8
+ **gas_fee_cap** | **String** | The maximum gas price you are willing to pay per unit of gas. |
9
+ **gas_limit** | **String** | The maximum amount of gas your transaction is allowed to consume. |
10
+ **gas_base** | **String** | The minimum fee required for a transaction to be included in a block. The base fee is dynamically adjusted based on network congestion to maintain target block utilization. It is burned rather than paid to miners, reducing the total Filecoin supply over time. |
11
11
 
12
12
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction was executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction was not executed as a Cobo Loop transfer. | [optional]
10
10
  **fee_amount** | **String** | The transaction fee that you need to pay for the transaction. |
11
11
  **slow** | [**EstimatedFILFeeSlow**](EstimatedFILFeeSlow.md) | | [optional]
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_amount** | **String** | The transaction fee that you need to pay for the transaction. |
8
8
  **fee_type** | [**FeeType**](FeeType.md) | |
9
- **token_id** | **String** | The token ID of the transaction fee. |
9
+ **token_id** | **String** | The token used to pay the transaction fee. |
10
10
  **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction was executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction was not executed as a Cobo Loop transfer. | [optional]
11
11
 
12
12
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EstimatedSOLFeeSlow**](EstimatedSOLFeeSlow.md) | | [optional]
10
10
  **recommended** | [**EstimatedSOLFeeSlow**](EstimatedSOLFeeSlow.md) | |
11
11
  **fast** | [**EstimatedSOLFeeSlow**](EstimatedSOLFeeSlow.md) | | [optional]
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **compute_unit_price** | **String** | The cost per compute unit. Transactions consume computational resources measured in compute units, and this price helps determine the cost of executing transactions, especially complex ones involving smart contracts. |
8
- **compute_unit_limit** | **String** | The maximum number of compute units allowed for a transaction. This limits the resources any single transaction can consume, preventing excessive resource usage that could impact network performance negatively. |
9
- **base_fee** | **String** | The fundamental fee required for each transaction. It is charged to prevent spam transactions and network congestion, ensuring that only meaningful transactions consume network resources. |
10
- **rent_amount** | **String** | The fee charged as rent for maintaining the state of accounts on the blockchain. This rent ensures accounts are stored on-chain over the long term and that there&#39;s sufficient balance to sustain the account state. | [optional]
7
+ **compute_unit_price** | **String** | The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions. |
8
+ **compute_unit_limit** | **String** | The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload. |
9
+ **base_fee** | **String** | A fixed fee charged per signature. The default is 5,000 lamports per signature. |
10
+ **rent_amount** | **String** | The rent fee charged by the network to store non–rent-exempt accounts on-chain. It is deducted periodically until the account maintains the minimum balance required for rent exemption. | [optional]
11
11
 
12
12
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | | [optional]
10
10
  **recommended** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | |
11
11
  **fast** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EvmEip1559FeeBasePrice**](EvmEip1559FeeBasePrice.md) | | [optional]
10
10
  **recommended** | [**EvmEip1559FeeBasePrice**](EvmEip1559FeeBasePrice.md) | |
11
11
  **fast** | [**EvmEip1559FeeBasePrice**](EvmEip1559FeeBasePrice.md) | | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **fee_type** | [**FeeType**](FeeType.md) | |
8
- **token_id** | **String** | The token ID of the transaction fee. |
8
+ **token_id** | **String** | The token used to pay the transaction fee. |
9
9
  **slow** | [**EvmLegacyFeeBasePrice**](EvmLegacyFeeBasePrice.md) | | [optional]
10
10
  **recommended** | [**EvmLegacyFeeBasePrice**](EvmLegacyFeeBasePrice.md) | |
11
11
  **fast** | [**EvmLegacyFeeBasePrice**](EvmLegacyFeeBasePrice.md) | | [optional]