@cobo/cobo-waas2 1.24.0 → 1.26.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 (188) hide show
  1. package/README.md +45 -6
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AutoSweepApi.js +2 -2
  4. package/dist/api/ComplianceApi.js +132 -2
  5. package/dist/api/DevelopersWebhooksApi.js +2 -2
  6. package/dist/api/FeeStationApi.js +6 -6
  7. package/dist/api/PaymentApi.js +109 -24
  8. package/dist/api/TokenizationApi.js +122 -4
  9. package/dist/api/TransactionsApi.js +4 -4
  10. package/dist/index.js +217 -14
  11. package/dist/model/AddressesEventData.js +8 -3
  12. package/dist/model/AutoFuelType.js +5 -0
  13. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  14. package/dist/model/BridgingFee.js +4 -4
  15. package/dist/model/ChainsEventData.js +8 -3
  16. package/dist/model/CommissionFee.js +2 -2
  17. package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
  18. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +305 -0
  19. package/dist/model/CreateCryptoAddressRequest.js +1 -1
  20. package/dist/model/CreateMerchantRequest.js +2 -2
  21. package/dist/model/CreateOrderLinkRequest.js +129 -0
  22. package/dist/model/CreatePaymentOrderRequest.js +21 -8
  23. package/dist/model/CreateRefundLinkRequest.js +129 -0
  24. package/dist/model/CreateRefundRequest.js +2 -2
  25. package/dist/model/CreateSettlement.js +2 -28
  26. package/dist/model/CreateSettlementRequestRequest.js +3 -3
  27. package/dist/model/CustodialTransferDestination.js +1 -1
  28. package/dist/model/FeeStationCheckFeeStationUsage.js +28 -10
  29. package/dist/model/FeeStationCheckFeeStationUsageResponse.js +33 -20
  30. package/dist/model/FeeStationSponsorTransactionDescription.js +125 -0
  31. package/dist/model/FundsStatusType.js +111 -0
  32. package/dist/model/KytScreeningsDecisionsType.js +71 -0
  33. package/dist/model/KytScreeningsEventData.js +155 -0
  34. package/dist/model/KytScreeningsReviewType.js +61 -0
  35. package/dist/model/KytScreeningsTransaction.js +144 -0
  36. package/dist/model/KytScreeningsTransactionType.js +61 -0
  37. package/dist/model/Link.js +125 -0
  38. package/dist/model/LinkDisplayInfo.js +100 -0
  39. package/dist/model/MPCVaultEventData.js +8 -3
  40. package/dist/model/Merchant.js +3 -3
  41. package/dist/model/MerchantBalance.js +1 -1
  42. package/dist/model/Order.js +13 -0
  43. package/dist/model/OrderLinkBusinessInfo.js +261 -0
  44. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +125 -0
  45. package/dist/model/OtcFee.js +3 -3
  46. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  47. package/dist/model/PaymentEstimateFee.js +4 -4
  48. package/dist/model/PaymentEstimateFee201Response.js +1 -0
  49. package/dist/model/PaymentEstimateFeeRequest.js +2 -1
  50. package/dist/model/PaymentEstimatedFee.js +4 -4
  51. package/dist/model/PaymentOrderEventData.js +26 -3
  52. package/dist/model/PaymentRefundEventData.js +8 -3
  53. package/dist/model/PaymentSettlementEvent.js +12 -7
  54. package/dist/model/PaymentTransactionEventData.js +8 -3
  55. package/dist/model/PspBalance.js +1 -1
  56. package/dist/model/RefundLinkBusinessInfo.js +162 -0
  57. package/dist/model/RefundStatus.js +10 -0
  58. package/dist/model/ReviewStatusType.js +91 -0
  59. package/dist/model/Settlement.js +2 -2
  60. package/dist/model/SubmitKytResponse.js +122 -0
  61. package/dist/model/SubmitKytScreeningsDecisionsBody.js +122 -0
  62. package/dist/model/SubmitKytScreeningsReviewBody.js +122 -0
  63. package/dist/model/SupportedToken.js +1 -1
  64. package/dist/model/SuspendedTokenEventData.js +8 -3
  65. package/dist/model/SwapQuote.js +18 -18
  66. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  67. package/dist/model/TokenListingEventData.js +8 -3
  68. package/dist/model/TokenizationERC20TokenParams.js +5 -5
  69. package/dist/model/{TokenizationTokenPermissionParams.js → TokenizationERC20TokenPermissionParams.js} +23 -23
  70. package/dist/model/TokenizationERC20WrappedTokenParams.js +177 -0
  71. package/dist/model/TokenizationERC20WrappedTokenPermissionParams.js +166 -0
  72. package/dist/model/TokenizationEstimateFeeRequestOperationParams.js +38 -11
  73. package/dist/model/TokenizationIssueTokenParamsTokenParams.js +72 -10
  74. package/dist/model/TokenizationListPermissionsResponse.js +146 -0
  75. package/dist/model/TokenizationListPermissionsResponseDataInner.js +126 -0
  76. package/dist/model/TokenizationOperationType.js +5 -0
  77. package/dist/model/TokenizationPermissionAction.js +66 -0
  78. package/dist/model/TokenizationSOLWrappedTokenParams.js +177 -0
  79. package/dist/model/TokenizationSolWrappedTokenPermissionParams.js +127 -0
  80. package/dist/model/TokenizationTokenDetailInfo.js +51 -5
  81. package/dist/model/TokenizationTokenInfo.js +26 -4
  82. package/dist/model/TokenizationTokenPermissionType.js +5 -0
  83. package/dist/model/TokenizationTokenStandard.js +10 -0
  84. package/dist/model/{TokenizationTokenPermissionsResponse.js → TokenizationUpdateAddressPermissions.js} +51 -53
  85. package/dist/model/TokenizationUpdatePermissionsEstimateFeeParams.js +198 -0
  86. package/dist/model/TokenizationUpdatePermissionsParams.js +145 -0
  87. package/dist/model/TokenizationUpdatePermissionsRequest.js +213 -0
  88. package/dist/model/TokensEventData.js +8 -3
  89. package/dist/model/TransactionCoboCategory.js +35 -0
  90. package/dist/model/TransactionWebhookEventData.js +8 -3
  91. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  92. package/dist/model/WalletInfoEventData.js +8 -3
  93. package/dist/model/WebhookEventData.js +64 -12
  94. package/dist/model/WebhookEventDataType.js +7 -2
  95. package/dist/model/WebhookEventType.js +10 -0
  96. package/docs/AddressesEventData.md +3 -1
  97. package/docs/AutoFuelType.md +2 -0
  98. package/docs/AutoSweepApi.md +2 -2
  99. package/docs/BalanceUpdateInfoEventData.md +3 -1
  100. package/docs/BridgingFee.md +3 -3
  101. package/docs/ChainsEventData.md +3 -1
  102. package/docs/CommissionFee.md +1 -1
  103. package/docs/ComplianceApi.md +158 -1
  104. package/docs/ComplianceDispositionUpdateEventData.md +3 -1
  105. package/docs/ComplianceKytScreeningsUpdateEventData.md +57 -0
  106. package/docs/CreateCryptoAddressRequest.md +1 -1
  107. package/docs/CreateMerchantRequest.md +2 -2
  108. package/docs/CreateOrderLinkRequest.md +10 -0
  109. package/docs/CreatePaymentOrderRequest.md +6 -5
  110. package/docs/CreateRefundLinkRequest.md +10 -0
  111. package/docs/CreateRefundRequest.md +2 -2
  112. package/docs/CreateSettlement.md +1 -3
  113. package/docs/CreateSettlementRequestRequest.md +3 -3
  114. package/docs/DevelopersWebhooksApi.md +1 -1
  115. package/docs/FeeStationApi.md +4 -4
  116. package/docs/FeeStationCheckFeeStationUsage.md +4 -2
  117. package/docs/FeeStationCheckFeeStationUsageResponse.md +4 -3
  118. package/docs/FeeStationSponsorTransactionDescription.md +10 -0
  119. package/docs/FundsStatusType.md +32 -0
  120. package/docs/KytScreeningsDecisionsType.md +16 -0
  121. package/docs/KytScreeningsEventData.md +13 -0
  122. package/docs/KytScreeningsReviewType.md +12 -0
  123. package/docs/KytScreeningsTransaction.md +12 -0
  124. package/docs/KytScreeningsTransactionType.md +12 -0
  125. package/docs/Link.md +10 -0
  126. package/docs/LinkDisplayInfo.md +10 -0
  127. package/docs/MPCVaultEventData.md +3 -1
  128. package/docs/Merchant.md +2 -2
  129. package/docs/MerchantBalance.md +1 -1
  130. package/docs/Order.md +1 -0
  131. package/docs/OrderLinkBusinessInfo.md +19 -0
  132. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +10 -0
  133. package/docs/OtcFee.md +2 -2
  134. package/docs/PaymentAddressUpdateEventData.md +3 -1
  135. package/docs/PaymentApi.md +118 -12
  136. package/docs/PaymentEstimateFee.md +2 -2
  137. package/docs/PaymentEstimateFee201Response.md +1 -1
  138. package/docs/PaymentEstimateFeeRequest.md +1 -1
  139. package/docs/PaymentEstimatedFee.md +2 -2
  140. package/docs/PaymentOrderEventData.md +4 -1
  141. package/docs/PaymentRefundEventData.md +3 -1
  142. package/docs/PaymentSettlementEvent.md +5 -3
  143. package/docs/PaymentTransactionEventData.md +3 -1
  144. package/docs/PspBalance.md +1 -1
  145. package/docs/RefundLinkBusinessInfo.md +13 -0
  146. package/docs/RefundStatus.md +4 -0
  147. package/docs/ReviewStatusType.md +24 -0
  148. package/docs/Settlement.md +2 -2
  149. package/docs/SubmitKytResponse.md +10 -0
  150. package/docs/SubmitKytScreeningsDecisionsBody.md +10 -0
  151. package/docs/SubmitKytScreeningsReviewBody.md +10 -0
  152. package/docs/SupportedToken.md +1 -1
  153. package/docs/SuspendedTokenEventData.md +3 -1
  154. package/docs/SwapQuote.md +10 -10
  155. package/docs/TSSRequestWebhookEventData.md +3 -1
  156. package/docs/TokenListingEventData.md +3 -1
  157. package/docs/TokenizationApi.md +120 -2
  158. package/docs/TokenizationERC20TokenParams.md +1 -1
  159. package/docs/{TokenizationTokenPermissionParams.md → TokenizationERC20TokenPermissionParams.md} +1 -1
  160. package/docs/TokenizationERC20WrappedTokenParams.md +14 -0
  161. package/docs/TokenizationERC20WrappedTokenPermissionParams.md +15 -0
  162. package/docs/TokenizationEstimateFeeRequestOperationParams.md +1 -1
  163. package/docs/TokenizationIssueTokenParamsTokenParams.md +2 -1
  164. package/docs/TokenizationListPermissionsResponse.md +10 -0
  165. package/docs/TokenizationListPermissionsResponseDataInner.md +10 -0
  166. package/docs/TokenizationOperationType.md +2 -0
  167. package/docs/TokenizationPermissionAction.md +14 -0
  168. package/docs/TokenizationSOLWrappedTokenParams.md +14 -0
  169. package/docs/TokenizationSolWrappedTokenPermissionParams.md +12 -0
  170. package/docs/TokenizationTokenDetailInfo.md +3 -0
  171. package/docs/TokenizationTokenInfo.md +2 -0
  172. package/docs/TokenizationTokenPermissionType.md +2 -0
  173. package/docs/TokenizationTokenStandard.md +4 -0
  174. package/docs/TokenizationUpdateAddressPermissions.md +11 -0
  175. package/docs/TokenizationUpdatePermissionsEstimateFeeParams.md +13 -0
  176. package/docs/TokenizationUpdatePermissionsParams.md +10 -0
  177. package/docs/TokenizationUpdatePermissionsRequest.md +13 -0
  178. package/docs/TokensEventData.md +3 -1
  179. package/docs/TransactionCoboCategory.md +14 -0
  180. package/docs/TransactionWebhookEventData.md +3 -1
  181. package/docs/TransactionsApi.md +2 -2
  182. package/docs/UpdateMerchantByIdRequest.md +1 -1
  183. package/docs/WalletInfoEventData.md +3 -1
  184. package/docs/WebhookEventData.md +10 -4
  185. package/docs/WebhookEventDataType.md +3 -1
  186. package/docs/WebhookEventType.md +4 -0
  187. package/package.json +1 -1
  188. package/docs/TokenizationTokenPermissionsResponse.md +0 -10
