@cobo/cobo-waas2 1.36.0 → 1.38.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 (92) hide show
  1. package/README.md +9 -1
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/PaymentApi.js +77 -0
  4. package/dist/index.js +49 -0
  5. package/dist/model/AddressesEventData.js +18 -3
  6. package/dist/model/ApprovalUserDetail.js +13 -0
  7. package/dist/model/BalanceUpdateInfoEventData.js +18 -3
  8. package/dist/model/ChainsEventData.js +18 -3
  9. package/dist/model/ComplianceDispositionUpdateEventData.js +18 -3
  10. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +18 -3
  11. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +18 -3
  12. package/dist/model/CreateBulkSendRequest.js +1 -1
  13. package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +1 -1
  14. package/dist/model/EstimatedSOLFeeSlow.js +2 -2
  15. package/dist/model/FiatTransactionEventData.js +436 -0
  16. package/dist/model/MPCVaultEventData.js +18 -3
  17. package/dist/model/OrganizationEventData.js +275 -0
  18. package/dist/model/PaymentAccountBalanceUpdateEventData.js +418 -0
  19. package/dist/model/PaymentAddressUpdateEventData.js +31 -3
  20. package/dist/model/PaymentBalanceChange.js +248 -0
  21. package/dist/model/PaymentBalanceChangeResponse.js +125 -0
  22. package/dist/model/PaymentBalanceChangeSourceType.js +106 -0
  23. package/dist/model/PaymentBalanceFlowDirection.js +61 -0
  24. package/dist/model/PaymentBulkSend.js +17 -0
  25. package/dist/model/PaymentBulkSendEvent.js +40 -3
  26. package/dist/model/PaymentBulkSendItem.js +13 -0
  27. package/dist/model/PaymentOrderEventData.js +18 -3
  28. package/dist/model/PaymentPayout.js +1 -1
  29. package/dist/model/PaymentPayoutDetail.js +2 -2
  30. package/dist/model/PaymentPayoutEvent.js +20 -5
  31. package/dist/model/PaymentPayoutRecipientInfo.js +1 -1
  32. package/dist/model/PaymentRefundEventData.js +21 -4
  33. package/dist/model/PaymentSettlementEvent.js +18 -3
  34. package/dist/model/PaymentTransactionEventData.js +57 -3
  35. package/dist/model/Refund.js +2 -1
  36. package/dist/model/SOLBase.js +1 -1
  37. package/dist/model/SuspendedTokenEventData.js +18 -3
  38. package/dist/model/TSSRequestWebhookEventData.js +18 -3
  39. package/dist/model/TokenListingEventData.js +18 -3
  40. package/dist/model/TokensEventData.js +18 -3
  41. package/dist/model/TransactionFee.js +1 -1
  42. package/dist/model/TransactionSOLFee.js +3 -3
  43. package/dist/model/TransactionWebhookEventData.js +18 -3
  44. package/dist/model/WalletInfoEventData.js +18 -3
  45. package/dist/model/WebhookEventData.js +195 -20
  46. package/dist/model/WebhookEventDataType.js +17 -2
  47. package/dist/model/WebhookEventType.js +25 -0
  48. package/docs/AddressesEventData.md +7 -1
  49. package/docs/ApprovalUserDetail.md +1 -0
  50. package/docs/BalanceUpdateInfoEventData.md +7 -1
  51. package/docs/ChainsEventData.md +7 -1
  52. package/docs/ComplianceDispositionUpdateEventData.md +7 -1
  53. package/docs/ComplianceKyaScreeningsUpdateEventData.md +7 -1
  54. package/docs/ComplianceKytScreeningsUpdateEventData.md +7 -1
  55. package/docs/CreateBulkSendRequest.md +1 -1
  56. package/docs/CreateBulkSendRequestPayoutParamsInner.md +1 -1
  57. package/docs/EstimatedSOLFeeSlow.md +1 -1
  58. package/docs/FiatTransactionEventData.md +86 -0
  59. package/docs/MPCVaultEventData.md +7 -1
  60. package/docs/OrganizationEventData.md +66 -0
  61. package/docs/PaymentAccountBalanceUpdateEventData.md +76 -0
  62. package/docs/PaymentAddressUpdateEventData.md +8 -1
  63. package/docs/PaymentApi.md +71 -0
  64. package/docs/PaymentBalanceChange.md +19 -0
  65. package/docs/PaymentBalanceChangeResponse.md +10 -0
  66. package/docs/PaymentBalanceChangeSourceType.md +30 -0
  67. package/docs/PaymentBalanceFlowDirection.md +12 -0
  68. package/docs/PaymentBulkSend.md +1 -0
  69. package/docs/PaymentBulkSendEvent.md +8 -1
  70. package/docs/PaymentBulkSendItem.md +1 -0
  71. package/docs/PaymentOrderEventData.md +7 -1
  72. package/docs/PaymentPayout.md +1 -1
  73. package/docs/PaymentPayoutDetail.md +1 -1
  74. package/docs/PaymentPayoutEvent.md +8 -2
  75. package/docs/PaymentPayoutRecipientInfo.md +1 -1
  76. package/docs/PaymentRefundEventData.md +8 -2
  77. package/docs/PaymentSettlementEvent.md +7 -1
  78. package/docs/PaymentTransactionEventData.md +10 -1
  79. package/docs/Refund.md +1 -1
  80. package/docs/SOLBase.md +1 -1
  81. package/docs/SuspendedTokenEventData.md +7 -1
  82. package/docs/TSSRequestWebhookEventData.md +7 -1
  83. package/docs/TokenListingEventData.md +7 -1
  84. package/docs/TokensEventData.md +7 -1
  85. package/docs/TransactionFee.md +1 -1
  86. package/docs/TransactionSOLFee.md +2 -2
  87. package/docs/TransactionWebhookEventData.md +7 -1
  88. package/docs/WalletInfoEventData.md +7 -1
  89. package/docs/WebhookEventData.md +45 -11
  90. package/docs/WebhookEventDataType.md +7 -1
  91. package/docs/WebhookEventType.md +10 -0
  92. package/package.json +1 -1
