@cobo/cobo-waas2 1.36.0 → 1.37.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 (74) hide show
  1. package/README.md +8 -1
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/PaymentApi.js +77 -0
  4. package/dist/index.js +42 -0
  5. package/dist/model/AddressesEventData.js +13 -3
  6. package/dist/model/BalanceUpdateInfoEventData.js +13 -3
  7. package/dist/model/ChainsEventData.js +13 -3
  8. package/dist/model/ComplianceDispositionUpdateEventData.js +13 -3
  9. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +13 -3
  10. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +13 -3
  11. package/dist/model/FiatTransactionEventData.js +431 -0
  12. package/dist/model/MPCVaultEventData.js +13 -3
  13. package/dist/model/OrganizationEventData.js +270 -0
  14. package/dist/model/PaymentAddressUpdateEventData.js +13 -3
  15. package/dist/model/PaymentBalanceChange.js +248 -0
  16. package/dist/model/PaymentBalanceChangeResponse.js +125 -0
  17. package/dist/model/PaymentBalanceChangeSourceType.js +106 -0
  18. package/dist/model/PaymentBalanceFlowDirection.js +61 -0
  19. package/dist/model/PaymentBulkSend.js +17 -0
  20. package/dist/model/PaymentBulkSendEvent.js +35 -3
  21. package/dist/model/PaymentBulkSendItem.js +13 -0
  22. package/dist/model/PaymentOrderEventData.js +13 -3
  23. package/dist/model/PaymentPayout.js +1 -1
  24. package/dist/model/PaymentPayoutDetail.js +2 -2
  25. package/dist/model/PaymentPayoutEvent.js +15 -5
  26. package/dist/model/PaymentRefundEventData.js +16 -4
  27. package/dist/model/PaymentSettlementEvent.js +13 -3
  28. package/dist/model/PaymentTransactionEventData.js +13 -3
  29. package/dist/model/Refund.js +2 -1
  30. package/dist/model/SuspendedTokenEventData.js +13 -3
  31. package/dist/model/TSSRequestWebhookEventData.js +13 -3
  32. package/dist/model/TokenListingEventData.js +13 -3
  33. package/dist/model/TokensEventData.js +13 -3
  34. package/dist/model/TransactionWebhookEventData.js +13 -3
  35. package/dist/model/WalletInfoEventData.js +13 -3
  36. package/dist/model/WebhookEventData.js +99 -18
  37. package/dist/model/WebhookEventDataType.js +12 -2
  38. package/dist/model/WebhookEventType.js +20 -0
  39. package/docs/AddressesEventData.md +5 -1
  40. package/docs/BalanceUpdateInfoEventData.md +5 -1
  41. package/docs/ChainsEventData.md +5 -1
  42. package/docs/ComplianceDispositionUpdateEventData.md +5 -1
  43. package/docs/ComplianceKyaScreeningsUpdateEventData.md +5 -1
  44. package/docs/ComplianceKytScreeningsUpdateEventData.md +5 -1
  45. package/docs/FiatTransactionEventData.md +84 -0
  46. package/docs/MPCVaultEventData.md +5 -1
  47. package/docs/OrganizationEventData.md +64 -0
  48. package/docs/PaymentAddressUpdateEventData.md +5 -1
  49. package/docs/PaymentApi.md +71 -0
  50. package/docs/PaymentBalanceChange.md +19 -0
  51. package/docs/PaymentBalanceChangeResponse.md +10 -0
  52. package/docs/PaymentBalanceChangeSourceType.md +30 -0
  53. package/docs/PaymentBalanceFlowDirection.md +12 -0
  54. package/docs/PaymentBulkSend.md +1 -0
  55. package/docs/PaymentBulkSendEvent.md +6 -1
  56. package/docs/PaymentBulkSendItem.md +1 -0
  57. package/docs/PaymentOrderEventData.md +5 -1
  58. package/docs/PaymentPayout.md +1 -1
  59. package/docs/PaymentPayoutDetail.md +1 -1
  60. package/docs/PaymentPayoutEvent.md +6 -2
  61. package/docs/PaymentRefundEventData.md +6 -2
  62. package/docs/PaymentSettlementEvent.md +5 -1
  63. package/docs/PaymentTransactionEventData.md +5 -1
  64. package/docs/Refund.md +1 -1
  65. package/docs/SuspendedTokenEventData.md +5 -1
  66. package/docs/TSSRequestWebhookEventData.md +5 -1
  67. package/docs/TokenListingEventData.md +5 -1
  68. package/docs/TokensEventData.md +5 -1
  69. package/docs/TransactionWebhookEventData.md +5 -1
  70. package/docs/WalletInfoEventData.md +5 -1
  71. package/docs/WebhookEventData.md +30 -9
  72. package/docs/WebhookEventDataType.md +5 -1
  73. package/docs/WebhookEventType.md +8 -0
  74. package/package.json +1 -1
@@ -0,0 +1,431 @@
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. - `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. - `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. - `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: "BalanceUpdateInfo"
369
+ * @const
370
+ */
371
+ "BalanceUpdateInfo": "BalanceUpdateInfo",
372
+ /**
373
+ * value: "SuspendedToken"
374
+ * @const
375
+ */
376
+ "SuspendedToken": "SuspendedToken",
377
+ /**
378
+ * value: "ComplianceDisposition"
379
+ * @const
380
+ */
381
+ "ComplianceDisposition": "ComplianceDisposition",
382
+ /**
383
+ * value: "ComplianceKytScreenings"
384
+ * @const
385
+ */
386
+ "ComplianceKytScreenings": "ComplianceKytScreenings",
387
+ /**
388
+ * value: "ComplianceKyaScreenings"
389
+ * @const
390
+ */
391
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
392
+ /**
393
+ * value: "Organization"
394
+ * @const
395
+ */
396
+ "Organization": "Organization",
397
+ /**
398
+ * value: "FiatTransaction"
399
+ * @const
400
+ */
401
+ "FiatTransaction": "FiatTransaction",
402
+ /**
403
+ * value: "unknown_default_open_api"
404
+ * @const
405
+ */
406
+ "unknown_default_open_api": "unknown_default_open_api"
407
+ };
408
+
409
+ /**
410
+ * Allowed values for the <code>status</code> property.
411
+ * @enum {String}
412
+ * @readonly
413
+ */
414
+ FiatTransactionEventData['StatusEnum'] = {
415
+ /**
416
+ * value: "Created"
417
+ * @const
418
+ */
419
+ "Created": "Created",
420
+ /**
421
+ * value: "Succeeded"
422
+ * @const
423
+ */
424
+ "Succeeded": "Succeeded",
425
+ /**
426
+ * value: "unknown_default_open_api"
427
+ * @const
428
+ */
429
+ "unknown_default_open_api": "unknown_default_open_api"
430
+ };
431
+ 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. - `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. - `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. - `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;
@@ -345,6 +345,16 @@ MPCVaultEventData['DataTypeEnum'] = {
345
345
  * @const
346
346
  */
347
347
  "ComplianceKyaScreenings": "ComplianceKyaScreenings",
348
+ /**
349
+ * value: "Organization"
350
+ * @const
351
+ */
352
+ "Organization": "Organization",
353
+ /**
354
+ * value: "FiatTransaction"
355
+ * @const
356
+ */
357
+ "FiatTransaction": "FiatTransaction",
348
358
  /**
349
359
  * value: "unknown_default_open_api"
350
360
  * @const