@cobo/cobo-waas2 1.26.0 → 1.28.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 +96 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +2 -2
- package/dist/api/AutoSweepApi.js +4 -4
- package/dist/api/DevelopersWebhooksApi.js +2 -2
- package/dist/api/OAuthApi.js +4 -4
- package/dist/api/PaymentApi.js +1847 -294
- package/dist/api/StakingsApi.js +44 -2
- package/dist/api/SwapsApi.js +2 -2
- package/dist/api/TransactionsApi.js +6 -6
- package/dist/api/WalletsApi.js +14 -14
- package/dist/index.js +420 -7
- package/dist/model/AddressesEventData.js +8 -3
- package/dist/model/AllocationRecord.js +193 -0
- package/dist/model/AllocationRequest.js +167 -0
- package/dist/model/BabylonCreateStakingExpansion.js +157 -0
- package/dist/model/BabylonStakeExtra.js +26 -0
- package/dist/model/BabylonStakingRegistration.js +1 -1
- package/dist/model/BalanceUpdateInfoEventData.js +8 -3
- package/dist/model/BankAccountStatus.js +66 -0
- package/dist/model/BatchAllocation.js +190 -0
- package/dist/model/BatchAllocationDetail.js +188 -0
- package/dist/model/ChainsEventData.js +8 -3
- package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
- package/dist/model/ContractCallDestination.js +72 -10
- package/dist/model/ContractCallDestinationType.js +10 -0
- package/dist/model/CosmosContractCallDestination.js +0 -13
- package/dist/model/Counterparty.js +195 -0
- package/dist/model/CounterpartyDetail.js +228 -0
- package/dist/model/CounterpartyType.js +61 -0
- package/dist/model/CounterpartyWalletAddressDetail.js +192 -0
- package/dist/model/CreateBatchAllocationRequest.js +142 -0
- package/dist/model/CreateCounterpartyRequest.js +193 -0
- package/dist/model/CreateCounterpartyWalletAddressRequest.js +140 -0
- package/dist/model/CreateCustodialWalletParams.js +1 -1
- package/dist/model/CreateDestinationBankAccount.js +257 -0
- package/dist/model/CreateDestinationBankAccountRequest.js +272 -0
- package/dist/model/CreateDestinationRequest.js +235 -0
- package/dist/model/CreateDestinationWalletAddressRequest.js +140 -0
- package/dist/model/CreateExchangeWalletParams.js +2 -2
- package/dist/model/CreateKeyShareHolder.js +1 -1
- package/dist/model/CreateMerchantRequest.js +1 -1
- package/dist/model/CreateMpcWalletParams.js +2 -2
- package/dist/model/CreatePaymentOrderRequest.js +115 -68
- package/dist/model/CreatePayoutRequest.js +192 -0
- package/dist/model/CreateRefundRequest.js +3 -3
- package/dist/model/CreateSafeWalletParams.js +1 -1
- package/dist/model/CreateSettlement.js +14 -1
- package/dist/model/CreateSettlementRequestRequest.js +1 -1
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +12 -0
- package/dist/model/{ReceivedAmountPerAddress.js → CreateWalletAddress.js} +31 -32
- package/dist/model/CreateWalletParams.js +1 -1
- package/dist/model/DeleteCounterparty200Response.js +110 -0
- package/dist/model/DeleteCounterpartyWalletAddress200Response.js +110 -0
- package/dist/model/DeleteDestination200Response.js +110 -0
- package/dist/model/DeleteDestinationBankAccount200Response.js +110 -0
- package/dist/model/DeleteDestinationWalletAddress200Response.js +110 -0
- package/dist/model/Destination.js +208 -0
- package/dist/model/DestinationBankAccount.js +301 -0
- package/dist/model/DestinationBankAccountDetail.js +394 -0
- package/dist/model/DestinationDetail.js +272 -0
- package/dist/model/DestinationType.js +61 -0
- package/dist/model/DestinationWalletAddressDetail.js +205 -0
- package/dist/model/EnableDestinationWhitelistRequest.js +106 -0
- package/dist/model/EvmContractCallDestination.js +2 -2
- package/dist/model/ExchangeRate.js +140 -0
- package/dist/model/GetExchangeRate200Response.js +2 -2
- package/dist/model/IntermediaryBankInfo.js +140 -0
- package/dist/model/Link.js +4 -4
- package/dist/model/LinkDisplayInfo.js +15 -2
- package/dist/model/ListAllocations200Response.js +123 -0
- package/dist/model/ListBatchAllocations200Response.js +123 -0
- package/dist/model/ListCounterparties200Response.js +123 -0
- package/dist/model/ListCounterpartyWalletAddress200Response.js +123 -0
- package/dist/model/ListDestinationBankAccounts200Response.js +123 -0
- package/dist/model/ListDestinationWalletAddresses200Response.js +123 -0
- package/dist/model/ListDestinations200Response.js +123 -0
- package/dist/model/ListPayoutItems200Response.js +123 -0
- package/dist/model/ListPayouts200Response.js +123 -0
- package/dist/model/MPCVaultEventData.js +8 -3
- package/dist/model/MerchantBalance.js +28 -2
- package/dist/model/Order.js +135 -102
- package/dist/model/OrderLinkBusinessInfo.js +151 -87
- package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +4 -4
- package/dist/model/OrderLinkBusinessInfoPayableAmountsInner.js +125 -0
- package/dist/model/PaymentAddressUpdateEventData.js +8 -3
- package/dist/model/PaymentAllocationAmount.js +125 -0
- package/dist/model/PaymentOrderEventData.js +198 -145
- package/dist/model/PaymentPayout.js +250 -0
- package/dist/model/PaymentPayoutDetail.js +248 -0
- package/dist/model/PaymentPayoutEvent.js +433 -0
- package/dist/model/PaymentPayoutItem.js +298 -0
- package/dist/model/PaymentPayoutItemDetail.js +298 -0
- package/dist/model/PaymentPayoutItemStatus.js +76 -0
- package/dist/model/PaymentPayoutParam.js +165 -0
- package/dist/model/PaymentPayoutStatus.js +81 -0
- package/dist/model/PaymentRefundEventData.js +8 -3
- package/dist/model/PaymentSettlementEvent.js +8 -3
- package/dist/model/PaymentSourceType.js +61 -0
- package/dist/model/PaymentTransaction.js +32 -0
- package/dist/model/PaymentTransactionEventData.js +10 -5
- package/dist/model/PspBalance.js +28 -2
- package/dist/model/QueryDestinationWhitelistEnabled200Response.js +106 -0
- package/dist/model/RefundLinkBusinessInfo.js +6 -6
- package/dist/model/SettlementDetail.js +13 -0
- package/dist/model/Stakings.js +33 -6
- package/dist/model/SuspendedTokenEventData.js +8 -3
- package/dist/model/SwapActivity.js +1 -1
- package/dist/model/SwapActivityDetail.js +2 -2
- 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/TransactionCosmosContractDestination.js +0 -13
- package/dist/model/TransactionDestination.js +38 -10
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionDetail.js +2 -2
- package/dist/model/TransactionDetails.js +2 -2
- package/dist/model/TransactionTronContractDestination.js +150 -0
- package/dist/model/TransactionWebhookEventData.js +10 -5
- package/dist/model/TronContractCallDestination.js +150 -0
- package/dist/model/UpdateCounterpartyByIdRequest.js +160 -0
- package/dist/model/UpdateDestinationBankAccount.js +257 -0
- package/dist/model/UpdateDestinationByIdRequest.js +173 -0
- package/dist/model/UpdateMerchantByIdRequest.js +1 -1
- package/dist/model/WalletAddress.js +151 -0
- package/dist/model/WalletInfoEventData.js +8 -3
- package/dist/model/WebhookEventData.js +107 -43
- package/dist/model/WebhookEventDataType.js +7 -2
- package/dist/model/WebhookEventType.js +10 -0
- package/docs/AddressBooksApi.md +1 -1
- package/docs/AddressesEventData.md +3 -1
- package/docs/AllocationRecord.md +15 -0
- package/docs/AllocationRequest.md +13 -0
- package/docs/AutoSweepApi.md +2 -2
- package/docs/BabylonCreateStakingExpansion.md +12 -0
- package/docs/BabylonStakeExtra.md +2 -0
- package/docs/BalanceUpdateInfoEventData.md +3 -1
- package/docs/BankAccountStatus.md +14 -0
- package/docs/BatchAllocation.md +14 -0
- package/docs/BatchAllocationDetail.md +14 -0
- package/docs/ChainsEventData.md +3 -1
- package/docs/ComplianceDispositionUpdateEventData.md +3 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
- package/docs/ContractCallDestination.md +3 -2
- package/docs/ContractCallDestinationType.md +4 -0
- package/docs/CosmosContractCallDestination.md +0 -1
- package/docs/Counterparty.md +16 -0
- package/docs/CounterpartyDetail.md +17 -0
- package/docs/CounterpartyType.md +12 -0
- package/docs/CounterpartyWalletAddressDetail.md +15 -0
- package/docs/CreateBatchAllocationRequest.md +10 -0
- package/docs/CreateCounterpartyRequest.md +14 -0
- package/docs/CreateCounterpartyWalletAddressRequest.md +11 -0
- package/docs/CreateCustodialWalletParams.md +1 -1
- package/docs/CreateDestinationBankAccount.md +19 -0
- package/docs/CreateDestinationBankAccountRequest.md +20 -0
- package/docs/CreateDestinationRequest.md +16 -0
- package/docs/CreateDestinationWalletAddressRequest.md +11 -0
- package/docs/CreateExchangeWalletParams.md +1 -1
- package/docs/CreateKeyShareHolder.md +1 -1
- package/docs/CreateMerchantRequest.md +1 -1
- package/docs/CreateMpcWalletParams.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +15 -11
- package/docs/CreatePayoutRequest.md +14 -0
- package/docs/CreateRefundRequest.md +3 -3
- package/docs/CreateSafeWalletParams.md +1 -1
- package/docs/CreateSettlement.md +2 -1
- package/docs/CreateSettlementRequestRequest.md +1 -1
- package/docs/CreateSmartContractWalletParams.md +1 -1
- package/docs/CreateStakeActivityExtra.md +2 -0
- package/docs/CreateWalletAddress.md +10 -0
- package/docs/CreateWalletParams.md +1 -1
- package/docs/DeleteCounterparty200Response.md +9 -0
- package/docs/DeleteCounterpartyWalletAddress200Response.md +9 -0
- package/docs/DeleteDestination200Response.md +9 -0
- package/docs/DeleteDestinationBankAccount200Response.md +9 -0
- package/docs/DeleteDestinationWalletAddress200Response.md +9 -0
- package/docs/Destination.md +17 -0
- package/docs/DestinationBankAccount.md +23 -0
- package/docs/DestinationBankAccountDetail.md +30 -0
- package/docs/DestinationDetail.md +19 -0
- package/docs/DestinationType.md +12 -0
- package/docs/DestinationWalletAddressDetail.md +16 -0
- package/docs/DevelopersWebhooksApi.md +1 -1
- package/docs/EnableDestinationWhitelistRequest.md +9 -0
- package/docs/EvmContractCallDestination.md +1 -1
- package/docs/ExchangeRate.md +11 -0
- package/docs/GetExchangeRate200Response.md +1 -1
- package/docs/IntermediaryBankInfo.md +11 -0
- package/docs/Link.md +2 -2
- package/docs/LinkDisplayInfo.md +3 -2
- package/docs/ListAllocations200Response.md +10 -0
- package/docs/ListBatchAllocations200Response.md +10 -0
- package/docs/ListCounterparties200Response.md +10 -0
- package/docs/ListCounterpartyWalletAddress200Response.md +10 -0
- package/docs/ListDestinationBankAccounts200Response.md +10 -0
- package/docs/ListDestinationWalletAddresses200Response.md +10 -0
- package/docs/ListDestinations200Response.md +10 -0
- package/docs/ListPayoutItems200Response.md +10 -0
- package/docs/ListPayouts200Response.md +10 -0
- package/docs/MPCVaultEventData.md +3 -1
- package/docs/MerchantBalance.md +4 -2
- package/docs/OAuthApi.md +2 -2
- package/docs/Order.md +16 -13
- package/docs/OrderLinkBusinessInfo.md +11 -7
- package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +2 -2
- package/docs/OrderLinkBusinessInfoPayableAmountsInner.md +10 -0
- package/docs/PaymentAddressUpdateEventData.md +3 -1
- package/docs/PaymentAllocationAmount.md +10 -0
- package/docs/PaymentApi.md +2153 -395
- package/docs/PaymentOrderEventData.md +19 -14
- package/docs/PaymentPayout.md +19 -0
- package/docs/PaymentPayoutDetail.md +19 -0
- package/docs/PaymentPayoutEvent.md +65 -0
- package/docs/PaymentPayoutItem.md +22 -0
- package/docs/PaymentPayoutItemDetail.md +22 -0
- package/docs/PaymentPayoutItemStatus.md +18 -0
- package/docs/PaymentPayoutParam.md +13 -0
- package/docs/PaymentPayoutStatus.md +20 -0
- package/docs/PaymentRefundEventData.md +3 -1
- package/docs/PaymentSettlementEvent.md +3 -1
- package/docs/PaymentSourceType.md +12 -0
- package/docs/PaymentTransaction.md +2 -0
- package/docs/PaymentTransactionEventData.md +4 -2
- package/docs/PspBalance.md +4 -2
- package/docs/QueryDestinationWhitelistEnabled200Response.md +9 -0
- package/docs/RefundLinkBusinessInfo.md +4 -4
- package/docs/SettlementDetail.md +1 -0
- package/docs/Stakings.md +2 -1
- package/docs/StakingsApi.md +54 -1
- package/docs/SuspendedTokenEventData.md +3 -1
- package/docs/SwapActivity.md +1 -1
- package/docs/SwapActivityDetail.md +1 -1
- package/docs/SwapsApi.md +1 -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/TransactionCosmosContractDestination.md +0 -1
- package/docs/TransactionDestination.md +2 -2
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionDetail.md +1 -1
- package/docs/TransactionDetails.md +1 -1
- package/docs/TransactionTronContractDestination.md +12 -0
- package/docs/TransactionWebhookEventData.md +4 -2
- package/docs/TransactionsApi.md +3 -3
- package/docs/TronContractCallDestination.md +12 -0
- package/docs/UpdateCounterpartyByIdRequest.md +13 -0
- package/docs/UpdateDestinationBankAccount.md +19 -0
- package/docs/UpdateDestinationByIdRequest.md +14 -0
- package/docs/UpdateMerchantByIdRequest.md +1 -1
- package/docs/WalletAddress.md +12 -0
- package/docs/WalletInfoEventData.md +3 -1
- package/docs/WalletsApi.md +7 -7
- package/docs/WebhookEventData.md +22 -14
- package/docs/WebhookEventDataType.md +3 -1
- package/docs/WebhookEventType.md +4 -0
- package/package.json +1 -1
- package/docs/ReceivedAmountPerAddress.md +0 -10
|
@@ -0,0 +1,151 @@
|
|
|
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 _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; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Cobo Wallet as a Service 2.0
|
|
19
|
+
*
|
|
20
|
+
* Contact: help@cobo.com
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The WalletAddress model module.
|
|
29
|
+
* @module model/WalletAddress
|
|
30
|
+
*/
|
|
31
|
+
var WalletAddress = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>WalletAddress</code>.
|
|
34
|
+
* @alias module:model/WalletAddress
|
|
35
|
+
* @param wallet_address_id {String} The wallet address ID.
|
|
36
|
+
* @param address {String} The wallet address.
|
|
37
|
+
* @param chain_id {String} The chain ID of the cryptocurrency.
|
|
38
|
+
* @param updated_timestamp {Number} The updated time of the wallet address, represented as a UNIX timestamp in seconds.
|
|
39
|
+
*/
|
|
40
|
+
function WalletAddress(wallet_address_id, address, chain_id, updated_timestamp) {
|
|
41
|
+
_classCallCheck(this, WalletAddress);
|
|
42
|
+
WalletAddress.initialize(this, wallet_address_id, address, chain_id, updated_timestamp);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
return _createClass(WalletAddress, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj, wallet_address_id, address, chain_id, updated_timestamp) {
|
|
53
|
+
obj['wallet_address_id'] = wallet_address_id;
|
|
54
|
+
obj['address'] = address;
|
|
55
|
+
obj['chain_id'] = chain_id;
|
|
56
|
+
obj['updated_timestamp'] = updated_timestamp;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Constructs a <code>WalletAddress</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
+
* @param {module:model/WalletAddress} obj Optional instance to populate.
|
|
64
|
+
* @return {module:model/WalletAddress} The populated <code>WalletAddress</code> instance.
|
|
65
|
+
*/
|
|
66
|
+
}, {
|
|
67
|
+
key: "constructFromObject",
|
|
68
|
+
value: function constructFromObject(data, obj) {
|
|
69
|
+
if (data) {
|
|
70
|
+
obj = obj || new WalletAddress();
|
|
71
|
+
if (data.hasOwnProperty('wallet_address_id')) {
|
|
72
|
+
obj['wallet_address_id'] = _ApiClient["default"].convertToType(data['wallet_address_id'], 'String');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('address')) {
|
|
75
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('chain_id')) {
|
|
78
|
+
obj['chain_id'] = _ApiClient["default"].convertToType(data['chain_id'], 'String');
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('updated_timestamp')) {
|
|
81
|
+
obj['updated_timestamp'] = _ApiClient["default"].convertToType(data['updated_timestamp'], 'Number');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Validates the JSON data with respect to <code>WalletAddress</code>.
|
|
89
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>WalletAddress</code>.
|
|
91
|
+
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "validateJSON",
|
|
94
|
+
value: function validateJSON(data) {
|
|
95
|
+
// check to make sure all required properties are present in the JSON string
|
|
96
|
+
var _iterator = _createForOfIteratorHelper(WalletAddress.RequiredProperties),
|
|
97
|
+
_step;
|
|
98
|
+
try {
|
|
99
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
100
|
+
var property = _step.value;
|
|
101
|
+
if (!data.hasOwnProperty(property)) {
|
|
102
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
// ensure the json data is a string
|
|
106
|
+
} catch (err) {
|
|
107
|
+
_iterator.e(err);
|
|
108
|
+
} finally {
|
|
109
|
+
_iterator.f();
|
|
110
|
+
}
|
|
111
|
+
if (data['wallet_address_id'] && !(typeof data['wallet_address_id'] === 'string' || data['wallet_address_id'] instanceof String)) {
|
|
112
|
+
throw new Error("Expected the field `wallet_address_id` to be a primitive type in the JSON string but got " + data['wallet_address_id']);
|
|
113
|
+
}
|
|
114
|
+
// ensure the json data is a string
|
|
115
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
116
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
117
|
+
}
|
|
118
|
+
// ensure the json data is a string
|
|
119
|
+
if (data['chain_id'] && !(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
|
|
120
|
+
throw new Error("Expected the field `chain_id` to be a primitive type in the JSON string but got " + data['chain_id']);
|
|
121
|
+
}
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
}]);
|
|
125
|
+
}();
|
|
126
|
+
WalletAddress.RequiredProperties = ["wallet_address_id", "address", "chain_id", "updated_timestamp"];
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The wallet address ID.
|
|
130
|
+
* @member {String} wallet_address_id
|
|
131
|
+
*/
|
|
132
|
+
WalletAddress.prototype['wallet_address_id'] = undefined;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The wallet address.
|
|
136
|
+
* @member {String} address
|
|
137
|
+
*/
|
|
138
|
+
WalletAddress.prototype['address'] = undefined;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The chain ID of the cryptocurrency.
|
|
142
|
+
* @member {String} chain_id
|
|
143
|
+
*/
|
|
144
|
+
WalletAddress.prototype['chain_id'] = undefined;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The updated time of the wallet address, represented as a UNIX timestamp in seconds.
|
|
148
|
+
* @member {Number} updated_timestamp
|
|
149
|
+
*/
|
|
150
|
+
WalletAddress.prototype['updated_timestamp'] = undefined;
|
|
151
|
+
var _default = exports["default"] = WalletAddress;
|
|
@@ -35,7 +35,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
35
35
|
* Constructs a new <code>WalletInfoEventData</code>.
|
|
36
36
|
* @alias module:model/WalletInfoEventData
|
|
37
37
|
* @implements module:model/WebhookEventDataType
|
|
38
|
-
* @param data_type {module:model/WalletInfoEventData.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. - `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.
|
|
38
|
+
* @param data_type {module:model/WalletInfoEventData.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.
|
|
39
39
|
*/
|
|
40
40
|
function WalletInfoEventData(data_type) {
|
|
41
41
|
_classCallCheck(this, WalletInfoEventData);
|
|
@@ -118,7 +118,7 @@ var WalletInfoEventData = /*#__PURE__*/function () {
|
|
|
118
118
|
WalletInfoEventData.RequiredProperties = ["data_type"];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* 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. - `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.
|
|
121
|
+
* 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.
|
|
122
122
|
* @member {module:model/WalletInfoEventData.DataTypeEnum} data_type
|
|
123
123
|
*/
|
|
124
124
|
WalletInfoEventData.prototype['data_type'] = undefined;
|
|
@@ -130,7 +130,7 @@ WalletInfoEventData.prototype['wallet'] = undefined;
|
|
|
130
130
|
|
|
131
131
|
// Implement WebhookEventDataType interface:
|
|
132
132
|
/**
|
|
133
|
-
* 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. - `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.
|
|
133
|
+
* 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.
|
|
134
134
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
135
135
|
*/
|
|
136
136
|
_WebhookEventDataType["default"].prototype['data_type'] = undefined;
|
|
@@ -206,6 +206,11 @@ WalletInfoEventData['DataTypeEnum'] = {
|
|
|
206
206
|
* @const
|
|
207
207
|
*/
|
|
208
208
|
"PaymentAddressUpdate": "PaymentAddressUpdate",
|
|
209
|
+
/**
|
|
210
|
+
* value: "PaymentPayout"
|
|
211
|
+
* @const
|
|
212
|
+
*/
|
|
213
|
+
"PaymentPayout": "PaymentPayout",
|
|
209
214
|
/**
|
|
210
215
|
* value: "BalanceUpdateInfo"
|
|
211
216
|
* @const
|
|
@@ -23,6 +23,9 @@ var _KytScreeningsTransactionType = _interopRequireDefault(require("./KytScreeni
|
|
|
23
23
|
var _MPCVaultEventData = _interopRequireDefault(require("./MPCVaultEventData"));
|
|
24
24
|
var _PaymentAddressUpdateEventData = _interopRequireDefault(require("./PaymentAddressUpdateEventData"));
|
|
25
25
|
var _PaymentOrderEventData = _interopRequireDefault(require("./PaymentOrderEventData"));
|
|
26
|
+
var _PaymentPayoutEvent = _interopRequireDefault(require("./PaymentPayoutEvent"));
|
|
27
|
+
var _PaymentPayoutItemDetail = _interopRequireDefault(require("./PaymentPayoutItemDetail"));
|
|
28
|
+
var _PaymentPayoutStatus = _interopRequireDefault(require("./PaymentPayoutStatus"));
|
|
26
29
|
var _PaymentRefundEventData = _interopRequireDefault(require("./PaymentRefundEventData"));
|
|
27
30
|
var _PaymentSettlementEvent = _interopRequireDefault(require("./PaymentSettlementEvent"));
|
|
28
31
|
var _PaymentTransaction = _interopRequireDefault(require("./PaymentTransaction"));
|
|
@@ -50,7 +53,6 @@ var _TransactionRawTxInfo = _interopRequireDefault(require("./TransactionRawTxIn
|
|
|
50
53
|
var _TransactionReplacement = _interopRequireDefault(require("./TransactionReplacement"));
|
|
51
54
|
var _TransactionResult = _interopRequireDefault(require("./TransactionResult"));
|
|
52
55
|
var _TransactionSource = _interopRequireDefault(require("./TransactionSource"));
|
|
53
|
-
var _TransactionStatus = _interopRequireDefault(require("./TransactionStatus"));
|
|
54
56
|
var _TransactionSubStatus = _interopRequireDefault(require("./TransactionSubStatus"));
|
|
55
57
|
var _TransactionType = _interopRequireDefault(require("./TransactionType"));
|
|
56
58
|
var _TransactionWebhookEventData = _interopRequireDefault(require("./TransactionWebhookEventData"));
|
|
@@ -84,7 +86,7 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
84
86
|
/**
|
|
85
87
|
* Constructs a new <code>WebhookEventData</code>.
|
|
86
88
|
* @alias module:model/WebhookEventData
|
|
87
|
-
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
|
|
89
|
+
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} instance The actual instance to initialize WebhookEventData.
|
|
88
90
|
*/
|
|
89
91
|
function WebhookEventData() {
|
|
90
92
|
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
@@ -137,6 +139,10 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
137
139
|
this.actualInstance = _PaymentOrderEventData["default"].constructFromObject(instance);
|
|
138
140
|
match++;
|
|
139
141
|
break;
|
|
142
|
+
case "PaymentPayout":
|
|
143
|
+
this.actualInstance = _PaymentPayoutEvent["default"].constructFromObject(instance);
|
|
144
|
+
match++;
|
|
145
|
+
break;
|
|
140
146
|
case "PaymentRefund":
|
|
141
147
|
this.actualInstance = _PaymentRefundEventData["default"].constructFromObject(instance);
|
|
142
148
|
match++;
|
|
@@ -524,6 +530,29 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
524
530
|
// json data failed to deserialize into PaymentAddressUpdateEventData
|
|
525
531
|
errorMessages.push("Failed to construct PaymentAddressUpdateEventData: " + err);
|
|
526
532
|
}
|
|
533
|
+
try {
|
|
534
|
+
if (instance instanceof _PaymentPayoutEvent["default"]) {
|
|
535
|
+
this.actualInstance = instance;
|
|
536
|
+
} else if (!!_PaymentPayoutEvent["default"].validateJSON && _PaymentPayoutEvent["default"].validateJSON(instance)) {
|
|
537
|
+
// plain JS object
|
|
538
|
+
// create PaymentPayoutEvent from JS object
|
|
539
|
+
this.actualInstance = _PaymentPayoutEvent["default"].constructFromObject(instance);
|
|
540
|
+
} else {
|
|
541
|
+
if (_PaymentPayoutEvent["default"].constructFromObject(instance)) {
|
|
542
|
+
if (!!_PaymentPayoutEvent["default"].constructFromObject(instance).toJSON) {
|
|
543
|
+
if (_PaymentPayoutEvent["default"].constructFromObject(instance).toJSON()) {
|
|
544
|
+
this.actualInstance = _PaymentPayoutEvent["default"].constructFromObject(instance);
|
|
545
|
+
}
|
|
546
|
+
} else {
|
|
547
|
+
this.actualInstance = _PaymentPayoutEvent["default"].constructFromObject(instance);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
match++;
|
|
552
|
+
} catch (err) {
|
|
553
|
+
// json data failed to deserialize into PaymentPayoutEvent
|
|
554
|
+
errorMessages.push("Failed to construct PaymentPayoutEvent: " + err);
|
|
555
|
+
}
|
|
527
556
|
try {
|
|
528
557
|
if (instance instanceof _ComplianceDispositionUpdateEventData["default"]) {
|
|
529
558
|
this.actualInstance = instance;
|
|
@@ -572,11 +601,11 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
572
601
|
}
|
|
573
602
|
|
|
574
603
|
// if (match > 1) {
|
|
575
|
-
// throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
|
|
604
|
+
// throw new Error("Multiple matches found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentPayoutEvent, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Input: " + JSON.stringify(instance));
|
|
576
605
|
// } else
|
|
577
606
|
if (match === 0) {
|
|
578
607
|
// this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
579
|
-
// throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
|
|
608
|
+
// throw new Error("No match found constructing `WebhookEventData` with oneOf schemas AddressesEventData, BalanceUpdateInfoEventData, ChainsEventData, ComplianceDispositionUpdateEventData, ComplianceKytScreeningsUpdateEventData, MPCVaultEventData, PaymentAddressUpdateEventData, PaymentOrderEventData, PaymentPayoutEvent, PaymentRefundEventData, PaymentSettlementEvent, PaymentTransactionEventData, SuspendedTokenEventData, TSSRequestWebhookEventData, TokenListingEventData, TokensEventData, TransactionWebhookEventData, WalletInfoEventData. Details: " +
|
|
580
609
|
// errorMessages.join(", "));
|
|
581
610
|
return;
|
|
582
611
|
} else {// only 1 match
|
|
@@ -595,16 +624,16 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
595
624
|
key: "getActualInstance",
|
|
596
625
|
value:
|
|
597
626
|
/**
|
|
598
|
-
* Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
599
|
-
* @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
|
|
627
|
+
* Gets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentPayoutEvent</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
628
|
+
* @return {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} The actual instance.
|
|
600
629
|
*/
|
|
601
630
|
function getActualInstance() {
|
|
602
631
|
return this.actualInstance;
|
|
603
632
|
}
|
|
604
633
|
|
|
605
634
|
/**
|
|
606
|
-
* Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
607
|
-
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
|
|
635
|
+
* Sets the actual instance, which can be <code>AddressesEventData</code>, <code>BalanceUpdateInfoEventData</code>, <code>ChainsEventData</code>, <code>ComplianceDispositionUpdateEventData</code>, <code>ComplianceKytScreeningsUpdateEventData</code>, <code>MPCVaultEventData</code>, <code>PaymentAddressUpdateEventData</code>, <code>PaymentOrderEventData</code>, <code>PaymentPayoutEvent</code>, <code>PaymentRefundEventData</code>, <code>PaymentSettlementEvent</code>, <code>PaymentTransactionEventData</code>, <code>SuspendedTokenEventData</code>, <code>TSSRequestWebhookEventData</code>, <code>TokenListingEventData</code>, <code>TokensEventData</code>, <code>TransactionWebhookEventData</code>, <code>WalletInfoEventData</code>.
|
|
636
|
+
* @param {(module:model/AddressesEventData|module:model/BalanceUpdateInfoEventData|module:model/ChainsEventData|module:model/ComplianceDispositionUpdateEventData|module:model/ComplianceKytScreeningsUpdateEventData|module:model/MPCVaultEventData|module:model/PaymentAddressUpdateEventData|module:model/PaymentOrderEventData|module:model/PaymentPayoutEvent|module:model/PaymentRefundEventData|module:model/PaymentSettlementEvent|module:model/PaymentTransactionEventData|module:model/SuspendedTokenEventData|module:model/TSSRequestWebhookEventData|module:model/TokenListingEventData|module:model/TokensEventData|module:model/TransactionWebhookEventData|module:model/WalletInfoEventData)} obj The actual instance.
|
|
608
637
|
*/
|
|
609
638
|
}, {
|
|
610
639
|
key: "setActualInstance",
|
|
@@ -619,7 +648,7 @@ var WebhookEventData = /*#__PURE__*/function () {
|
|
|
619
648
|
}]);
|
|
620
649
|
}();
|
|
621
650
|
/**
|
|
622
|
-
* 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. - `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.
|
|
651
|
+
* 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.
|
|
623
652
|
* @member {module:model/WebhookEventData.DataTypeEnum} data_type
|
|
624
653
|
*/
|
|
625
654
|
_WebhookEventData = WebhookEventData;
|
|
@@ -646,7 +675,7 @@ WebhookEventData.prototype['transaction_id'] = undefined;
|
|
|
646
675
|
WebhookEventData.prototype['cobo_id'] = undefined;
|
|
647
676
|
|
|
648
677
|
/**
|
|
649
|
-
* The request ID
|
|
678
|
+
* The request ID provided by you when creating the payout.
|
|
650
679
|
* @member {String} request_id
|
|
651
680
|
*/
|
|
652
681
|
WebhookEventData.prototype['request_id'] = undefined;
|
|
@@ -663,7 +692,7 @@ WebhookEventData.prototype['wallet_id'] = undefined;
|
|
|
663
692
|
WebhookEventData.prototype['type'] = undefined;
|
|
664
693
|
|
|
665
694
|
/**
|
|
666
|
-
* @member {module:model/
|
|
695
|
+
* @member {module:model/PaymentPayoutStatus} status
|
|
667
696
|
*/
|
|
668
697
|
WebhookEventData.prototype['status'] = undefined;
|
|
669
698
|
|
|
@@ -717,7 +746,7 @@ WebhookEventData.prototype['result'] = undefined;
|
|
|
717
746
|
WebhookEventData.prototype['fee'] = undefined;
|
|
718
747
|
|
|
719
748
|
/**
|
|
720
|
-
* The
|
|
749
|
+
* The initiator of this payout, usually the user's API key.
|
|
721
750
|
* @member {String} initiator
|
|
722
751
|
*/
|
|
723
752
|
WebhookEventData.prototype['initiator'] = undefined;
|
|
@@ -779,7 +808,7 @@ WebhookEventData.prototype['description'] = undefined;
|
|
|
779
808
|
WebhookEventData.prototype['is_loop'] = undefined;
|
|
780
809
|
|
|
781
810
|
/**
|
|
782
|
-
* The transaction category defined by Cobo.
|
|
811
|
+
* The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories).
|
|
783
812
|
* @member {Array.<String>} cobo_category
|
|
784
813
|
*/
|
|
785
814
|
WebhookEventData.prototype['cobo_category'] = undefined;
|
|
@@ -796,7 +825,7 @@ WebhookEventData.prototype['extra'] = undefined;
|
|
|
796
825
|
WebhookEventData.prototype['fueling_info'] = undefined;
|
|
797
826
|
|
|
798
827
|
/**
|
|
799
|
-
* The time
|
|
828
|
+
* The created time of the payout, represented as a UNIX timestamp in seconds.
|
|
800
829
|
* @member {Number} created_timestamp
|
|
801
830
|
*/
|
|
802
831
|
WebhookEventData.prototype['created_timestamp'] = undefined;
|
|
@@ -943,28 +972,28 @@ WebhookEventData.prototype['order_id'] = undefined;
|
|
|
943
972
|
WebhookEventData.prototype['merchant_id'] = undefined;
|
|
944
973
|
|
|
945
974
|
/**
|
|
946
|
-
*
|
|
947
|
-
* @member {String}
|
|
975
|
+
* A unique reference code assigned by the merchant to identify this order in their system.
|
|
976
|
+
* @member {String} merchant_order_code
|
|
948
977
|
*/
|
|
949
|
-
WebhookEventData.prototype['
|
|
978
|
+
WebhookEventData.prototype['merchant_order_code'] = undefined;
|
|
950
979
|
|
|
951
980
|
/**
|
|
952
|
-
*
|
|
953
|
-
* @member {String}
|
|
981
|
+
* A unique reference code assigned by the developer to identify this order in their system.
|
|
982
|
+
* @member {String} psp_order_code
|
|
954
983
|
*/
|
|
955
|
-
WebhookEventData.prototype['
|
|
984
|
+
WebhookEventData.prototype['psp_order_code'] = undefined;
|
|
956
985
|
|
|
957
986
|
/**
|
|
958
|
-
* The fiat currency
|
|
959
|
-
* @member {String}
|
|
987
|
+
* The fiat currency of the order.
|
|
988
|
+
* @member {String} pricing_currency
|
|
960
989
|
*/
|
|
961
|
-
WebhookEventData.prototype['
|
|
990
|
+
WebhookEventData.prototype['pricing_currency'] = undefined;
|
|
962
991
|
|
|
963
992
|
/**
|
|
964
993
|
* The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
|
|
965
|
-
* @member {String}
|
|
994
|
+
* @member {String} pricing_amount
|
|
966
995
|
*/
|
|
967
|
-
WebhookEventData.prototype['
|
|
996
|
+
WebhookEventData.prototype['pricing_amount'] = undefined;
|
|
968
997
|
|
|
969
998
|
/**
|
|
970
999
|
* The developer fee for the order in fiat currency. It is added to the base amount (`order_amount`) to determine the final charge.
|
|
@@ -973,28 +1002,34 @@ WebhookEventData.prototype['order_amount'] = undefined;
|
|
|
973
1002
|
WebhookEventData.prototype['fee_amount'] = undefined;
|
|
974
1003
|
|
|
975
1004
|
/**
|
|
976
|
-
* The
|
|
977
|
-
* @member {String}
|
|
1005
|
+
* The ID of the cryptocurrency used for payment.
|
|
1006
|
+
* @member {String} payable_currency
|
|
978
1007
|
*/
|
|
979
|
-
WebhookEventData.prototype['
|
|
1008
|
+
WebhookEventData.prototype['payable_currency'] = undefined;
|
|
980
1009
|
|
|
981
1010
|
/**
|
|
982
|
-
* The
|
|
983
|
-
* @member {
|
|
1011
|
+
* The cryptocurrency amount to be paid for this order.
|
|
1012
|
+
* @member {String} payable_amount
|
|
984
1013
|
*/
|
|
985
|
-
WebhookEventData.prototype['
|
|
1014
|
+
WebhookEventData.prototype['payable_amount'] = undefined;
|
|
986
1015
|
|
|
987
1016
|
/**
|
|
988
|
-
*
|
|
989
|
-
* @member {String}
|
|
1017
|
+
* The exchange rate between a currency pair. Expressed as the amount of fiat currency per one unit of cryptocurrency. For example, if the cryptocurrency is USDT and the fiat currency is USD, a rate of \"0.99\" means 1 USDT = 0.99 USD.
|
|
1018
|
+
* @member {String} exchange_rate
|
|
990
1019
|
*/
|
|
991
|
-
WebhookEventData.prototype['
|
|
1020
|
+
WebhookEventData.prototype['exchange_rate'] = undefined;
|
|
992
1021
|
|
|
993
1022
|
/**
|
|
994
|
-
*
|
|
995
|
-
* @member {String}
|
|
1023
|
+
* Allowed amount deviation.
|
|
1024
|
+
* @member {String} amount_tolerance
|
|
996
1025
|
*/
|
|
997
|
-
WebhookEventData.prototype['
|
|
1026
|
+
WebhookEventData.prototype['amount_tolerance'] = undefined;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* The recipient wallet address to be used for the payment transaction.
|
|
1030
|
+
* @member {String} receive_address
|
|
1031
|
+
*/
|
|
1032
|
+
WebhookEventData.prototype['receive_address'] = undefined;
|
|
998
1033
|
|
|
999
1034
|
/**
|
|
1000
1035
|
* The total cryptocurrency amount received for this order. Updates until the expiration time. Precision matches the token standard (e.g., 6 decimals for USDT).
|
|
@@ -1002,6 +1037,12 @@ WebhookEventData.prototype['psp_order_code'] = undefined;
|
|
|
1002
1037
|
*/
|
|
1003
1038
|
WebhookEventData.prototype['received_token_amount'] = undefined;
|
|
1004
1039
|
|
|
1040
|
+
/**
|
|
1041
|
+
* The expiration time of the pay-in order, represented as a UNIX timestamp in seconds.
|
|
1042
|
+
* @member {Number} expired_at
|
|
1043
|
+
*/
|
|
1044
|
+
WebhookEventData.prototype['expired_at'] = undefined;
|
|
1045
|
+
|
|
1005
1046
|
/**
|
|
1006
1047
|
* An array of transactions associated with this refund order. Each transaction represents a separate blockchain operation related to the refund process.
|
|
1007
1048
|
* @member {Array.<module:model/PaymentTransaction>} transactions
|
|
@@ -1009,15 +1050,21 @@ WebhookEventData.prototype['received_token_amount'] = undefined;
|
|
|
1009
1050
|
WebhookEventData.prototype['transactions'] = undefined;
|
|
1010
1051
|
|
|
1011
1052
|
/**
|
|
1012
|
-
*
|
|
1053
|
+
* The fiat currency for the payout.
|
|
1054
|
+
* @member {String} currency
|
|
1013
1055
|
*/
|
|
1014
|
-
WebhookEventData.prototype['
|
|
1056
|
+
WebhookEventData.prototype['currency'] = undefined;
|
|
1015
1057
|
|
|
1016
1058
|
/**
|
|
1017
|
-
* The
|
|
1018
|
-
* @member {String}
|
|
1059
|
+
* The base amount of the order in fiat currency, excluding the developer fee (specified in `fee_amount`).
|
|
1060
|
+
* @member {String} order_amount
|
|
1019
1061
|
*/
|
|
1020
|
-
WebhookEventData.prototype['
|
|
1062
|
+
WebhookEventData.prototype['order_amount'] = undefined;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* @member {module:model/SettleStatus} settlement_status
|
|
1066
|
+
*/
|
|
1067
|
+
WebhookEventData.prototype['settlement_status'] = undefined;
|
|
1021
1068
|
|
|
1022
1069
|
/**
|
|
1023
1070
|
* The refund order ID.
|
|
@@ -1132,6 +1179,23 @@ WebhookEventData.prototype['previous_address'] = undefined;
|
|
|
1132
1179
|
*/
|
|
1133
1180
|
WebhookEventData.prototype['updated_address'] = undefined;
|
|
1134
1181
|
|
|
1182
|
+
/**
|
|
1183
|
+
* The payout ID generated by Cobo.
|
|
1184
|
+
* @member {String} payout_id
|
|
1185
|
+
*/
|
|
1186
|
+
WebhookEventData.prototype['payout_id'] = undefined;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* @member {Array.<module:model/PaymentPayoutItemDetail>} payout_item_details
|
|
1190
|
+
*/
|
|
1191
|
+
WebhookEventData.prototype['payout_item_details'] = undefined;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* The actual amount of this payout.
|
|
1195
|
+
* @member {String} actual_payout_amount
|
|
1196
|
+
*/
|
|
1197
|
+
WebhookEventData.prototype['actual_payout_amount'] = undefined;
|
|
1198
|
+
|
|
1135
1199
|
/**
|
|
1136
1200
|
* @member {module:model/DispositionType} disposition_type
|
|
1137
1201
|
*/
|
|
@@ -1168,5 +1232,5 @@ WebhookEventData.prototype['review_status'] = undefined;
|
|
|
1168
1232
|
* @member {module:model/FundsStatusType} funds_status
|
|
1169
1233
|
*/
|
|
1170
1234
|
WebhookEventData.prototype['funds_status'] = undefined;
|
|
1171
|
-
WebhookEventData.OneOf = ["AddressesEventData", "BalanceUpdateInfoEventData", "ChainsEventData", "ComplianceDispositionUpdateEventData", "ComplianceKytScreeningsUpdateEventData", "MPCVaultEventData", "PaymentAddressUpdateEventData", "PaymentOrderEventData", "PaymentRefundEventData", "PaymentSettlementEvent", "PaymentTransactionEventData", "SuspendedTokenEventData", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
|
|
1235
|
+
WebhookEventData.OneOf = ["AddressesEventData", "BalanceUpdateInfoEventData", "ChainsEventData", "ComplianceDispositionUpdateEventData", "ComplianceKytScreeningsUpdateEventData", "MPCVaultEventData", "PaymentAddressUpdateEventData", "PaymentOrderEventData", "PaymentPayoutEvent", "PaymentRefundEventData", "PaymentSettlementEvent", "PaymentTransactionEventData", "SuspendedTokenEventData", "TSSRequestWebhookEventData", "TokenListingEventData", "TokensEventData", "TransactionWebhookEventData", "WalletInfoEventData"];
|
|
1172
1236
|
var _default = exports["default"] = WebhookEventData;
|
|
@@ -33,7 +33,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
33
33
|
* Constructs a new <code>WebhookEventDataType</code>.
|
|
34
34
|
* The data type of the event.
|
|
35
35
|
* @alias module:model/WebhookEventDataType
|
|
36
|
-
* @param data_type {module:model/WebhookEventDataType.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. - `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.
|
|
36
|
+
* @param data_type {module:model/WebhookEventDataType.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.
|
|
37
37
|
*/
|
|
38
38
|
function WebhookEventDataType(data_type) {
|
|
39
39
|
_classCallCheck(this, WebhookEventDataType);
|
|
@@ -104,7 +104,7 @@ var WebhookEventDataType = /*#__PURE__*/function () {
|
|
|
104
104
|
WebhookEventDataType.RequiredProperties = ["data_type"];
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* 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. - `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.
|
|
107
|
+
* 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.
|
|
108
108
|
* @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
|
|
109
109
|
*/
|
|
110
110
|
WebhookEventDataType.prototype['data_type'] = undefined;
|
|
@@ -180,6 +180,11 @@ WebhookEventDataType['DataTypeEnum'] = {
|
|
|
180
180
|
* @const
|
|
181
181
|
*/
|
|
182
182
|
"PaymentAddressUpdate": "PaymentAddressUpdate",
|
|
183
|
+
/**
|
|
184
|
+
* value: "PaymentPayout"
|
|
185
|
+
* @const
|
|
186
|
+
*/
|
|
187
|
+
"PaymentPayout": "PaymentPayout",
|
|
183
188
|
/**
|
|
184
189
|
* value: "BalanceUpdateInfo"
|
|
185
190
|
* @const
|
|
@@ -195,11 +195,21 @@ var WebhookEventType = exports["default"] = /*#__PURE__*/function () {
|
|
|
195
195
|
* @const
|
|
196
196
|
*/
|
|
197
197
|
_defineProperty(this, "payment.settlement.status.updated", "payment.settlement.status.updated");
|
|
198
|
+
/**
|
|
199
|
+
* value: "payment.payout.status.updated"
|
|
200
|
+
* @const
|
|
201
|
+
*/
|
|
202
|
+
_defineProperty(this, "payment.payout.status.updated", "payment.payout.status.updated");
|
|
198
203
|
/**
|
|
199
204
|
* value: "payment.address.updated"
|
|
200
205
|
* @const
|
|
201
206
|
*/
|
|
202
207
|
_defineProperty(this, "payment.address.updated", "payment.address.updated");
|
|
208
|
+
/**
|
|
209
|
+
* value: "payment.subscription.status.updated"
|
|
210
|
+
* @const
|
|
211
|
+
*/
|
|
212
|
+
_defineProperty(this, "payment.subscription.status.updated", "payment.subscription.status.updated");
|
|
203
213
|
/**
|
|
204
214
|
* value: "compliance.disposition.status.updated"
|
|
205
215
|
* @const
|
package/docs/AddressBooksApi.md
CHANGED
|
@@ -206,7 +206,7 @@ apiInstance.listAddressBooks(opts).then((data) => {
|
|
|
206
206
|
Name | Type | Description | Notes
|
|
207
207
|
------------- | ------------- | ------------- | -------------
|
|
208
208
|
**chain_id** | **String**| The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). | [optional]
|
|
209
|
-
**address** | **String**|
|
|
209
|
+
**address** | **String**| | [optional]
|
|
210
210
|
**label** | **String**| A user-defined label for the address. | [optional]
|
|
211
211
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
212
212
|
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | 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. - `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. |
|
|
7
|
+
**data_type** | **String** | 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. |
|
|
8
8
|
**addresses** | [**[AddressesEventDataAllOfAddresses]**](AddressesEventDataAllOfAddresses.md) | A list of addresses. | [optional]
|
|
9
9
|
|
|
10
10
|
|
|
@@ -38,6 +38,8 @@ Name | Type | Description | Notes
|
|
|
38
38
|
|
|
39
39
|
* `PaymentAddressUpdate` (value: `"PaymentAddressUpdate"`)
|
|
40
40
|
|
|
41
|
+
* `PaymentPayout` (value: `"PaymentPayout"`)
|
|
42
|
+
|
|
41
43
|
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
42
44
|
|
|
43
45
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|