@cobo/cobo-waas2 1.26.0 → 1.27.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 +64 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/DevelopersWebhooksApi.js +2 -2
- package/dist/api/PaymentApi.js +1298 -200
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/index.js +266 -7
- package/dist/model/BankAccountStatus.js +66 -0
- package/dist/model/ContractCallDestination.js +38 -10
- package/dist/model/ContractCallDestinationType.js +5 -0
- 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/CreateCounterpartyRequest.js +193 -0
- package/dist/model/CreateCounterpartyWalletAddressRequest.js +140 -0
- 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/CreateKeyShareHolder.js +1 -1
- package/dist/model/CreatePaymentOrderRequest.js +2 -2
- package/dist/model/CreateSettlement.js +13 -0
- package/dist/model/{ReceivedAmountPerAddress.js → CreateWalletAddress.js} +31 -32
- 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/IntermediaryBankInfo.js +140 -0
- package/dist/model/Link.js +4 -4
- package/dist/model/LinkDisplayInfo.js +2 -2
- 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/PaymentTransaction.js +32 -0
- package/dist/model/PaymentTransactionEventData.js +2 -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/SwapActivityTimeline.js +1 -1
- package/dist/model/Transaction.js +1 -1
- 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 +2 -2
- 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/WalletAddress.js +151 -0
- package/dist/model/WebhookEventData.js +1 -1
- package/docs/BankAccountStatus.md +14 -0
- package/docs/ContractCallDestination.md +2 -2
- package/docs/ContractCallDestinationType.md +2 -0
- 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/CreateCounterpartyRequest.md +14 -0
- package/docs/CreateCounterpartyWalletAddressRequest.md +11 -0
- 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/CreateKeyShareHolder.md +1 -1
- package/docs/CreatePaymentOrderRequest.md +1 -1
- package/docs/CreateSettlement.md +1 -0
- package/docs/CreateWalletAddress.md +10 -0
- 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/IntermediaryBankInfo.md +11 -0
- package/docs/Link.md +2 -2
- package/docs/LinkDisplayInfo.md +2 -2
- 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/PaymentApi.md +1459 -208
- package/docs/PaymentTransaction.md +2 -0
- package/docs/PaymentTransactionEventData.md +1 -1
- package/docs/QueryDestinationWhitelistEnabled200Response.md +9 -0
- package/docs/RefundLinkBusinessInfo.md +4 -4
- package/docs/SettlementDetail.md +1 -0
- package/docs/SwapActivityTimeline.md +1 -1
- package/docs/Transaction.md +1 -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 +1 -1
- package/docs/TransactionsApi.md +1 -1
- 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/WalletAddress.md +12 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +1 -1
- package/docs/ReceivedAmountPerAddress.md +0 -10
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _DestinationWalletAddressDetail = _interopRequireDefault(require("./DestinationWalletAddressDetail"));
|
|
9
|
+
var _Pagination = _interopRequireDefault(require("./Pagination"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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); }
|
|
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; } } }; }
|
|
13
|
+
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; } }
|
|
14
|
+
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; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
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); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
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); } /**
|
|
20
|
+
* Cobo Wallet as a Service 2.0
|
|
21
|
+
*
|
|
22
|
+
* Contact: help@cobo.com
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The ListDestinationWalletAddresses200Response model module.
|
|
31
|
+
* @module model/ListDestinationWalletAddresses200Response
|
|
32
|
+
*/
|
|
33
|
+
var ListDestinationWalletAddresses200Response = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new <code>ListDestinationWalletAddresses200Response</code>.
|
|
36
|
+
* @alias module:model/ListDestinationWalletAddresses200Response
|
|
37
|
+
*/
|
|
38
|
+
function ListDestinationWalletAddresses200Response() {
|
|
39
|
+
_classCallCheck(this, ListDestinationWalletAddresses200Response);
|
|
40
|
+
ListDestinationWalletAddresses200Response.initialize(this);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Initializes the fields of this object.
|
|
45
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
46
|
+
* Only for internal use.
|
|
47
|
+
*/
|
|
48
|
+
return _createClass(ListDestinationWalletAddresses200Response, null, [{
|
|
49
|
+
key: "initialize",
|
|
50
|
+
value: function initialize(obj) {}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Constructs a <code>ListDestinationWalletAddresses200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
54
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
55
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
56
|
+
* @param {module:model/ListDestinationWalletAddresses200Response} obj Optional instance to populate.
|
|
57
|
+
* @return {module:model/ListDestinationWalletAddresses200Response} The populated <code>ListDestinationWalletAddresses200Response</code> instance.
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "constructFromObject",
|
|
61
|
+
value: function constructFromObject(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new ListDestinationWalletAddresses200Response();
|
|
64
|
+
if (data.hasOwnProperty('data')) {
|
|
65
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_DestinationWalletAddressDetail["default"]]);
|
|
66
|
+
}
|
|
67
|
+
if (data.hasOwnProperty('pagination')) {
|
|
68
|
+
obj['pagination'] = _Pagination["default"].constructFromObject(data['pagination']);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Validates the JSON data with respect to <code>ListDestinationWalletAddresses200Response</code>.
|
|
76
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
77
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListDestinationWalletAddresses200Response</code>.
|
|
78
|
+
*/
|
|
79
|
+
}, {
|
|
80
|
+
key: "validateJSON",
|
|
81
|
+
value: function validateJSON(data) {
|
|
82
|
+
if (data['data']) {
|
|
83
|
+
// data not null
|
|
84
|
+
// ensure the json data is an array
|
|
85
|
+
if (!Array.isArray(data['data'])) {
|
|
86
|
+
throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
|
|
87
|
+
}
|
|
88
|
+
// validate the optional field `data` (array)
|
|
89
|
+
var _iterator = _createForOfIteratorHelper(data['data']),
|
|
90
|
+
_step;
|
|
91
|
+
try {
|
|
92
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
93
|
+
var item = _step.value;
|
|
94
|
+
_DestinationWalletAddressDetail["default"].validateJSON(item);
|
|
95
|
+
}
|
|
96
|
+
} catch (err) {
|
|
97
|
+
_iterator.e(err);
|
|
98
|
+
} finally {
|
|
99
|
+
_iterator.f();
|
|
100
|
+
}
|
|
101
|
+
;
|
|
102
|
+
}
|
|
103
|
+
// validate the optional field `pagination`
|
|
104
|
+
if (data['pagination']) {
|
|
105
|
+
// data not null
|
|
106
|
+
if (!!_Pagination["default"].validateJSON) {
|
|
107
|
+
_Pagination["default"].validateJSON(data['pagination']);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
}]);
|
|
113
|
+
}();
|
|
114
|
+
/**
|
|
115
|
+
* @member {Array.<module:model/DestinationWalletAddressDetail>} data
|
|
116
|
+
*/
|
|
117
|
+
ListDestinationWalletAddresses200Response.prototype['data'] = undefined;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @member {module:model/Pagination} pagination
|
|
121
|
+
*/
|
|
122
|
+
ListDestinationWalletAddresses200Response.prototype['pagination'] = undefined;
|
|
123
|
+
var _default = exports["default"] = ListDestinationWalletAddresses200Response;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _Destination = _interopRequireDefault(require("./Destination"));
|
|
9
|
+
var _Pagination = _interopRequireDefault(require("./Pagination"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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); }
|
|
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; } } }; }
|
|
13
|
+
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; } }
|
|
14
|
+
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; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
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); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
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); } /**
|
|
20
|
+
* Cobo Wallet as a Service 2.0
|
|
21
|
+
*
|
|
22
|
+
* Contact: help@cobo.com
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The ListDestinations200Response model module.
|
|
31
|
+
* @module model/ListDestinations200Response
|
|
32
|
+
*/
|
|
33
|
+
var ListDestinations200Response = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new <code>ListDestinations200Response</code>.
|
|
36
|
+
* @alias module:model/ListDestinations200Response
|
|
37
|
+
*/
|
|
38
|
+
function ListDestinations200Response() {
|
|
39
|
+
_classCallCheck(this, ListDestinations200Response);
|
|
40
|
+
ListDestinations200Response.initialize(this);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Initializes the fields of this object.
|
|
45
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
46
|
+
* Only for internal use.
|
|
47
|
+
*/
|
|
48
|
+
return _createClass(ListDestinations200Response, null, [{
|
|
49
|
+
key: "initialize",
|
|
50
|
+
value: function initialize(obj) {}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Constructs a <code>ListDestinations200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
54
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
55
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
56
|
+
* @param {module:model/ListDestinations200Response} obj Optional instance to populate.
|
|
57
|
+
* @return {module:model/ListDestinations200Response} The populated <code>ListDestinations200Response</code> instance.
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "constructFromObject",
|
|
61
|
+
value: function constructFromObject(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new ListDestinations200Response();
|
|
64
|
+
if (data.hasOwnProperty('data')) {
|
|
65
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_Destination["default"]]);
|
|
66
|
+
}
|
|
67
|
+
if (data.hasOwnProperty('pagination')) {
|
|
68
|
+
obj['pagination'] = _Pagination["default"].constructFromObject(data['pagination']);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Validates the JSON data with respect to <code>ListDestinations200Response</code>.
|
|
76
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
77
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListDestinations200Response</code>.
|
|
78
|
+
*/
|
|
79
|
+
}, {
|
|
80
|
+
key: "validateJSON",
|
|
81
|
+
value: function validateJSON(data) {
|
|
82
|
+
if (data['data']) {
|
|
83
|
+
// data not null
|
|
84
|
+
// ensure the json data is an array
|
|
85
|
+
if (!Array.isArray(data['data'])) {
|
|
86
|
+
throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
|
|
87
|
+
}
|
|
88
|
+
// validate the optional field `data` (array)
|
|
89
|
+
var _iterator = _createForOfIteratorHelper(data['data']),
|
|
90
|
+
_step;
|
|
91
|
+
try {
|
|
92
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
93
|
+
var item = _step.value;
|
|
94
|
+
_Destination["default"].validateJSON(item);
|
|
95
|
+
}
|
|
96
|
+
} catch (err) {
|
|
97
|
+
_iterator.e(err);
|
|
98
|
+
} finally {
|
|
99
|
+
_iterator.f();
|
|
100
|
+
}
|
|
101
|
+
;
|
|
102
|
+
}
|
|
103
|
+
// validate the optional field `pagination`
|
|
104
|
+
if (data['pagination']) {
|
|
105
|
+
// data not null
|
|
106
|
+
if (!!_Pagination["default"].validateJSON) {
|
|
107
|
+
_Pagination["default"].validateJSON(data['pagination']);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
}]);
|
|
113
|
+
}();
|
|
114
|
+
/**
|
|
115
|
+
* @member {Array.<module:model/Destination>} data
|
|
116
|
+
*/
|
|
117
|
+
ListDestinations200Response.prototype['data'] = undefined;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @member {module:model/Pagination} pagination
|
|
121
|
+
*/
|
|
122
|
+
ListDestinations200Response.prototype['pagination'] = undefined;
|
|
123
|
+
var _default = exports["default"] = ListDestinations200Response;
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _Counterparty = _interopRequireDefault(require("./Counterparty"));
|
|
9
|
+
var _Destination = _interopRequireDefault(require("./Destination"));
|
|
8
10
|
var _TransactionStatus = _interopRequireDefault(require("./TransactionStatus"));
|
|
9
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
12
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
@@ -96,6 +98,12 @@ var PaymentTransaction = /*#__PURE__*/function () {
|
|
|
96
98
|
if (data.hasOwnProperty('status')) {
|
|
97
99
|
obj['status'] = _TransactionStatus["default"].constructFromObject(data['status']);
|
|
98
100
|
}
|
|
101
|
+
if (data.hasOwnProperty('counterparty')) {
|
|
102
|
+
obj['counterparty'] = _Counterparty["default"].constructFromObject(data['counterparty']);
|
|
103
|
+
}
|
|
104
|
+
if (data.hasOwnProperty('destination')) {
|
|
105
|
+
obj['destination'] = _Destination["default"].constructFromObject(data['destination']);
|
|
106
|
+
}
|
|
99
107
|
if (data.hasOwnProperty('created_timestamp')) {
|
|
100
108
|
obj['created_timestamp'] = _ApiClient["default"].convertToType(data['created_timestamp'], 'Number');
|
|
101
109
|
}
|
|
@@ -153,6 +161,20 @@ var PaymentTransaction = /*#__PURE__*/function () {
|
|
|
153
161
|
if (data['amount'] && !(typeof data['amount'] === 'string' || data['amount'] instanceof String)) {
|
|
154
162
|
throw new Error("Expected the field `amount` to be a primitive type in the JSON string but got " + data['amount']);
|
|
155
163
|
}
|
|
164
|
+
// validate the optional field `counterparty`
|
|
165
|
+
if (data['counterparty']) {
|
|
166
|
+
// data not null
|
|
167
|
+
if (!!_Counterparty["default"].validateJSON) {
|
|
168
|
+
_Counterparty["default"].validateJSON(data['counterparty']);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
// validate the optional field `destination`
|
|
172
|
+
if (data['destination']) {
|
|
173
|
+
// data not null
|
|
174
|
+
if (!!_Destination["default"].validateJSON) {
|
|
175
|
+
_Destination["default"].validateJSON(data['destination']);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
156
178
|
return true;
|
|
157
179
|
}
|
|
158
180
|
}]);
|
|
@@ -200,6 +222,16 @@ PaymentTransaction.prototype['amount'] = undefined;
|
|
|
200
222
|
*/
|
|
201
223
|
PaymentTransaction.prototype['status'] = undefined;
|
|
202
224
|
|
|
225
|
+
/**
|
|
226
|
+
* @member {module:model/Counterparty} counterparty
|
|
227
|
+
*/
|
|
228
|
+
PaymentTransaction.prototype['counterparty'] = undefined;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @member {module:model/Destination} destination
|
|
232
|
+
*/
|
|
233
|
+
PaymentTransaction.prototype['destination'] = undefined;
|
|
234
|
+
|
|
203
235
|
/**
|
|
204
236
|
* The time when the transaction was created, in Unix timestamp format, measured in milliseconds.
|
|
205
237
|
* @member {Number} created_timestamp
|
|
@@ -529,7 +529,7 @@ PaymentTransactionEventData.prototype['description'] = undefined;
|
|
|
529
529
|
PaymentTransactionEventData.prototype['is_loop'] = undefined;
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
|
-
* The transaction category defined by Cobo.
|
|
532
|
+
* The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories).
|
|
533
533
|
* @member {Array.<String>} cobo_category
|
|
534
534
|
*/
|
|
535
535
|
PaymentTransactionEventData.prototype['cobo_category'] = undefined;
|
|
@@ -713,7 +713,7 @@ _Transaction["default"].prototype['description'] = undefined;
|
|
|
713
713
|
*/
|
|
714
714
|
_Transaction["default"].prototype['is_loop'] = undefined;
|
|
715
715
|
/**
|
|
716
|
-
* The transaction category defined by Cobo.
|
|
716
|
+
* The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories).
|
|
717
717
|
* @member {Array.<String>} cobo_category
|
|
718
718
|
*/
|
|
719
719
|
_Transaction["default"].prototype['cobo_category'] = undefined;
|
|
@@ -0,0 +1,106 @@
|
|
|
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 QueryDestinationWhitelistEnabled200Response model module.
|
|
29
|
+
* @module model/QueryDestinationWhitelistEnabled200Response
|
|
30
|
+
*/
|
|
31
|
+
var QueryDestinationWhitelistEnabled200Response = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>QueryDestinationWhitelistEnabled200Response</code>.
|
|
34
|
+
* @alias module:model/QueryDestinationWhitelistEnabled200Response
|
|
35
|
+
* @param enable_destination_whitelist {Boolean} Indicates whether the destination whitelist is enabled.
|
|
36
|
+
*/
|
|
37
|
+
function QueryDestinationWhitelistEnabled200Response(enable_destination_whitelist) {
|
|
38
|
+
_classCallCheck(this, QueryDestinationWhitelistEnabled200Response);
|
|
39
|
+
QueryDestinationWhitelistEnabled200Response.initialize(this, enable_destination_whitelist);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initializes the fields of this object.
|
|
44
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
|
+
* Only for internal use.
|
|
46
|
+
*/
|
|
47
|
+
return _createClass(QueryDestinationWhitelistEnabled200Response, null, [{
|
|
48
|
+
key: "initialize",
|
|
49
|
+
value: function initialize(obj, enable_destination_whitelist) {
|
|
50
|
+
obj['enable_destination_whitelist'] = enable_destination_whitelist;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Constructs a <code>QueryDestinationWhitelistEnabled200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
55
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
56
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
57
|
+
* @param {module:model/QueryDestinationWhitelistEnabled200Response} obj Optional instance to populate.
|
|
58
|
+
* @return {module:model/QueryDestinationWhitelistEnabled200Response} The populated <code>QueryDestinationWhitelistEnabled200Response</code> instance.
|
|
59
|
+
*/
|
|
60
|
+
}, {
|
|
61
|
+
key: "constructFromObject",
|
|
62
|
+
value: function constructFromObject(data, obj) {
|
|
63
|
+
if (data) {
|
|
64
|
+
obj = obj || new QueryDestinationWhitelistEnabled200Response();
|
|
65
|
+
if (data.hasOwnProperty('enable_destination_whitelist')) {
|
|
66
|
+
obj['enable_destination_whitelist'] = _ApiClient["default"].convertToType(data['enable_destination_whitelist'], 'Boolean');
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Validates the JSON data with respect to <code>QueryDestinationWhitelistEnabled200Response</code>.
|
|
74
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
75
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>QueryDestinationWhitelistEnabled200Response</code>.
|
|
76
|
+
*/
|
|
77
|
+
}, {
|
|
78
|
+
key: "validateJSON",
|
|
79
|
+
value: function validateJSON(data) {
|
|
80
|
+
// check to make sure all required properties are present in the JSON string
|
|
81
|
+
var _iterator = _createForOfIteratorHelper(QueryDestinationWhitelistEnabled200Response.RequiredProperties),
|
|
82
|
+
_step;
|
|
83
|
+
try {
|
|
84
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
85
|
+
var property = _step.value;
|
|
86
|
+
if (!data.hasOwnProperty(property)) {
|
|
87
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
} catch (err) {
|
|
91
|
+
_iterator.e(err);
|
|
92
|
+
} finally {
|
|
93
|
+
_iterator.f();
|
|
94
|
+
}
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
}]);
|
|
98
|
+
}();
|
|
99
|
+
QueryDestinationWhitelistEnabled200Response.RequiredProperties = ["enable_destination_whitelist"];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Indicates whether the destination whitelist is enabled.
|
|
103
|
+
* @member {Boolean} enable_destination_whitelist
|
|
104
|
+
*/
|
|
105
|
+
QueryDestinationWhitelistEnabled200Response.prototype['enable_destination_whitelist'] = undefined;
|
|
106
|
+
var _default = exports["default"] = QueryDestinationWhitelistEnabled200Response;
|
|
@@ -33,8 +33,8 @@ var RefundLinkBusinessInfo = /*#__PURE__*/function () {
|
|
|
33
33
|
/**
|
|
34
34
|
* Constructs a new <code>RefundLinkBusinessInfo</code>.
|
|
35
35
|
* @alias module:model/RefundLinkBusinessInfo
|
|
36
|
-
* @param transaction_id {String} The transaction ID.
|
|
37
|
-
* @param amount {String} The amount to refund in cryptocurrency.
|
|
36
|
+
* @param transaction_id {String} The transaction ID of the original order payment or top-up. On the refund page, the from address of this transaction will be pre-filled as the default refund address. The refund will be processed in the same token and on the same blockchain as this transaction.
|
|
37
|
+
* @param amount {String} The amount to refund, denominated in the cryptocurrency of the original payment transaction. The amount must be a positive number and can have up to two decimal places.
|
|
38
38
|
* @param refund_source {module:model/RefundType}
|
|
39
39
|
*/
|
|
40
40
|
function RefundLinkBusinessInfo(transaction_id, amount, refund_source) {
|
|
@@ -132,13 +132,13 @@ var RefundLinkBusinessInfo = /*#__PURE__*/function () {
|
|
|
132
132
|
RefundLinkBusinessInfo.RequiredProperties = ["transaction_id", "amount", "refund_source"];
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* The transaction ID.
|
|
135
|
+
* The transaction ID of the original order payment or top-up. On the refund page, the from address of this transaction will be pre-filled as the default refund address. The refund will be processed in the same token and on the same blockchain as this transaction.
|
|
136
136
|
* @member {String} transaction_id
|
|
137
137
|
*/
|
|
138
138
|
RefundLinkBusinessInfo.prototype['transaction_id'] = undefined;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* The amount to refund in cryptocurrency.
|
|
141
|
+
* The amount to refund, denominated in the cryptocurrency of the original payment transaction. The amount must be a positive number and can have up to two decimal places.
|
|
142
142
|
* @member {String} amount
|
|
143
143
|
*/
|
|
144
144
|
RefundLinkBusinessInfo.prototype['amount'] = undefined;
|
|
@@ -149,13 +149,13 @@ RefundLinkBusinessInfo.prototype['amount'] = undefined;
|
|
|
149
149
|
RefundLinkBusinessInfo.prototype['refund_source'] = undefined;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
|
-
* The merchant ID, required if
|
|
152
|
+
* The merchant ID, required if `refund_source` is `Merchant`. The fund will be deducted from the specified merchant's balance.
|
|
153
153
|
* @member {String} merchant_id
|
|
154
154
|
*/
|
|
155
155
|
RefundLinkBusinessInfo.prototype['merchant_id'] = undefined;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
* The amount of the transaction
|
|
158
|
+
* The developer fee amount to charge the merchant, denominated in the cryptocurrency of the original payment transaction. This field is only valid when `refund_source` is `Merchant`. For more information, please refer to [Funds allocation and balances](https://www.cobo.com/developers/v2/payments/amounts-and-balances). Must be: - A positive integer with up to two decimal places. - Less than the refund amount
|
|
159
159
|
* @member {String} fee_amount
|
|
160
160
|
*/
|
|
161
161
|
RefundLinkBusinessInfo.prototype['fee_amount'] = undefined;
|
|
@@ -102,6 +102,9 @@ var SettlementDetail = /*#__PURE__*/function () {
|
|
|
102
102
|
if (data.hasOwnProperty('crypto_address_id')) {
|
|
103
103
|
obj['crypto_address_id'] = _ApiClient["default"].convertToType(data['crypto_address_id'], 'String');
|
|
104
104
|
}
|
|
105
|
+
if (data.hasOwnProperty('crypto_address')) {
|
|
106
|
+
obj['crypto_address'] = _ApiClient["default"].convertToType(data['crypto_address'], 'String');
|
|
107
|
+
}
|
|
105
108
|
if (data.hasOwnProperty('payout_channel')) {
|
|
106
109
|
obj['payout_channel'] = _PayoutChannel["default"].constructFromObject(data['payout_channel']);
|
|
107
110
|
}
|
|
@@ -189,6 +192,10 @@ var SettlementDetail = /*#__PURE__*/function () {
|
|
|
189
192
|
throw new Error("Expected the field `crypto_address_id` to be a primitive type in the JSON string but got " + data['crypto_address_id']);
|
|
190
193
|
}
|
|
191
194
|
// ensure the json data is a string
|
|
195
|
+
if (data['crypto_address'] && !(typeof data['crypto_address'] === 'string' || data['crypto_address'] instanceof String)) {
|
|
196
|
+
throw new Error("Expected the field `crypto_address` to be a primitive type in the JSON string but got " + data['crypto_address']);
|
|
197
|
+
}
|
|
198
|
+
// ensure the json data is a string
|
|
192
199
|
if (data['settlement_request_id'] && !(typeof data['settlement_request_id'] === 'string' || data['settlement_request_id'] instanceof String)) {
|
|
193
200
|
throw new Error("Expected the field `settlement_request_id` to be a primitive type in the JSON string but got " + data['settlement_request_id']);
|
|
194
201
|
}
|
|
@@ -284,6 +291,12 @@ SettlementDetail.prototype['updated_timestamp'] = undefined;
|
|
|
284
291
|
*/
|
|
285
292
|
SettlementDetail.prototype['crypto_address_id'] = undefined;
|
|
286
293
|
|
|
294
|
+
/**
|
|
295
|
+
* The actual blockchain address to which funds were transferred.
|
|
296
|
+
* @member {String} crypto_address
|
|
297
|
+
*/
|
|
298
|
+
SettlementDetail.prototype['crypto_address'] = undefined;
|
|
299
|
+
|
|
287
300
|
/**
|
|
288
301
|
* @member {module:model/PayoutChannel} payout_channel
|
|
289
302
|
*/
|
|
@@ -128,7 +128,7 @@ SwapActivityTimeline.prototype['action'] = undefined;
|
|
|
128
128
|
SwapActivityTimeline.prototype['status'] = undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* The time when the action occurred, in Unix timestamp format, measured in milliseconds.
|
|
131
|
+
* The time when the action occurred, in Unix timestamp format, measured in milliseconds.
|
|
132
132
|
* @member {Number} timestamp
|
|
133
133
|
*/
|
|
134
134
|
SwapActivityTimeline.prototype['timestamp'] = undefined;
|
|
@@ -473,7 +473,7 @@ Transaction.prototype['description'] = undefined;
|
|
|
473
473
|
Transaction.prototype['is_loop'] = undefined;
|
|
474
474
|
|
|
475
475
|
/**
|
|
476
|
-
* The transaction category defined by Cobo.
|
|
476
|
+
* The transaction category defined by Cobo. For more details, refer to [Cobo-defined categories](/v2/guides/transactions/manage-transactions#cobo-defined-categories).
|
|
477
477
|
* @member {Array.<String>} cobo_category
|
|
478
478
|
*/
|
|
479
479
|
Transaction.prototype['cobo_category'] = undefined;
|