@cobo/cobo-waas2 1.28.0 → 1.30.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 (238) hide show
  1. package/README.md +88 -16
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AutoSweepApi.js +2 -2
  4. package/dist/api/ComplianceApi.js +144 -4
  5. package/dist/api/FeeStationApi.js +2 -2
  6. package/dist/api/GraphQLApi.js +85 -0
  7. package/dist/api/PaymentApi.js +1161 -154
  8. package/dist/api/StakingsApi.js +2 -2
  9. package/dist/api/SwapsApi.js +3 -0
  10. package/dist/api/TransactionsApi.js +6 -6
  11. package/dist/api/WalletsApi.js +18 -18
  12. package/dist/index.js +357 -28
  13. package/dist/model/AddressRiskLevel.js +71 -0
  14. package/dist/model/AddressesEventData.js +13 -3
  15. package/dist/model/{AllocationRecord.js → AllocationItem.js} +38 -35
  16. package/dist/model/{AllocationRequest.js → AllocationParam.js} +29 -26
  17. package/dist/model/BalanceUpdateInfoEventData.js +13 -3
  18. package/dist/model/BatchAllocation.js +12 -12
  19. package/dist/model/BatchAllocationDetail.js +15 -17
  20. package/dist/model/BridgingFee.js +3 -3
  21. package/dist/model/ChainsEventData.js +13 -3
  22. package/dist/model/CommissionFee.js +2 -2
  23. package/dist/model/ComplianceDispositionUpdateEventData.js +13 -3
  24. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +346 -0
  25. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +13 -3
  26. package/dist/model/ContractCallParams.js +3 -3
  27. package/dist/model/CounterpartyWalletAddressDetail.js +2 -2
  28. package/dist/model/CreateBatchAllocationRequest.js +19 -19
  29. package/dist/model/CreateBulkSendRequest.js +167 -0
  30. package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +153 -0
  31. package/dist/model/CreateCounterpartyEntry201Response.js +143 -0
  32. package/dist/model/CreateCounterpartyEntryRequest.js +141 -0
  33. package/dist/model/CreateDestinationEntry201Response.js +172 -0
  34. package/dist/model/CreateDestinationEntryRequest.js +172 -0
  35. package/dist/model/CreateKyaScreeningsBody.js +129 -0
  36. package/dist/model/CreateMerchantRequest.js +1 -1
  37. package/dist/model/CreatePaymentOrderRequest.js +17 -15
  38. package/dist/model/CreatePayoutRequest.js +35 -28
  39. package/dist/model/CreateRefundRequest.js +2 -2
  40. package/dist/model/CreateReportRequest.js +156 -0
  41. package/dist/model/CreateTopUpAddresses.js +139 -0
  42. package/dist/model/CreateTopUpAddresses201Response.js +107 -0
  43. package/dist/model/CreateWalletAddress.js +2 -2
  44. package/dist/model/DeleteCounterpartyById200Response.js +110 -0
  45. package/dist/model/DeleteCounterpartyEntry200Response.js +110 -0
  46. package/dist/model/DeleteDestinationById200Response.js +110 -0
  47. package/dist/model/DeleteDestinationEntry200Response.js +110 -0
  48. package/dist/model/EntryType.js +61 -0
  49. package/dist/model/GetCounterpartyEntry200Response.js +90 -0
  50. package/dist/model/GetDestinationEntry200Response.js +106 -0
  51. package/dist/model/{ListPayoutItems200Response.js → GetReports200Response.js} +22 -22
  52. package/dist/model/KyaRiskAssessment.js +151 -0
  53. package/dist/model/KyaRiskDetail.js +126 -0
  54. package/dist/model/KyaRiskLevel.js +66 -0
  55. package/dist/model/KyaScreeningRequest.js +154 -0
  56. package/dist/model/KyaScreeningResult.js +222 -0
  57. package/dist/model/KyaScreeningResultRiskAssessment.js +171 -0
  58. package/dist/model/KyaScreeningStatus.js +71 -0
  59. package/dist/model/KyaScreeningsEventData.js +174 -0
  60. package/dist/model/LinkDisplayInfo.js +1 -1
  61. package/dist/model/{ListAllocations200Response.js → ListAllocationItems200Response.js} +22 -22
  62. package/dist/model/ListBulkSendItems200Response.js +123 -0
  63. package/dist/model/ListCounterpartyEntries200Response.js +123 -0
  64. package/dist/model/ListDestinationEntries200Response.js +153 -0
  65. package/dist/model/ListKyaScreenings200Response.js +145 -0
  66. package/dist/model/MPCVaultEventData.js +13 -3
  67. package/dist/model/MerchantBalance.js +4 -4
  68. package/dist/model/Order.js +10 -10
  69. package/dist/model/OrderLinkBusinessInfo.js +22 -16
  70. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -4
  71. package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +4 -4
  72. package/dist/model/PaymentAddressUpdateEventData.js +13 -3
  73. package/dist/model/PaymentAllocationAmount.js +2 -2
  74. package/dist/model/PaymentBulkSend.js +182 -0
  75. package/dist/model/PaymentBulkSendEvent.js +359 -0
  76. package/dist/model/PaymentBulkSendExecutionMode.js +61 -0
  77. package/dist/model/PaymentBulkSendItem.js +190 -0
  78. package/dist/model/{PaymentPayoutItemStatus.js → PaymentBulkSendItemStatus.js} +11 -11
  79. package/dist/model/PaymentBulkSendItemValidationStatus.js +66 -0
  80. package/dist/model/PaymentBulkSendStatus.js +81 -0
  81. package/dist/model/PaymentEstimateFeeRequest.js +13 -0
  82. package/dist/model/PaymentFeeType.js +15 -0
  83. package/dist/model/PaymentOrderEventData.js +31 -21
  84. package/dist/model/PaymentPayout.js +64 -46
  85. package/dist/model/PaymentPayoutDetail.js +166 -52
  86. package/dist/model/PaymentPayoutEvent.js +152 -80
  87. package/dist/model/PaymentPayoutItem.js +9 -166
  88. package/dist/model/PaymentPayoutParam.js +6 -46
  89. package/dist/model/PaymentPayoutRecipientInfo.js +126 -0
  90. package/dist/model/PaymentPayoutStatus.js +9 -4
  91. package/dist/model/PaymentRefundEventData.js +13 -3
  92. package/dist/model/PaymentSettlementEvent.js +13 -3
  93. package/dist/model/PaymentTransactionEventData.js +13 -3
  94. package/dist/model/PspBalance.js +4 -4
  95. package/dist/model/RefundLinkBusinessInfo.js +1 -1
  96. package/dist/model/Report.js +209 -0
  97. package/dist/model/ReportExportFormat.js +66 -0
  98. package/dist/model/ReportStatus.js +61 -0
  99. package/dist/model/ReportType.js +121 -0
  100. package/dist/model/SuspendedTokenEventData.js +13 -3
  101. package/dist/model/TSSRequestWebhookEventData.js +13 -3
  102. package/dist/model/TokenListingEventData.js +13 -3
  103. package/dist/model/TokensEventData.js +13 -3
  104. package/dist/model/TransactionCoboCategory.js +5 -0
  105. package/dist/model/TransactionExtraType.js +5 -0
  106. package/dist/model/TransactionWalletConnectInfo.js +146 -0
  107. package/dist/model/TransactionWebhookEventData.js +13 -3
  108. package/dist/model/TransferParams.js +2 -2
  109. package/dist/model/UpdateCounterpartyRequest.js +160 -0
  110. package/dist/model/UpdateDestinationEntry200Response.js +90 -0
  111. package/dist/model/UpdateDestinationEntryRequest.js +135 -0
  112. package/dist/model/UpdateDestinationRequest.js +173 -0
  113. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  114. package/dist/model/WalletAddress.js +20 -2
  115. package/dist/model/WalletInfoEventData.js +13 -3
  116. package/dist/model/WebhookEventData.js +121 -28
  117. package/dist/model/WebhookEventDataType.js +12 -2
  118. package/dist/model/WebhookEventType.js +15 -0
  119. package/docs/AddressRiskLevel.md +16 -0
  120. package/docs/AddressesEventData.md +5 -1
  121. package/docs/AllocationItem.md +15 -0
  122. package/docs/AllocationParam.md +13 -0
  123. package/docs/AutoSweepApi.md +1 -1
  124. package/docs/BalanceUpdateInfoEventData.md +5 -1
  125. package/docs/BatchAllocation.md +2 -2
  126. package/docs/BatchAllocationDetail.md +1 -1
  127. package/docs/BridgingFee.md +2 -2
  128. package/docs/ChainsEventData.md +5 -1
  129. package/docs/CommissionFee.md +1 -1
  130. package/docs/ComplianceApi.md +163 -0
  131. package/docs/ComplianceDispositionUpdateEventData.md +5 -1
  132. package/docs/ComplianceKyaScreeningsUpdateEventData.md +64 -0
  133. package/docs/ComplianceKytScreeningsUpdateEventData.md +5 -1
  134. package/docs/ContractCallParams.md +2 -2
  135. package/docs/CounterpartyWalletAddressDetail.md +1 -1
  136. package/docs/CreateBatchAllocationRequest.md +2 -2
  137. package/docs/CreateBulkSendRequest.md +12 -0
  138. package/docs/CreateBulkSendRequestPayoutParamsInner.md +12 -0
  139. package/docs/CreateCounterpartyEntry201Response.md +10 -0
  140. package/docs/CreateCounterpartyEntryRequest.md +10 -0
  141. package/docs/CreateDestinationEntry201Response.md +11 -0
  142. package/docs/CreateDestinationEntryRequest.md +11 -0
  143. package/docs/CreateKyaScreeningsBody.md +9 -0
  144. package/docs/CreateMerchantRequest.md +1 -1
  145. package/docs/CreatePaymentOrderRequest.md +11 -11
  146. package/docs/CreatePayoutRequest.md +4 -4
  147. package/docs/CreateRefundRequest.md +2 -2
  148. package/docs/CreateReportRequest.md +13 -0
  149. package/docs/CreateTopUpAddresses.md +11 -0
  150. package/docs/CreateTopUpAddresses201Response.md +9 -0
  151. package/docs/CreateWalletAddress.md +1 -1
  152. package/docs/DeleteCounterpartyById200Response.md +9 -0
  153. package/docs/DeleteCounterpartyEntry200Response.md +9 -0
  154. package/docs/DeleteDestinationById200Response.md +9 -0
  155. package/docs/DeleteDestinationEntry200Response.md +9 -0
  156. package/docs/EntryType.md +12 -0
  157. package/docs/FeeStationApi.md +1 -1
  158. package/docs/GetCounterpartyEntry200Response.md +9 -0
  159. package/docs/GetDestinationEntry200Response.md +10 -0
  160. package/docs/{ListAllocations200Response.md → GetReports200Response.md} +2 -2
  161. package/docs/GraphQLApi.md +61 -0
  162. package/docs/KyaRiskAssessment.md +11 -0
  163. package/docs/KyaRiskDetail.md +10 -0
  164. package/docs/KyaRiskLevel.md +14 -0
  165. package/docs/KyaScreeningRequest.md +12 -0
  166. package/docs/KyaScreeningResult.md +17 -0
  167. package/docs/KyaScreeningResultRiskAssessment.md +11 -0
  168. package/docs/KyaScreeningStatus.md +16 -0
  169. package/docs/KyaScreeningsEventData.md +14 -0
  170. package/docs/LinkDisplayInfo.md +1 -1
  171. package/docs/{ListPayoutItems200Response.md → ListAllocationItems200Response.md} +2 -2
  172. package/docs/ListBulkSendItems200Response.md +10 -0
  173. package/docs/ListCounterpartyEntries200Response.md +10 -0
  174. package/docs/ListDestinationEntries200Response.md +11 -0
  175. package/docs/ListKyaScreenings200Response.md +10 -0
  176. package/docs/MPCVaultEventData.md +5 -1
  177. package/docs/MerchantBalance.md +4 -4
  178. package/docs/Order.md +8 -8
  179. package/docs/OrderLinkBusinessInfo.md +11 -11
  180. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
  181. package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +2 -2
  182. package/docs/PaymentAddressUpdateEventData.md +5 -1
  183. package/docs/PaymentAllocationAmount.md +1 -1
  184. package/docs/PaymentApi.md +1296 -198
  185. package/docs/PaymentBulkSend.md +15 -0
  186. package/docs/PaymentBulkSendEvent.md +65 -0
  187. package/docs/PaymentBulkSendExecutionMode.md +12 -0
  188. package/docs/PaymentBulkSendItem.md +15 -0
  189. package/docs/{PaymentPayoutItemStatus.md → PaymentBulkSendItemStatus.md} +3 -3
  190. package/docs/PaymentBulkSendItemValidationStatus.md +14 -0
  191. package/docs/PaymentBulkSendStatus.md +20 -0
  192. package/docs/PaymentEstimateFeeRequest.md +1 -0
  193. package/docs/PaymentFeeType.md +6 -0
  194. package/docs/PaymentOrderEventData.md +13 -9
  195. package/docs/PaymentPayout.md +8 -7
  196. package/docs/PaymentPayoutDetail.md +10 -8
  197. package/docs/PaymentPayoutEvent.md +15 -9
  198. package/docs/PaymentPayoutItem.md +2 -13
  199. package/docs/PaymentPayoutParam.md +1 -4
  200. package/docs/PaymentPayoutRecipientInfo.md +12 -0
  201. package/docs/PaymentPayoutStatus.md +4 -2
  202. package/docs/PaymentRefundEventData.md +5 -1
  203. package/docs/PaymentSettlementEvent.md +5 -1
  204. package/docs/PaymentTransactionEventData.md +5 -1
  205. package/docs/PspBalance.md +4 -4
  206. package/docs/RefundLinkBusinessInfo.md +1 -1
  207. package/docs/Report.md +17 -0
  208. package/docs/ReportExportFormat.md +14 -0
  209. package/docs/ReportStatus.md +12 -0
  210. package/docs/ReportType.md +36 -0
  211. package/docs/StakingsApi.md +1 -1
  212. package/docs/SuspendedTokenEventData.md +5 -1
  213. package/docs/SwapsApi.md +2 -0
  214. package/docs/TSSRequestWebhookEventData.md +5 -1
  215. package/docs/TokenListingEventData.md +5 -1
  216. package/docs/TokensEventData.md +5 -1
  217. package/docs/TransactionCoboCategory.md +2 -0
  218. package/docs/TransactionExtraType.md +2 -0
  219. package/docs/TransactionWalletConnectInfo.md +12 -0
  220. package/docs/TransactionWebhookEventData.md +5 -1
  221. package/docs/TransactionsApi.md +3 -3
  222. package/docs/TransferParams.md +1 -1
  223. package/docs/UpdateCounterpartyRequest.md +13 -0
  224. package/docs/UpdateDestinationEntry200Response.md +9 -0
  225. package/docs/UpdateDestinationEntryRequest.md +11 -0
  226. package/docs/UpdateDestinationRequest.md +14 -0
  227. package/docs/UpdateMerchantByIdRequest.md +1 -1
  228. package/docs/WalletAddress.md +3 -1
  229. package/docs/WalletInfoEventData.md +5 -1
  230. package/docs/WalletsApi.md +9 -9
  231. package/docs/WebhookEventData.md +28 -18
  232. package/docs/WebhookEventDataType.md +5 -1
  233. package/docs/WebhookEventType.md +6 -0
  234. package/package.json +1 -1
  235. package/dist/model/PaymentPayoutItemDetail.js +0 -298
  236. package/docs/AllocationRecord.md +0 -15
  237. package/docs/AllocationRequest.md +0 -13
  238. package/docs/PaymentPayoutItemDetail.md +0 -22
