@cobo/cobo-waas2 1.37.0 → 1.39.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.
- package/README.md +7 -1
- package/dist/ApiClient.js +1 -1
- package/dist/api/AutoSweepApi.js +2 -2
- package/dist/api/PaymentApi.js +4 -4
- package/dist/api/TransactionsApi.js +7 -3
- package/dist/api/WalletsApi.js +3 -0
- package/dist/index.js +42 -0
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AllocationItem.js +9 -0
- package/dist/model/AllocationItemStatus.js +71 -0
- package/dist/model/ApprovalAction.js +71 -0
- package/dist/model/ApprovalUserDetail.js +22 -0
- package/dist/model/AutoSweepTask.js +1 -1
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BatchAllocation.js +9 -0
- package/dist/model/BatchAllocationDetail.js +9 -0
- package/dist/model/BatchAllocationStatus.js +76 -0
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
- package/dist/model/CreateBulkSendRequest.js +1 -1
- package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +1 -1
- package/dist/model/CreateCustodialWalletParams.js +2 -2
- package/dist/model/CreateExchangeWalletParams.js +3 -3
- package/dist/model/CreateMpcWalletParams.js +3 -3
- package/dist/model/CreateSafeWalletParams.js +2 -2
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/EstimatedSOLFeeSlow.js +2 -2
- package/dist/model/FiatTransactionEventData.js +8 -3
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/OrganizationEventData.js +8 -3
- package/dist/model/PaymentAccountBalanceUpdateEventData.js +418 -0
- package/dist/model/PaymentAddressUpdateEventData.js +21 -3
- package/dist/model/PaymentBulkSendEvent.js +8 -3
- package/dist/model/PaymentBulkSendItemValidationStatus.js +5 -0
- package/dist/model/PaymentOrderEventData.js +8 -3
- package/dist/model/PaymentPayoutEvent.js +8 -3
- package/dist/model/PaymentPayoutRecipientInfo.js +1 -1
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentTransactionEventData.js +49 -5
- package/dist/model/RawMessageSignDestination.js +122 -0
- package/dist/model/SOLBase.js +1 -1
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/TSSRequestWebhookEventData.js +8 -3
- package/dist/model/TokenListingEventData.js +8 -3
- package/dist/model/TokensEventData.js +8 -3
- package/dist/model/Transaction.js +1 -1
- package/dist/model/TransactionDetail.js +2 -2
- package/dist/model/TransactionDetails.js +2 -2
- package/dist/model/TransactionExtra.js +42 -8
- package/dist/model/TransactionExtraType.js +5 -0
- package/dist/model/TransactionFee.js +1 -1
- package/dist/model/TransactionFeePayer.js +120 -0
- package/dist/model/TransactionSOLFee.js +3 -3
- package/dist/model/TransactionWebhookEventData.js +10 -5
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +106 -12
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +5 -0
- package/docs/AddressesEventData.md +3 -1
- package/docs/AllocationItem.md +1 -0
- package/docs/AllocationItemStatus.md +16 -0
- package/docs/ApprovalAction.md +16 -0
- package/docs/ApprovalUserDetail.md +2 -0
- package/docs/AutoSweepApi.md +1 -1
- package/docs/AutoSweepTask.md +1 -1
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BatchAllocation.md +1 -0
- package/docs/BatchAllocationDetail.md +1 -0
- package/docs/BatchAllocationStatus.md +18 -0
- package/docs/ChainsEventData.md +3 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKyaScreeningsUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
- package/docs/CreateBulkSendRequest.md +1 -1
- package/docs/CreateBulkSendRequestPayoutParamsInner.md +1 -1
- package/docs/CreateCustodialWalletParams.md +1 -1
- package/docs/CreateExchangeWalletParams.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreateSafeWalletParams.md +1 -1
- package/docs/CreateSmartContractWalletParams.md +1 -1
- package/docs/CreateWalletParams.md +1 -1
- package/docs/EstimatedSOLFeeSlow.md +1 -1
- package/docs/FiatTransactionEventData.md +3 -1
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/OrganizationEventData.md +3 -1
- package/docs/PaymentAccountBalanceUpdateEventData.md +76 -0
- package/docs/PaymentAddressUpdateEventData.md +4 -1
- package/docs/PaymentApi.md +2 -2
- package/docs/PaymentBulkSendEvent.md +3 -1
- package/docs/PaymentBulkSendItemValidationStatus.md +2 -0
- package/docs/PaymentOrderEventData.md +3 -1
- package/docs/PaymentPayoutEvent.md +3 -1
- package/docs/PaymentPayoutRecipientInfo.md +1 -1
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentTransactionEventData.md +7 -2
- package/docs/RawMessageSignDestination.md +10 -0
- package/docs/SOLBase.md +1 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/TSSRequestWebhookEventData.md +3 -1
- package/docs/TokenListingEventData.md +3 -1
- package/docs/TokensEventData.md +3 -1
- package/docs/Transaction.md +1 -1
- package/docs/TransactionDetail.md +1 -1
- package/docs/TransactionDetails.md +1 -1
- package/docs/TransactionExtra.md +1 -0
- package/docs/TransactionExtraType.md +2 -0
- package/docs/TransactionFee.md +1 -1
- package/docs/TransactionFeePayer.md +10 -0
- package/docs/TransactionSOLFee.md +2 -2
- package/docs/TransactionWebhookEventData.md +4 -2
- package/docs/TransactionsApi.md +4 -2
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletsApi.md +2 -0
- package/docs/WebhookEventData.md +17 -4
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +2 -0
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
|
|
|
37
37
|
* @alias module:model/BalanceUpdateInfoEventData
|
|
38
38
|
* @implements module:model/WebhookEventDataType
|
|
39
39
|
* @implements module:model/BalanceUpdateInfo
|
|
40
|
-
* @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
40
|
+
* @param data_type {module:model/BalanceUpdateInfoEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
41
41
|
* @param token_id {String} The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens).
|
|
42
42
|
* @param address {String} The wallet address.
|
|
43
43
|
* @param wallet_uuid {String} The wallet ID.
|
|
@@ -156,7 +156,7 @@ var BalanceUpdateInfoEventData = /*#__PURE__*/function () {
|
|
|
156
156
|
BalanceUpdateInfoEventData.RequiredProperties = ["data_type", "token_id", "address", "wallet_uuid", "updated_timestamp", "balance"];
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
159
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
160
160
|
* @member {module:model/BalanceUpdateInfoEventData.DataTypeEnum} data_type
|
|
161
161
|
*/
|
|
162
162
|
BalanceUpdateInfoEventData.prototype['data_type'] = undefined;
|
|
@@ -192,7 +192,7 @@ BalanceUpdateInfoEventData.prototype['balance'] = undefined;
|
|
|
192
192
|
|
|
193
193
|
// Implement WebhookEventDataType interface:
|
|
194
194
|
/**
|
|
195
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
195
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
196
196
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
197
197
|
*/
|
|
198
198
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -303,6 +303,11 @@ BalanceUpdateInfoEventData['DataTypeEnum'] = {
|
|
|
303
303
|
* @const
|
|
304
304
|
*/
|
|
305
305
|
"PaymentBulkSend": "PaymentBulkSend",
|
|
306
|
+
/**
|
|
307
|
+
* value: "PaymentAccountBalanceUpdate"
|
|
308
|
+
* @const
|
|
309
|
+
*/
|
|
310
|
+
"PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
|
|
306
311
|
/**
|
|
307
312
|
* value: "BalanceUpdateInfo"
|
|
308
313
|
* @const
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _AllocationParam = _interopRequireDefault(require("./AllocationParam"));
|
|
9
|
+
var _BatchAllocationStatus = _interopRequireDefault(require("./BatchAllocationStatus"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
12
|
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; } } }; }
|
|
@@ -81,6 +82,9 @@ var BatchAllocation = /*#__PURE__*/function () {
|
|
|
81
82
|
if (data.hasOwnProperty('initiator')) {
|
|
82
83
|
obj['initiator'] = _ApiClient["default"].convertToType(data['initiator'], 'String');
|
|
83
84
|
}
|
|
85
|
+
if (data.hasOwnProperty('status')) {
|
|
86
|
+
obj['status'] = _BatchAllocationStatus["default"].constructFromObject(data['status']);
|
|
87
|
+
}
|
|
84
88
|
if (data.hasOwnProperty('created_timestamp')) {
|
|
85
89
|
obj['created_timestamp'] = _ApiClient["default"].convertToType(data['created_timestamp'], 'Number');
|
|
86
90
|
}
|
|
@@ -176,6 +180,11 @@ BatchAllocation.prototype['allocation_params'] = undefined;
|
|
|
176
180
|
*/
|
|
177
181
|
BatchAllocation.prototype['initiator'] = undefined;
|
|
178
182
|
|
|
183
|
+
/**
|
|
184
|
+
* @member {module:model/BatchAllocationStatus} status
|
|
185
|
+
*/
|
|
186
|
+
BatchAllocation.prototype['status'] = undefined;
|
|
187
|
+
|
|
179
188
|
/**
|
|
180
189
|
* The created time of the batch allocation, represented as a UNIX timestamp in seconds.
|
|
181
190
|
* @member {Number} created_timestamp
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _AllocationItem = _interopRequireDefault(require("./AllocationItem"));
|
|
9
|
+
var _BatchAllocationStatus = _interopRequireDefault(require("./BatchAllocationStatus"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
12
|
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; } } }; }
|
|
@@ -77,6 +78,9 @@ var BatchAllocationDetail = /*#__PURE__*/function () {
|
|
|
77
78
|
if (data.hasOwnProperty('initiator')) {
|
|
78
79
|
obj['initiator'] = _ApiClient["default"].convertToType(data['initiator'], 'String');
|
|
79
80
|
}
|
|
81
|
+
if (data.hasOwnProperty('status')) {
|
|
82
|
+
obj['status'] = _BatchAllocationStatus["default"].constructFromObject(data['status']);
|
|
83
|
+
}
|
|
80
84
|
if (data.hasOwnProperty('created_timestamp')) {
|
|
81
85
|
obj['created_timestamp'] = _ApiClient["default"].convertToType(data['created_timestamp'], 'Number');
|
|
82
86
|
}
|
|
@@ -172,6 +176,11 @@ BatchAllocationDetail.prototype['allocation_items'] = undefined;
|
|
|
172
176
|
*/
|
|
173
177
|
BatchAllocationDetail.prototype['initiator'] = undefined;
|
|
174
178
|
|
|
179
|
+
/**
|
|
180
|
+
* @member {module:model/BatchAllocationStatus} status
|
|
181
|
+
*/
|
|
182
|
+
BatchAllocationDetail.prototype['status'] = undefined;
|
|
183
|
+
|
|
175
184
|
/**
|
|
176
185
|
* The created time of the batch allocation, represented as a UNIX timestamp in seconds.
|
|
177
186
|
* @member {Number} created_timestamp
|
|
@@ -0,0 +1,76 @@
|
|
|
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 BatchAllocationStatus.
|
|
27
|
+
* @enum {}
|
|
28
|
+
* @readonly
|
|
29
|
+
*/
|
|
30
|
+
var BatchAllocationStatus = exports["default"] = /*#__PURE__*/function () {
|
|
31
|
+
function BatchAllocationStatus() {
|
|
32
|
+
_classCallCheck(this, BatchAllocationStatus);
|
|
33
|
+
/**
|
|
34
|
+
* value: "Pending"
|
|
35
|
+
* @const
|
|
36
|
+
*/
|
|
37
|
+
_defineProperty(this, "Pending", "Pending");
|
|
38
|
+
/**
|
|
39
|
+
* value: "Processing"
|
|
40
|
+
* @const
|
|
41
|
+
*/
|
|
42
|
+
_defineProperty(this, "Processing", "Processing");
|
|
43
|
+
/**
|
|
44
|
+
* value: "Completed"
|
|
45
|
+
* @const
|
|
46
|
+
*/
|
|
47
|
+
_defineProperty(this, "Completed", "Completed");
|
|
48
|
+
/**
|
|
49
|
+
* value: "PartiallyCompleted"
|
|
50
|
+
* @const
|
|
51
|
+
*/
|
|
52
|
+
_defineProperty(this, "PartiallyCompleted", "PartiallyCompleted");
|
|
53
|
+
/**
|
|
54
|
+
* value: "Failed"
|
|
55
|
+
* @const
|
|
56
|
+
*/
|
|
57
|
+
_defineProperty(this, "Failed", "Failed");
|
|
58
|
+
/**
|
|
59
|
+
* value: "unknown_default_open_api"
|
|
60
|
+
* @const
|
|
61
|
+
*/
|
|
62
|
+
_defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
|
|
63
|
+
}
|
|
64
|
+
return _createClass(BatchAllocationStatus, null, [{
|
|
65
|
+
key: "constructFromObject",
|
|
66
|
+
value:
|
|
67
|
+
/**
|
|
68
|
+
* Returns a <code>BatchAllocationStatus</code> enum value from a Javascript object name.
|
|
69
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
70
|
+
* @return {module:model/BatchAllocationStatus} The enum <code>BatchAllocationStatus</code> value.
|
|
71
|
+
*/
|
|
72
|
+
function constructFromObject(object) {
|
|
73
|
+
return object;
|
|
74
|
+
}
|
|
75
|
+
}]);
|
|
76
|
+
}();
|
|
@@ -37,7 +37,7 @@ var ChainsEventData = /*#__PURE__*/function () {
|
|
|
37
37
|
* Constructs a new <code>ChainsEventData</code>.
|
|
38
38
|
* @alias module:model/ChainsEventData
|
|
39
39
|
* @implements module:model/WebhookEventDataType
|
|
40
|
-
* @param data_type {module:model/ChainsEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
40
|
+
* @param data_type {module:model/ChainsEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
41
41
|
* @param chains {Array.<module:model/ChainInfo>} The enabled chains.
|
|
42
42
|
*/
|
|
43
43
|
function ChainsEventData(data_type, chains) {
|
|
@@ -146,7 +146,7 @@ var ChainsEventData = /*#__PURE__*/function () {
|
|
|
146
146
|
ChainsEventData.RequiredProperties = ["data_type", "chains"];
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
149
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
150
150
|
* @member {module:model/ChainsEventData.DataTypeEnum} data_type
|
|
151
151
|
*/
|
|
152
152
|
ChainsEventData.prototype['data_type'] = undefined;
|
|
@@ -169,7 +169,7 @@ ChainsEventData.prototype['wallet_subtypes'] = undefined;
|
|
|
169
169
|
|
|
170
170
|
// Implement WebhookEventDataType interface:
|
|
171
171
|
/**
|
|
172
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
172
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
173
173
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
174
174
|
*/
|
|
175
175
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -255,6 +255,11 @@ ChainsEventData['DataTypeEnum'] = {
|
|
|
255
255
|
* @const
|
|
256
256
|
*/
|
|
257
257
|
"PaymentBulkSend": "PaymentBulkSend",
|
|
258
|
+
/**
|
|
259
|
+
* value: "PaymentAccountBalanceUpdate"
|
|
260
|
+
* @const
|
|
261
|
+
*/
|
|
262
|
+
"PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
|
|
258
263
|
/**
|
|
259
264
|
* value: "BalanceUpdateInfo"
|
|
260
265
|
* @const
|
|
@@ -38,7 +38,7 @@ var ComplianceDispositionUpdateEventData = /*#__PURE__*/function () {
|
|
|
38
38
|
* @alias module:model/ComplianceDispositionUpdateEventData
|
|
39
39
|
* @implements module:model/WebhookEventDataType
|
|
40
40
|
* @implements module:model/DispositionEventData
|
|
41
|
-
* @param data_type {module:model/ComplianceDispositionUpdateEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
41
|
+
* @param data_type {module:model/ComplianceDispositionUpdateEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
42
42
|
* @param transaction_id {String} The transaction ID.
|
|
43
43
|
* @param disposition_type {module:model/DispositionType}
|
|
44
44
|
* @param disposition_status {module:model/DispositionStatus}
|
|
@@ -151,7 +151,7 @@ var ComplianceDispositionUpdateEventData = /*#__PURE__*/function () {
|
|
|
151
151
|
ComplianceDispositionUpdateEventData.RequiredProperties = ["data_type", "transaction_id", "disposition_type", "disposition_status", "updated_timestamp"];
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
154
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
155
155
|
* @member {module:model/ComplianceDispositionUpdateEventData.DataTypeEnum} data_type
|
|
156
156
|
*/
|
|
157
157
|
ComplianceDispositionUpdateEventData.prototype['data_type'] = undefined;
|
|
@@ -192,7 +192,7 @@ ComplianceDispositionUpdateEventData.prototype['updated_timestamp'] = undefined;
|
|
|
192
192
|
|
|
193
193
|
// Implement WebhookEventDataType interface:
|
|
194
194
|
/**
|
|
195
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
195
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
196
196
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
197
197
|
*/
|
|
198
198
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -307,6 +307,11 @@ ComplianceDispositionUpdateEventData['DataTypeEnum'] = {
|
|
|
307
307
|
* @const
|
|
308
308
|
*/
|
|
309
309
|
"PaymentBulkSend": "PaymentBulkSend",
|
|
310
|
+
/**
|
|
311
|
+
* value: "PaymentAccountBalanceUpdate"
|
|
312
|
+
* @const
|
|
313
|
+
*/
|
|
314
|
+
"PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
|
|
310
315
|
/**
|
|
311
316
|
* value: "BalanceUpdateInfo"
|
|
312
317
|
* @const
|
|
@@ -37,7 +37,7 @@ var ComplianceKyaScreeningsUpdateEventData = /*#__PURE__*/function () {
|
|
|
37
37
|
* @alias module:model/ComplianceKyaScreeningsUpdateEventData
|
|
38
38
|
* @implements module:model/WebhookEventDataType
|
|
39
39
|
* @implements module:model/KyaScreeningsEventData
|
|
40
|
-
* @param data_type {module:model/ComplianceKyaScreeningsUpdateEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
40
|
+
* @param data_type {module:model/ComplianceKyaScreeningsUpdateEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
41
41
|
* @param screening_id {String} The unique system-generated identifier for this screening request (UUID format, fixed 36 characters).
|
|
42
42
|
* @param address {String} The screened blockchain address.
|
|
43
43
|
* @param chain_id {String} The chain identifier.
|
|
@@ -154,7 +154,7 @@ var ComplianceKyaScreeningsUpdateEventData = /*#__PURE__*/function () {
|
|
|
154
154
|
ComplianceKyaScreeningsUpdateEventData.RequiredProperties = ["data_type", "screening_id", "address", "chain_id", "status", "created_timestamp", "updated_timestamp"];
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
157
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
158
158
|
* @member {module:model/ComplianceKyaScreeningsUpdateEventData.DataTypeEnum} data_type
|
|
159
159
|
*/
|
|
160
160
|
ComplianceKyaScreeningsUpdateEventData.prototype['data_type'] = undefined;
|
|
@@ -196,7 +196,7 @@ ComplianceKyaScreeningsUpdateEventData.prototype['updated_timestamp'] = undefine
|
|
|
196
196
|
|
|
197
197
|
// Implement WebhookEventDataType interface:
|
|
198
198
|
/**
|
|
199
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
199
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
200
200
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
201
201
|
*/
|
|
202
202
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -312,6 +312,11 @@ ComplianceKyaScreeningsUpdateEventData['DataTypeEnum'] = {
|
|
|
312
312
|
* @const
|
|
313
313
|
*/
|
|
314
314
|
"PaymentBulkSend": "PaymentBulkSend",
|
|
315
|
+
/**
|
|
316
|
+
* value: "PaymentAccountBalanceUpdate"
|
|
317
|
+
* @const
|
|
318
|
+
*/
|
|
319
|
+
"PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
|
|
315
320
|
/**
|
|
316
321
|
* value: "BalanceUpdateInfo"
|
|
317
322
|
* @const
|
|
@@ -39,7 +39,7 @@ var ComplianceKytScreeningsUpdateEventData = /*#__PURE__*/function () {
|
|
|
39
39
|
* @alias module:model/ComplianceKytScreeningsUpdateEventData
|
|
40
40
|
* @implements module:model/WebhookEventDataType
|
|
41
41
|
* @implements module:model/KytScreeningsEventData
|
|
42
|
-
* @param data_type {module:model/ComplianceKytScreeningsUpdateEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
42
|
+
* @param data_type {module:model/ComplianceKytScreeningsUpdateEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
43
43
|
* @param transaction_id {String} The transaction ID.
|
|
44
44
|
* @param transaction_type {module:model/KytScreeningsTransactionType}
|
|
45
45
|
* @param review_status {module:model/ReviewStatusType}
|
|
@@ -143,7 +143,7 @@ var ComplianceKytScreeningsUpdateEventData = /*#__PURE__*/function () {
|
|
|
143
143
|
ComplianceKytScreeningsUpdateEventData.RequiredProperties = ["data_type", "transaction_id", "transaction_type", "review_status", "funds_status", "updated_timestamp"];
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
146
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
147
147
|
* @member {module:model/ComplianceKytScreeningsUpdateEventData.DataTypeEnum} data_type
|
|
148
148
|
*/
|
|
149
149
|
ComplianceKytScreeningsUpdateEventData.prototype['data_type'] = undefined;
|
|
@@ -177,7 +177,7 @@ ComplianceKytScreeningsUpdateEventData.prototype['updated_timestamp'] = undefine
|
|
|
177
177
|
|
|
178
178
|
// Implement WebhookEventDataType interface:
|
|
179
179
|
/**
|
|
180
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
180
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
181
181
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
182
182
|
*/
|
|
183
183
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -286,6 +286,11 @@ ComplianceKytScreeningsUpdateEventData['DataTypeEnum'] = {
|
|
|
286
286
|
* @const
|
|
287
287
|
*/
|
|
288
288
|
"PaymentBulkSend": "PaymentBulkSend",
|
|
289
|
+
/**
|
|
290
|
+
* value: "PaymentAccountBalanceUpdate"
|
|
291
|
+
* @const
|
|
292
|
+
*/
|
|
293
|
+
"PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
|
|
289
294
|
/**
|
|
290
295
|
* value: "BalanceUpdateInfo"
|
|
291
296
|
* @const
|
|
@@ -167,7 +167,7 @@ CreateBulkSendRequest.prototype['source_account'] = undefined;
|
|
|
167
167
|
CreateBulkSendRequest.prototype['execution_mode'] = undefined;
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
* The description for the entire bulk send batch.
|
|
170
|
+
* The description for the entire bulk send batch. Maximum length: 255 characters.
|
|
171
171
|
* @member {String} description
|
|
172
172
|
*/
|
|
173
173
|
CreateBulkSendRequest.prototype['description'] = undefined;
|
|
@@ -146,7 +146,7 @@ CreateBulkSendRequestPayoutParamsInner.prototype['receiving_address'] = undefine
|
|
|
146
146
|
CreateBulkSendRequestPayoutParamsInner.prototype['amount'] = undefined;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* A note or comment about the bulk send item.
|
|
149
|
+
* A note or comment about the bulk send item. Maximum length: 255 characters.
|
|
150
150
|
* @member {String} description
|
|
151
151
|
*/
|
|
152
152
|
CreateBulkSendRequestPayoutParamsInner.prototype['description'] = undefined;
|
|
@@ -35,7 +35,7 @@ var CreateCustodialWalletParams = /*#__PURE__*/function () {
|
|
|
35
35
|
* Constructs a new <code>CreateCustodialWalletParams</code>.
|
|
36
36
|
* The information of Custodial Wallets.
|
|
37
37
|
* @alias module:model/CreateCustodialWalletParams
|
|
38
|
-
* @param name {String} The wallet name.
|
|
38
|
+
* @param name {String} The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
39
39
|
* @param wallet_type {module:model/WalletType}
|
|
40
40
|
* @param wallet_subtype {module:model/WalletSubtype}
|
|
41
41
|
*/
|
|
@@ -119,7 +119,7 @@ var CreateCustodialWalletParams = /*#__PURE__*/function () {
|
|
|
119
119
|
CreateCustodialWalletParams.RequiredProperties = ["name", "wallet_type", "wallet_subtype"];
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
|
-
* The wallet name.
|
|
122
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
123
123
|
* @member {String} name
|
|
124
124
|
*/
|
|
125
125
|
CreateCustodialWalletParams.prototype['name'] = undefined;
|
|
@@ -37,7 +37,7 @@ var CreateExchangeWalletParams = /*#__PURE__*/function () {
|
|
|
37
37
|
* Constructs a new <code>CreateExchangeWalletParams</code>.
|
|
38
38
|
* @alias module:model/CreateExchangeWalletParams
|
|
39
39
|
* @implements module:model/CreateCustodialWalletParams
|
|
40
|
-
* @param name {String} The wallet name.
|
|
40
|
+
* @param name {String} The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
41
41
|
* @param wallet_type {module:model/WalletType}
|
|
42
42
|
* @param wallet_subtype {module:model/WalletSubtype}
|
|
43
43
|
* @param exchange_id {module:model/ExchangeId}
|
|
@@ -181,7 +181,7 @@ var CreateExchangeWalletParams = /*#__PURE__*/function () {
|
|
|
181
181
|
CreateExchangeWalletParams.RequiredProperties = ["name", "wallet_type", "wallet_subtype", "exchange_id", "apikey", "secret"];
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
* The wallet name.
|
|
184
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
185
185
|
* @member {String} name
|
|
186
186
|
*/
|
|
187
187
|
CreateExchangeWalletParams.prototype['name'] = undefined;
|
|
@@ -251,7 +251,7 @@ CreateExchangeWalletParams.prototype['main_wallet_id'] = undefined;
|
|
|
251
251
|
|
|
252
252
|
// Implement CreateCustodialWalletParams interface:
|
|
253
253
|
/**
|
|
254
|
-
* The wallet name.
|
|
254
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
255
255
|
* @member {String} name
|
|
256
256
|
*/
|
|
257
257
|
_CreateCustodialWalletParams["default"].prototype['name'] = undefined;
|
|
@@ -36,7 +36,7 @@ var CreateMpcWalletParams = /*#__PURE__*/function () {
|
|
|
36
36
|
* Constructs a new <code>CreateMpcWalletParams</code>.
|
|
37
37
|
* @alias module:model/CreateMpcWalletParams
|
|
38
38
|
* @implements module:model/CreateCustodialWalletParams
|
|
39
|
-
* @param name {String} The wallet name.
|
|
39
|
+
* @param name {String} The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
40
40
|
* @param wallet_type {module:model/WalletType}
|
|
41
41
|
* @param wallet_subtype {module:model/WalletSubtype}
|
|
42
42
|
* @param vault_id {String} The ID of the owning vault. You can call [List all vaults](https://www.cobo.com/developers/v2/api-references/wallets--mpc-wallets/list-all-vaults) to retrieve all vault IDs under your organization.
|
|
@@ -131,7 +131,7 @@ var CreateMpcWalletParams = /*#__PURE__*/function () {
|
|
|
131
131
|
CreateMpcWalletParams.RequiredProperties = ["name", "wallet_type", "wallet_subtype", "vault_id"];
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* The wallet name.
|
|
134
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
135
135
|
* @member {String} name
|
|
136
136
|
*/
|
|
137
137
|
CreateMpcWalletParams.prototype['name'] = undefined;
|
|
@@ -160,7 +160,7 @@ CreateMpcWalletParams.prototype['vault_id'] = undefined;
|
|
|
160
160
|
|
|
161
161
|
// Implement CreateCustodialWalletParams interface:
|
|
162
162
|
/**
|
|
163
|
-
* The wallet name.
|
|
163
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
164
164
|
* @member {String} name
|
|
165
165
|
*/
|
|
166
166
|
_CreateCustodialWalletParams["default"].prototype['name'] = undefined;
|
|
@@ -36,7 +36,7 @@ var CreateSafeWalletParams = /*#__PURE__*/function () {
|
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>CreateSafeWalletParams</code>.
|
|
38
38
|
* @alias module:model/CreateSafeWalletParams
|
|
39
|
-
* @param name {String} The wallet name.
|
|
39
|
+
* @param name {String} The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
40
40
|
* @param wallet_type {module:model/WalletType}
|
|
41
41
|
* @param wallet_subtype {module:model/WalletSubtype}
|
|
42
42
|
* @param chain_id {String} The ID of the chain that the wallet operates on.
|
|
@@ -168,7 +168,7 @@ var CreateSafeWalletParams = /*#__PURE__*/function () {
|
|
|
168
168
|
CreateSafeWalletParams.RequiredProperties = ["name", "wallet_type", "wallet_subtype", "chain_id", "smart_contract_wallet_type"];
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* The wallet name.
|
|
171
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
172
172
|
* @member {String} name
|
|
173
173
|
*/
|
|
174
174
|
CreateSafeWalletParams.prototype['name'] = undefined;
|
|
@@ -139,7 +139,7 @@ var CreateSmartContractWalletParams = /*#__PURE__*/function () {
|
|
|
139
139
|
}]);
|
|
140
140
|
}();
|
|
141
141
|
/**
|
|
142
|
-
* The wallet name.
|
|
142
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
143
143
|
* @member {String} name
|
|
144
144
|
*/
|
|
145
145
|
_CreateSmartContractWalletParams = CreateSmartContractWalletParams;
|
|
@@ -194,7 +194,7 @@ var CreateWalletParams = /*#__PURE__*/function () {
|
|
|
194
194
|
}]);
|
|
195
195
|
}();
|
|
196
196
|
/**
|
|
197
|
-
* The wallet name.
|
|
197
|
+
* The wallet name. This field is required and cannot be empty. Letters, numbers, and spaces are supported (for example, `My WaaS 2.0 Wallet`). <Note>Some special characters are not accepted. For example, the at sign (`@`) is rejected. If the name is empty or contains unsupported characters, the request fails with a `400 Bad Request` error.</Note>
|
|
198
198
|
* @member {String} name
|
|
199
199
|
*/
|
|
200
200
|
_CreateWalletParams = CreateWalletParams;
|
|
@@ -154,7 +154,7 @@ EstimatedSOLFeeSlow.prototype['compute_unit_limit'] = undefined;
|
|
|
154
154
|
EstimatedSOLFeeSlow.prototype['base_fee'] = undefined;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* The rent
|
|
157
|
+
* The one-time rent required to activate a Solana token Associated Token Account (ATA) before the token can be received or used. **This field is reserved for future use and is currently not populated.**
|
|
158
158
|
* @member {String} rent_amount
|
|
159
159
|
*/
|
|
160
160
|
EstimatedSOLFeeSlow.prototype['rent_amount'] = undefined;
|
|
@@ -177,7 +177,7 @@ _SOLComputeUnit["default"].prototype['compute_unit_limit'] = undefined;
|
|
|
177
177
|
*/
|
|
178
178
|
_SOLBase["default"].prototype['base_fee'] = undefined;
|
|
179
179
|
/**
|
|
180
|
-
* The rent
|
|
180
|
+
* The one-time rent required to activate a Solana token Associated Token Account (ATA) before the token can be received or used. **This field is reserved for future use and is currently not populated.**
|
|
181
181
|
* @member {String} rent_amount
|
|
182
182
|
*/
|
|
183
183
|
_SOLBase["default"].prototype['rent_amount'] = undefined;
|
|
@@ -37,7 +37,7 @@ var FiatTransactionEventData = /*#__PURE__*/function () {
|
|
|
37
37
|
* @alias module:model/FiatTransactionEventData
|
|
38
38
|
* @implements module:model/WebhookEventDataType
|
|
39
39
|
* @implements module:model/FeeStationFiatTransaction
|
|
40
|
-
* @param data_type {module:model/FiatTransactionEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
40
|
+
* @param data_type {module:model/FiatTransactionEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
41
41
|
* @param transaction_id {String} The transaction ID.
|
|
42
42
|
* @param transaction_type {module:model/FeeStationFiatTransactionType}
|
|
43
43
|
* @param amount {String} The transaction amount.
|
|
@@ -173,7 +173,7 @@ var FiatTransactionEventData = /*#__PURE__*/function () {
|
|
|
173
173
|
FiatTransactionEventData.RequiredProperties = ["data_type", "transaction_id", "transaction_type", "amount", "fiat_currency", "status"];
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
176
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
177
177
|
* @member {module:model/FiatTransactionEventData.DataTypeEnum} data_type
|
|
178
178
|
*/
|
|
179
179
|
FiatTransactionEventData.prototype['data_type'] = undefined;
|
|
@@ -233,7 +233,7 @@ FiatTransactionEventData.prototype['modified_timestamp'] = undefined;
|
|
|
233
233
|
|
|
234
234
|
// Implement WebhookEventDataType interface:
|
|
235
235
|
/**
|
|
236
|
-
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
236
|
+
* The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data.
|
|
237
237
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
238
238
|
*/
|
|
239
239
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -364,6 +364,11 @@ FiatTransactionEventData['DataTypeEnum'] = {
|
|
|
364
364
|
* @const
|
|
365
365
|
*/
|
|
366
366
|
"PaymentBulkSend": "PaymentBulkSend",
|
|
367
|
+
/**
|
|
368
|
+
* value: "PaymentAccountBalanceUpdate"
|
|
369
|
+
* @const
|
|
370
|
+
*/
|
|
371
|
+
"PaymentAccountBalanceUpdate": "PaymentAccountBalanceUpdate",
|
|
367
372
|
/**
|
|
368
373
|
* value: "BalanceUpdateInfo"
|
|
369
374
|
* @const
|