@cobo/cobo-waas2 1.28.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/README.md +88 -16
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AutoSweepApi.js +2 -2
  4. package/dist/api/ComplianceApi.js +144 -4
  5. package/dist/api/FeeStationApi.js +2 -2
  6. package/dist/api/GraphQLApi.js +85 -0
  7. package/dist/api/PaymentApi.js +1161 -154
  8. package/dist/api/StakingsApi.js +2 -2
  9. package/dist/api/SwapsApi.js +3 -0
  10. package/dist/api/TransactionsApi.js +6 -6
  11. package/dist/api/WalletsApi.js +18 -18
  12. package/dist/index.js +357 -28
  13. package/dist/model/AddressRiskLevel.js +71 -0
  14. package/dist/model/AddressesEventData.js +13 -3
  15. package/dist/model/{AllocationRecord.js → AllocationItem.js} +38 -35
  16. package/dist/model/{AllocationRequest.js → AllocationParam.js} +29 -26
  17. package/dist/model/BalanceUpdateInfoEventData.js +13 -3
  18. package/dist/model/BatchAllocation.js +12 -12
  19. package/dist/model/BatchAllocationDetail.js +15 -17
  20. package/dist/model/BridgingFee.js +3 -3
  21. package/dist/model/ChainsEventData.js +13 -3
  22. package/dist/model/CommissionFee.js +2 -2
  23. package/dist/model/ComplianceDispositionUpdateEventData.js +13 -3
  24. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +346 -0
  25. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +13 -3
  26. package/dist/model/ContractCallParams.js +3 -3
  27. package/dist/model/CounterpartyWalletAddressDetail.js +2 -2
  28. package/dist/model/CreateBatchAllocationRequest.js +19 -19
  29. package/dist/model/CreateBulkSendRequest.js +167 -0
  30. package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +153 -0
  31. package/dist/model/CreateCounterpartyEntry201Response.js +143 -0
  32. package/dist/model/CreateCounterpartyEntryRequest.js +141 -0
  33. package/dist/model/CreateDestinationEntry201Response.js +172 -0
  34. package/dist/model/CreateDestinationEntryRequest.js +172 -0
  35. package/dist/model/CreateKyaScreeningsBody.js +129 -0
  36. package/dist/model/CreateMerchantRequest.js +1 -1
  37. package/dist/model/CreatePaymentOrderRequest.js +17 -15
  38. package/dist/model/CreatePayoutRequest.js +35 -28
  39. package/dist/model/CreateRefundRequest.js +2 -2
  40. package/dist/model/CreateReportRequest.js +156 -0
  41. package/dist/model/CreateTopUpAddresses.js +139 -0
  42. package/dist/model/CreateTopUpAddresses201Response.js +107 -0
  43. package/dist/model/CreateWalletAddress.js +2 -2
  44. package/dist/model/DeleteCounterpartyById200Response.js +110 -0
  45. package/dist/model/DeleteCounterpartyEntry200Response.js +110 -0
  46. package/dist/model/DeleteDestinationById200Response.js +110 -0
  47. package/dist/model/DeleteDestinationEntry200Response.js +110 -0
  48. package/dist/model/EntryType.js +61 -0
  49. package/dist/model/GetCounterpartyEntry200Response.js +90 -0
  50. package/dist/model/GetDestinationEntry200Response.js +106 -0
  51. package/dist/model/{ListPayoutItems200Response.js → GetReports200Response.js} +22 -22
  52. package/dist/model/KyaRiskAssessment.js +151 -0
  53. package/dist/model/KyaRiskDetail.js +126 -0
  54. package/dist/model/KyaRiskLevel.js +66 -0
  55. package/dist/model/KyaScreeningRequest.js +154 -0
  56. package/dist/model/KyaScreeningResult.js +222 -0
  57. package/dist/model/KyaScreeningResultRiskAssessment.js +171 -0
  58. package/dist/model/KyaScreeningStatus.js +71 -0
  59. package/dist/model/KyaScreeningsEventData.js +174 -0
  60. package/dist/model/LinkDisplayInfo.js +1 -1
  61. package/dist/model/{ListAllocations200Response.js → ListAllocationItems200Response.js} +22 -22
  62. package/dist/model/ListBulkSendItems200Response.js +123 -0
  63. package/dist/model/ListCounterpartyEntries200Response.js +123 -0
  64. package/dist/model/ListDestinationEntries200Response.js +153 -0
  65. package/dist/model/ListKyaScreenings200Response.js +145 -0
  66. package/dist/model/MPCVaultEventData.js +13 -3
  67. package/dist/model/MerchantBalance.js +4 -4
  68. package/dist/model/Order.js +10 -10
  69. package/dist/model/OrderLinkBusinessInfo.js +22 -16
  70. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +2 -4
  71. package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +4 -4
  72. package/dist/model/PaymentAddressUpdateEventData.js +13 -3
  73. package/dist/model/PaymentAllocationAmount.js +2 -2
  74. package/dist/model/PaymentBulkSend.js +182 -0
  75. package/dist/model/PaymentBulkSendEvent.js +359 -0
  76. package/dist/model/PaymentBulkSendExecutionMode.js +61 -0
  77. package/dist/model/PaymentBulkSendItem.js +190 -0
  78. package/dist/model/{PaymentPayoutItemStatus.js → PaymentBulkSendItemStatus.js} +11 -11
  79. package/dist/model/PaymentBulkSendItemValidationStatus.js +66 -0
  80. package/dist/model/PaymentBulkSendStatus.js +81 -0
  81. package/dist/model/PaymentEstimateFeeRequest.js +13 -0
  82. package/dist/model/PaymentFeeType.js +15 -0
  83. package/dist/model/PaymentOrderEventData.js +31 -21
  84. package/dist/model/PaymentPayout.js +64 -46
  85. package/dist/model/PaymentPayoutDetail.js +166 -52
  86. package/dist/model/PaymentPayoutEvent.js +152 -80
  87. package/dist/model/PaymentPayoutItem.js +9 -166
  88. package/dist/model/PaymentPayoutParam.js +6 -46
  89. package/dist/model/PaymentPayoutRecipientInfo.js +126 -0
  90. package/dist/model/PaymentPayoutStatus.js +9 -4
  91. package/dist/model/PaymentRefundEventData.js +13 -3
  92. package/dist/model/PaymentSettlementEvent.js +13 -3
  93. package/dist/model/PaymentTransactionEventData.js +13 -3
  94. package/dist/model/PspBalance.js +4 -4
  95. package/dist/model/RefundLinkBusinessInfo.js +1 -1
  96. package/dist/model/Report.js +209 -0
  97. package/dist/model/ReportExportFormat.js +66 -0
  98. package/dist/model/ReportStatus.js +61 -0
  99. package/dist/model/ReportType.js +121 -0
  100. package/dist/model/SuspendedTokenEventData.js +13 -3
  101. package/dist/model/TSSRequestWebhookEventData.js +13 -3
  102. package/dist/model/TokenListingEventData.js +13 -3
  103. package/dist/model/TokensEventData.js +13 -3
  104. package/dist/model/TransactionCoboCategory.js +5 -0
  105. package/dist/model/TransactionExtraType.js +5 -0
  106. package/dist/model/TransactionWalletConnectInfo.js +146 -0
  107. package/dist/model/TransactionWebhookEventData.js +13 -3
  108. package/dist/model/TransferParams.js +2 -2
  109. package/dist/model/UpdateCounterpartyRequest.js +160 -0
  110. package/dist/model/UpdateDestinationEntry200Response.js +90 -0
  111. package/dist/model/UpdateDestinationEntryRequest.js +135 -0
  112. package/dist/model/UpdateDestinationRequest.js +173 -0
  113. package/dist/model/UpdateMerchantByIdRequest.js +1 -1
  114. package/dist/model/WalletAddress.js +20 -2
  115. package/dist/model/WalletInfoEventData.js +13 -3
  116. package/dist/model/WebhookEventData.js +121 -28
  117. package/dist/model/WebhookEventDataType.js +12 -2
  118. package/dist/model/WebhookEventType.js +15 -0
  119. package/docs/AddressRiskLevel.md +16 -0
  120. package/docs/AddressesEventData.md +5 -1
  121. package/docs/AllocationItem.md +15 -0
  122. package/docs/AllocationParam.md +13 -0
  123. package/docs/AutoSweepApi.md +1 -1
  124. package/docs/BalanceUpdateInfoEventData.md +5 -1
  125. package/docs/BatchAllocation.md +2 -2
  126. package/docs/BatchAllocationDetail.md +1 -1
  127. package/docs/BridgingFee.md +2 -2
  128. package/docs/ChainsEventData.md +5 -1
  129. package/docs/CommissionFee.md +1 -1
  130. package/docs/ComplianceApi.md +163 -0
  131. package/docs/ComplianceDispositionUpdateEventData.md +5 -1
  132. package/docs/ComplianceKyaScreeningsUpdateEventData.md +64 -0
  133. package/docs/ComplianceKytScreeningsUpdateEventData.md +5 -1
  134. package/docs/ContractCallParams.md +2 -2
  135. package/docs/CounterpartyWalletAddressDetail.md +1 -1
  136. package/docs/CreateBatchAllocationRequest.md +2 -2
  137. package/docs/CreateBulkSendRequest.md +12 -0
  138. package/docs/CreateBulkSendRequestPayoutParamsInner.md +12 -0
  139. package/docs/CreateCounterpartyEntry201Response.md +10 -0
  140. package/docs/CreateCounterpartyEntryRequest.md +10 -0
  141. package/docs/CreateDestinationEntry201Response.md +11 -0
  142. package/docs/CreateDestinationEntryRequest.md +11 -0
  143. package/docs/CreateKyaScreeningsBody.md +9 -0
  144. package/docs/CreateMerchantRequest.md +1 -1
  145. package/docs/CreatePaymentOrderRequest.md +11 -11
  146. package/docs/CreatePayoutRequest.md +4 -4
  147. package/docs/CreateRefundRequest.md +2 -2
  148. package/docs/CreateReportRequest.md +13 -0
  149. package/docs/CreateTopUpAddresses.md +11 -0
  150. package/docs/CreateTopUpAddresses201Response.md +9 -0
  151. package/docs/CreateWalletAddress.md +1 -1
  152. package/docs/DeleteCounterpartyById200Response.md +9 -0
  153. package/docs/DeleteCounterpartyEntry200Response.md +9 -0
  154. package/docs/DeleteDestinationById200Response.md +9 -0
  155. package/docs/DeleteDestinationEntry200Response.md +9 -0
  156. package/docs/EntryType.md +12 -0
  157. package/docs/FeeStationApi.md +1 -1
  158. package/docs/GetCounterpartyEntry200Response.md +9 -0
  159. package/docs/GetDestinationEntry200Response.md +10 -0
  160. package/docs/{ListAllocations200Response.md → GetReports200Response.md} +2 -2
  161. package/docs/GraphQLApi.md +61 -0
  162. package/docs/KyaRiskAssessment.md +11 -0
  163. package/docs/KyaRiskDetail.md +10 -0
  164. package/docs/KyaRiskLevel.md +14 -0
  165. package/docs/KyaScreeningRequest.md +12 -0
  166. package/docs/KyaScreeningResult.md +17 -0
  167. package/docs/KyaScreeningResultRiskAssessment.md +11 -0
  168. package/docs/KyaScreeningStatus.md +16 -0
  169. package/docs/KyaScreeningsEventData.md +14 -0
  170. package/docs/LinkDisplayInfo.md +1 -1
  171. package/docs/{ListPayoutItems200Response.md → ListAllocationItems200Response.md} +2 -2
  172. package/docs/ListBulkSendItems200Response.md +10 -0
  173. package/docs/ListCounterpartyEntries200Response.md +10 -0
  174. package/docs/ListDestinationEntries200Response.md +11 -0
  175. package/docs/ListKyaScreenings200Response.md +10 -0
  176. package/docs/MPCVaultEventData.md +5 -1
  177. package/docs/MerchantBalance.md +4 -4
  178. package/docs/Order.md +8 -8
  179. package/docs/OrderLinkBusinessInfo.md +11 -11
  180. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
  181. package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +2 -2
  182. package/docs/PaymentAddressUpdateEventData.md +5 -1
  183. package/docs/PaymentAllocationAmount.md +1 -1
  184. package/docs/PaymentApi.md +1296 -198
  185. package/docs/PaymentBulkSend.md +15 -0
  186. package/docs/PaymentBulkSendEvent.md +65 -0
  187. package/docs/PaymentBulkSendExecutionMode.md +12 -0
  188. package/docs/PaymentBulkSendItem.md +15 -0
  189. package/docs/{PaymentPayoutItemStatus.md → PaymentBulkSendItemStatus.md} +3 -3
  190. package/docs/PaymentBulkSendItemValidationStatus.md +14 -0
  191. package/docs/PaymentBulkSendStatus.md +20 -0
  192. package/docs/PaymentEstimateFeeRequest.md +1 -0
  193. package/docs/PaymentFeeType.md +6 -0
  194. package/docs/PaymentOrderEventData.md +13 -9
  195. package/docs/PaymentPayout.md +8 -7
  196. package/docs/PaymentPayoutDetail.md +10 -8
  197. package/docs/PaymentPayoutEvent.md +15 -9
  198. package/docs/PaymentPayoutItem.md +2 -13
  199. package/docs/PaymentPayoutParam.md +1 -4
  200. package/docs/PaymentPayoutRecipientInfo.md +12 -0
  201. package/docs/PaymentPayoutStatus.md +4 -2
  202. package/docs/PaymentRefundEventData.md +5 -1
  203. package/docs/PaymentSettlementEvent.md +5 -1
  204. package/docs/PaymentTransactionEventData.md +5 -1
  205. package/docs/PspBalance.md +4 -4
  206. package/docs/RefundLinkBusinessInfo.md +1 -1
  207. package/docs/Report.md +17 -0
  208. package/docs/ReportExportFormat.md +14 -0
  209. package/docs/ReportStatus.md +12 -0
  210. package/docs/ReportType.md +36 -0
  211. package/docs/StakingsApi.md +1 -1
  212. package/docs/SuspendedTokenEventData.md +5 -1
  213. package/docs/SwapsApi.md +2 -0
  214. package/docs/TSSRequestWebhookEventData.md +5 -1
  215. package/docs/TokenListingEventData.md +5 -1
  216. package/docs/TokensEventData.md +5 -1
  217. package/docs/TransactionCoboCategory.md +2 -0
  218. package/docs/TransactionExtraType.md +2 -0
  219. package/docs/TransactionWalletConnectInfo.md +12 -0
  220. package/docs/TransactionWebhookEventData.md +5 -1
  221. package/docs/TransactionsApi.md +3 -3
  222. package/docs/TransferParams.md +1 -1
  223. package/docs/UpdateCounterpartyRequest.md +13 -0
  224. package/docs/UpdateDestinationEntry200Response.md +9 -0
  225. package/docs/UpdateDestinationEntryRequest.md +11 -0
  226. package/docs/UpdateDestinationRequest.md +14 -0
  227. package/docs/UpdateMerchantByIdRequest.md +1 -1
  228. package/docs/WalletAddress.md +3 -1
  229. package/docs/WalletInfoEventData.md +5 -1
  230. package/docs/WalletsApi.md +9 -9
  231. package/docs/WebhookEventData.md +28 -18
  232. package/docs/WebhookEventDataType.md +5 -1
  233. package/docs/WebhookEventType.md +6 -0
  234. package/package.json +1 -1
  235. package/dist/model/PaymentPayoutItemDetail.js +0 -298
  236. package/docs/AllocationRecord.md +0 -15
  237. package/docs/AllocationRequest.md +0 -13
  238. package/docs/PaymentPayoutItemDetail.md +0 -22