@@ -39,7 +39,7 @@ var ComplianceKytScreeningsUpdateEventData = /*#__PURE__*/function () {
39
39
  * @alias module:model/ComplianceKytScreeningsUpdateEventData
40
40
  * @implements module:model/WebhookEventDataType
41
41
  * @implements module:model/KytScreeningsEventData
42
- * @param data_type {module:model/ComplianceKytScreeningsUpdateEventData.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.
42
+ * @param data_type {module:model/ComplianceKytScreeningsUpdateEventData.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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
43
43
  * @param transaction_id {String} The transaction ID.
44
44
  * @param transaction_type {module:model/KytScreeningsTransactionType}
45
45
  * @param review_status {module:model/ReviewStatusType}
@@ -143,7 +143,7 @@ var ComplianceKytScreeningsUpdateEventData = /*#__PURE__*/function () {
143
143
  ComplianceKytScreeningsUpdateEventData.RequiredProperties = ["data_type", "transaction_id", "transaction_type", "review_status", "funds_status", "updated_timestamp"];
144
144
 
145
145
  /**
146
- * 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.
146
+ * 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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
147
147
  * @member {module:model/ComplianceKytScreeningsUpdateEventData.DataTypeEnum} data_type
148
148
  */
149
149
  ComplianceKytScreeningsUpdateEventData.prototype['data_type'] = undefined;
@@ -177,7 +177,7 @@ ComplianceKytScreeningsUpdateEventData.prototype['updated_timestamp'] = undefine
177
177
 
178
178
  // Implement WebhookEventDataType interface:
179
179
  /**
180
- * 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.
180
+ * 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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
181
181
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
182
182
  */
183
183
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -286,6 +286,11 @@ ComplianceKytScreeningsUpdateEventData['DataTypeEnum'] = {
286
286
  * @const
287
287
  */
288
288
  "PaymentBulkSend": "PaymentBulkSend",
289
+ /**
290
+ * value: "PaymentAccountBalanceUpdate"
291
+ * @const
292
+ */
293
+ "PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
289
294
  /**
290
295
  * value: "BalanceUpdateInfo"
291
296
  * @const
@@ -311,6 +316,16 @@ ComplianceKytScreeningsUpdateEventData['DataTypeEnum'] = {
311
316
  * @const
312
317
  */
313
318
  "ComplianceKyaScreenings": "ComplianceKyaScreenings",
319
+ /**
320
+ * value: "Organization"
321
+ * @const
322
+ */
323
+ "Organization": "Organization",
324
+ /**
325
+ * value: "FiatTransaction"
326
+ * @const
327
+ */
328
+ "FiatTransaction": "FiatTransaction",
314
329
  /**
315
330
  * value: "unknown_default_open_api"
316
331
  * @const
@@ -167,7 +167,7 @@ CreateBulkSendRequest.prototype['source_account'] = undefined;
167
167
  CreateBulkSendRequest.prototype['execution_mode'] = undefined;
168
168
 
169
169
  /**
170
- * The description for the entire bulk send batch.
170
+ * The description for the entire bulk send batch. Maximum length: 255 characters.
171
171
  * @member {String} description
172
172
  */
173
173
  CreateBulkSendRequest.prototype['description'] = undefined;
@@ -146,7 +146,7 @@ CreateBulkSendRequestPayoutParamsInner.prototype['receiving_address'] = undefine
146
146
  CreateBulkSendRequestPayoutParamsInner.prototype['amount'] = undefined;
147
147
 
148
148
  /**
149
- * A note or comment about the bulk send item.
149
+ * A note or comment about the bulk send item. Maximum length: 255 characters.
150
150
  * @member {String} description
151
151
  */
152
152
  CreateBulkSendRequestPayoutParamsInner.prototype['description'] = undefined;
@@ -154,7 +154,7 @@ EstimatedSOLFeeSlow.prototype['compute_unit_limit'] = undefined;
154
154
  EstimatedSOLFeeSlow.prototype['base_fee'] = undefined;
155
155
 
156
156
  /**
157
- * The rent fee charged by the network to store non–rent-exempt accounts on-chain. It is deducted periodically until the account maintains the minimum balance required for rent exemption.
157
+ * The one-time rent required to create and initialize a Solana token Associated Token Account (ATA) — a token sub-address that must be activated before the token can be received or used. This rent is paid by the main (source) address. It is populated only when an ATA must be activated for the transaction; otherwise it is null.
158
158
  * @member {String} rent_amount
159
159
  */
160
160
  EstimatedSOLFeeSlow.prototype['rent_amount'] = undefined;
@@ -177,7 +177,7 @@ _SOLComputeUnit["default"].prototype['compute_unit_limit'] = undefined;
177
177
  */
178
178
  _SOLBase["default"].prototype['base_fee'] = undefined;
179
179
  /**
180
- * The rent fee charged by the network to store non–rent-exempt accounts on-chain. It is deducted periodically until the account maintains the minimum balance required for rent exemption.
180
+ * The one-time rent required to create and initialize a Solana token Associated Token Account (ATA) — a token sub-address that must be activated before the token can be received or used. This rent is paid by the main (source) address. It is populated only when an ATA must be activated for the transaction; otherwise it is null.
181
181
  * @member {String} rent_amount
182
182
  */
183
183
  _SOLBase["default"].prototype['rent_amount'] = undefined;
@@ -0,0 +1,436 @@
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
+ var _FeeStationFiatTransaction = _interopRequireDefault(require("./FeeStationFiatTransaction"));
9
+ var _FeeStationFiatTransactionType = _interopRequireDefault(require("./FeeStationFiatTransactionType"));
10
+ var _WebhookEventDataType = _interopRequireDefault(require("./WebhookEventDataType"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ 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); }
13
+ 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; } } }; }
14
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
15
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
16
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
17
+ 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); } }
18
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
20
+ 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); } /**
21
+ * Cobo Wallet as a Service 2.0
22
+ *
23
+ * Contact: help@cobo.com
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
+ /**
31
+ * The FiatTransactionEventData model module.
32
+ * @module model/FiatTransactionEventData
33
+ */
34
+ var FiatTransactionEventData = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>FiatTransactionEventData</code>.
37
+ * @alias module:model/FiatTransactionEventData
38
+ * @implements module:model/WebhookEventDataType
39
+ * @implements module:model/FeeStationFiatTransaction
40
+ * @param data_type {module:model/FiatTransactionEventData.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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
41
+ * @param transaction_id {String} The transaction ID.
42
+ * @param transaction_type {module:model/FeeStationFiatTransactionType}
43
+ * @param amount {String} The transaction amount.
44
+ * @param fiat_currency {String} The fiat currency of the transaction. Possible values include: - `USD`: US Dollar.
45
+ * @param status {module:model/FiatTransactionEventData.StatusEnum} The status of the fiat transaction. Possible values include: - `Created`: The transaction has been created. - `Succeeded`: The transaction has been completed successfully.
46
+ */
47
+ function FiatTransactionEventData(data_type, transaction_id, transaction_type, amount, fiat_currency, status) {
48
+ _classCallCheck(this, FiatTransactionEventData);
49
+ _WebhookEventDataType["default"].initialize(this, data_type);
50
+ _FeeStationFiatTransaction["default"].initialize(this, transaction_id, transaction_type, amount, fiat_currency, status);
51
+ FiatTransactionEventData.initialize(this, data_type, transaction_id, transaction_type, amount, fiat_currency, status);
52
+ }
53
+
54
+ /**
55
+ * Initializes the fields of this object.
56
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
57
+ * Only for internal use.
58
+ */
59
+ return _createClass(FiatTransactionEventData, null, [{
60
+ key: "initialize",
61
+ value: function initialize(obj, data_type, transaction_id, transaction_type, amount, fiat_currency, status) {
62
+ obj['data_type'] = data_type;
63
+ obj['transaction_id'] = transaction_id;
64
+ obj['transaction_type'] = transaction_type;
65
+ obj['amount'] = amount;
66
+ obj['fiat_currency'] = fiat_currency;
67
+ obj['status'] = status;
68
+ }
69
+
70
+ /**
71
+ * Constructs a <code>FiatTransactionEventData</code> from a plain JavaScript object, optionally creating a new instance.
72
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
73
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
74
+ * @param {module:model/FiatTransactionEventData} obj Optional instance to populate.
75
+ * @return {module:model/FiatTransactionEventData} The populated <code>FiatTransactionEventData</code> instance.
76
+ */
77
+ }, {
78
+ key: "constructFromObject",
79
+ value: function constructFromObject(data, obj) {
80
+ if (data) {
81
+ obj = obj || new FiatTransactionEventData();
82
+ _WebhookEventDataType["default"].constructFromObject(data, obj);
83
+ _FeeStationFiatTransaction["default"].constructFromObject(data, obj);
84
+ if (data.hasOwnProperty('data_type')) {
85
+ obj['data_type'] = _ApiClient["default"].convertToType(data['data_type'], 'String');
86
+ }
87
+ if (data.hasOwnProperty('transaction_id')) {
88
+ obj['transaction_id'] = _ApiClient["default"].convertToType(data['transaction_id'], 'String');
89
+ }
90
+ if (data.hasOwnProperty('main_transaction_id')) {
91
+ obj['main_transaction_id'] = _ApiClient["default"].convertToType(data['main_transaction_id'], 'String');
92
+ }
93
+ if (data.hasOwnProperty('transaction_type')) {
94
+ obj['transaction_type'] = _FeeStationFiatTransactionType["default"].constructFromObject(data['transaction_type']);
95
+ }
96
+ if (data.hasOwnProperty('amount')) {
97
+ obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'String');
98
+ }
99
+ if (data.hasOwnProperty('fiat_currency')) {
100
+ obj['fiat_currency'] = _ApiClient["default"].convertToType(data['fiat_currency'], 'String');
101
+ }
102
+ if (data.hasOwnProperty('status')) {
103
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
104
+ }
105
+ if (data.hasOwnProperty('cobo_category')) {
106
+ obj['cobo_category'] = _ApiClient["default"].convertToType(data['cobo_category'], ['String']);
107
+ }
108
+ if (data.hasOwnProperty('created_timestamp')) {
109
+ obj['created_timestamp'] = _ApiClient["default"].convertToType(data['created_timestamp'], 'Number');
110
+ }
111
+ if (data.hasOwnProperty('modified_timestamp')) {
112
+ obj['modified_timestamp'] = _ApiClient["default"].convertToType(data['modified_timestamp'], 'Number');
113
+ }
114
+ }
115
+ return obj;
116
+ }
117
+
118
+ /**
119
+ * Validates the JSON data with respect to <code>FiatTransactionEventData</code>.
120
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
121
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>FiatTransactionEventData</code>.
122
+ */
123
+ }, {
124
+ key: "validateJSON",
125
+ value: function validateJSON(data) {
126
+ // check to make sure all required properties are present in the JSON string
127
+ var _iterator = _createForOfIteratorHelper(FiatTransactionEventData.RequiredProperties),
128
+ _step;
129
+ try {
130
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
131
+ var property = _step.value;
132
+ if (!data.hasOwnProperty(property)) {
133
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
134
+ }
135
+ }
136
+ // ensure the json data is a string
137
+ } catch (err) {
138
+ _iterator.e(err);
139
+ } finally {
140
+ _iterator.f();
141
+ }
142
+ if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
143
+ throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
144
+ }
145
+ // ensure the json data is a string
146
+ if (data['transaction_id'] && !(typeof data['transaction_id'] === 'string' || data['transaction_id'] instanceof String)) {
147
+ throw new Error("Expected the field `transaction_id` to be a primitive type in the JSON string but got " + data['transaction_id']);
148
+ }
149
+ // ensure the json data is a string
150
+ if (data['main_transaction_id'] && !(typeof data['main_transaction_id'] === 'string' || data['main_transaction_id'] instanceof String)) {
151
+ throw new Error("Expected the field `main_transaction_id` to be a primitive type in the JSON string but got " + data['main_transaction_id']);
152
+ }
153
+ // ensure the json data is a string
154
+ if (data['amount'] && !(typeof data['amount'] === 'string' || data['amount'] instanceof String)) {
155
+ throw new Error("Expected the field `amount` to be a primitive type in the JSON string but got " + data['amount']);
156
+ }
157
+ // ensure the json data is a string
158
+ if (data['fiat_currency'] && !(typeof data['fiat_currency'] === 'string' || data['fiat_currency'] instanceof String)) {
159
+ throw new Error("Expected the field `fiat_currency` to be a primitive type in the JSON string but got " + data['fiat_currency']);
160
+ }
161
+ // ensure the json data is a string
162
+ if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
163
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
164
+ }
165
+ // ensure the json data is an array
166
+ if (!Array.isArray(data['cobo_category'])) {
167
+ throw new Error("Expected the field `cobo_category` to be an array in the JSON data but got " + data['cobo_category']);
168
+ }
169
+ return true;
170
+ }
171
+ }]);
172
+ }();
173
+ FiatTransactionEventData.RequiredProperties = ["data_type", "transaction_id", "transaction_type", "amount", "fiat_currency", "status"];
174
+
175
+ /**
176
+ * 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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
177
+ * @member {module:model/FiatTransactionEventData.DataTypeEnum} data_type
178
+ */
179
+ FiatTransactionEventData.prototype['data_type'] = undefined;
180
+
181
+ /**
182
+ * The transaction ID.
183
+ * @member {String} transaction_id
184
+ */
185
+ FiatTransactionEventData.prototype['transaction_id'] = undefined;
186
+
187
+ /**
188
+ * The UUID of the parent (main) transaction that this record is associated with. Set only when the current record is a gas/fee transaction initiated by FeeStation; omit for main transactions.
189
+ * @member {String} main_transaction_id
190
+ */
191
+ FiatTransactionEventData.prototype['main_transaction_id'] = undefined;
192
+
193
+ /**
194
+ * @member {module:model/FeeStationFiatTransactionType} transaction_type
195
+ */
196
+ FiatTransactionEventData.prototype['transaction_type'] = undefined;
197
+
198
+ /**
199
+ * The transaction amount.
200
+ * @member {String} amount
201
+ */
202
+ FiatTransactionEventData.prototype['amount'] = undefined;
203
+
204
+ /**
205
+ * The fiat currency of the transaction. Possible values include: - `USD`: US Dollar.
206
+ * @member {String} fiat_currency
207
+ */
208
+ FiatTransactionEventData.prototype['fiat_currency'] = undefined;
209
+
210
+ /**
211
+ * The status of the fiat transaction. Possible values include: - `Created`: The transaction has been created. - `Succeeded`: The transaction has been completed successfully.
212
+ * @member {module:model/FiatTransactionEventData.StatusEnum} status
213
+ */
214
+ FiatTransactionEventData.prototype['status'] = undefined;
215
+
216
+ /**
217
+ * The Cobo category of the transaction.
218
+ * @member {Array.<String>} cobo_category
219
+ */
220
+ FiatTransactionEventData.prototype['cobo_category'] = undefined;
221
+
222
+ /**
223
+ * The time when the transaction was created, in Unix timestamp format, measured in milliseconds.
224
+ * @member {Number} created_timestamp
225
+ */
226
+ FiatTransactionEventData.prototype['created_timestamp'] = undefined;
227
+
228
+ /**
229
+ * The time when the transaction was last modified, in Unix timestamp format, measured in milliseconds.
230
+ * @member {Number} modified_timestamp
231
+ */
232
+ FiatTransactionEventData.prototype['modified_timestamp'] = undefined;
233
+
234
+ // Implement WebhookEventDataType interface:
235
+ /**
236
+ * 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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
237
+ * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
238
+ */
239
+ _WebhookEventDataType["default"].prototype['data_type'] = undefined;
240
+ // Implement FeeStationFiatTransaction interface:
241
+ /**
242
+ * The transaction ID.
243
+ * @member {String} transaction_id
244
+ */
245
+ _FeeStationFiatTransaction["default"].prototype['transaction_id'] = undefined;
246
+ /**
247
+ * The UUID of the parent (main) transaction that this record is associated with. Set only when the current record is a gas/fee transaction initiated by FeeStation; omit for main transactions.
248
+ * @member {String} main_transaction_id
249
+ */
250
+ _FeeStationFiatTransaction["default"].prototype['main_transaction_id'] = undefined;
251
+ /**
252
+ * @member {module:model/FeeStationFiatTransactionType} transaction_type
253
+ */
254
+ _FeeStationFiatTransaction["default"].prototype['transaction_type'] = undefined;
255
+ /**
256
+ * The transaction amount.
257
+ * @member {String} amount
258
+ */
259
+ _FeeStationFiatTransaction["default"].prototype['amount'] = undefined;
260
+ /**
261
+ * The fiat currency of the transaction. Possible values include: - `USD`: US Dollar.
262
+ * @member {String} fiat_currency
263
+ */
264
+ _FeeStationFiatTransaction["default"].prototype['fiat_currency'] = undefined;
265
+ /**
266
+ * The status of the fiat transaction. Possible values include: - `Created`: The transaction has been created. - `Succeeded`: The transaction has been completed successfully.
267
+ * @member {module:model/FeeStationFiatTransaction.StatusEnum} status
268
+ */
269
+ _FeeStationFiatTransaction["default"].prototype['status'] = undefined;
270
+ /**
271
+ * The Cobo category of the transaction.
272
+ * @member {Array.<String>} cobo_category
273
+ */
274
+ _FeeStationFiatTransaction["default"].prototype['cobo_category'] = undefined;
275
+ /**
276
+ * The time when the transaction was created, in Unix timestamp format, measured in milliseconds.
277
+ * @member {Number} created_timestamp
278
+ */
279
+ _FeeStationFiatTransaction["default"].prototype['created_timestamp'] = undefined;
280
+ /**
281
+ * The time when the transaction was last modified, in Unix timestamp format, measured in milliseconds.
282
+ * @member {Number} modified_timestamp
283
+ */
284
+ _FeeStationFiatTransaction["default"].prototype['modified_timestamp'] = undefined;
285
+
286
+ /**
287
+ * Allowed values for the <code>data_type</code> property.
288
+ * @enum {String}
289
+ * @readonly
290
+ */
291
+ FiatTransactionEventData['DataTypeEnum'] = {
292
+ /**
293
+ * value: "Transaction"
294
+ * @const
295
+ */
296
+ "Transaction": "Transaction",
297
+ /**
298
+ * value: "TSSRequest"
299
+ * @const
300
+ */
301
+ "TSSRequest": "TSSRequest",
302
+ /**
303
+ * value: "Addresses"
304
+ * @const
305
+ */
306
+ "Addresses": "Addresses",
307
+ /**
308
+ * value: "WalletInfo"
309
+ * @const
310
+ */
311
+ "WalletInfo": "WalletInfo",
312
+ /**
313
+ * value: "MPCVault"
314
+ * @const
315
+ */
316
+ "MPCVault": "MPCVault",
317
+ /**
318
+ * value: "Chains"
319
+ * @const
320
+ */
321
+ "Chains": "Chains",
322
+ /**
323
+ * value: "Tokens"
324
+ * @const
325
+ */
326
+ "Tokens": "Tokens",
327
+ /**
328
+ * value: "TokenListing"
329
+ * @const
330
+ */
331
+ "TokenListing": "TokenListing",
332
+ /**
333
+ * value: "PaymentOrder"
334
+ * @const
335
+ */
336
+ "PaymentOrder": "PaymentOrder",
337
+ /**
338
+ * value: "PaymentRefund"
339
+ * @const
340
+ */
341
+ "PaymentRefund": "PaymentRefund",
342
+ /**
343
+ * value: "PaymentSettlement"
344
+ * @const
345
+ */
346
+ "PaymentSettlement": "PaymentSettlement",
347
+ /**
348
+ * value: "PaymentTransaction"
349
+ * @const
350
+ */
351
+ "PaymentTransaction": "PaymentTransaction",
352
+ /**
353
+ * value: "PaymentAddressUpdate"
354
+ * @const
355
+ */
356
+ "PaymentAddressUpdate": "PaymentAddressUpdate",
357
+ /**
358
+ * value: "PaymentPayout"
359
+ * @const
360
+ */
361
+ "PaymentPayout": "PaymentPayout",
362
+ /**
363
+ * value: "PaymentBulkSend"
364
+ * @const
365
+ */
366
+ "PaymentBulkSend": "PaymentBulkSend",
367
+ /**
368
+ * value: "PaymentAccountBalanceUpdate"
369
+ * @const
370
+ */
371
+ "PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
372
+ /**
373
+ * value: "BalanceUpdateInfo"
374
+ * @const
375
+ */
376
+ "BalanceUpdateInfo": "BalanceUpdateInfo",
377
+ /**
378
+ * value: "SuspendedToken"
379
+ * @const
380
+ */
381
+ "SuspendedToken": "SuspendedToken",
382
+ /**
383
+ * value: "ComplianceDisposition"
384
+ * @const
385
+ */
386
+ "ComplianceDisposition": "ComplianceDisposition",
387
+ /**
388
+ * value: "ComplianceKytScreenings"
389
+ * @const
390
+ */
391
+ "ComplianceKytScreenings": "ComplianceKytScreenings",
392
+ /**
393
+ * value: "ComplianceKyaScreenings"
394
+ * @const
395
+ */
396
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
397
+ /**
398
+ * value: "Organization"
399
+ * @const
400
+ */
401
+ "Organization": "Organization",
402
+ /**
403
+ * value: "FiatTransaction"
404
+ * @const
405
+ */
406
+ "FiatTransaction": "FiatTransaction",
407
+ /**
408
+ * value: "unknown_default_open_api"
409
+ * @const
410
+ */
411
+ "unknown_default_open_api": "unknown_default_open_api"
412
+ };
413
+
414
+ /**
415
+ * Allowed values for the <code>status</code> property.
416
+ * @enum {String}
417
+ * @readonly
418
+ */
419
+ FiatTransactionEventData['StatusEnum'] = {
420
+ /**
421
+ * value: "Created"
422
+ * @const
423
+ */
424
+ "Created": "Created",
425
+ /**
426
+ * value: "Succeeded"
427
+ * @const
428
+ */
429
+ "Succeeded": "Succeeded",
430
+ /**
431
+ * value: "unknown_default_open_api"
432
+ * @const
433
+ */
434
+ "unknown_default_open_api": "unknown_default_open_api"
435
+ };
436
+ var _default = exports["default"] = FiatTransactionEventData;
@@ -38,7 +38,7 @@ var MPCVaultEventData = /*#__PURE__*/function () {
38
38
  * @alias module:model/MPCVaultEventData
39
39
  * @implements module:model/WebhookEventDataType
40
40
  * @implements module:model/MPCVault
41
- * @param data_type {module:model/MPCVaultEventData.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
+ * @param data_type {module:model/MPCVaultEventData.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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
42
42
  */
43
43
  function MPCVaultEventData(data_type) {
44
44
  _classCallCheck(this, MPCVaultEventData);
@@ -164,7 +164,7 @@ var MPCVaultEventData = /*#__PURE__*/function () {
164
164
  MPCVaultEventData.RequiredProperties = ["data_type"];
165
165
 
166
166
  /**
167
- * 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.
167
+ * 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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
168
168
  * @member {module:model/MPCVaultEventData.DataTypeEnum} data_type
169
169
  */
170
170
  MPCVaultEventData.prototype['data_type'] = undefined;
@@ -205,7 +205,7 @@ MPCVaultEventData.prototype['created_timestamp'] = undefined;
205
205
 
206
206
  // Implement WebhookEventDataType interface:
207
207
  /**
208
- * 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.
208
+ * 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. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
209
209
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
210
210
  */
211
211
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -320,6 +320,11 @@ MPCVaultEventData['DataTypeEnum'] = {
320
320
  * @const
321
321
  */
322
322
  "PaymentBulkSend": "PaymentBulkSend",
323
+ /**
324
+ * value: "PaymentAccountBalanceUpdate"
325
+ * @const
326
+ */
327
+ "PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
323
328
  /**
324
329
  * value: "BalanceUpdateInfo"
325
330
  * @const
@@ -345,6 +350,16 @@ MPCVaultEventData['DataTypeEnum'] = {
345
350
  * @const
346
351
  */
347
352
  "ComplianceKyaScreenings": "ComplianceKyaScreenings",
353
+ /**
354
+ * value: "Organization"
355
+ * @const
356
+ */
357
+ "Organization": "Organization",
358
+ /**
359
+ * value: "FiatTransaction"
360
+ * @const
361
+ */
362
+ "FiatTransaction": "FiatTransaction",
348
363
  /**
349
364
  * value: "unknown_default_open_api"
350
365
  * @const