@@ -0,0 +1,111 @@
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 FundsStatusType.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var FundsStatusType = exports["default"] = /*#__PURE__*/function () {
31
+ function FundsStatusType() {
32
+ _classCallCheck(this, FundsStatusType);
33
+ /**
34
+ * value: "Frozen"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Frozen", "Frozen");
38
+ /**
39
+ * value: "Refunding"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Refunding", "Refunding");
43
+ /**
44
+ * value: "Refunded"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Refunded", "Refunded");
48
+ /**
49
+ * value: "RefundFailed"
50
+ * @const
51
+ */
52
+ _defineProperty(this, "RefundFailed", "RefundFailed");
53
+ /**
54
+ * value: "Unfreezing"
55
+ * @const
56
+ */
57
+ _defineProperty(this, "Unfreezing", "Unfreezing");
58
+ /**
59
+ * value: "Unfrozen"
60
+ * @const
61
+ */
62
+ _defineProperty(this, "Unfrozen", "Unfrozen");
63
+ /**
64
+ * value: "UnfreezingFailed"
65
+ * @const
66
+ */
67
+ _defineProperty(this, "UnfreezingFailed", "UnfreezingFailed");
68
+ /**
69
+ * value: "Isolating"
70
+ * @const
71
+ */
72
+ _defineProperty(this, "Isolating", "Isolating");
73
+ /**
74
+ * value: "Isolated"
75
+ * @const
76
+ */
77
+ _defineProperty(this, "Isolated", "Isolated");
78
+ /**
79
+ * value: "IsolationFailed"
80
+ * @const
81
+ */
82
+ _defineProperty(this, "IsolationFailed", "IsolationFailed");
83
+ /**
84
+ * value: "CoboDisposition"
85
+ * @const
86
+ */
87
+ _defineProperty(this, "CoboDisposition", "CoboDisposition");
88
+ /**
89
+ * value: "Normal"
90
+ * @const
91
+ */
92
+ _defineProperty(this, "Normal", "Normal");
93
+ /**
94
+ * value: "unknown_default_open_api"
95
+ * @const
96
+ */
97
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
98
+ }
99
+ return _createClass(FundsStatusType, null, [{
100
+ key: "constructFromObject",
101
+ value:
102
+ /**
103
+ * Returns a <code>FundsStatusType</code> enum value from a Javascript object name.
104
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
105
+ * @return {module:model/FundsStatusType} The enum <code>FundsStatusType</code> value.
106
+ */
107
+ function constructFromObject(object) {
108
+ return object;
109
+ }
110
+ }]);
111
+ }();
@@ -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 KytScreeningsDecisionsType.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var KytScreeningsDecisionsType = exports["default"] = /*#__PURE__*/function () {
31
+ function KytScreeningsDecisionsType() {
32
+ _classCallCheck(this, KytScreeningsDecisionsType);
33
+ /**
34
+ * value: "Approval"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Approval", "Approval");
38
+ /**
39
+ * value: "ApprovalWithAlert"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "ApprovalWithAlert", "ApprovalWithAlert");
43
+ /**
44
+ * value: "Rejection"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Rejection", "Rejection");
48
+ /**
49
+ * value: "ManualReview"
50
+ * @const
51
+ */
52
+ _defineProperty(this, "ManualReview", "ManualReview");
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(KytScreeningsDecisionsType, null, [{
60
+ key: "constructFromObject",
61
+ value:
62
+ /**
63
+ * Returns a <code>KytScreeningsDecisionsType</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/KytScreeningsDecisionsType} The enum <code>KytScreeningsDecisionsType</code> value.
66
+ */
67
+ function constructFromObject(object) {
68
+ return object;
69
+ }
70
+ }]);
71
+ }();
@@ -0,0 +1,155 @@
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 _FundsStatusType = _interopRequireDefault(require("./FundsStatusType"));
9
+ var _KytScreeningsTransactionType = _interopRequireDefault(require("./KytScreeningsTransactionType"));
10
+ var _ReviewStatusType = _interopRequireDefault(require("./ReviewStatusType"));
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 KytScreeningsEventData model module.
32
+ * @module model/KytScreeningsEventData
33
+ */
34
+ var KytScreeningsEventData = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>KytScreeningsEventData</code>.
37
+ * The KYT screening information about a transaction.
38
+ * @alias module:model/KytScreeningsEventData
39
+ * @param transaction_id {String} The transaction ID.
40
+ * @param transaction_type {module:model/KytScreeningsTransactionType}
41
+ * @param review_status {module:model/ReviewStatusType}
42
+ * @param funds_status {module:model/FundsStatusType}
43
+ * @param updated_timestamp {Number} The time when the KYT screening information was updated, in Unix timestamp format, measured in milliseconds.
44
+ */
45
+ function KytScreeningsEventData(transaction_id, transaction_type, review_status, funds_status, updated_timestamp) {
46
+ _classCallCheck(this, KytScreeningsEventData);
47
+ KytScreeningsEventData.initialize(this, transaction_id, transaction_type, review_status, funds_status, updated_timestamp);
48
+ }
49
+
50
+ /**
51
+ * Initializes the fields of this object.
52
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
53
+ * Only for internal use.
54
+ */
55
+ return _createClass(KytScreeningsEventData, null, [{
56
+ key: "initialize",
57
+ value: function initialize(obj, transaction_id, transaction_type, review_status, funds_status, updated_timestamp) {
58
+ obj['transaction_id'] = transaction_id;
59
+ obj['transaction_type'] = transaction_type;
60
+ obj['review_status'] = review_status;
61
+ obj['funds_status'] = funds_status;
62
+ obj['updated_timestamp'] = updated_timestamp;
63
+ }
64
+
65
+ /**
66
+ * Constructs a <code>KytScreeningsEventData</code> from a plain JavaScript object, optionally creating a new instance.
67
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
68
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
69
+ * @param {module:model/KytScreeningsEventData} obj Optional instance to populate.
70
+ * @return {module:model/KytScreeningsEventData} The populated <code>KytScreeningsEventData</code> instance.
71
+ */
72
+ }, {
73
+ key: "constructFromObject",
74
+ value: function constructFromObject(data, obj) {
75
+ if (data) {
76
+ obj = obj || new KytScreeningsEventData();
77
+ if (data.hasOwnProperty('transaction_id')) {
78
+ obj['transaction_id'] = _ApiClient["default"].convertToType(data['transaction_id'], 'String');
79
+ }
80
+ if (data.hasOwnProperty('transaction_type')) {
81
+ obj['transaction_type'] = _KytScreeningsTransactionType["default"].constructFromObject(data['transaction_type']);
82
+ }
83
+ if (data.hasOwnProperty('review_status')) {
84
+ obj['review_status'] = _ReviewStatusType["default"].constructFromObject(data['review_status']);
85
+ }
86
+ if (data.hasOwnProperty('funds_status')) {
87
+ obj['funds_status'] = _FundsStatusType["default"].constructFromObject(data['funds_status']);
88
+ }
89
+ if (data.hasOwnProperty('updated_timestamp')) {
90
+ obj['updated_timestamp'] = _ApiClient["default"].convertToType(data['updated_timestamp'], 'Number');
91
+ }
92
+ }
93
+ return obj;
94
+ }
95
+
96
+ /**
97
+ * Validates the JSON data with respect to <code>KytScreeningsEventData</code>.
98
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
99
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>KytScreeningsEventData</code>.
100
+ */
101
+ }, {
102
+ key: "validateJSON",
103
+ value: function validateJSON(data) {
104
+ // check to make sure all required properties are present in the JSON string
105
+ var _iterator = _createForOfIteratorHelper(KytScreeningsEventData.RequiredProperties),
106
+ _step;
107
+ try {
108
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
109
+ var property = _step.value;
110
+ if (!data.hasOwnProperty(property)) {
111
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
112
+ }
113
+ }
114
+ // ensure the json data is a string
115
+ } catch (err) {
116
+ _iterator.e(err);
117
+ } finally {
118
+ _iterator.f();
119
+ }
120
+ if (data['transaction_id'] && !(typeof data['transaction_id'] === 'string' || data['transaction_id'] instanceof String)) {
121
+ throw new Error("Expected the field `transaction_id` to be a primitive type in the JSON string but got " + data['transaction_id']);
122
+ }
123
+ return true;
124
+ }
125
+ }]);
126
+ }();
127
+ KytScreeningsEventData.RequiredProperties = ["transaction_id", "transaction_type", "review_status", "funds_status", "updated_timestamp"];
128
+
129
+ /**
130
+ * The transaction ID.
131
+ * @member {String} transaction_id
132
+ */
133
+ KytScreeningsEventData.prototype['transaction_id'] = undefined;
134
+
135
+ /**
136
+ * @member {module:model/KytScreeningsTransactionType} transaction_type
137
+ */
138
+ KytScreeningsEventData.prototype['transaction_type'] = undefined;
139
+
140
+ /**
141
+ * @member {module:model/ReviewStatusType} review_status
142
+ */
143
+ KytScreeningsEventData.prototype['review_status'] = undefined;
144
+
145
+ /**
146
+ * @member {module:model/FundsStatusType} funds_status
147
+ */
148
+ KytScreeningsEventData.prototype['funds_status'] = undefined;
149
+
150
+ /**
151
+ * The time when the KYT screening information was updated, in Unix timestamp format, measured in milliseconds.
152
+ * @member {Number} updated_timestamp
153
+ */
154
+ KytScreeningsEventData.prototype['updated_timestamp'] = undefined;
155
+ var _default = exports["default"] = KytScreeningsEventData;
@@ -0,0 +1,61 @@
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 KytScreeningsReviewType.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var KytScreeningsReviewType = exports["default"] = /*#__PURE__*/function () {
31
+ function KytScreeningsReviewType() {
32
+ _classCallCheck(this, KytScreeningsReviewType);
33
+ /**
34
+ * value: "Approval"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Approval", "Approval");
38
+ /**
39
+ * value: "Rejection"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Rejection", "Rejection");
43
+ /**
44
+ * value: "unknown_default_open_api"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
48
+ }
49
+ return _createClass(KytScreeningsReviewType, null, [{
50
+ key: "constructFromObject",
51
+ value:
52
+ /**
53
+ * Returns a <code>KytScreeningsReviewType</code> enum value from a Javascript object name.
54
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
55
+ * @return {module:model/KytScreeningsReviewType} The enum <code>KytScreeningsReviewType</code> value.
56
+ */
57
+ function constructFromObject(object) {
58
+ return object;
59
+ }
60
+ }]);
61
+ }();
@@ -0,0 +1,144 @@
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 _FundsStatusType = _interopRequireDefault(require("./FundsStatusType"));
9
+ var _KytScreeningsTransactionType = _interopRequireDefault(require("./KytScreeningsTransactionType"));
10
+ var _ReviewStatusType = _interopRequireDefault(require("./ReviewStatusType"));
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 KytScreeningsTransaction model module.
32
+ * @module model/KytScreeningsTransaction
33
+ */
34
+ var KytScreeningsTransaction = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>KytScreeningsTransaction</code>.
37
+ * KYT screening status information including the transaction’s review status and fund status.
38
+ * @alias module:model/KytScreeningsTransaction
39
+ * @param transaction_id {String} The UUID of the transaction that was screened.
40
+ * @param transaction_type {module:model/KytScreeningsTransactionType}
41
+ * @param review_status {module:model/ReviewStatusType}
42
+ * @param funds_status {module:model/FundsStatusType}
43
+ */
44
+ function KytScreeningsTransaction(transaction_id, transaction_type, review_status, funds_status) {
45
+ _classCallCheck(this, KytScreeningsTransaction);
46
+ KytScreeningsTransaction.initialize(this, transaction_id, transaction_type, review_status, funds_status);
47
+ }
48
+
49
+ /**
50
+ * Initializes the fields of this object.
51
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
52
+ * Only for internal use.
53
+ */
54
+ return _createClass(KytScreeningsTransaction, null, [{
55
+ key: "initialize",
56
+ value: function initialize(obj, transaction_id, transaction_type, review_status, funds_status) {
57
+ obj['transaction_id'] = transaction_id;
58
+ obj['transaction_type'] = transaction_type;
59
+ obj['review_status'] = review_status;
60
+ obj['funds_status'] = funds_status;
61
+ }
62
+
63
+ /**
64
+ * Constructs a <code>KytScreeningsTransaction</code> from a plain JavaScript object, optionally creating a new instance.
65
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
66
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
67
+ * @param {module:model/KytScreeningsTransaction} obj Optional instance to populate.
68
+ * @return {module:model/KytScreeningsTransaction} The populated <code>KytScreeningsTransaction</code> instance.
69
+ */
70
+ }, {
71
+ key: "constructFromObject",
72
+ value: function constructFromObject(data, obj) {
73
+ if (data) {
74
+ obj = obj || new KytScreeningsTransaction();
75
+ if (data.hasOwnProperty('transaction_id')) {
76
+ obj['transaction_id'] = _ApiClient["default"].convertToType(data['transaction_id'], 'String');
77
+ }
78
+ if (data.hasOwnProperty('transaction_type')) {
79
+ obj['transaction_type'] = _KytScreeningsTransactionType["default"].constructFromObject(data['transaction_type']);
80
+ }
81
+ if (data.hasOwnProperty('review_status')) {
82
+ obj['review_status'] = _ReviewStatusType["default"].constructFromObject(data['review_status']);
83
+ }
84
+ if (data.hasOwnProperty('funds_status')) {
85
+ obj['funds_status'] = _FundsStatusType["default"].constructFromObject(data['funds_status']);
86
+ }
87
+ }
88
+ return obj;
89
+ }
90
+
91
+ /**
92
+ * Validates the JSON data with respect to <code>KytScreeningsTransaction</code>.
93
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
94
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>KytScreeningsTransaction</code>.
95
+ */
96
+ }, {
97
+ key: "validateJSON",
98
+ value: function validateJSON(data) {
99
+ // check to make sure all required properties are present in the JSON string
100
+ var _iterator = _createForOfIteratorHelper(KytScreeningsTransaction.RequiredProperties),
101
+ _step;
102
+ try {
103
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
104
+ var property = _step.value;
105
+ if (!data.hasOwnProperty(property)) {
106
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
107
+ }
108
+ }
109
+ // ensure the json data is a string
110
+ } catch (err) {
111
+ _iterator.e(err);
112
+ } finally {
113
+ _iterator.f();
114
+ }
115
+ if (data['transaction_id'] && !(typeof data['transaction_id'] === 'string' || data['transaction_id'] instanceof String)) {
116
+ throw new Error("Expected the field `transaction_id` to be a primitive type in the JSON string but got " + data['transaction_id']);
117
+ }
118
+ return true;
119
+ }
120
+ }]);
121
+ }();
122
+ KytScreeningsTransaction.RequiredProperties = ["transaction_id", "transaction_type", "review_status", "funds_status"];
123
+
124
+ /**
125
+ * The UUID of the transaction that was screened.
126
+ * @member {String} transaction_id
127
+ */
128
+ KytScreeningsTransaction.prototype['transaction_id'] = undefined;
129
+
130
+ /**
131
+ * @member {module:model/KytScreeningsTransactionType} transaction_type
132
+ */
133
+ KytScreeningsTransaction.prototype['transaction_type'] = undefined;
134
+
135
+ /**
136
+ * @member {module:model/ReviewStatusType} review_status
137
+ */
138
+ KytScreeningsTransaction.prototype['review_status'] = undefined;
139
+
140
+ /**
141
+ * @member {module:model/FundsStatusType} funds_status
142
+ */
143
+ KytScreeningsTransaction.prototype['funds_status'] = undefined;
144
+ var _default = exports["default"] = KytScreeningsTransaction;
@@ -0,0 +1,61 @@
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 KytScreeningsTransactionType.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var KytScreeningsTransactionType = exports["default"] = /*#__PURE__*/function () {
31
+ function KytScreeningsTransactionType() {
32
+ _classCallCheck(this, KytScreeningsTransactionType);
33
+ /**
34
+ * value: "Deposit"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Deposit", "Deposit");
38
+ /**
39
+ * value: "Withdrawal"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Withdrawal", "Withdrawal");
43
+ /**
44
+ * value: "unknown_default_open_api"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
48
+ }
49
+ return _createClass(KytScreeningsTransactionType, null, [{
50
+ key: "constructFromObject",
51
+ value:
52
+ /**
53
+ * Returns a <code>KytScreeningsTransactionType</code> enum value from a Javascript object name.
54
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
55
+ * @return {module:model/KytScreeningsTransactionType} The enum <code>KytScreeningsTransactionType</code> value.
56
+ */
57
+ function constructFromObject(object) {
58
+ return object;
59
+ }
60
+ }]);
61
+ }();