@@ -32,13 +32,12 @@ var PaymentPayoutParam = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>PaymentPayoutParam</code>.
34
34
  * @alias module:model/PaymentPayoutParam
35
- * @param source_account {String}
36
- * @param token_id {String} Only used in Crypto payout channel. The ID of the cryptocurrency you want to settle. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
35
+ * @param token_id {String} The ID of the cryptocurrency you want to pay out. Specify this field when `payout_channel` is set to `Crypto`. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
37
36
  * @param amount {String} The payout cryptocurrency amount.
38
37
  */
39
- function PaymentPayoutParam(source_account, token_id, amount) {
38
+ function PaymentPayoutParam(token_id, amount) {
40
39
  _classCallCheck(this, PaymentPayoutParam);
41
- PaymentPayoutParam.initialize(this, source_account, token_id, amount);
40
+ PaymentPayoutParam.initialize(this, token_id, amount);
42
41
  }
43
42
 
44
43
  /**
@@ -48,8 +47,7 @@ var PaymentPayoutParam = /*#__PURE__*/function () {
48
47
  */
49
48
  return _createClass(PaymentPayoutParam, null, [{
50
49
  key: "initialize",
51
- value: function initialize(obj, source_account, token_id, amount) {
52
- obj['source_account'] = source_account;
50
+ value: function initialize(obj, token_id, amount) {
53
51
  obj['token_id'] = token_id;
54
52
  obj['amount'] = amount;
55
53
  }
@@ -66,21 +64,12 @@ var PaymentPayoutParam = /*#__PURE__*/function () {
66
64
  value: function constructFromObject(data, obj) {
67
65
  if (data) {
68
66
  obj = obj || new PaymentPayoutParam();
69
- if (data.hasOwnProperty('source_account')) {
70
- obj['source_account'] = _ApiClient["default"].convertToType(data['source_account'], 'String');
71
- }
72
67
  if (data.hasOwnProperty('token_id')) {
73
68
  obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
74
69
  }
75
70
  if (data.hasOwnProperty('amount')) {
76
71
  obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'String');
77
72
  }
78
- if (data.hasOwnProperty('crypto_address_id')) {
79
- obj['crypto_address_id'] = _ApiClient["default"].convertToType(data['crypto_address_id'], 'String');
80
- }
81
- if (data.hasOwnProperty('crypto_address')) {
82
- obj['crypto_address'] = _ApiClient["default"].convertToType(data['crypto_address'], 'String');
83
- }
84
73
  }
85
74
  return obj;
86
75
  }
@@ -109,10 +98,6 @@ var PaymentPayoutParam = /*#__PURE__*/function () {
109
98
  } finally {
110
99
  _iterator.f();
111
100
  }
112
- if (data['source_account'] && !(typeof data['source_account'] === 'string' || data['source_account'] instanceof String)) {
113
- throw new Error("Expected the field `source_account` to be a primitive type in the JSON string but got " + data['source_account']);
114
- }
115
- // ensure the json data is a string
116
101
  if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
117
102
  throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
118
103
  }
@@ -120,27 +105,14 @@ var PaymentPayoutParam = /*#__PURE__*/function () {
120
105
  if (data['amount'] && !(typeof data['amount'] === 'string' || data['amount'] instanceof String)) {
121
106
  throw new Error("Expected the field `amount` to be a primitive type in the JSON string but got " + data['amount']);
122
107
  }
123
- // ensure the json data is a string
124
- if (data['crypto_address_id'] && !(typeof data['crypto_address_id'] === 'string' || data['crypto_address_id'] instanceof String)) {
125
- throw new Error("Expected the field `crypto_address_id` to be a primitive type in the JSON string but got " + data['crypto_address_id']);
126
- }
127
- // ensure the json data is a string
128
- if (data['crypto_address'] && !(typeof data['crypto_address'] === 'string' || data['crypto_address'] instanceof String)) {
129
- throw new Error("Expected the field `crypto_address` to be a primitive type in the JSON string but got " + data['crypto_address']);
130
- }
131
108
  return true;
132
109
  }
133
110
  }]);
134
111
  }();
135
- PaymentPayoutParam.RequiredProperties = ["source_account", "token_id", "amount"];
112
+ PaymentPayoutParam.RequiredProperties = ["token_id", "amount"];
136
113
 
137
114
  /**
138
- * @member {String} source_account
139
- */
140
- PaymentPayoutParam.prototype['source_account'] = undefined;
141
-
142
- /**
143
- * Only used in Crypto payout channel. The ID of the cryptocurrency you want to settle. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
115
+ * The ID of the cryptocurrency you want to pay out. Specify this field when `payout_channel` is set to `Crypto`. Supported values: - USDC: `ETH_USDC`, `ARBITRUM_USDC`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
144
116
  * @member {String} token_id
145
117
  */
146
118
  PaymentPayoutParam.prototype['token_id'] = undefined;
@@ -150,16 +122,4 @@ PaymentPayoutParam.prototype['token_id'] = undefined;
150
122
  * @member {String} amount
151
123
  */
152
124
  PaymentPayoutParam.prototype['amount'] = undefined;
153
-
154
- /**
155
- * Only used in Crypto payout channel. The ID of the pre-approved crypto address used for Crypto settlements. - The value must refer to a valid address that has been pre-configured and approved for the given token.
156
- * @member {String} crypto_address_id
157
- */
158
- PaymentPayoutParam.prototype['crypto_address_id'] = undefined;
159
-
160
- /**
161
- * Only used in Crypto payout channel. The actual blockchain address to which funds will be transferred. If enable destination whitelist, this address must be associated with a destination.
162
- * @member {String} crypto_address
163
- */
164
- PaymentPayoutParam.prototype['crypto_address'] = undefined;
165
125
  var _default = exports["default"] = PaymentPayoutParam;
@@ -0,0 +1,126 @@
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 _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ 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); } /**
15
+ * Cobo Wallet as a Service 2.0
16
+ *
17
+ * Contact: help@cobo.com
18
+ *
19
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20
+ * https://openapi-generator.tech
21
+ * Do not edit the class manually.
22
+ *
23
+ */
24
+ /**
25
+ * The PaymentPayoutRecipientInfo model module.
26
+ * @module model/PaymentPayoutRecipientInfo
27
+ */
28
+ var PaymentPayoutRecipientInfo = /*#__PURE__*/function () {
29
+ /**
30
+ * Constructs a new <code>PaymentPayoutRecipientInfo</code>.
31
+ * @alias module:model/PaymentPayoutRecipientInfo
32
+ */
33
+ function PaymentPayoutRecipientInfo() {
34
+ _classCallCheck(this, PaymentPayoutRecipientInfo);
35
+ PaymentPayoutRecipientInfo.initialize(this);
36
+ }
37
+
38
+ /**
39
+ * Initializes the fields of this object.
40
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
41
+ * Only for internal use.
42
+ */
43
+ return _createClass(PaymentPayoutRecipientInfo, null, [{
44
+ key: "initialize",
45
+ value: function initialize(obj) {}
46
+
47
+ /**
48
+ * Constructs a <code>PaymentPayoutRecipientInfo</code> from a plain JavaScript object, optionally creating a new instance.
49
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
50
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
51
+ * @param {module:model/PaymentPayoutRecipientInfo} obj Optional instance to populate.
52
+ * @return {module:model/PaymentPayoutRecipientInfo} The populated <code>PaymentPayoutRecipientInfo</code> instance.
53
+ */
54
+ }, {
55
+ key: "constructFromObject",
56
+ value: function constructFromObject(data, obj) {
57
+ if (data) {
58
+ obj = obj || new PaymentPayoutRecipientInfo();
59
+ if (data.hasOwnProperty('address')) {
60
+ obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
61
+ }
62
+ if (data.hasOwnProperty('token_id')) {
63
+ obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
64
+ }
65
+ if (data.hasOwnProperty('currency')) {
66
+ obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
67
+ }
68
+ if (data.hasOwnProperty('bank_account_id')) {
69
+ obj['bank_account_id'] = _ApiClient["default"].convertToType(data['bank_account_id'], 'String');
70
+ }
71
+ }
72
+ return obj;
73
+ }
74
+
75
+ /**
76
+ * Validates the JSON data with respect to <code>PaymentPayoutRecipientInfo</code>.
77
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
78
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>PaymentPayoutRecipientInfo</code>.
79
+ */
80
+ }, {
81
+ key: "validateJSON",
82
+ value: function validateJSON(data) {
83
+ // ensure the json data is a string
84
+ if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
85
+ throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
86
+ }
87
+ // ensure the json data is a string
88
+ if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
89
+ throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
90
+ }
91
+ // ensure the json data is a string
92
+ if (data['currency'] && !(typeof data['currency'] === 'string' || data['currency'] instanceof String)) {
93
+ throw new Error("Expected the field `currency` to be a primitive type in the JSON string but got " + data['currency']);
94
+ }
95
+ // ensure the json data is a string
96
+ if (data['bank_account_id'] && !(typeof data['bank_account_id'] === 'string' || data['bank_account_id'] instanceof String)) {
97
+ throw new Error("Expected the field `bank_account_id` to be a primitive type in the JSON string but got " + data['bank_account_id']);
98
+ }
99
+ return true;
100
+ }
101
+ }]);
102
+ }();
103
+ /**
104
+ * The recipient's wallet address where the payout will be sent.
105
+ * @member {String} address
106
+ */
107
+ PaymentPayoutRecipientInfo.prototype['address'] = undefined;
108
+
109
+ /**
110
+ * The token ID for the cryptocurrency to be sent to the recipient. If `recipient_info.token_id` is on a different chain than `payout_param.token_id`, the token will be automatically bridged to the chain specified in `recipient_info.token_id`.
111
+ * @member {String} token_id
112
+ */
113
+ PaymentPayoutRecipientInfo.prototype['token_id'] = undefined;
114
+
115
+ /**
116
+ * The fiat currency of the bank account to which the payout will be sent.
117
+ * @member {String} currency
118
+ */
119
+ PaymentPayoutRecipientInfo.prototype['currency'] = undefined;
120
+
121
+ /**
122
+ * The ID of the bank account to which the payout will be sent. You can retrieve the bank account ID by calling [List destination entries](https://www.cobo.com/payments/en/api-references/payment/list-destination-entries).
123
+ * @member {String} bank_account_id
124
+ */
125
+ PaymentPayoutRecipientInfo.prototype['bank_account_id'] = undefined;
126
+ var _default = exports["default"] = PaymentPayoutRecipientInfo;
@@ -36,10 +36,15 @@ var PaymentPayoutStatus = exports["default"] = /*#__PURE__*/function () {
36
36
  */
37
37
  _defineProperty(this, "Pending", "Pending");
38
38
  /**
39
- * value: "Processing"
39
+ * value: "Preparing"
40
40
  * @const
41
41
  */
42
- _defineProperty(this, "Processing", "Processing");
42
+ _defineProperty(this, "Preparing", "Preparing");
43
+ /**
44
+ * value: "Transferring"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Transferring", "Transferring");
43
48
  /**
44
49
  * value: "Completed"
45
50
  * @const
@@ -56,10 +61,10 @@ var PaymentPayoutStatus = exports["default"] = /*#__PURE__*/function () {
56
61
  */
57
62
  _defineProperty(this, "Failed", "Failed");
58
63
  /**
59
- * value: "Canceled"
64
+ * value: "RejectedByBank"
60
65
  * @const
61
66
  */
62
- _defineProperty(this, "Canceled", "Canceled");
67
+ _defineProperty(this, "RejectedByBank", "RejectedByBank");
63
68
  /**
64
69
  * value: "unknown_default_open_api"
65
70
  * @const
@@ -40,7 +40,7 @@ var PaymentRefundEventData = /*#__PURE__*/function () {
40
40
  * @alias module:model/PaymentRefundEventData
41
41
  * @implements module:model/WebhookEventDataType
42
42
  * @implements module:model/Refund
43
- * @param data_type {module:model/PaymentRefundEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
43
+ * @param data_type {module:model/PaymentRefundEventData.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.
44
44
  * @param refund_id {String} The refund order ID.
45
45
  * @param token_id {String} The ID of the cryptocurrency used for refund.
46
46
  * @param chain_id {String} The ID of the blockchain network on which the refund transaction occurs.
@@ -253,7 +253,7 @@ var PaymentRefundEventData = /*#__PURE__*/function () {
253
253
  PaymentRefundEventData.RequiredProperties = ["data_type", "refund_id", "token_id", "chain_id", "amount", "to_address", "status"];
254
254
 
255
255
  /**
256
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
256
+ * 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.
257
257
  * @member {module:model/PaymentRefundEventData.DataTypeEnum} data_type
258
258
  */
259
259
  PaymentRefundEventData.prototype['data_type'] = undefined;
@@ -365,7 +365,7 @@ PaymentRefundEventData.prototype['commission_fee'] = undefined;
365
365
 
366
366
  // Implement WebhookEventDataType interface:
367
367
  /**
368
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
368
+ * 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.
369
369
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
370
370
  */
371
371
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -534,6 +534,11 @@ PaymentRefundEventData['DataTypeEnum'] = {
534
534
  * @const
535
535
  */
536
536
  "PaymentPayout": "PaymentPayout",
537
+ /**
538
+ * value: "PaymentBulkSend"
539
+ * @const
540
+ */
541
+ "PaymentBulkSend": "PaymentBulkSend",
537
542
  /**
538
543
  * value: "BalanceUpdateInfo"
539
544
  * @const
@@ -554,6 +559,11 @@ PaymentRefundEventData['DataTypeEnum'] = {
554
559
  * @const
555
560
  */
556
561
  "ComplianceKytScreenings": "ComplianceKytScreenings",
562
+ /**
563
+ * value: "ComplianceKyaScreenings"
564
+ * @const
565
+ */
566
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
557
567
  /**
558
568
  * value: "unknown_default_open_api"
559
569
  * @const
@@ -42,7 +42,7 @@ var PaymentSettlementEvent = /*#__PURE__*/function () {
42
42
  * @alias module:model/PaymentSettlementEvent
43
43
  * @implements module:model/WebhookEventDataType
44
44
  * @implements module:model/Settlement
45
- * @param data_type {module:model/PaymentSettlementEvent.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
45
+ * @param data_type {module:model/PaymentSettlementEvent.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.
46
46
  * @param settlement_request_id {String} The settlement request ID generated by Cobo.
47
47
  * @param request_id {String} The request ID provided by you when creating the settlement request.
48
48
  * @param status {module:model/SettleRequestStatus}
@@ -212,7 +212,7 @@ var PaymentSettlementEvent = /*#__PURE__*/function () {
212
212
  PaymentSettlementEvent.RequiredProperties = ["data_type", "settlement_request_id", "request_id", "status", "settlements"];
213
213
 
214
214
  /**
215
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
215
+ * 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.
216
216
  * @member {module:model/PaymentSettlementEvent.DataTypeEnum} data_type
217
217
  */
218
218
  PaymentSettlementEvent.prototype['data_type'] = undefined;
@@ -291,7 +291,7 @@ PaymentSettlementEvent.prototype['bank_account'] = undefined;
291
291
 
292
292
  // Implement WebhookEventDataType interface:
293
293
  /**
294
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
294
+ * 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.
295
295
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
296
296
  */
297
297
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -432,6 +432,11 @@ PaymentSettlementEvent['DataTypeEnum'] = {
432
432
  * @const
433
433
  */
434
434
  "PaymentPayout": "PaymentPayout",
435
+ /**
436
+ * value: "PaymentBulkSend"
437
+ * @const
438
+ */
439
+ "PaymentBulkSend": "PaymentBulkSend",
435
440
  /**
436
441
  * value: "BalanceUpdateInfo"
437
442
  * @const
@@ -452,6 +457,11 @@ PaymentSettlementEvent['DataTypeEnum'] = {
452
457
  * @const
453
458
  */
454
459
  "ComplianceKytScreenings": "ComplianceKytScreenings",
460
+ /**
461
+ * value: "ComplianceKyaScreenings"
462
+ * @const
463
+ */
464
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
455
465
  /**
456
466
  * value: "unknown_default_open_api"
457
467
  * @const
@@ -49,7 +49,7 @@ var PaymentTransactionEventData = /*#__PURE__*/function () {
49
49
  * @alias module:model/PaymentTransactionEventData
50
50
  * @implements module:model/WebhookEventDataType
51
51
  * @implements module:model/Transaction
52
- * @param data_type {module:model/PaymentTransactionEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
52
+ * @param data_type {module:model/PaymentTransactionEventData.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.
53
53
  * @param transaction_id {String} The transaction ID.
54
54
  * @param wallet_id {String} For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source.
55
55
  * @param status {module:model/TransactionStatus}
@@ -378,7 +378,7 @@ var PaymentTransactionEventData = /*#__PURE__*/function () {
378
378
  PaymentTransactionEventData.RequiredProperties = ["data_type", "transaction_id", "wallet_id", "status", "source", "destination", "initiator_type", "created_timestamp", "updated_timestamp", "acquiring_type"];
379
379
 
380
380
  /**
381
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
381
+ * 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.
382
382
  * @member {module:model/PaymentTransactionEventData.DataTypeEnum} data_type
383
383
  */
384
384
  PaymentTransactionEventData.prototype['data_type'] = undefined;
@@ -588,7 +588,7 @@ PaymentTransactionEventData.prototype['custom_payer_id'] = undefined;
588
588
 
589
589
  // Implement WebhookEventDataType interface:
590
590
  /**
591
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
591
+ * 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.
592
592
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
593
593
  */
594
594
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -813,6 +813,11 @@ PaymentTransactionEventData['DataTypeEnum'] = {
813
813
  * @const
814
814
  */
815
815
  "PaymentPayout": "PaymentPayout",
816
+ /**
817
+ * value: "PaymentBulkSend"
818
+ * @const
819
+ */
820
+ "PaymentBulkSend": "PaymentBulkSend",
816
821
  /**
817
822
  * value: "BalanceUpdateInfo"
818
823
  * @const
@@ -833,6 +838,11 @@ PaymentTransactionEventData['DataTypeEnum'] = {
833
838
  * @const
834
839
  */
835
840
  "ComplianceKytScreenings": "ComplianceKytScreenings",
841
+ /**
842
+ * value: "ComplianceKyaScreenings"
843
+ * @const
844
+ */
845
+ "ComplianceKyaScreenings": "ComplianceKyaScreenings",
836
846
  /**
837
847
  * value: "unknown_default_open_api"
838
848
  * @const
@@ -170,7 +170,7 @@ PspBalance.prototype['developer_fee_amount'] = undefined;
170
170
  PspBalance.prototype['settled_amount'] = undefined;
171
171
 
172
172
  /**
173
- * The psp payout amount.
173
+ * This field is reserved for future use.
174
174
  * @member {String} payout_amount
175
175
  */
176
176
  PspBalance.prototype['payout_amount'] = undefined;
@@ -182,19 +182,19 @@ PspBalance.prototype['payout_amount'] = undefined;
182
182
  PspBalance.prototype['refunded_amount'] = undefined;
183
183
 
184
184
  /**
185
- * The total balance of the token available for payout or refund for the developer. `total_balance` = `developer_fee_amount` - `settled_amount` - `refunded_amount` For more information, please refer to [Funds allocation and balances](https://www.cobo.com/payments/en/guides/amounts-and-balances)
185
+ * The total balance of the token available for payout or refund for the developer. For more information, please refer to [Accounts and fund allocation](https://www.cobo.com/payments/en/guides/amounts-and-balances)
186
186
  * @member {String} total_balance
187
187
  */
188
188
  PspBalance.prototype['total_balance'] = undefined;
189
189
 
190
190
  /**
191
- * The psp available balance.
191
+ * This field has been deprecated.
192
192
  * @member {String} available_balance
193
193
  */
194
194
  PspBalance.prototype['available_balance'] = undefined;
195
195
 
196
196
  /**
197
- * The psp locked balance.
197
+ * This field is reserved for future use.
198
198
  * @member {String} locked_balance
199
199
  */
200
200
  PspBalance.prototype['locked_balance'] = undefined;
@@ -155,7 +155,7 @@ RefundLinkBusinessInfo.prototype['refund_source'] = undefined;
155
155
  RefundLinkBusinessInfo.prototype['merchant_id'] = undefined;
156
156
 
157
157
  /**
158
- * The developer fee amount to charge the merchant, denominated in the cryptocurrency of the original payment transaction. This field is only valid when `refund_source` is `Merchant`. For more information, please refer to [Funds allocation and balances](https://www.cobo.com/payments/en/guides/amounts-and-balances). Must be: - A positive integer with up to two decimal places. - Less than the refund amount
158
+ * The developer fee amount to charge the merchant, denominated in the cryptocurrency of the original payment transaction. This field is only valid when `refund_source` is `Merchant`. For more information, please refer to [Accounts and fund allocation](https://www.cobo.com/payments/en/guides/amounts-and-balances). Must be: - A positive integer with up to two decimal places. - Less than the refund amount
159
159
  * @member {String} fee_amount
160
160
  */
161
161
  RefundLinkBusinessInfo.prototype['fee_amount'] = undefined;