@cobo/cobo-waas2 1.14.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/README.md +70 -5
  2. package/dist/ApiClient.js +2 -3
  3. package/dist/PreRequestScript.js +1 -1
  4. package/dist/api/AddressBooksApi.js +4 -4
  5. package/dist/api/AppWorkflowsApi.js +275 -0
  6. package/dist/api/DevelopersApi.js +4 -4
  7. package/dist/api/DevelopersWebhooksApi.js +12 -12
  8. package/dist/api/FeeStationApi.js +26 -26
  9. package/dist/api/PaymentApi.js +16 -16
  10. package/dist/api/StakingsApi.js +28 -28
  11. package/dist/api/TransactionsApi.js +16 -8
  12. package/dist/api/WalletsApi.js +121 -70
  13. package/dist/api/WalletsExchangeWalletApi.js +8 -8
  14. package/dist/api/WalletsMPCWalletsApi.js +20 -20
  15. package/dist/crypto/ApiSigner.js +1 -2
  16. package/dist/index.js +420 -0
  17. package/dist/model/AddressBook.js +18 -0
  18. package/dist/model/AppWorkflow.js +173 -0
  19. package/dist/model/AppWorkflowField.js +137 -0
  20. package/dist/model/AppWorkflowPolicy.js +144 -0
  21. package/dist/model/ApprovalEntry.js +148 -0
  22. package/dist/model/ApprovalRequest.js +178 -0
  23. package/dist/model/ApprovalRequestDetail.js +176 -0
  24. package/dist/model/ApprovalStatus.js +71 -0
  25. package/dist/model/ApprovalUser.js +146 -0
  26. package/dist/model/BabylonStakeExtra.js +16 -0
  27. package/dist/model/BankAccount.js +18 -0
  28. package/dist/model/BatchCheckUtxo201Response.js +107 -0
  29. package/dist/model/BatchCheckUtxoRequest.js +142 -0
  30. package/dist/model/BatchUTXOParam.js +123 -0
  31. package/dist/model/ChainInfo.js +9 -0
  32. package/dist/model/CreateApprovalRequest201Response.js +109 -0
  33. package/dist/model/CreateSettlement.js +4 -29
  34. package/dist/model/CreateStakeActivityExtra.js +6 -0
  35. package/dist/model/CreateTokenListingRequest201Response.js +2 -2
  36. package/dist/model/CreateTokenListingRequestRequest.js +4 -4
  37. package/dist/model/CustodialWeb3TransferSource.js +1 -1
  38. package/dist/model/EstimateContractCallFeeParams.js +13 -0
  39. package/dist/model/EstimateFeeParams.js +6 -0
  40. package/dist/model/EstimateTransferFeeParams.js +13 -0
  41. package/dist/model/FeeStationTransfer.js +1 -1
  42. package/dist/model/ListApprovalRequests200Response.js +123 -0
  43. package/dist/model/Merchant.js +18 -0
  44. package/dist/model/MpcTransferSource.js +1 -1
  45. package/dist/model/Order.js +49 -0
  46. package/dist/model/PaymentOrderEventData.js +64 -0
  47. package/dist/model/PaymentRefundEventData.js +77 -0
  48. package/dist/model/PaymentSettlementEvent.js +46 -0
  49. package/dist/model/PaymentTransaction.js +13 -0
  50. package/dist/model/PolicyAction.js +123 -0
  51. package/dist/model/PolicyActionContent.js +167 -0
  52. package/dist/model/PolicyActionType.js +66 -0
  53. package/dist/model/PolicyCondition.js +148 -0
  54. package/dist/model/PolicyFieldOperator.js +76 -0
  55. package/dist/model/PolicyFieldValueType.js +61 -0
  56. package/dist/model/Refund.js +53 -0
  57. package/dist/model/RequestApproval.js +188 -0
  58. package/dist/model/RevokeApprovalRequest201Response.js +118 -0
  59. package/dist/model/RevokeApprovalRequestRequest.js +110 -0
  60. package/dist/model/Settlement.js +31 -0
  61. package/dist/model/SettlementDetail.js +57 -0
  62. package/dist/model/SettlementInfo.js +31 -0
  63. package/dist/model/SwapActivity.js +3 -3
  64. package/dist/model/SwapActivityApprovers.js +122 -0
  65. package/dist/model/SwapActivityDetail.js +36 -6
  66. package/dist/model/SwapApproversStatus.js +66 -0
  67. package/dist/model/SwapQuote.js +49 -4
  68. package/dist/model/SwapToken.js +2 -2
  69. package/dist/model/TSSBaseRequestEventData.js +163 -0
  70. package/dist/model/TSSCallbackActionType.js +61 -0
  71. package/dist/model/TSSCallbackRequest.js +122 -0
  72. package/dist/model/TSSCallbackRequestType.js +76 -0
  73. package/dist/model/TSSCallbackResponse.js +118 -0
  74. package/dist/model/TSSCurve.js +61 -0
  75. package/dist/model/TSSCurveType.js +61 -0
  76. package/dist/model/TSSEvent.js +158 -0
  77. package/dist/model/TSSEventData.js +278 -0
  78. package/dist/model/TSSEventDataType.js +71 -0
  79. package/dist/model/TSSEventType.js +136 -0
  80. package/dist/model/TSSGroup.js +221 -0
  81. package/dist/model/TSSGroupType.js +61 -0
  82. package/dist/model/TSSGroups.js +1 -1
  83. package/dist/model/TSSKeyGenEventData.js +228 -0
  84. package/dist/model/TSSKeyGenExtra.js +154 -0
  85. package/dist/model/TSSKeyGenRequest.js +130 -0
  86. package/dist/model/TSSKeyReshareEventData.js +228 -0
  87. package/dist/model/TSSKeyReshareExtra.js +169 -0
  88. package/dist/model/TSSKeyReshareRequest.js +177 -0
  89. package/dist/model/TSSKeyShareSignDetail.js +100 -0
  90. package/dist/model/TSSKeyShareSignEventData.js +228 -0
  91. package/dist/model/TSSKeyShareSignExtra.js +171 -0
  92. package/dist/model/TSSKeyShareSignRequest.js +146 -0
  93. package/dist/model/TSSKeyShareSignSignature.js +126 -0
  94. package/dist/model/TSSKeyShareSignSignatures.js +107 -0
  95. package/dist/model/TSSKeySignEventData.js +228 -0
  96. package/dist/model/TSSKeySignExtra.js +203 -0
  97. package/dist/model/TSSKeySignRequest.js +192 -0
  98. package/dist/model/TSSParticipant.js +113 -0
  99. package/dist/model/TSSProtocol.js +66 -0
  100. package/dist/model/TSSRequestTypeEenum.js +71 -0
  101. package/dist/model/TSSSignature.js +139 -0
  102. package/dist/model/TSSSignatureType.js +66 -0
  103. package/dist/model/TSSSignatures.js +125 -0
  104. package/dist/model/TSSStatus.js +96 -0
  105. package/dist/model/TokenListing.js +10 -10
  106. package/dist/model/TokenListingEventData.js +15 -15
  107. package/dist/model/TransactionCoboCategory.js +102 -7
  108. package/dist/model/TransactionRbfSource.js +1 -1
  109. package/dist/model/TransactionSubStatus.js +35 -0
  110. package/dist/model/UTXO.js +9 -0
  111. package/dist/model/WebhookEventData.js +15 -9
  112. package/docs/AddressBook.md +2 -0
  113. package/docs/AddressBooksApi.md +2 -2
  114. package/docs/AppWorkflow.md +12 -0
  115. package/docs/AppWorkflowField.md +11 -0
  116. package/docs/AppWorkflowPolicy.md +10 -0
  117. package/docs/AppWorkflowsApi.md +273 -0
  118. package/docs/ApprovalEntry.md +11 -0
  119. package/docs/ApprovalRequest.md +13 -0
  120. package/docs/ApprovalRequestDetail.md +13 -0
  121. package/docs/ApprovalStatus.md +16 -0
  122. package/docs/ApprovalUser.md +12 -0
  123. package/docs/BabylonStakeExtra.md +1 -0
  124. package/docs/BankAccount.md +2 -0
  125. package/docs/BatchCheckUtxo201Response.md +9 -0
  126. package/docs/BatchCheckUtxoRequest.md +10 -0
  127. package/docs/BatchUTXOParam.md +10 -0
  128. package/docs/ChainInfo.md +1 -0
  129. package/docs/CreateApprovalRequest201Response.md +9 -0
  130. package/docs/CreateSettlement.md +2 -2
  131. package/docs/CreateStakeActivityExtra.md +1 -0
  132. package/docs/CreateTokenListingRequest201Response.md +1 -1
  133. package/docs/CreateTokenListingRequestRequest.md +2 -2
  134. package/docs/CustodialWeb3TransferSource.md +1 -1
  135. package/docs/DevelopersApi.md +2 -2
  136. package/docs/DevelopersWebhooksApi.md +6 -6
  137. package/docs/EstimateContractCallFeeParams.md +1 -0
  138. package/docs/EstimateFeeParams.md +1 -0
  139. package/docs/EstimateTransferFeeParams.md +1 -0
  140. package/docs/FeeStationApi.md +14 -14
  141. package/docs/ListApprovalRequests200Response.md +10 -0
  142. package/docs/Merchant.md +2 -0
  143. package/docs/MpcTransferSource.md +1 -1
  144. package/docs/Order.md +3 -0
  145. package/docs/PaymentApi.md +8 -8
  146. package/docs/PaymentOrderEventData.md +3 -0
  147. package/docs/PaymentRefundEventData.md +5 -0
  148. package/docs/PaymentSettlementEvent.md +3 -0
  149. package/docs/PaymentTransaction.md +1 -0
  150. package/docs/PolicyAction.md +10 -0
  151. package/docs/PolicyActionContent.md +25 -0
  152. package/docs/PolicyActionType.md +14 -0
  153. package/docs/PolicyCondition.md +12 -0
  154. package/docs/PolicyFieldOperator.md +18 -0
  155. package/docs/PolicyFieldValueType.md +12 -0
  156. package/docs/Refund.md +5 -0
  157. package/docs/RequestApproval.md +13 -0
  158. package/docs/RevokeApprovalRequest201Response.md +10 -0
  159. package/docs/RevokeApprovalRequestRequest.md +9 -0
  160. package/docs/Settlement.md +3 -0
  161. package/docs/SettlementDetail.md +5 -0
  162. package/docs/SettlementInfo.md +3 -0
  163. package/docs/StakingsApi.md +14 -14
  164. package/docs/SwapActivity.md +3 -3
  165. package/docs/SwapActivityApprovers.md +10 -0
  166. package/docs/SwapActivityDetail.md +4 -3
  167. package/docs/SwapApproversStatus.md +14 -0
  168. package/docs/SwapQuote.md +3 -0
  169. package/docs/SwapToken.md +2 -2
  170. package/docs/TSSBaseRequestEventData.md +14 -0
  171. package/docs/TSSCallbackActionType.md +12 -0
  172. package/docs/TSSCallbackRequest.md +12 -0
  173. package/docs/TSSCallbackRequestType.md +18 -0
  174. package/docs/TSSCallbackResponse.md +12 -0
  175. package/docs/TSSCurve.md +12 -0
  176. package/docs/TSSCurveType.md +12 -0
  177. package/docs/TSSEvent.md +13 -0
  178. package/docs/TSSEventData.md +16 -0
  179. package/docs/TSSEventDataType.md +16 -0
  180. package/docs/TSSEventType.md +42 -0
  181. package/docs/TSSGroup.md +19 -0
  182. package/docs/TSSGroupType.md +12 -0
  183. package/docs/TSSKeyGenEventData.md +16 -0
  184. package/docs/TSSKeyGenExtra.md +13 -0
  185. package/docs/TSSKeyGenRequest.md +13 -0
  186. package/docs/TSSKeyReshareEventData.md +16 -0
  187. package/docs/TSSKeyReshareExtra.md +14 -0
  188. package/docs/TSSKeyReshareRequest.md +17 -0
  189. package/docs/TSSKeyShareSignDetail.md +10 -0
  190. package/docs/TSSKeyShareSignEventData.md +16 -0
  191. package/docs/TSSKeyShareSignExtra.md +13 -0
  192. package/docs/TSSKeyShareSignRequest.md +12 -0
  193. package/docs/TSSKeyShareSignSignature.md +12 -0
  194. package/docs/TSSKeyShareSignSignatures.md +9 -0
  195. package/docs/TSSKeySignEventData.md +16 -0
  196. package/docs/TSSKeySignExtra.md +15 -0
  197. package/docs/TSSKeySignRequest.md +18 -0
  198. package/docs/TSSParticipant.md +11 -0
  199. package/docs/TSSProtocol.md +14 -0
  200. package/docs/TSSRequestTypeEenum.md +16 -0
  201. package/docs/TSSSignature.md +13 -0
  202. package/docs/TSSSignatureType.md +14 -0
  203. package/docs/TSSSignatures.md +11 -0
  204. package/docs/TSSStatus.md +26 -0
  205. package/docs/TokenListing.md +6 -6
  206. package/docs/TokenListingEventData.md +6 -6
  207. package/docs/TransactionCoboCategory.md +41 -3
  208. package/docs/TransactionRbfSource.md +1 -1
  209. package/docs/TransactionSubStatus.md +14 -0
  210. package/docs/TransactionsApi.md +8 -4
  211. package/docs/UTXO.md +1 -0
  212. package/docs/WalletsApi.md +91 -36
  213. package/docs/WalletsExchangeWalletApi.md +4 -4
  214. package/docs/WalletsMPCWalletsApi.md +10 -10
  215. package/docs/WebhookEventData.md +8 -7
  216. package/package.json +1 -1
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * Cobo Wallet as a Service 2.0
17
+ *
18
+ * Contact: help@cobo.com
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * Enum class TSSStatus.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var TSSStatus = exports["default"] = /*#__PURE__*/function () {
31
+ function TSSStatus() {
32
+ _classCallCheck(this, TSSStatus);
33
+ /**
34
+ * value: 100
35
+ * @const
36
+ */
37
+ _defineProperty(this, "UNDEFINED", 100);
38
+ /**
39
+ * value: 110
40
+ * @const
41
+ */
42
+ _defineProperty(this, "SCHEDULING", 110);
43
+ /**
44
+ * value: 120
45
+ * @const
46
+ */
47
+ _defineProperty(this, "INITIALIZING", 120);
48
+ /**
49
+ * value: 130
50
+ * @const
51
+ */
52
+ _defineProperty(this, "APPROVING", 130);
53
+ /**
54
+ * value: 140
55
+ * @const
56
+ */
57
+ _defineProperty(this, "PROCESSING", 140);
58
+ /**
59
+ * value: 160
60
+ * @const
61
+ */
62
+ _defineProperty(this, "DECLINED", 160);
63
+ /**
64
+ * value: 170
65
+ * @const
66
+ */
67
+ _defineProperty(this, "FAILED", 170);
68
+ /**
69
+ * value: 180
70
+ * @const
71
+ */
72
+ _defineProperty(this, "CANCELED", 180);
73
+ /**
74
+ * value: 190
75
+ * @const
76
+ */
77
+ _defineProperty(this, "COMPLETED", 190);
78
+ /**
79
+ * value: 11184809
80
+ * @const
81
+ */
82
+ _defineProperty(this, "unknown_default_open_api", 11184809);
83
+ }
84
+ return _createClass(TSSStatus, null, [{
85
+ key: "constructFromObject",
86
+ value:
87
+ /**
88
+ * Returns a <code>TSSStatus</code> enum value from a Javascript object name.
89
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
90
+ * @return {module:model/TSSStatus} The enum <code>TSSStatus</code> value.
91
+ */
92
+ function constructFromObject(object) {
93
+ return object;
94
+ }
95
+ }]);
96
+ }();
@@ -36,11 +36,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
36
36
  var TokenListing = /*#__PURE__*/function () {
37
37
  /**
38
38
  * Constructs a new <code>TokenListing</code>.
39
- * Detailed information about a token listing request
39
+ * Detailed information about a token listing request.
40
40
  * @alias module:model/TokenListing
41
- * @param request_id {String} Unique identifier of the token listing request
42
- * @param chain_id {String} chain_id of the blockchain where the token exists
43
- * @param contract_address {String} Contract address of the token
41
+ * @param request_id {String} The unique identifier of the token listing request.
42
+ * @param chain_id {String} The ID of the blockchain where the token is deployed.
43
+ * @param contract_address {String} The token's contract address on the specified blockchain.
44
44
  * @param wallet_type {module:model/WalletType}
45
45
  * @param wallet_subtype {module:model/WalletSubtype}
46
46
  * @param status {module:model/TokenListingRequestStatus}
@@ -168,19 +168,19 @@ var TokenListing = /*#__PURE__*/function () {
168
168
  TokenListing.RequiredProperties = ["request_id", "chain_id", "contract_address", "wallet_type", "wallet_subtype", "status"];
169
169
 
170
170
  /**
171
- * Unique identifier of the token listing request
171
+ * The unique identifier of the token listing request.
172
172
  * @member {String} request_id
173
173
  */
174
174
  TokenListing.prototype['request_id'] = undefined;
175
175
 
176
176
  /**
177
- * chain_id of the blockchain where the token exists
177
+ * The ID of the blockchain where the token is deployed.
178
178
  * @member {String} chain_id
179
179
  */
180
180
  TokenListing.prototype['chain_id'] = undefined;
181
181
 
182
182
  /**
183
- * Contract address of the token
183
+ * The token's contract address on the specified blockchain.
184
184
  * @member {String} contract_address
185
185
  */
186
186
  TokenListing.prototype['contract_address'] = undefined;
@@ -211,19 +211,19 @@ TokenListing.prototype['status'] = undefined;
211
211
  TokenListing.prototype['source'] = undefined;
212
212
 
213
213
  /**
214
- * Feedback provided by the admin for rejected requests
214
+ * The feedback provided by Cobo when a token listing request is rejected.
215
215
  * @member {String} feedback
216
216
  */
217
217
  TokenListing.prototype['feedback'] = undefined;
218
218
 
219
219
  /**
220
- * Timestamp when the request was created (in milliseconds since Unix epoch)
220
+ * The time when the request was created in Unix timestamp format, measured in milliseconds.
221
221
  * @member {Number} created_timestamp
222
222
  */
223
223
  TokenListing.prototype['created_timestamp'] = undefined;
224
224
 
225
225
  /**
226
- * Timestamp when the request was last updated (in milliseconds since Unix epoch)
226
+ * The time when the request was last updated in Unix timestamp format, measured in milliseconds.
227
227
  * @member {Number} updated_timestamp
228
228
  */
229
229
  TokenListing.prototype['updated_timestamp'] = undefined;
@@ -42,9 +42,9 @@ var TokenListingEventData = /*#__PURE__*/function () {
42
42
  * @implements module:model/WebhookEventDataType
43
43
  * @implements module:model/TokenListing
44
44
  * @param data_type {module:model/TokenListingEventData.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.
45
- * @param request_id {String} Unique identifier of the token listing request
46
- * @param chain_id {String} chain_id of the blockchain where the token exists
47
- * @param contract_address {String} Contract address of the token
45
+ * @param request_id {String} The unique identifier of the token listing request.
46
+ * @param chain_id {String} The ID of the blockchain where the token is deployed.
47
+ * @param contract_address {String} The token's contract address on the specified blockchain.
48
48
  * @param wallet_type {module:model/WalletType}
49
49
  * @param wallet_subtype {module:model/WalletSubtype}
50
50
  * @param status {module:model/TokenListingRequestStatus}
@@ -190,19 +190,19 @@ TokenListingEventData.RequiredProperties = ["data_type", "request_id", "chain_id
190
190
  TokenListingEventData.prototype['data_type'] = undefined;
191
191
 
192
192
  /**
193
- * Unique identifier of the token listing request
193
+ * The unique identifier of the token listing request.
194
194
  * @member {String} request_id
195
195
  */
196
196
  TokenListingEventData.prototype['request_id'] = undefined;
197
197
 
198
198
  /**
199
- * chain_id of the blockchain where the token exists
199
+ * The ID of the blockchain where the token is deployed.
200
200
  * @member {String} chain_id
201
201
  */
202
202
  TokenListingEventData.prototype['chain_id'] = undefined;
203
203
 
204
204
  /**
205
- * Contract address of the token
205
+ * The token's contract address on the specified blockchain.
206
206
  * @member {String} contract_address
207
207
  */
208
208
  TokenListingEventData.prototype['contract_address'] = undefined;
@@ -233,19 +233,19 @@ TokenListingEventData.prototype['status'] = undefined;
233
233
  TokenListingEventData.prototype['source'] = undefined;
234
234
 
235
235
  /**
236
- * Feedback provided by the admin for rejected requests
236
+ * The feedback provided by Cobo when a token listing request is rejected.
237
237
  * @member {String} feedback
238
238
  */
239
239
  TokenListingEventData.prototype['feedback'] = undefined;
240
240
 
241
241
  /**
242
- * Timestamp when the request was created (in milliseconds since Unix epoch)
242
+ * The time when the request was created in Unix timestamp format, measured in milliseconds.
243
243
  * @member {Number} created_timestamp
244
244
  */
245
245
  TokenListingEventData.prototype['created_timestamp'] = undefined;
246
246
 
247
247
  /**
248
- * Timestamp when the request was last updated (in milliseconds since Unix epoch)
248
+ * The time when the request was last updated in Unix timestamp format, measured in milliseconds.
249
249
  * @member {Number} updated_timestamp
250
250
  */
251
251
  TokenListingEventData.prototype['updated_timestamp'] = undefined;
@@ -258,17 +258,17 @@ TokenListingEventData.prototype['updated_timestamp'] = undefined;
258
258
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
259
259
  // Implement TokenListing interface:
260
260
  /**
261
- * Unique identifier of the token listing request
261
+ * The unique identifier of the token listing request.
262
262
  * @member {String} request_id
263
263
  */
264
264
  _TokenListing["default"].prototype['request_id'] = undefined;
265
265
  /**
266
- * chain_id of the blockchain where the token exists
266
+ * The ID of the blockchain where the token is deployed.
267
267
  * @member {String} chain_id
268
268
  */
269
269
  _TokenListing["default"].prototype['chain_id'] = undefined;
270
270
  /**
271
- * Contract address of the token
271
+ * The token's contract address on the specified blockchain.
272
272
  * @member {String} contract_address
273
273
  */
274
274
  _TokenListing["default"].prototype['contract_address'] = undefined;
@@ -293,17 +293,17 @@ _TokenListing["default"].prototype['status'] = undefined;
293
293
  */
294
294
  _TokenListing["default"].prototype['source'] = undefined;
295
295
  /**
296
- * Feedback provided by the admin for rejected requests
296
+ * The feedback provided by Cobo when a token listing request is rejected.
297
297
  * @member {String} feedback
298
298
  */
299
299
  _TokenListing["default"].prototype['feedback'] = undefined;
300
300
  /**
301
- * Timestamp when the request was created (in milliseconds since Unix epoch)
301
+ * The time when the request was created in Unix timestamp format, measured in milliseconds.
302
302
  * @member {Number} created_timestamp
303
303
  */
304
304
  _TokenListing["default"].prototype['created_timestamp'] = undefined;
305
305
  /**
306
- * Timestamp when the request was last updated (in milliseconds since Unix epoch)
306
+ * The time when the request was last updated in Unix timestamp format, measured in milliseconds.
307
307
  * @member {Number} updated_timestamp
308
308
  */
309
309
  _TokenListing["default"].prototype['updated_timestamp'] = undefined;
@@ -30,11 +30,6 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  var TransactionCoboCategory = exports["default"] = /*#__PURE__*/function () {
31
31
  function TransactionCoboCategory() {
32
32
  _classCallCheck(this, TransactionCoboCategory);
33
- /**
34
- * value: "AutoSweep"
35
- * @const
36
- */
37
- _defineProperty(this, "AutoSweep", "AutoSweep");
38
33
  /**
39
34
  * value: "AutoFueling"
40
35
  * @const
@@ -46,10 +41,10 @@ var TransactionCoboCategory = exports["default"] = /*#__PURE__*/function () {
46
41
  */
47
42
  _defineProperty(this, "AutoFuelingRefund", "AutoFuelingRefund");
48
43
  /**
49
- * value: "SafeTxMessage"
44
+ * value: "AutoSweep"
50
45
  * @const
51
46
  */
52
- _defineProperty(this, "SafeTxMessage", "SafeTxMessage");
47
+ _defineProperty(this, "AutoSweep", "AutoSweep");
53
48
  /**
54
49
  * value: "BillPayment"
55
50
  * @const
@@ -70,6 +65,106 @@ var TransactionCoboCategory = exports["default"] = /*#__PURE__*/function () {
70
65
  * @const
71
66
  */
72
67
  _defineProperty(this, "CommissionFeeRefund", "CommissionFeeRefund");
68
+ /**
69
+ * value: "SafeTxMessage"
70
+ * @const
71
+ */
72
+ _defineProperty(this, "SafeTxMessage", "SafeTxMessage");
73
+ /**
74
+ * value: "StakingBabylonBtcDelegation"
75
+ * @const
76
+ */
77
+ _defineProperty(this, "StakingBabylonBtcDelegation", "StakingBabylonBtcDelegation");
78
+ /**
79
+ * value: "StakingBabylonBtcSignBabylon"
80
+ * @const
81
+ */
82
+ _defineProperty(this, "StakingBabylonBtcSignBabylon", "StakingBabylonBtcSignBabylon");
83
+ /**
84
+ * value: "StakingBabylonClaim"
85
+ * @const
86
+ */
87
+ _defineProperty(this, "StakingBabylonClaim", "StakingBabylonClaim");
88
+ /**
89
+ * value: "StakingBabylonSlashing"
90
+ * @const
91
+ */
92
+ _defineProperty(this, "StakingBabylonSlashing", "StakingBabylonSlashing");
93
+ /**
94
+ * value: "StakingBabylonStake"
95
+ * @const
96
+ */
97
+ _defineProperty(this, "StakingBabylonStake", "StakingBabylonStake");
98
+ /**
99
+ * value: "StakingBabylonUnstake"
100
+ * @const
101
+ */
102
+ _defineProperty(this, "StakingBabylonUnstake", "StakingBabylonUnstake");
103
+ /**
104
+ * value: "StakingBabylonWithdraw"
105
+ * @const
106
+ */
107
+ _defineProperty(this, "StakingBabylonWithdraw", "StakingBabylonWithdraw");
108
+ /**
109
+ * value: "StakingBithiveClaim"
110
+ * @const
111
+ */
112
+ _defineProperty(this, "StakingBithiveClaim", "StakingBithiveClaim");
113
+ /**
114
+ * value: "StakingBithiveStake"
115
+ * @const
116
+ */
117
+ _defineProperty(this, "StakingBithiveStake", "StakingBithiveStake");
118
+ /**
119
+ * value: "StakingBithiveUnstake"
120
+ * @const
121
+ */
122
+ _defineProperty(this, "StakingBithiveUnstake", "StakingBithiveUnstake");
123
+ /**
124
+ * value: "StakingBithiveWithdraw"
125
+ * @const
126
+ */
127
+ _defineProperty(this, "StakingBithiveWithdraw", "StakingBithiveWithdraw");
128
+ /**
129
+ * value: "StakingCoreStake"
130
+ * @const
131
+ */
132
+ _defineProperty(this, "StakingCoreStake", "StakingCoreStake");
133
+ /**
134
+ * value: "StakingCoreWithdraw"
135
+ * @const
136
+ */
137
+ _defineProperty(this, "StakingCoreWithdraw", "StakingCoreWithdraw");
138
+ /**
139
+ * value: "StakingEthClaim"
140
+ * @const
141
+ */
142
+ _defineProperty(this, "StakingEthClaim", "StakingEthClaim");
143
+ /**
144
+ * value: "StakingEthStake"
145
+ * @const
146
+ */
147
+ _defineProperty(this, "StakingEthStake", "StakingEthStake");
148
+ /**
149
+ * value: "StakingEthUnstake"
150
+ * @const
151
+ */
152
+ _defineProperty(this, "StakingEthUnstake", "StakingEthUnstake");
153
+ /**
154
+ * value: "StakingSkyfarmClaim"
155
+ * @const
156
+ */
157
+ _defineProperty(this, "StakingSkyfarmClaim", "StakingSkyfarmClaim");
158
+ /**
159
+ * value: "StakingSkyfarmStake"
160
+ * @const
161
+ */
162
+ _defineProperty(this, "StakingSkyfarmStake", "StakingSkyfarmStake");
163
+ /**
164
+ * value: "StakingSkyfarmUnstake"
165
+ * @const
166
+ */
167
+ _defineProperty(this, "StakingSkyfarmUnstake", "StakingSkyfarmUnstake");
73
168
  /**
74
169
  * value: "unknown_default_open_api"
75
170
  * @const
@@ -190,7 +190,7 @@ TransactionRbfSource.prototype['source_type'] = undefined;
190
190
  TransactionRbfSource.prototype['wallet_id'] = undefined;
191
191
 
192
192
  /**
193
- * The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail.
193
+ * The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. When `included_utxos` is specified, only these specified UTXOs will be used for the transaction. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail.
194
194
  * @member {String} address
195
195
  */
196
196
  TransactionRbfSource.prototype['address'] = undefined;
@@ -235,6 +235,41 @@ var TransactionSubStatus = exports["default"] = /*#__PURE__*/function () {
235
235
  * @const
236
236
  */
237
237
  _defineProperty(this, "SignatureVerificationFailed", "SignatureVerificationFailed");
238
+ /**
239
+ * value: "PendingCoboCheck"
240
+ * @const
241
+ */
242
+ _defineProperty(this, "PendingCoboCheck", "PendingCoboCheck");
243
+ /**
244
+ * value: "RejectedTransactionPolicy"
245
+ * @const
246
+ */
247
+ _defineProperty(this, "RejectedTransactionPolicy", "RejectedTransactionPolicy");
248
+ /**
249
+ * value: "RejectedByScreeningApp"
250
+ * @const
251
+ */
252
+ _defineProperty(this, "RejectedByScreeningApp", "RejectedByScreeningApp");
253
+ /**
254
+ * value: "PendingScreeningAppCheck"
255
+ * @const
256
+ */
257
+ _defineProperty(this, "PendingScreeningAppCheck", "PendingScreeningAppCheck");
258
+ /**
259
+ * value: "PendingCoboKYTCheck"
260
+ * @const
261
+ */
262
+ _defineProperty(this, "PendingCoboKYTCheck", "PendingCoboKYTCheck");
263
+ /**
264
+ * value: "RejectedByCoboKYT"
265
+ * @const
266
+ */
267
+ _defineProperty(this, "RejectedByCoboKYT", "RejectedByCoboKYT");
268
+ /**
269
+ * value: "PendingCoboTravelRuleCheck"
270
+ * @const
271
+ */
272
+ _defineProperty(this, "PendingCoboTravelRuleCheck", "PendingCoboTravelRuleCheck");
238
273
  /**
239
274
  * value: "unknown_default_open_api"
240
275
  * @const
@@ -81,6 +81,9 @@ var UTXO = /*#__PURE__*/function () {
81
81
  if (data.hasOwnProperty('confirmed_number')) {
82
82
  obj['confirmed_number'] = _ApiClient["default"].convertToType(data['confirmed_number'], 'Number');
83
83
  }
84
+ if (data.hasOwnProperty('is_frozen')) {
85
+ obj['is_frozen'] = _ApiClient["default"].convertToType(data['is_frozen'], 'Boolean');
86
+ }
84
87
  }
85
88
  return obj;
86
89
  }
@@ -160,4 +163,10 @@ UTXO.prototype['is_locked'] = undefined;
160
163
  * @member {Number} confirmed_number
161
164
  */
162
165
  UTXO.prototype['confirmed_number'] = undefined;
166
+
167
+ /**
168
+ * Whether the UTXO is frozen.
169
+ * @member {Boolean} is_frozen
170
+ */
171
+ UTXO.prototype['is_frozen'] = undefined;
163
172
  var _default = exports["default"] = UTXO;
@@ -15,6 +15,7 @@ var _PaymentOrderEventData = _interopRequireDefault(require("./PaymentOrderEvent
15
15
  var _PaymentRefundEventData = _interopRequireDefault(require("./PaymentRefundEventData"));
16
16
  var _PaymentSettlementEvent = _interopRequireDefault(require("./PaymentSettlementEvent"));
17
17
  var _PaymentTransaction = _interopRequireDefault(require("./PaymentTransaction"));
18
+ var _RefundType = _interopRequireDefault(require("./RefundType"));
18
19
  var _RootPubkey = _interopRequireDefault(require("./RootPubkey"));
19
20
  var _SettleRequestStatus = _interopRequireDefault(require("./SettleRequestStatus"));
20
21
  var _SettlementDetail = _interopRequireDefault(require("./SettlementDetail"));
@@ -535,7 +536,7 @@ WebhookEventData.prototype['result'] = undefined;
535
536
  WebhookEventData.prototype['fee'] = undefined;
536
537
 
537
538
  /**
538
- * The transaction initiator.
539
+ * The initiator of this settlement request, usually the user's API key.
539
540
  * @member {String} initiator
540
541
  */
541
542
  WebhookEventData.prototype['initiator'] = undefined;
@@ -614,13 +615,13 @@ WebhookEventData.prototype['extra'] = undefined;
614
615
  WebhookEventData.prototype['fueling_info'] = undefined;
615
616
 
616
617
  /**
617
- * Timestamp when the request was created (in milliseconds since Unix epoch)
618
+ * The created time of the settlement request, represented as a UNIX timestamp in seconds.
618
619
  * @member {Number} created_timestamp
619
620
  */
620
621
  WebhookEventData.prototype['created_timestamp'] = undefined;
621
622
 
622
623
  /**
623
- * Timestamp when the request was last updated (in milliseconds since Unix epoch)
624
+ * The updated time of the settlement request, represented as a UNIX timestamp in seconds.
624
625
  * @member {Number} updated_timestamp
625
626
  */
626
627
  WebhookEventData.prototype['updated_timestamp'] = undefined;
@@ -699,7 +700,7 @@ WebhookEventData.prototype['wallet_subtypes'] = undefined;
699
700
  WebhookEventData.prototype['tokens'] = undefined;
700
701
 
701
702
  /**
702
- * Contract address of the token
703
+ * The token's contract address on the specified blockchain.
703
704
  * @member {String} contract_address
704
705
  */
705
706
  WebhookEventData.prototype['contract_address'] = undefined;
@@ -715,13 +716,13 @@ WebhookEventData.prototype['wallet_subtype'] = undefined;
715
716
  WebhookEventData.prototype['token'] = undefined;
716
717
 
717
718
  /**
718
- * Feedback provided by the admin for rejected requests
719
+ * The feedback provided by Cobo when a token listing request is rejected.
719
720
  * @member {String} feedback
720
721
  */
721
722
  WebhookEventData.prototype['feedback'] = undefined;
722
723
 
723
724
  /**
724
- * The order ID.
725
+ * The order ID corresponding to this refund.
725
726
  * @member {String} order_id
726
727
  */
727
728
  WebhookEventData.prototype['order_id'] = undefined;
@@ -792,6 +793,12 @@ WebhookEventData.prototype['psp_order_code'] = undefined;
792
793
  */
793
794
  WebhookEventData.prototype['received_token_amount'] = undefined;
794
795
 
796
+ /**
797
+ * An array of transactions associated with this refund order. Each transaction represents a separate blockchain operation related to the refund process.
798
+ * @member {Array.<module:model/PaymentTransaction>} transactions
799
+ */
800
+ WebhookEventData.prototype['transactions'] = undefined;
801
+
795
802
  /**
796
803
  * The refund order ID.
797
804
  * @member {String} refund_id
@@ -811,10 +818,9 @@ WebhookEventData.prototype['amount'] = undefined;
811
818
  WebhookEventData.prototype['to_address'] = undefined;
812
819
 
813
820
  /**
814
- * An array of transactions associated with this refund order. Each transaction represents a separate blockchain operation related to the refund process.
815
- * @member {Array.<module:model/PaymentTransaction>} transactions
821
+ * @member {module:model/RefundType} refund_type
816
822
  */
817
- WebhookEventData.prototype['transactions'] = undefined;
823
+ WebhookEventData.prototype['refund_type'] = undefined;
818
824
 
819
825
  /**
820
826
  * The settlement request ID generated by Cobo.
@@ -10,8 +10,10 @@ Name | Type | Description | Notes
10
10
  **memo** | **String** | The memo. | [optional]
11
11
  **wallet_name** | **String** | The wallet name. | [optional]
12
12
  **wallet_type** | [**WalletType**](WalletType.md) | | [optional]
13
+ **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | | [optional]
13
14
  **label** | **String** | The address label. |
14
15
  **chain_ids** | **[String]** | A list of chain IDs. | [optional]
15
16
  **email** | **String** | The email of the address owner. | [optional]
17
+ **encoding** | [**AddressEncoding**](AddressEncoding.md) | | [optional]
16
18
 
17
19
 
@@ -53,8 +53,8 @@ Name | Type | Description | Notes
53
53
  **address** | **String**| The wallet address. | [optional]
54
54
  **label** | **String**| The address label. | [optional]
55
55
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
56
- **before** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;before&#x60; to the ID of Object C (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object A. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. - If you set it to &#x60;infinity&#x60;, the last page of data is returned. | [optional]
57
- **after** | **String**| This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set &#x60;after&#x60; to the ID of Object A (&#x60;RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk&#x60;), the response will include Object B and Object C. **Notes**: - If you set both &#x60;after&#x60; and &#x60;before&#x60;, an error will occur. - If you leave both &#x60;before&#x60; and &#x60;after&#x60; empty, the first page of data is returned. | [optional]
56
+ **before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
57
+ **after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
58
58
 
59
59
  ### Return type
60
60
 
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.AppWorkflow
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **workflow_id** | **String** | The workflow id. |
8
+ **operation_id** | **String** | The workflow operation id. |
9
+ **operation_name** | **String** | The workflow operation name. |
10
+ **current_policies** | [**[AppWorkflowPolicy]**](AppWorkflowPolicy.md) | |
11
+
12
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.AppWorkflowField
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **field** | **String** | The app workflow field name. |
8
+ **value_type** | [**PolicyFieldValueType**](PolicyFieldValueType.md) | |
9
+ **value** | **String** | The app workflow field value. |
10
+
11
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.AppWorkflowPolicy
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **action** | [**PolicyAction**](PolicyAction.md) | |
8
+ **conditions** | [**[PolicyCondition]**](PolicyCondition.md) | | [optional]
9
+
10
+