@cobo/cobo-waas2 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +45 -6
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +6 -6
  4. package/dist/api/FeeStationApi.js +47 -4
  5. package/dist/api/PaymentApi.js +194 -47
  6. package/dist/api/SwapsApi.js +374 -0
  7. package/dist/api/TransactionsApi.js +4 -4
  8. package/dist/index.js +224 -14
  9. package/dist/model/AddressInfo.js +13 -0
  10. package/dist/model/AddressesEventDataAllOfAddresses.js +18 -0
  11. package/dist/model/BridgingFee.js +136 -0
  12. package/dist/model/CommissionFee.js +110 -0
  13. package/dist/model/ContractCallDestination.js +48 -8
  14. package/dist/model/ContractCallDestinationType.js +5 -0
  15. package/dist/model/CreateMerchantRequest.js +13 -6
  16. package/dist/model/CreatePaymentOrderRequest.js +14 -1
  17. package/dist/model/CreateSettlement.js +2 -2
  18. package/dist/model/CreateSettlementRequestRequest.js +39 -0
  19. package/dist/model/CreateSwapActivityRequest.js +193 -0
  20. package/dist/model/CustodialTransferDestination.js +1 -1
  21. package/dist/model/EstimateContractCallFeeParams.js +1 -1
  22. package/dist/model/EstimateFeeParams.js +1 -1
  23. package/dist/model/EstimateTransferFeeParams.js +1 -1
  24. package/dist/model/EstimatedEvmEip1559Fee.js +1 -1
  25. package/dist/model/EstimatedEvmLegacyFee.js +1 -1
  26. package/dist/model/EstimatedFILFee.js +1 -1
  27. package/dist/model/EstimatedFixedFee.js +1 -1
  28. package/dist/model/EstimatedSOLFee.js +1 -1
  29. package/dist/model/EstimatedUtxoFee.js +1 -1
  30. package/dist/model/FeeStationCheckFeeStationUsage.js +186 -0
  31. package/dist/model/FeeStationCheckFeeStationUsageResponse.js +200 -0
  32. package/dist/model/FeeStationGasStationType.js +61 -0
  33. package/dist/model/ListSwapActivities200Response.js +123 -0
  34. package/dist/model/ListSwapEnabledTokens200Response.js +123 -0
  35. package/dist/model/ListTopUpPayerAccounts200Response.js +123 -0
  36. package/dist/model/Merchant.js +9 -0
  37. package/dist/model/MerchantBalance.js +3 -3
  38. package/dist/model/MessageSignDestination.js +8 -70
  39. package/dist/model/OtcFee.js +123 -0
  40. package/dist/model/PaymentEstimateFee.js +125 -0
  41. package/dist/model/PaymentEstimateFee201Response.js +107 -0
  42. package/dist/model/{RawMessageSignDestination.js → PaymentEstimateFeeRequest.js} +51 -37
  43. package/dist/model/PaymentEstimatedFee.js +173 -0
  44. package/dist/model/PaymentFeeType.js +71 -0
  45. package/dist/model/PaymentRefundEventData.js +22 -2
  46. package/dist/model/PaymentSettlementEvent.js +62 -6
  47. package/dist/model/PspBalance.js +3 -3
  48. package/dist/model/Refund.js +17 -1
  49. package/dist/model/SettleRequestStatus.js +5 -0
  50. package/dist/model/Settlement.js +45 -3
  51. package/dist/model/SettlementDetail.js +33 -1
  52. package/dist/model/SettlementInfo.js +7 -7
  53. package/dist/model/SolContractCallAddressLookupTableAccount.js +126 -0
  54. package/dist/model/SolContractCallDestination.js +30 -0
  55. package/dist/model/StellarContractCallContractParam.js +164 -0
  56. package/dist/model/StellarContractCallContractType.js +56 -0
  57. package/dist/model/StellarContractCallDestination.js +125 -0
  58. package/dist/model/StellarContractCallTrustLineOperationType.js +56 -0
  59. package/dist/model/StellarContractCallTrustLineParam.js +133 -0
  60. package/dist/model/SupportedToken.js +9 -0
  61. package/dist/model/SwapActivity.js +9 -9
  62. package/dist/model/SwapActivityApprovers.js +1 -1
  63. package/dist/model/SwapActivityDetail.js +34 -18
  64. package/dist/model/SwapActivitySigners.js +2 -2
  65. package/dist/model/SwapActivityTimeline.js +5 -5
  66. package/dist/model/SwapEstimateFee.js +147 -0
  67. package/dist/model/SwapQuote.js +18 -31
  68. package/dist/model/SwapReceivingTransaction.js +133 -0
  69. package/dist/model/SwapToken.js +9 -9
  70. package/dist/model/TransactionCoboCategory.js +5 -0
  71. package/dist/model/TransactionDestination.js +48 -8
  72. package/dist/model/TransactionDestinationType.js +5 -0
  73. package/dist/model/TransactionEvmEip1559Fee.js +1 -1
  74. package/dist/model/TransactionEvmLegacyFee.js +1 -1
  75. package/dist/model/TransactionFILFee.js +1 -1
  76. package/dist/model/TransactionFixedFee.js +1 -1
  77. package/dist/model/TransactionFuelingInfo.js +13 -0
  78. package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
  79. package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
  80. package/dist/model/TransactionRequestFILFee.js +1 -1
  81. package/dist/model/TransactionRequestSOLFee.js +1 -1
  82. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  83. package/dist/model/TransactionSOLFee.js +1 -1
  84. package/dist/model/TransactionSolContractAddressLookupTableAccount.js +126 -0
  85. package/dist/model/TransactionSolContractDestination.js +30 -0
  86. package/dist/model/TransactionStellarContractParam.js +164 -0
  87. package/dist/model/TransactionStellarContractType.js +56 -0
  88. package/dist/model/{BTCEIP191MessageSignDestination.js → TransactionStellarDestination.js} +38 -35
  89. package/dist/model/TransactionStellarTrustLineOperationType.js +56 -0
  90. package/dist/model/TransactionStellarTrustLineParam.js +133 -0
  91. package/dist/model/TransactionUtxoFee.js +1 -1
  92. package/dist/model/UpdateBankAccountByIdRequest.js +108 -0
  93. package/dist/model/UpdateTopUpAddress.js +4 -6
  94. package/dist/model/WalletSetup.js +66 -0
  95. package/dist/model/WebhookEventData.js +19 -1
  96. package/docs/AddressBooksApi.md +3 -3
  97. package/docs/AddressInfo.md +1 -0
  98. package/docs/AddressesEventDataAllOfAddresses.md +1 -0
  99. package/docs/BridgingFee.md +11 -0
  100. package/docs/CommissionFee.md +9 -0
  101. package/docs/ContractCallDestination.md +2 -0
  102. package/docs/ContractCallDestinationType.md +2 -0
  103. package/docs/CreateMerchantRequest.md +2 -1
  104. package/docs/CreatePaymentOrderRequest.md +2 -1
  105. package/docs/CreateSettlement.md +2 -2
  106. package/docs/CreateSettlementRequestRequest.md +3 -0
  107. package/docs/CreateSwapActivityRequest.md +15 -0
  108. package/docs/EstimateContractCallFeeParams.md +1 -1
  109. package/docs/EstimateFeeParams.md +1 -1
  110. package/docs/EstimateTransferFeeParams.md +1 -1
  111. package/docs/FeeStationApi.md +53 -0
  112. package/docs/FeeStationCheckFeeStationUsage.md +14 -0
  113. package/docs/FeeStationCheckFeeStationUsageResponse.md +16 -0
  114. package/docs/FeeStationGasStationType.md +12 -0
  115. package/docs/ListSwapActivities200Response.md +10 -0
  116. package/docs/ListSwapEnabledTokens200Response.md +10 -0
  117. package/docs/ListTopUpPayerAccounts200Response.md +10 -0
  118. package/docs/Merchant.md +1 -0
  119. package/docs/MerchantBalance.md +3 -3
  120. package/docs/MessageSignDestination.md +0 -1
  121. package/docs/OtcFee.md +10 -0
  122. package/docs/PaymentApi.md +196 -21
  123. package/docs/PaymentEstimateFee.md +10 -0
  124. package/docs/PaymentEstimateFee201Response.md +9 -0
  125. package/docs/PaymentEstimateFeeRequest.md +10 -0
  126. package/docs/PaymentEstimatedFee.md +13 -0
  127. package/docs/PaymentFeeType.md +16 -0
  128. package/docs/PaymentRefundEventData.md +2 -1
  129. package/docs/PaymentSettlementEvent.md +6 -3
  130. package/docs/PspBalance.md +3 -3
  131. package/docs/Refund.md +2 -1
  132. package/docs/SettleRequestStatus.md +2 -0
  133. package/docs/Settlement.md +6 -3
  134. package/docs/SettlementDetail.md +3 -1
  135. package/docs/SettlementInfo.md +6 -6
  136. package/docs/SolContractCallAddressLookupTableAccount.md +10 -0
  137. package/docs/SolContractCallDestination.md +1 -0
  138. package/docs/StellarContractCallContractParam.md +11 -0
  139. package/docs/StellarContractCallContractType.md +10 -0
  140. package/docs/StellarContractCallDestination.md +10 -0
  141. package/docs/StellarContractCallTrustLineOperationType.md +10 -0
  142. package/docs/StellarContractCallTrustLineParam.md +11 -0
  143. package/docs/SupportedToken.md +1 -0
  144. package/docs/SwapActivity.md +9 -9
  145. package/docs/SwapActivityDetail.md +10 -9
  146. package/docs/SwapActivitySigners.md +1 -1
  147. package/docs/SwapActivityTimeline.md +3 -3
  148. package/docs/SwapEstimateFee.md +12 -0
  149. package/docs/SwapQuote.md +10 -11
  150. package/docs/SwapReceivingTransaction.md +11 -0
  151. package/docs/SwapToken.md +6 -6
  152. package/docs/SwapsApi.md +356 -0
  153. package/docs/TransactionCoboCategory.md +2 -0
  154. package/docs/TransactionDestination.md +2 -0
  155. package/docs/TransactionDestinationType.md +2 -0
  156. package/docs/TransactionFuelingInfo.md +1 -0
  157. package/docs/TransactionSolContractAddressLookupTableAccount.md +10 -0
  158. package/docs/TransactionSolContractDestination.md +1 -0
  159. package/docs/TransactionStellarContractParam.md +11 -0
  160. package/docs/TransactionStellarContractType.md +10 -0
  161. package/docs/TransactionStellarDestination.md +10 -0
  162. package/docs/TransactionStellarTrustLineOperationType.md +10 -0
  163. package/docs/TransactionStellarTrustLineParam.md +11 -0
  164. package/docs/TransactionsApi.md +2 -2
  165. package/docs/UpdateBankAccountByIdRequest.md +9 -0
  166. package/docs/UpdateTopUpAddress.md +1 -1
  167. package/docs/WalletSetup.md +14 -0
  168. package/docs/WebhookEventData.md +4 -1
  169. package/package.json +1 -1
  170. package/docs/BTCEIP191MessageSignDestination.md +0 -10
  171. package/docs/RawMessageSignDestination.md +0 -10
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _MessageSignDestinationType = _interopRequireDefault(require("./MessageSignDestinationType"));
8
+ var _TransactionDestinationType = _interopRequireDefault(require("./TransactionDestinationType"));
9
+ var _TransactionStellarContractParam = _interopRequireDefault(require("./TransactionStellarContractParam"));
9
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
11
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
12
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
@@ -26,20 +27,20 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
27
  *