@@ -0,0 +1,71 @@
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 AddressRiskLevel.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var AddressRiskLevel = exports["default"] = /*#__PURE__*/function () {
31
+ function AddressRiskLevel() {
32
+ _classCallCheck(this, AddressRiskLevel);
33
+ /**
34
+ * value: "Low"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Low", "Low");
38
+ /**
39
+ * value: "Unscreened"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Unscreened", "Unscreened");
43
+ /**
44
+ * value: "Medium"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Medium", "Medium");
48
+ /**
49
+ * value: "High"
50
+ * @const
51
+ */
52
+ _defineProperty(this, "High", "High");
53
+ /**
54
+ * value: "unknown_default_open_api"
55
+ * @const
56
+ */
57
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
58
+ }
59
+ return _createClass(AddressRiskLevel, null, [{
60
+ key: "constructFromObject",
61
+ value:
62
+ /**
63
+ * Returns a <code>AddressRiskLevel</code> enum value from a Javascript object name.
64
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
65
+ * @return {module:model/AddressRiskLevel} The enum <code>AddressRiskLevel</code> value.
66
+ */
67
+ function constructFromObject(object) {
68
+ return object;
69
+ }
70
+ }]);
71
+ }();
@@ -35,7 +35,7 @@ var AddressesEventData = /*#__PURE__*/function () {
35
35
  * Constructs a new <code>AddressesEventData</code>.
36
36
  * @alias module:model/AddressesEventData
37
37
  * @implements module:model/WebhookEventDataType
38
- * @param data_type {module:model/AddressesEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
38
+ * @param data_type {module:model/AddressesEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
39
39
  */
40
40
  function AddressesEventData(data_type) {
41
41
  _classCallCheck(this, AddressesEventData);
@@ -132,7 +132,7 @@ var AddressesEventData = /*#__PURE__*/function () {
132
132
  AddressesEventData.RequiredProperties = ["data_type"];
133
133
 
134
134
  /**
135
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
135
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
136
136
  * @member {module:model/AddressesEventData.DataTypeEnum} data_type
137
137
  */
138
138
  AddressesEventData.prototype['data_type'] = undefined;
@@ -145,7 +145,7 @@ AddressesEventData.prototype['addresses'] = undefined;
145
145
 
146
146
  // Implement WebhookEventDataType interface:
147
147
  /**
148
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
148
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
149
149
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
150
150
  */
151
151
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -226,6 +226,11 @@ AddressesEventData['DataTypeEnum'] = {
226
226
  * @const
227
227
  */
228
228
  "PaymentPayout": "PaymentPayout",
229
+ /**
230
+ * value: "PaymentBulkSend"
231
+ * @const
232
+ */
233
+ "PaymentBulkSend": "PaymentBulkSend",
229
234
  /**
230
235
  * value: "BalanceUpdateInfo"
231
236
  * @const
@@ -246,6 +251,11 @@ AddressesEventData['DataTypeEnum'] = {
246
251
  * @const
247
252
  */
248
253
  "ComplianceKytScreenings": "ComplianceKytScreenings",
254
+ /**
255
+ * value: "ComplianceKyaScreenings"
256
+ * @const
257
+ */
258
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
249
259
  /**
250
260
  * value: "unknown_default_open_api"
251
261
  * @const
@@ -25,22 +25,22 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
25
25
  *
26
26
  */
27
27
  /**
28
- * The AllocationRecord model module.
29
- * @module model/AllocationRecord
28
+ * The AllocationItem model module.
29
+ * @module model/AllocationItem
30
30
  */
31
- var AllocationRecord = /*#__PURE__*/function () {
31
+ var AllocationItem = /*#__PURE__*/function () {
32
32
  /**
33
- * Constructs a new <code>AllocationRecord</code>.
34
- * @alias module:model/AllocationRecord
35
- * @param allocation_record_id {String} The allocation record ID generated by Cobo.
33
+ * Constructs a new <code>AllocationItem</code>.
34
+ * @alias module:model/AllocationItem
35
+ * @param allocation_item_id {String} The allocation item ID generated by Cobo.
36
36
  * @param batch_allocation_id {String} The batch allocation ID generated by Cobo.
37
37
  * @param token_id {String} The ID of the cryptocurrency you want to allocation. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
38
38
  * @param amount {String} The allocation amount.
39
- * @param description {String}
39
+ * @param description {String} The description of the allocation item.
40
40
  */
41
- function AllocationRecord(allocation_record_id, batch_allocation_id, token_id, amount, description) {
42
- _classCallCheck(this, AllocationRecord);
43
- AllocationRecord.initialize(this, allocation_record_id, batch_allocation_id, token_id, amount, description);
41
+ function AllocationItem(allocation_item_id, batch_allocation_id, token_id, amount, description) {
42
+ _classCallCheck(this, AllocationItem);
43
+ AllocationItem.initialize(this, allocation_item_id, batch_allocation_id, token_id, amount, description);
44
44
  }
45
45
 
46
46
  /**
@@ -48,10 +48,10 @@ var AllocationRecord = /*#__PURE__*/function () {
48
48
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
49
  * Only for internal use.
50
50
  */
51
- return _createClass(AllocationRecord, null, [{
51
+ return _createClass(AllocationItem, null, [{
52
52
  key: "initialize",
53
- value: function initialize(obj, allocation_record_id, batch_allocation_id, token_id, amount, description) {
54
- obj['allocation_record_id'] = allocation_record_id;
53
+ value: function initialize(obj, allocation_item_id, batch_allocation_id, token_id, amount, description) {
54
+ obj['allocation_item_id'] = allocation_item_id;
55
55
  obj['batch_allocation_id'] = batch_allocation_id;
56
56
  obj['token_id'] = token_id;
57
57
  obj['amount'] = amount;
@@ -59,19 +59,19 @@ var AllocationRecord = /*#__PURE__*/function () {
59
59
  }
60
60
 
61
61
  /**
62
- * Constructs a <code>AllocationRecord</code> from a plain JavaScript object, optionally creating a new instance.
62
+ * Constructs a <code>AllocationItem</code> from a plain JavaScript object, optionally creating a new instance.
63
63
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
64
  * @param {Object} data The plain JavaScript object bearing properties of interest.
65
- * @param {module:model/AllocationRecord} obj Optional instance to populate.
66
- * @return {module:model/AllocationRecord} The populated <code>AllocationRecord</code> instance.
65
+ * @param {module:model/AllocationItem} obj Optional instance to populate.
66
+ * @return {module:model/AllocationItem} The populated <code>AllocationItem</code> instance.
67
67
  */
68
68
  }, {
69
69
  key: "constructFromObject",
70
70
  value: function constructFromObject(data, obj) {
71
71
  if (data) {
72
- obj = obj || new AllocationRecord();
73
- if (data.hasOwnProperty('allocation_record_id')) {
74
- obj['allocation_record_id'] = _ApiClient["default"].convertToType(data['allocation_record_id'], 'String');
72
+ obj = obj || new AllocationItem();
73
+ if (data.hasOwnProperty('allocation_item_id')) {
74
+ obj['allocation_item_id'] = _ApiClient["default"].convertToType(data['allocation_item_id'], 'String');
75
75
  }
76
76
  if (data.hasOwnProperty('batch_allocation_id')) {
77
77
  obj['batch_allocation_id'] = _ApiClient["default"].convertToType(data['batch_allocation_id'], 'String');
@@ -96,15 +96,15 @@ var AllocationRecord = /*#__PURE__*/function () {
96
96
  }
97
97
 
98
98
  /**
99
- * Validates the JSON data with respect to <code>AllocationRecord</code>.
99
+ * Validates the JSON data with respect to <code>AllocationItem</code>.
100
100
  * @param {Object} data The plain JavaScript object bearing properties of interest.
101
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AllocationRecord</code>.
101
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AllocationItem</code>.
102
102
  */
103
103
  }, {
104
104
  key: "validateJSON",
105
105
  value: function validateJSON(data) {
106
106
  // check to make sure all required properties are present in the JSON string
107
- var _iterator = _createForOfIteratorHelper(AllocationRecord.RequiredProperties),
107
+ var _iterator = _createForOfIteratorHelper(AllocationItem.RequiredProperties),
108
108
  _step;
109
109
  try {
110
110
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -119,8 +119,8 @@ var AllocationRecord = /*#__PURE__*/function () {
119
119
  } finally {
120
120
  _iterator.f();
121
121
  }
122
- if (data['allocation_record_id'] && !(typeof data['allocation_record_id'] === 'string' || data['allocation_record_id'] instanceof String)) {
123
- throw new Error("Expected the field `allocation_record_id` to be a primitive type in the JSON string but got " + data['allocation_record_id']);
122
+ if (data['allocation_item_id'] && !(typeof data['allocation_item_id'] === 'string' || data['allocation_item_id'] instanceof String)) {
123
+ throw new Error("Expected the field `allocation_item_id` to be a primitive type in the JSON string but got " + data['allocation_item_id']);
124
124
  }
125
125
  // ensure the json data is a string
126
126
  if (data['batch_allocation_id'] && !(typeof data['batch_allocation_id'] === 'string' || data['batch_allocation_id'] instanceof String)) {
@@ -150,44 +150,47 @@ var AllocationRecord = /*#__PURE__*/function () {
150
150
  }
151
151
  }]);
152
152
  }();
153
- AllocationRecord.RequiredProperties = ["allocation_record_id", "batch_allocation_id", "token_id", "amount", "description"];
153
+ AllocationItem.RequiredProperties = ["allocation_item_id", "batch_allocation_id", "token_id", "amount", "description"];
154
154
 
155
155
  /**
156
- * The allocation record ID generated by Cobo.
157
- * @member {String} allocation_record_id
156
+ * The allocation item ID generated by Cobo.
157
+ * @member {String} allocation_item_id
158
158
  */
159
- AllocationRecord.prototype['allocation_record_id'] = undefined;
159
+ AllocationItem.prototype['allocation_item_id'] = undefined;
160
160
 
161
161
  /**
162
162
  * The batch allocation ID generated by Cobo.
163
163
  * @member {String} batch_allocation_id
164
164
  */
165
- AllocationRecord.prototype['batch_allocation_id'] = undefined;
165
+ AllocationItem.prototype['batch_allocation_id'] = undefined;
166
166
 
167
167
  /**
168
168
  * The ID of the cryptocurrency you want to allocation. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
169
169
  * @member {String} token_id
170
170
  */
171
- AllocationRecord.prototype['token_id'] = undefined;
171
+ AllocationItem.prototype['token_id'] = undefined;
172
172
 
173
173
  /**
174
174
  * The allocation amount.
175
175
  * @member {String} amount
176
176
  */
177
- AllocationRecord.prototype['amount'] = undefined;
177
+ AllocationItem.prototype['amount'] = undefined;
178
178
 
179
179
  /**
180
+ * The source account from which the allocation will be deducted. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`.
180
181
  * @member {String} source_account
181
182
  */
182
- AllocationRecord.prototype['source_account'] = undefined;
183
+ AllocationItem.prototype['source_account'] = undefined;
183
184
 
184
185
  /**
186
+ * The destination account to which the allocation will be credited. - If the destination account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the destination account is the developer account, use the string `\"developer\"`.
185
187
  * @member {String} destination_account
186
188
  */
187
- AllocationRecord.prototype['destination_account'] = undefined;
189
+ AllocationItem.prototype['destination_account'] = undefined;
188
190
 
189
191
  /**
192
+ * The description of the allocation item.
190
193
  * @member {String} description
191
194
  */
192
- AllocationRecord.prototype['description'] = undefined;
193
- var _default = exports["default"] = AllocationRecord;
195
+ AllocationItem.prototype['description'] = undefined;
196
+ var _default = exports["default"] = AllocationItem;
@@ -25,22 +25,22 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
25
25
  *
26
26
  */
27
27
  /**
28
- * The AllocationRequest model module.
29
- * @module model/AllocationRequest
28
+ * The AllocationParam model module.
29
+ * @module model/AllocationParam
30
30
  */
31
- var AllocationRequest = /*#__PURE__*/function () {
31
+ var AllocationParam = /*#__PURE__*/function () {
32
32
  /**
33
- * Constructs a new <code>AllocationRequest</code>.
34
- * @alias module:model/AllocationRequest
33
+ * Constructs a new <code>AllocationParam</code>.
34
+ * @alias module:model/AllocationParam
35
35
  * @param token_id {String} The ID of the cryptocurrency you want to allocation. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
36
36
  * @param amount {String} The allocation amount.
37
- * @param source_account {String}
38
- * @param destination_account {String}
39
- * @param description {String}
37
+ * @param source_account {String} The source account from which the allocation will be deducted. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`.
38
+ * @param destination_account {String} The destination account to which the allocation will be credited. - If the destination account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the destination account is the developer account, use the string `\"developer\"`.
39
+ * @param description {String} The description of the allocation.
40
40
  */
41
- function AllocationRequest(token_id, amount, source_account, destination_account, description) {
42
- _classCallCheck(this, AllocationRequest);
43
- AllocationRequest.initialize(this, token_id, amount, source_account, destination_account, description);
41
+ function AllocationParam(token_id, amount, source_account, destination_account, description) {
42
+ _classCallCheck(this, AllocationParam);
43
+ AllocationParam.initialize(this, token_id, amount, source_account, destination_account, description);
44
44
  }
45
45
 
46
46
  /**
@@ -48,7 +48,7 @@ var AllocationRequest = /*#__PURE__*/function () {
48
48
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
49
  * Only for internal use.
50
50
  */
51
- return _createClass(AllocationRequest, null, [{
51
+ return _createClass(AllocationParam, null, [{
52
52
  key: "initialize",
53
53
  value: function initialize(obj, token_id, amount, source_account, destination_account, description) {
54
54
  obj['token_id'] = token_id;
@@ -59,17 +59,17 @@ var AllocationRequest = /*#__PURE__*/function () {
59
59
  }
60
60
 
61
61
  /**
62
- * Constructs a <code>AllocationRequest</code> from a plain JavaScript object, optionally creating a new instance.
62
+ * Constructs a <code>AllocationParam</code> from a plain JavaScript object, optionally creating a new instance.
63
63
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
64
  * @param {Object} data The plain JavaScript object bearing properties of interest.
65
- * @param {module:model/AllocationRequest} obj Optional instance to populate.
66
- * @return {module:model/AllocationRequest} The populated <code>AllocationRequest</code> instance.
65
+ * @param {module:model/AllocationParam} obj Optional instance to populate.
66
+ * @return {module:model/AllocationParam} The populated <code>AllocationParam</code> instance.
67
67
  */
68
68
  }, {
69
69
  key: "constructFromObject",
70
70
  value: function constructFromObject(data, obj) {
71
71
  if (data) {
72
- obj = obj || new AllocationRequest();
72
+ obj = obj || new AllocationParam();
73
73
  if (data.hasOwnProperty('token_id')) {
74
74
  obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
75
75
  }
@@ -90,15 +90,15 @@ var AllocationRequest = /*#__PURE__*/function () {
90
90
  }
91
91
 
92
92
  /**
93
- * Validates the JSON data with respect to <code>AllocationRequest</code>.
93
+ * Validates the JSON data with respect to <code>AllocationParam</code>.
94
94
  * @param {Object} data The plain JavaScript object bearing properties of interest.
95
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AllocationRequest</code>.
95
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AllocationParam</code>.
96
96
  */
97
97
  }, {
98
98
  key: "validateJSON",
99
99
  value: function validateJSON(data) {
100
100
  // check to make sure all required properties are present in the JSON string
101
- var _iterator = _createForOfIteratorHelper(AllocationRequest.RequiredProperties),
101
+ var _iterator = _createForOfIteratorHelper(AllocationParam.RequiredProperties),
102
102
  _step;
103
103
  try {
104
104
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -136,32 +136,35 @@ var AllocationRequest = /*#__PURE__*/function () {
136
136
  }
137
137
  }]);
138
138
  }();
139
- AllocationRequest.RequiredProperties = ["token_id", "amount", "source_account", "destination_account", "description"];
139
+ AllocationParam.RequiredProperties = ["token_id", "amount", "source_account", "destination_account", "description"];
140
140
 
141
141
  /**
142
142
  * The ID of the cryptocurrency you want to allocation. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
143
143
  * @member {String} token_id
144
144
  */
145
- AllocationRequest.prototype['token_id'] = undefined;
145
+ AllocationParam.prototype['token_id'] = undefined;
146
146
 
147
147
  /**
148
148
  * The allocation amount.
149
149
  * @member {String} amount
150
150
  */
151
- AllocationRequest.prototype['amount'] = undefined;
151
+ AllocationParam.prototype['amount'] = undefined;
152
152
 
153
153
  /**
154
+ * The source account from which the allocation will be deducted. - If the source account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the source account is the developer account, use the string `\"developer\"`.
154
155
  * @member {String} source_account
155
156
  */
156
- AllocationRequest.prototype['source_account'] = undefined;
157
+ AllocationParam.prototype['source_account'] = undefined;
157
158
 
158
159
  /**
160
+ * The destination account to which the allocation will be credited. - If the destination account is a merchant account, provide the merchant's ID (e.g., \"M1001\"). - If the destination account is the developer account, use the string `\"developer\"`.
159
161
  * @member {String} destination_account
160
162
  */
161
- AllocationRequest.prototype['destination_account'] = undefined;
163
+ AllocationParam.prototype['destination_account'] = undefined;
162
164
 
163
165
  /**
166
+ * The description of the allocation.
164
167
  * @member {String} description
165
168
  */
166
- AllocationRequest.prototype['description'] = undefined;
167
- var _default = exports["default"] = AllocationRequest;
169
+ AllocationParam.prototype['description'] = undefined;
170
+ var _default = exports["default"] = AllocationParam;
@@ -37,7 +37,7 @@ var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
37
37
  * @alias module:model/BalanceUpdateInfoEventData
38
38
  * @implements module:model/WebhookEventDataType
39
39
  * @implements module:model/BalanceUpdateInfo
40
- * @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
40
+ * @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
41
41
  * @param token_id {String} The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
42
42
  * @param address {String} The wallet address.
43
43
  * @param wallet_uuid {String} The wallet ID.
@@ -156,7 +156,7 @@ var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
156
156
  BalanceUpdateInfoEventData.RequiredProperties = ["data_type", "token_id", "address", "wallet_uuid", "updated_timestamp", "balance"];
157
157
 
158
158
  /**
159
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
159
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
160
160
  * @member {module:model/BalanceUpdateInfoEventData.DataTypeEnum} data_type
161
161
  */
162
162
  BalanceUpdateInfoEventData.prototype['data_type'] = undefined;
@@ -192,7 +192,7 @@ BalanceUpdateInfoEventData.prototype['balance'] = undefined;
192
192
 
193
193
  // Implement WebhookEventDataType interface:
194
194
  /**
195
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
195
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data.
196
196
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
197
197
  */
198
198
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -298,6 +298,11 @@ BalanceUpdateInfoEventData['DataTypeEnum'] = {
298
298
  * @const
299
299
  */
300
300
  "PaymentPayout": "PaymentPayout",
301
+ /**
302
+ * value: "PaymentBulkSend"
303
+ * @const
304
+ */
305
+ "PaymentBulkSend": "PaymentBulkSend",
301
306
  /**
302
307
  * value: "BalanceUpdateInfo"
303
308
  * @const
@@ -318,6 +323,11 @@ BalanceUpdateInfoEventData['DataTypeEnum'] = {
318
323
  * @const
319
324
  */
320
325
  "ComplianceKytScreenings": "ComplianceKytScreenings",
326
+ /**
327
+ * value: "ComplianceKyaScreenings"
328
+ * @const
329
+ */
330
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
321
331
  /**
322
332
  * value: "unknown_default_open_api"
323
333
  * @const
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _AllocationRequest = _interopRequireDefault(require("./AllocationRequest"));
8
+ var _AllocationParam = _interopRequireDefault(require("./AllocationParam"));
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
10
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
11
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
@@ -75,8 +75,8 @@ var BatchAllocation = /*#__PURE__*/function () {
75
75
  if (data.hasOwnProperty('request_id')) {
76
76
  obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
77
77
  }
78
- if (data.hasOwnProperty('allocation_requests')) {
79
- obj['allocation_requests'] = _ApiClient["default"].convertToType(data['allocation_requests'], [_AllocationRequest["default"]]);
78
+ if (data.hasOwnProperty('allocation_params')) {
79
+ obj['allocation_params'] = _ApiClient["default"].convertToType(data['allocation_params'], [_AllocationParam["default"]]);
80
80
  }
81
81
  if (data.hasOwnProperty('initiator')) {
82
82
  obj['initiator'] = _ApiClient["default"].convertToType(data['initiator'], 'String');
@@ -122,19 +122,19 @@ var BatchAllocation = /*#__PURE__*/function () {
122
122
  if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
123
123
  throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
124
124
  }
125
- if (data['allocation_requests']) {
125
+ if (data['allocation_params']) {
126
126
  // data not null
127
127
  // ensure the json data is an array
128
- if (!Array.isArray(data['allocation_requests'])) {
129
- throw new Error("Expected the field `allocation_requests` to be an array in the JSON data but got " + data['allocation_requests']);
128
+ if (!Array.isArray(data['allocation_params'])) {
129
+ throw new Error("Expected the field `allocation_params` to be an array in the JSON data but got " + data['allocation_params']);
130
130
  }
131
- // validate the optional field `allocation_requests` (array)
132
- var _iterator2 = _createForOfIteratorHelper(data['allocation_requests']),
131
+ // validate the optional field `allocation_params` (array)
132
+ var _iterator2 = _createForOfIteratorHelper(data['allocation_params']),
133
133
  _step2;
134
134
  try {
135
135
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
136
136
  var item = _step2.value;
137
- _AllocationRequest["default"].validateJSON(item);
137
+ _AllocationParam["default"].validateJSON(item);
138
138
  }
139
139
  } catch (err) {
140
140
  _iterator2.e(err);
@@ -166,12 +166,12 @@ BatchAllocation.prototype['batch_allocation_id'] = undefined;
166
166
  BatchAllocation.prototype['request_id'] = undefined;
167
167
 
168
168
  /**
169
- * @member {Array.<module:model/AllocationRequest>} allocation_requests
169
+ * @member {Array.<module:model/AllocationParam>} allocation_params
170
170
  */
171
- BatchAllocation.prototype['allocation_requests'] = undefined;
171
+ BatchAllocation.prototype['allocation_params'] = undefined;
172
172
 
173
173
  /**
174
- * The initiator of this batch allocation, usually the user's API key.
174
+ * The initiator of this batch allocation, usually the API key you used to create the batch allocation.
175
175
  * @member {String} initiator
176
176
  */
177
177
  BatchAllocation.prototype['initiator'] = undefined;