27
28
  */
28
29
  /**
29
- * The BTCEIP191MessageSignDestination model module.
30
- * @module model/BTCEIP191MessageSignDestination
30
+ * The TransactionStellarDestination model module.
31
+ * @module model/TransactionStellarDestination
31
32
  */
32
- var BTCEIP191MessageSignDestination = /*#__PURE__*/function () {
33
+ var TransactionStellarDestination = /*#__PURE__*/function () {
33
34
  /**
34
- * Constructs a new <code>BTCEIP191MessageSignDestination</code>.
35
- * The information about the destination &#x60;BTC_EIP_191_Signature&#x60;. Refer to [Transaction sources and destinations](https://www.cobo.com/developers/v2/guides/transactions/sources-and-destinations) for a detailed introduction about the supported sources and destinations for each transaction type.
36
- * @alias module:model/BTCEIP191MessageSignDestination
37
- * @param destination_type {module:model/MessageSignDestinationType}
38
- * @param message {String} The raw data of the message to be signed, encoded in Base64 format.
35
+ * Constructs a new <code>TransactionStellarDestination</code>.
36
+ * The information about the transaction destination type &#x60;STELLAR_Contract&#x60;. Refer to [Transaction sources and destinations](https://www.cobo.com/developers/v2/guides/transactions/sources-and-destinations) for a detailed introduction about the supported sources and destinations for each transaction type.
37
+ * @alias module:model/TransactionStellarDestination
38
+ * @param destination_type {module:model/TransactionDestinationType}
39
+ * @param contract_param {module:model/TransactionStellarContractParam}
39
40
  */
40
- function BTCEIP191MessageSignDestination(destination_type, message) {
41
- _classCallCheck(this, BTCEIP191MessageSignDestination);
42
- BTCEIP191MessageSignDestination.initialize(this, destination_type, message);
41
+ function TransactionStellarDestination(destination_type, contract_param) {
42
+ _classCallCheck(this, TransactionStellarDestination);
43
+ TransactionStellarDestination.initialize(this, destination_type, contract_param);
43
44
  }
44
45
 
45
46
  /**
@@ -47,45 +48,45 @@ var BTCEIP191MessageSignDestination = /*#__PURE__*/function () {
47
48
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
48
49
  * Only for internal use.
49
50
  */
50
- return _createClass(BTCEIP191MessageSignDestination, null, [{
51
+ return _createClass(TransactionStellarDestination, null, [{
51
52
  key: "initialize",
52
- value: function initialize(obj, destination_type, message) {
53
+ value: function initialize(obj, destination_type, contract_param) {
53
54
  obj['destination_type'] = destination_type;
54
- obj['message'] = message;
55
+ obj['contract_param'] = contract_param;
55
56
  }
56
57
 
57
58
  /**
58
- * Constructs a <code>BTCEIP191MessageSignDestination</code> from a plain JavaScript object, optionally creating a new instance.
59
+ * Constructs a <code>TransactionStellarDestination</code> from a plain JavaScript object, optionally creating a new instance.
59
60
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
60
61
  * @param {Object} data The plain JavaScript object bearing properties of interest.
61
- * @param {module:model/BTCEIP191MessageSignDestination} obj Optional instance to populate.
62
- * @return {module:model/BTCEIP191MessageSignDestination} The populated <code>BTCEIP191MessageSignDestination</code> instance.
62
+ * @param {module:model/TransactionStellarDestination} obj Optional instance to populate.
63
+ * @return {module:model/TransactionStellarDestination} The populated <code>TransactionStellarDestination</code> instance.
63
64
  */
64
65
  }, {
65
66
  key: "constructFromObject",
66
67
  value: function constructFromObject(data, obj) {
67
68
  if (data) {
68
- obj = obj || new BTCEIP191MessageSignDestination();
69
+ obj = obj || new TransactionStellarDestination();
69
70
  if (data.hasOwnProperty('destination_type')) {
70
- obj['destination_type'] = _MessageSignDestinationType["default"].constructFromObject(data['destination_type']);
71
+ obj['destination_type'] = _TransactionDestinationType["default"].constructFromObject(data['destination_type']);
71
72
  }
72
- if (data.hasOwnProperty('message')) {
73
- obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
73
+ if (data.hasOwnProperty('contract_param')) {
74
+ obj['contract_param'] = _TransactionStellarContractParam["default"].constructFromObject(data['contract_param']);
74
75
  }
75
76
  }
76
77
  return obj;
77
78
  }
78
79
 
79
80
  /**
80
- * Validates the JSON data with respect to <code>BTCEIP191MessageSignDestination</code>.
81
+ * Validates the JSON data with respect to <code>TransactionStellarDestination</code>.
81
82
  * @param {Object} data The plain JavaScript object bearing properties of interest.
82
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>BTCEIP191MessageSignDestination</code>.
83
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>TransactionStellarDestination</code>.
83
84
  */
84
85
  }, {
85
86
  key: "validateJSON",
86
87
  value: function validateJSON(data) {
87
88
  // check to make sure all required properties are present in the JSON string
88
- var _iterator = _createForOfIteratorHelper(BTCEIP191MessageSignDestination.RequiredProperties),
89
+ var _iterator = _createForOfIteratorHelper(TransactionStellarDestination.RequiredProperties),
89
90
  _step;
90
91
  try {
91
92
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -94,29 +95,31 @@ var BTCEIP191MessageSignDestination = /*#__PURE__*/function () {
94
95
  throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
95
96
  }
96
97
  }
97
- // ensure the json data is a string
98
+ // validate the optional field `contract_param`
98
99
  } catch (err) {
99
100
  _iterator.e(err);
100
101
  } finally {
101
102
  _iterator.f();
102
103
  }
103
- if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
104
- throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
104
+ if (data['contract_param']) {
105
+ // data not null
106
+ if (!!_TransactionStellarContractParam["default"].validateJSON) {
107
+ _TransactionStellarContractParam["default"].validateJSON(data['contract_param']);
108
+ }
105
109
  }
106
110
  return true;
107
111
  }
108
112
  }]);
109
113
  }();
110
- BTCEIP191MessageSignDestination.RequiredProperties = ["destination_type", "message"];
114
+ TransactionStellarDestination.RequiredProperties = ["destination_type", "contract_param"];
111
115
 
112
116
  /**
113
- * @member {module:model/MessageSignDestinationType} destination_type
117
+ * @member {module:model/TransactionDestinationType} destination_type
114
118
  */
115
- BTCEIP191MessageSignDestination.prototype['destination_type'] = undefined;
119
+ TransactionStellarDestination.prototype['destination_type'] = undefined;
116
120
 
117
121
  /**
118
- * The raw data of the message to be signed, encoded in Base64 format.
119
- * @member {String} message
122
+ * @member {module:model/TransactionStellarContractParam} contract_param
120
123
  */
121
- BTCEIP191MessageSignDestination.prototype['message'] = undefined;
122
- var _default = exports["default"] = BTCEIP191MessageSignDestination;
124
+ TransactionStellarDestination.prototype['contract_param'] = undefined;
125
+ var _default = exports["default"] = TransactionStellarDestination;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * Cobo Wallet as a Service 2.0
17
+ *
18
+ * Contact: help@cobo.com
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * Enum class TransactionStellarTrustLineOperationType.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var TransactionStellarTrustLineOperationType = exports["default"] = /*#__PURE__*/function () {
31
+ function TransactionStellarTrustLineOperationType() {
32
+ _classCallCheck(this, TransactionStellarTrustLineOperationType);
33
+ /**
34
+ * value: "ChangeTrust"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "ChangeTrust", "ChangeTrust");
38
+ /**
39
+ * value: "unknown_default_open_api"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
43
+ }
44
+ return _createClass(TransactionStellarTrustLineOperationType, null, [{
45
+ key: "constructFromObject",
46
+ value:
47
+ /**
48
+ * Returns a <code>TransactionStellarTrustLineOperationType</code> enum value from a Javascript object name.
49
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
50
+ * @return {module:model/TransactionStellarTrustLineOperationType} The enum <code>TransactionStellarTrustLineOperationType</code> value.
51
+ */
52
+ function constructFromObject(object) {
53
+ return object;
54
+ }
55
+ }]);
56
+ }();
@@ -0,0 +1,133 @@
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 _TransactionStellarContractType = _interopRequireDefault(require("./TransactionStellarContractType"));
9
+ var _TransactionStellarTrustLineOperationType = _interopRequireDefault(require("./TransactionStellarTrustLineOperationType"));
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 TransactionStellarTrustLineParam model module.
31
+ * @module model/TransactionStellarTrustLineParam
32
+ */
33
+ var TransactionStellarTrustLineParam = /*#__PURE__*/function () {
34
+ /**
35
+ * Constructs a new <code>TransactionStellarTrustLineParam</code>.
36
+ * Parameters related to Stellar trustline operations.
37
+ * @alias module:model/TransactionStellarTrustLineParam
38
+ * @param contract_type {module:model/TransactionStellarContractType}
39
+ * @param token_id {String} The token ID, which is the unique identifier of a token.
40
+ * @param operation_type {module:model/TransactionStellarTrustLineOperationType}
41
+ */
42
+ function TransactionStellarTrustLineParam(contract_type, token_id, operation_type) {
43
+ _classCallCheck(this, TransactionStellarTrustLineParam);
44
+ TransactionStellarTrustLineParam.initialize(this, contract_type, token_id, operation_type);
45
+ }
46
+
47
+ /**
48
+ * Initializes the fields of this object.
49
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
+ * Only for internal use.
51
+ */
52
+ return _createClass(TransactionStellarTrustLineParam, null, [{
53
+ key: "initialize",
54
+ value: function initialize(obj, contract_type, token_id, operation_type) {
55
+ obj['contract_type'] = contract_type;
56
+ obj['token_id'] = token_id;
57
+ obj['operation_type'] = operation_type;
58
+ }
59
+
60
+ /**
61
+ * Constructs a <code>TransactionStellarTrustLineParam</code> from a plain JavaScript object, optionally creating a new instance.
62
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
63
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
64
+ * @param {module:model/TransactionStellarTrustLineParam} obj Optional instance to populate.
65
+ * @return {module:model/TransactionStellarTrustLineParam} The populated <code>TransactionStellarTrustLineParam</code> instance.
66
+ */
67
+ }, {
68
+ key: "constructFromObject",
69
+ value: function constructFromObject(data, obj) {
70
+ if (data) {
71
+ obj = obj || new TransactionStellarTrustLineParam();
72
+ if (data.hasOwnProperty('contract_type')) {
73
+ obj['contract_type'] = _TransactionStellarContractType["default"].constructFromObject(data['contract_type']);
74
+ }
75
+ if (data.hasOwnProperty('token_id')) {
76
+ obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
77
+ }
78
+ if (data.hasOwnProperty('operation_type')) {
79
+ obj['operation_type'] = _TransactionStellarTrustLineOperationType["default"].constructFromObject(data['operation_type']);
80
+ }
81
+ }
82
+ return obj;
83
+ }
84
+
85
+ /**
86
+ * Validates the JSON data with respect to <code>TransactionStellarTrustLineParam</code>.
87
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
88
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>TransactionStellarTrustLineParam</code>.
89
+ */
90
+ }, {
91
+ key: "validateJSON",
92
+ value: function validateJSON(data) {
93
+ // check to make sure all required properties are present in the JSON string
94
+ var _iterator = _createForOfIteratorHelper(TransactionStellarTrustLineParam.RequiredProperties),
95
+ _step;
96
+ try {
97
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
98
+ var property = _step.value;
99
+ if (!data.hasOwnProperty(property)) {
100
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
101
+ }
102
+ }
103
+ // ensure the json data is a string
104
+ } catch (err) {
105
+ _iterator.e(err);
106
+ } finally {
107
+ _iterator.f();
108
+ }
109
+ if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
110
+ throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
111
+ }
112
+ return true;
113
+ }
114
+ }]);
115
+ }();
116
+ TransactionStellarTrustLineParam.RequiredProperties = ["contract_type", "token_id", "operation_type"];
117
+
118
+ /**
119
+ * @member {module:model/TransactionStellarContractType} contract_type
120
+ */
121
+ TransactionStellarTrustLineParam.prototype['contract_type'] = undefined;
122
+
123
+ /**
124
+ * The token ID, which is the unique identifier of a token.
125
+ * @member {String} token_id
126
+ */
127
+ TransactionStellarTrustLineParam.prototype['token_id'] = undefined;
128
+
129
+ /**
130
+ * @member {module:model/TransactionStellarTrustLineOperationType} operation_type
131
+ */
132
+ TransactionStellarTrustLineParam.prototype['operation_type'] = undefined;
133
+ var _default = exports["default"] = TransactionStellarTrustLineParam;
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionUtxoFee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionUtxoFee</code>.
36
- * The transaction fee actually charged by the chain that uses the UTXO fee model, such as Bitcoin. The transaction fee is calculated by multiplying the fee rate by the transaction size. This can be expressed as: Transaction fee &#x3D; fee rate * transaction size. Switch between the tabs to display the properties for different transaction fee models.
36
+ * The transaction fee actually charged by the chain that uses the UTXO fee model, such as Bitcoin. For more information about the UTXO fee model, see [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). Switch between the tabs to display the properties for different transaction fee models.
37
37
  * @alias module:model/TransactionUtxoFee
38
38
  * @implements module:model/UtxoFeeBasePrice
39
39
  * @param fee_type {module:model/FeeType}
@@ -0,0 +1,108 @@
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 UpdateBankAccountByIdRequest model module.
29
+ * @module model/UpdateBankAccountByIdRequest
30
+ */
31
+ var UpdateBankAccountByIdRequest = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>UpdateBankAccountByIdRequest</code>.
34
+ * @alias module:model/UpdateBankAccountByIdRequest
35
+ * @param info {Object.<String, Object>} JSON-formatted bank account details. The object should include the following fields: - beneficiary_name: Name of the account holder - beneficiary_address: Address of the account holder - account_number: Bank account number - bank_name: Name of the bank - bank_address: Address of the bank - iban: (Optional) International Bank Account Number - swift_or_bic: SWIFT or BIC code of the bank
36
+ */
37
+ function UpdateBankAccountByIdRequest(info) {
38
+ _classCallCheck(this, UpdateBankAccountByIdRequest);
39
+ UpdateBankAccountByIdRequest.initialize(this, info);
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(UpdateBankAccountByIdRequest, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj, info) {
50
+ obj['info'] = info;
51
+ }
52
+
53
+ /**
54
+ * Constructs a <code>UpdateBankAccountByIdRequest</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/UpdateBankAccountByIdRequest} obj Optional instance to populate.
58
+ * @return {module:model/UpdateBankAccountByIdRequest} The populated <code>UpdateBankAccountByIdRequest</code> instance.
59
+ */
60
+ }, {
61
+ key: "constructFromObject",
62
+ value: function constructFromObject(data, obj) {
63
+ if (data) {
64
+ obj = obj || new UpdateBankAccountByIdRequest();
65
+ if (data.hasOwnProperty('info')) {
66
+ obj['info'] = _ApiClient["default"].convertToType(data['info'], {
67
+ 'String': Object
68
+ });
69
+ }
70
+ }
71
+ return obj;
72
+ }
73
+
74
+ /**
75
+ * Validates the JSON data with respect to <code>UpdateBankAccountByIdRequest</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>UpdateBankAccountByIdRequest</code>.
78
+ */
79
+ }, {
80
+ key: "validateJSON",
81
+ value: function validateJSON(data) {
82
+ // check to make sure all required properties are present in the JSON string
83
+ var _iterator = _createForOfIteratorHelper(UpdateBankAccountByIdRequest.RequiredProperties),
84
+ _step;
85
+ try {
86
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
87
+ var property = _step.value;
88
+ if (!data.hasOwnProperty(property)) {
89
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
90
+ }
91
+ }
92
+ } catch (err) {
93
+ _iterator.e(err);
94
+ } finally {
95
+ _iterator.f();
96
+ }
97
+ return true;
98
+ }
99
+ }]);
100
+ }();
101
+ UpdateBankAccountByIdRequest.RequiredProperties = ["info"];
102
+
103
+ /**
104
+ * JSON-formatted bank account details. The object should include the following fields: - beneficiary_name: Name of the account holder - beneficiary_address: Address of the account holder - account_number: Bank account number - bank_name: Name of the bank - bank_address: Address of the bank - iban: (Optional) International Bank Account Number - swift_or_bic: SWIFT or BIC code of the bank
105
+ * @member {Object.<String, Object>} info
106
+ */
107
+ UpdateBankAccountByIdRequest.prototype['info'] = undefined;
108
+ var _default = exports["default"] = UpdateBankAccountByIdRequest;
@@ -33,13 +33,12 @@ var UpdateTopUpAddress = /*#__PURE__*/function () {
33
33
  * Constructs a new <code>UpdateTopUpAddress</code>.
34
34
  * The request body to update top-up address.
35
35
  * @alias module:model/UpdateTopUpAddress
36
- * @param merchant_id {String} The merchant ID.
37
36
  * @param token_id {String} The token ID, which is a unique identifier that specifies both the blockchain network and cryptocurrency token in the format `{CHAIN}_{TOKEN}`. Supported values include: - USDC: `ETH_USDC`, `ARBITRUM_USDCOIN`, `SOL_USDC`, `BASE_USDC`, `MATIC_USDC2`, `BSC_USDC` - USDT: `TRON_USDT`, `ETH_USDT`, `ARBITRUM_USDT`, `SOL_USDT`, `BASE_USDT`, `MATIC_USDT`, `BSC_USDT`
38
37
  * @param custom_payer_id {String} A unique identifier assigned by the developer to track and identify individual payers in their system.
39
38
  */
40
- function UpdateTopUpAddress(merchant_id, token_id, custom_payer_id) {
39
+ function UpdateTopUpAddress(token_id, custom_payer_id) {
41
40
  _classCallCheck(this, UpdateTopUpAddress);
42
- UpdateTopUpAddress.initialize(this, merchant_id, token_id, custom_payer_id);
41
+ UpdateTopUpAddress.initialize(this, token_id, custom_payer_id);
43
42
  }
44
43
 
45
44
  /**
@@ -49,8 +48,7 @@ var UpdateTopUpAddress = /*#__PURE__*/function () {
49
48
  */
50
49
  return _createClass(UpdateTopUpAddress, null, [{
51
50
  key: "initialize",
52
- value: function initialize(obj, merchant_id, token_id, custom_payer_id) {
53
- obj['merchant_id'] = merchant_id;
51
+ value: function initialize(obj, token_id, custom_payer_id) {
54
52
  obj['token_id'] = token_id;
55
53
  obj['custom_payer_id'] = custom_payer_id;
56
54
  }
@@ -119,7 +117,7 @@ var UpdateTopUpAddress = /*#__PURE__*/function () {
119
117
  }
120
118
  }]);
121
119
  }();
122
- UpdateTopUpAddress.RequiredProperties = ["merchant_id", "token_id", "custom_payer_id"];
120
+ UpdateTopUpAddress.RequiredProperties = ["token_id", "custom_payer_id"];
123
121
 
124
122
  /**
125
123
  * The merchant ID.
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * Cobo Wallet as a Service 2.0
17
+ *
18
+ * Contact: help@cobo.com
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * Enum class WalletSetup.
27
+ * @enum {}
28
+ * @readonly
29
+ */
30
+ var WalletSetup = exports["default"] = /*#__PURE__*/function () {
31
+ function WalletSetup() {
32
+ _classCallCheck(this, WalletSetup);
33
+ /**
34
+ * value: "Default"
35
+ * @const
36
+ */
37
+ _defineProperty(this, "Default", "Default");
38
+ /**
39
+ * value: "Shared"
40
+ * @const
41
+ */
42
+ _defineProperty(this, "Shared", "Shared");
43
+ /**
44
+ * value: "Separate"
45
+ * @const
46
+ */
47
+ _defineProperty(this, "Separate", "Separate");
48
+ /**
49
+ * value: "unknown_default_open_api"
50
+ * @const
51
+ */
52
+ _defineProperty(this, "unknown_default_open_api", "unknown_default_open_api");
53
+ }
54
+ return _createClass(WalletSetup, null, [{
55
+ key: "constructFromObject",
56
+ value:
57
+ /**
58
+ * Returns a <code>WalletSetup</code> enum value from a Javascript object name.
59
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
60
+ * @return {module:model/WalletSetup} The enum <code>WalletSetup</code> value.
61
+ */
62
+ function constructFromObject(object) {
63
+ return object;
64
+ }
65
+ }]);
66
+ }();
@@ -10,8 +10,10 @@ var _AddressesEventData = _interopRequireDefault(require("./AddressesEventData")
10
10
  var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./AddressesEventDataAllOfAddresses"));
11
11
  var _Balance = _interopRequireDefault(require("./Balance"));
12
12
  var _BalanceUpdateInfoEventData = _interopRequireDefault(require("./BalanceUpdateInfoEventData"));
13
+ var _BankAccount = _interopRequireDefault(require("./BankAccount"));
13
14
  var _ChainInfo = _interopRequireDefault(require("./ChainInfo"));
14
15
  var _ChainsEventData = _interopRequireDefault(require("./ChainsEventData"));
16
+ var _CommissionFee = _interopRequireDefault(require("./CommissionFee"));
15
17
  var _ComplianceDispositionUpdateEventData = _interopRequireDefault(require("./ComplianceDispositionUpdateEventData"));
16
18
  var _DispositionStatus = _interopRequireDefault(require("./DispositionStatus"));
17
19
  var _DispositionType = _interopRequireDefault(require("./DispositionType"));
@@ -922,7 +924,7 @@ WebhookEventData.prototype['payable_amount'] = undefined;
922
924
  WebhookEventData.prototype['receive_address'] = undefined;
923
925
 
924
926
  /**
925
- * The fiat currency of the order.
927
+ * The fiat currency for the settlement request.
926
928
  * @member {String} currency
927
929
  */
928
930
  WebhookEventData.prototype['currency'] = undefined;
@@ -1021,6 +1023,11 @@ WebhookEventData.prototype['merchant_fee_amount'] = undefined;
1021
1023
  */
1022
1024
  WebhookEventData.prototype['merchant_fee_token_id'] = undefined;
1023
1025
 
1026
+ /**
1027
+ * @member {module:model/CommissionFee} commission_fee
1028
+ */
1029
+ WebhookEventData.prototype['commission_fee'] = undefined;
1030
+
1024
1031
  /**
1025
1032
  * The settlement request ID generated by Cobo.
1026
1033
  * @member {String} settlement_request_id
@@ -1047,6 +1054,17 @@ WebhookEventData.prototype['payout_channel'] = undefined;
1047
1054
  */
1048
1055
  WebhookEventData.prototype['settlement_type'] = undefined;
1049
1056
 
1057
+ /**
1058
+ * The received fiat amount of this settlement request.
1059
+ * @member {String} received_amount_fiat
1060
+ */
1061
+ WebhookEventData.prototype['received_amount_fiat'] = undefined;
1062
+
1063
+ /**
1064
+ * @member {module:model/BankAccount} bank_account
1065
+ */
1066
+ WebhookEventData.prototype['bank_account'] = undefined;
1067
+
1050
1068
  /**
1051
1069
  * A unique identifier assigned by Cobo to track and identify individual payers.
1052
1070
  * @member {String} payer_id
@@ -18,7 +18,7 @@ Method | HTTP request | Description
18
18
 
19
19
  Create Address Book entries
20
20
 
21
- This operation adds new entries (records) to your Address Book.
21
+ This operation adds new entries (records) to your Address Book. &lt;Note&gt;This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.&lt;/Note&gt;
22
22
 
23
23
  ### Example
24
24
 
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
70
70
 
71
71
  Delete Address Book entry
72
72
 
73
- This operation deletes a specified Address Book entry (record).
73
+ This operation deletes a specified Address Book entry (record). &lt;Note&gt;This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.&lt;/Note&gt;
74
74
 
75
75
  ### Example
76
76
 
@@ -232,7 +232,7 @@ Name | Type | Description | Notes
232
232
 
233
233
  Update Address Book entry
234
234
 
235
- This operation updates the information of a specified Address Book entry (record).
235
+ This operation updates the information of a specified Address Book entry (record). &lt;Note&gt;This operation is available upon request. Please contact our [customer support](mailto:help@cobo.com) to enable it.&lt;/Note&gt;
236
236
 
237
237
  ### Example
238
238
 
@@ -14,5 +14,6 @@ Name | Type | Description | Notes
14
14
  **root_pubkey** | **String** | The root public key of the address. This property applies to MPC Wallets only. | [optional]
15
15
  **taproot_script_tree_hash** | **String** | The information about the new address. | [optional]
16
16
  **taproot_internal_address** | **String** | The Taproot address before tweaking. | [optional]
17
+ **stellar_trusted_token_ids** | **[String]** | The list of token IDs for which this address has already established trustlines on the Stellar network. | [optional]
17
18
 
18
19