@cobo/cobo-waas2 1.12.0 → 1.13.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 (159) hide show
  1. package/README.md +54 -18
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/FeeStationApi.js +18 -18
  4. package/dist/api/TransactionsApi.js +2 -2
  5. package/dist/api/WalletsApi.js +8 -8
  6. package/dist/index.js +260 -43
  7. package/dist/model/ActivityExtra.js +0 -23
  8. package/dist/model/AddressEncoding.js +15 -0
  9. package/dist/model/AddressesEventData.js +8 -3
  10. package/dist/model/BTCBIP137MessageSignDestination.js +122 -0
  11. package/dist/model/BTCBIP322MessageSignDestination.js +122 -0
  12. package/dist/model/BabylonStakingActivityDetailExtra.js +0 -39
  13. package/dist/model/{ListSwapActivities200Response.js → BankAccount.js} +51 -51
  14. package/dist/model/ChainsEventData.js +8 -3
  15. package/dist/model/CosmosAdr36MessageSignDestination.js +122 -0
  16. package/dist/model/CosmosContractCallDestination.js +152 -0
  17. package/dist/model/CosmosContractCallMessage.js +126 -0
  18. package/dist/model/CreateSettlement.js +174 -0
  19. package/dist/model/MPCVaultEventData.js +8 -3
  20. package/dist/model/{CreateSwapActivityRequest.js → Merchant.js} +45 -58
  21. package/dist/model/MessageSignDestination.js +111 -9
  22. package/dist/model/MessageSignDestinationType.js +15 -0
  23. package/dist/model/Order.js +306 -0
  24. package/dist/model/OrderStatus.js +76 -0
  25. package/dist/model/PaymentTransaction.js +201 -0
  26. package/dist/model/RefreshAddressBalancesByTokenRequest.js +2 -3
  27. package/dist/model/Refund.js +237 -0
  28. package/dist/model/RefundStatus.js +76 -0
  29. package/dist/model/RefundType.js +61 -0
  30. package/dist/model/SettleRequestStatus.js +76 -0
  31. package/dist/model/SettleStatus.js +76 -0
  32. package/dist/model/Settlement.js +168 -0
  33. package/dist/model/SettlementDetail.js +184 -0
  34. package/dist/model/SettlementInfo.js +175 -0
  35. package/dist/model/SettlementType.js +61 -0
  36. package/dist/model/SwapActivity.js +36 -5
  37. package/dist/model/SwapActivityStatus.js +66 -0
  38. package/dist/model/SwapActivityType.js +61 -0
  39. package/dist/model/SwapQuote.js +21 -34
  40. package/dist/model/{CreateSwapQuoteRequest.js → SwapToken.js} +73 -60
  41. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  42. package/dist/model/TokenListing.js +230 -0
  43. package/dist/model/TokenListingEventData.js +363 -0
  44. package/dist/model/TokenListingRequestSource.js +61 -0
  45. package/dist/model/TokenListingRequestStatus.js +66 -0
  46. package/dist/model/TokensEventData.js +8 -3
  47. package/dist/model/Transaction.js +22 -5
  48. package/dist/model/TransactionBIP137Destination.js +122 -0
  49. package/dist/model/TransactionBIP322Destination.js +122 -0
  50. package/dist/model/TransactionBabylonBusinessInfo.js +138 -0
  51. package/dist/model/TransactionBabylonTxParameters.js +168 -0
  52. package/dist/model/TransactionCoreStakeInfo.js +168 -0
  53. package/dist/model/TransactionCosmosAdr36Destination.js +122 -0
  54. package/dist/model/TransactionCosmosContractDestination.js +152 -0
  55. package/dist/model/{ListEnableTokenPairs200Response.js → TransactionCosmosMessage.js} +54 -51
  56. package/dist/model/TransactionDestination.js +172 -8
  57. package/dist/model/TransactionDestinationType.js +20 -0
  58. package/dist/model/TransactionDetail.js +29 -7
  59. package/dist/model/TransactionDetails.js +29 -7
  60. package/dist/model/TransactionExtra.js +278 -0
  61. package/dist/model/TransactionExtraType.js +66 -0
  62. package/dist/model/TransactionFuelingInfo.js +3 -3
  63. package/dist/model/TransactionMessageSignBTCEIP191Destination.js +122 -0
  64. package/dist/model/TransactionRbfSource.js +37 -9
  65. package/dist/model/TransactionSelectedUtxo.js +2 -2
  66. package/dist/model/TransactionSubStatus.js +45 -0
  67. package/dist/model/TransactionWebhookEventData.js +37 -10
  68. package/dist/model/UpdateCustodialWalletParams.js +6 -4
  69. package/dist/model/UpdateExchangeWalletParams.js +6 -4
  70. package/dist/model/UpdateMpcWalletParams.js +6 -4
  71. package/dist/model/UpdateSmartContractWalletParams.js +6 -4
  72. package/dist/model/WalletInfoEventData.js +8 -3
  73. package/dist/model/WebhookEventData.js +81 -18
  74. package/dist/model/WebhookEventDataType.js +7 -2
  75. package/dist/model/WebhookEventType.js +10 -0
  76. package/docs/ActivityExtra.md +0 -4
  77. package/docs/AddressEncoding.md +6 -0
  78. package/docs/AddressesEventData.md +3 -1
  79. package/docs/BTCBIP137MessageSignDestination.md +10 -0
  80. package/docs/BTCBIP322MessageSignDestination.md +10 -0
  81. package/docs/BabylonStakingActivityDetailExtra.md +0 -4
  82. package/docs/BankAccount.md +10 -0
  83. package/docs/ChainsEventData.md +3 -1
  84. package/docs/CosmosAdr36MessageSignDestination.md +10 -0
  85. package/docs/CosmosContractCallDestination.md +11 -0
  86. package/docs/CosmosContractCallMessage.md +10 -0
  87. package/docs/CreateSettlement.md +14 -0
  88. package/docs/FeeStationApi.md +13 -13
  89. package/docs/MPCVaultEventData.md +3 -1
  90. package/docs/Merchant.md +11 -0
  91. package/docs/MessageSignDestination.md +3 -0
  92. package/docs/MessageSignDestinationType.md +6 -0
  93. package/docs/Order.md +23 -0
  94. package/docs/OrderStatus.md +18 -0
  95. package/docs/PaymentTransaction.md +16 -0
  96. package/docs/RefreshAddressBalancesByTokenRequest.md +1 -1
  97. package/docs/Refund.md +17 -0
  98. package/docs/RefundStatus.md +18 -0
  99. package/docs/RefundType.md +12 -0
  100. package/docs/SettleRequestStatus.md +18 -0
  101. package/docs/SettleStatus.md +18 -0
  102. package/docs/Settlement.md +12 -0
  103. package/docs/SettlementDetail.md +15 -0
  104. package/docs/SettlementInfo.md +14 -0
  105. package/docs/SettlementType.md +12 -0
  106. package/docs/SwapActivity.md +4 -1
  107. package/docs/SwapActivityStatus.md +14 -0
  108. package/docs/SwapActivityType.md +12 -0
  109. package/docs/SwapQuote.md +3 -4
  110. package/docs/SwapToken.md +14 -0
  111. package/docs/TSSRequestWebhookEventData.md +3 -1
  112. package/docs/TokenListing.md +19 -0
  113. package/docs/TokenListingEventData.md +45 -0
  114. package/docs/TokenListingRequestSource.md +12 -0
  115. package/docs/TokenListingRequestStatus.md +14 -0
  116. package/docs/TokensEventData.md +3 -1
  117. package/docs/Transaction.md +4 -3
  118. package/docs/TransactionBIP137Destination.md +10 -0
  119. package/docs/TransactionBIP322Destination.md +10 -0
  120. package/docs/TransactionBabylonBusinessInfo.md +11 -0
  121. package/docs/TransactionBabylonTxParameters.md +15 -0
  122. package/docs/TransactionCoreStakeInfo.md +14 -0
  123. package/docs/TransactionCosmosAdr36Destination.md +10 -0
  124. package/docs/TransactionCosmosContractDestination.md +11 -0
  125. package/docs/TransactionCosmosMessage.md +10 -0
  126. package/docs/TransactionDestination.md +4 -0
  127. package/docs/TransactionDestinationType.md +8 -0
  128. package/docs/TransactionDetail.md +4 -3
  129. package/docs/TransactionDetails.md +4 -3
  130. package/docs/TransactionExtra.md +21 -0
  131. package/docs/TransactionExtraType.md +14 -0
  132. package/docs/TransactionFuelingInfo.md +2 -2
  133. package/docs/TransactionMessageSignBTCEIP191Destination.md +10 -0
  134. package/docs/TransactionRbfSource.md +1 -1
  135. package/docs/TransactionSelectedUtxo.md +2 -2
  136. package/docs/TransactionSubStatus.md +18 -0
  137. package/docs/TransactionWebhookEventData.md +7 -4
  138. package/docs/TransactionsApi.md +1 -1
  139. package/docs/UpdateCustodialWalletParams.md +1 -1
  140. package/docs/UpdateExchangeWalletParams.md +1 -1
  141. package/docs/UpdateMpcWalletParams.md +1 -1
  142. package/docs/UpdateSmartContractWalletParams.md +1 -1
  143. package/docs/UpdateWalletParams.md +1 -1
  144. package/docs/WalletInfoEventData.md +3 -1
  145. package/docs/WalletsApi.md +5 -5
  146. package/docs/WebhookEventData.md +16 -8
  147. package/docs/WebhookEventDataType.md +3 -1
  148. package/docs/WebhookEventType.md +4 -0
  149. package/package.json +1 -1
  150. package/dist/api/SwapsApi.js +0 -360
  151. package/dist/model/CreateSwapQuote201Response.js +0 -264
  152. package/dist/model/SwapTokenPair.js +0 -100
  153. package/docs/CreateSwapActivityRequest.md +0 -12
  154. package/docs/CreateSwapQuote201Response.md +0 -17
  155. package/docs/CreateSwapQuoteRequest.md +0 -13
  156. package/docs/ListEnableTokenPairs200Response.md +0 -10
  157. package/docs/ListSwapActivities200Response.md +0 -10
  158. package/docs/SwapTokenPair.md +0 -10
  159. package/docs/SwapsApi.md +0 -348
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _Pagination = _interopRequireDefault(require("./Pagination"));
9
- var _SwapTokenPair = _interopRequireDefault(require("./SwapTokenPair"));
10
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
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); }
12
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; } } }; }
@@ -27,17 +25,20 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
25
  *
28
26
  */
29
27
  /**
30
- * The ListEnableTokenPairs200Response model module.
31
- * @module model/ListEnableTokenPairs200Response
28
+ * The TransactionCosmosMessage model module.
29
+ * @module model/TransactionCosmosMessage
32
30
  */
33
- var ListEnableTokenPairs200Response = /*#__PURE__*/function () {
31
+ var TransactionCosmosMessage = /*#__PURE__*/function () {
34
32
  /**
35
- * Constructs a new <code>ListEnableTokenPairs200Response</code>.
36
- * @alias module:model/ListEnableTokenPairs200Response
33
+ * Constructs a new <code>TransactionCosmosMessage</code>.
34
+ * The information about the Cosmos message.
35
+ * @alias module:model/TransactionCosmosMessage
36
+ * @param type_url {String} The type URL of the Cosmos message.
37
+ * @param message {String} The Base64-encoded Cosmos message.
37
38
  */
38
- function ListEnableTokenPairs200Response() {
39
- _classCallCheck(this, ListEnableTokenPairs200Response);
40
- ListEnableTokenPairs200Response.initialize(this);
39
+ function TransactionCosmosMessage(type_url, message) {
40
+ _classCallCheck(this, TransactionCosmosMessage);
41
+ TransactionCosmosMessage.initialize(this, type_url, message);
41
42
  }
42
43
 
43
44
  /**
@@ -45,79 +46,81 @@ var ListEnableTokenPairs200Response = /*#__PURE__*/function () {
45
46
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
47
  * Only for internal use.
47
48
  */
48
- return _createClass(ListEnableTokenPairs200Response, null, [{
49
+ return _createClass(TransactionCosmosMessage, null, [{
49
50
  key: "initialize",
50
- value: function initialize(obj) {}
51
+ value: function initialize(obj, type_url, message) {
52
+ obj['type_url'] = type_url;
53
+ obj['message'] = message;
54
+ }
51
55
 
52
56
  /**
53
- * Constructs a <code>ListEnableTokenPairs200Response</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Constructs a <code>TransactionCosmosMessage</code> from a plain JavaScript object, optionally creating a new instance.
54
58
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
55
59
  * @param {Object} data The plain JavaScript object bearing properties of interest.
56
- * @param {module:model/ListEnableTokenPairs200Response} obj Optional instance to populate.
57
- * @return {module:model/ListEnableTokenPairs200Response} The populated <code>ListEnableTokenPairs200Response</code> instance.
60
+ * @param {module:model/TransactionCosmosMessage} obj Optional instance to populate.
61
+ * @return {module:model/TransactionCosmosMessage} The populated <code>TransactionCosmosMessage</code> instance.
58
62
  */
59
63
  }, {
60
64
  key: "constructFromObject",
61
65
  value: function constructFromObject(data, obj) {
62
66
  if (data) {
63
- obj = obj || new ListEnableTokenPairs200Response();
64
- if (data.hasOwnProperty('data')) {
65
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_SwapTokenPair["default"]]);
67
+ obj = obj || new TransactionCosmosMessage();
68
+ if (data.hasOwnProperty('type_url')) {
69
+ obj['type_url'] = _ApiClient["default"].convertToType(data['type_url'], 'String');
66
70
  }
67
- if (data.hasOwnProperty('pagination')) {
68
- obj['pagination'] = _Pagination["default"].constructFromObject(data['pagination']);
71
+ if (data.hasOwnProperty('message')) {
72
+ obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
69
73
  }
70
74
  }
71
75
  return obj;
72
76
  }
73
77
 
74
78
  /**
75
- * Validates the JSON data with respect to <code>ListEnableTokenPairs200Response</code>.
79
+ * Validates the JSON data with respect to <code>TransactionCosmosMessage</code>.
76
80
  * @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>ListEnableTokenPairs200Response</code>.
81
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>TransactionCosmosMessage</code>.
78
82
  */
79
83
  }, {
80
84
  key: "validateJSON",
81
85
  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
- _SwapTokenPair["default"].validateJSON(item);
86
+ // check to make sure all required properties are present in the JSON string
87
+ var _iterator = _createForOfIteratorHelper(TransactionCosmosMessage.RequiredProperties),
88
+ _step;
89
+ try {
90
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
91
+ var property = _step.value;
92
+ if (!data.hasOwnProperty(property)) {
93
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
95
94
  }
96
- } catch (err) {
97
- _iterator.e(err);
98
- } finally {
99
- _iterator.f();
100
95
  }
101
- ;
96
+ // ensure the json data is a string
97
+ } catch (err) {
98
+ _iterator.e(err);
99
+ } finally {
100
+ _iterator.f();
102
101
  }
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
- }
102
+ if (data['type_url'] && !(typeof data['type_url'] === 'string' || data['type_url'] instanceof String)) {
103
+ throw new Error("Expected the field `type_url` to be a primitive type in the JSON string but got " + data['type_url']);
104
+ }
105
+ // ensure the json data is a string
106
+ if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
107
+ throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
109
108
  }
110
109
  return true;
111
110
  }
112
111
  }]);
113
112
  }();
113
+ TransactionCosmosMessage.RequiredProperties = ["type_url", "message"];
114
+
114
115
  /**
115
- * @member {Array.<module:model/SwapTokenPair>} data
116
+ * The type URL of the Cosmos message.
117
+ * @member {String} type_url
116
118
  */
117
- ListEnableTokenPairs200Response.prototype['data'] = undefined;
119
+ TransactionCosmosMessage.prototype['type_url'] = undefined;
118
120
 
119
121
  /**
120
- * @member {module:model/Pagination} pagination
122
+ * The Base64-encoded Cosmos message.
123
+ * @member {String} message
121
124
  */
122
- ListEnableTokenPairs200Response.prototype['pagination'] = undefined;
123
- var _default = exports["default"] = ListEnableTokenPairs200Response;
125
+ TransactionCosmosMessage.prototype['message'] = undefined;
126
+ var _default = exports["default"] = TransactionCosmosMessage;
@@ -7,12 +7,18 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _ExchangeId = _interopRequireDefault(require("./ExchangeId"));
9
9
  var _SafeTxExtraData = _interopRequireDefault(require("./SafeTxExtraData"));
10
+ var _TransactionBIP137Destination = _interopRequireDefault(require("./TransactionBIP137Destination"));
11
+ var _TransactionBIP322Destination = _interopRequireDefault(require("./TransactionBIP322Destination"));
12
+ var _TransactionCosmosAdr36Destination = _interopRequireDefault(require("./TransactionCosmosAdr36Destination"));
13
+ var _TransactionCosmosContractDestination = _interopRequireDefault(require("./TransactionCosmosContractDestination"));
14
+ var _TransactionCosmosMessage = _interopRequireDefault(require("./TransactionCosmosMessage"));
10
15
  var _TransactionDepositToAddressDestination = _interopRequireDefault(require("./TransactionDepositToAddressDestination"));
11
16
  var _TransactionDepositToAddressDestinationTxInfo = _interopRequireDefault(require("./TransactionDepositToAddressDestinationTxInfo"));
12
17
  var _TransactionDepositToWalletDestination = _interopRequireDefault(require("./TransactionDepositToWalletDestination"));
13
18
  var _TransactionDestinationType = _interopRequireDefault(require("./TransactionDestinationType"));
14
19
  var _TransactionEvmCalldataInfo = _interopRequireDefault(require("./TransactionEvmCalldataInfo"));
15
20
  var _TransactionEvmContractDestination = _interopRequireDefault(require("./TransactionEvmContractDestination"));
21
+ var _TransactionMessageSignBTCEIP191Destination = _interopRequireDefault(require("./TransactionMessageSignBTCEIP191Destination"));
16
22
  var _TransactionMessageSignEIP191Destination = _interopRequireDefault(require("./TransactionMessageSignEIP191Destination"));
17
23
  var _TransactionMessageSignEIP712Destination = _interopRequireDefault(require("./TransactionMessageSignEIP712Destination"));
18
24
  var _TransactionRawMessageSignDestination = _interopRequireDefault(require("./TransactionRawMessageSignDestination"));
@@ -50,7 +56,7 @@ var TransactionDestination = /*#__PURE__*/function () {
50
56
  /**
51
57
  * Constructs a new <code>TransactionDestination</code>.
52
58
  * @alias module:model/TransactionDestination
53
- * @param {(module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} instance The actual instance to initialize TransactionDestination.
59
+ * @param {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignBTCEIP191Destination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} instance The actual instance to initialize TransactionDestination.
54
60
  */
55
61
  function TransactionDestination() {
56
62
  var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
@@ -75,6 +81,26 @@ var TransactionDestination = /*#__PURE__*/function () {
75
81
  this.actualInstance = _TransactionTransferToAddressDestination["default"].constructFromObject(instance);
76
82
  match++;
77
83
  break;
84
+ case "BTC_BIP_137_Signature":
85
+ this.actualInstance = _TransactionBIP137Destination["default"].constructFromObject(instance);
86
+ match++;
87
+ break;
88
+ case "BTC_BIP_322_Signature":
89
+ this.actualInstance = _TransactionBIP322Destination["default"].constructFromObject(instance);
90
+ match++;
91
+ break;
92
+ case "BTC_EIP_191_Signature":
93
+ this.actualInstance = _TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance);
94
+ match++;
95
+ break;
96
+ case "COSMOS_ADR_36_Signature":
97
+ this.actualInstance = _TransactionCosmosAdr36Destination["default"].constructFromObject(instance);
98
+ match++;
99
+ break;
100
+ case "COSMOS_Contract":
101
+ this.actualInstance = _TransactionCosmosContractDestination["default"].constructFromObject(instance);
102
+ match++;
103
+ break;
78
104
  case "DepositToAddress":
79
105
  this.actualInstance = _TransactionDepositToAddressDestination["default"].constructFromObject(instance);
80
106
  match++;
@@ -205,6 +231,29 @@ var TransactionDestination = /*#__PURE__*/function () {
205
231
  // json data failed to deserialize into TransactionSolContractDestination
206
232
  errorMessages.push("Failed to construct TransactionSolContractDestination: " + err);
207
233
  }
234
+ try {
235
+ if (instance instanceof _TransactionCosmosContractDestination["default"]) {
236
+ this.actualInstance = instance;
237
+ } else if (!!_TransactionCosmosContractDestination["default"].validateJSON && _TransactionCosmosContractDestination["default"].validateJSON(instance)) {
238
+ // plain JS object
239
+ // create TransactionCosmosContractDestination from JS object
240
+ this.actualInstance = _TransactionCosmosContractDestination["default"].constructFromObject(instance);
241
+ } else {
242
+ if (_TransactionCosmosContractDestination["default"].constructFromObject(instance)) {
243
+ if (!!_TransactionCosmosContractDestination["default"].constructFromObject(instance).toJSON) {
244
+ if (_TransactionCosmosContractDestination["default"].constructFromObject(instance).toJSON()) {
245
+ this.actualInstance = _TransactionCosmosContractDestination["default"].constructFromObject(instance);
246
+ }
247
+ } else {
248
+ this.actualInstance = _TransactionCosmosContractDestination["default"].constructFromObject(instance);
249
+ }
250
+ }
251
+ }
252
+ match++;
253
+ } catch (err) {
254
+ // json data failed to deserialize into TransactionCosmosContractDestination
255
+ errorMessages.push("Failed to construct TransactionCosmosContractDestination: " + err);
256
+ }
208
257
  try {
209
258
  if (instance instanceof _TransactionMessageSignEIP191Destination["default"]) {
210
259
  this.actualInstance = instance;
@@ -251,6 +300,29 @@ var TransactionDestination = /*#__PURE__*/function () {
251
300
  // json data failed to deserialize into TransactionMessageSignEIP712Destination
252
301
  errorMessages.push("Failed to construct TransactionMessageSignEIP712Destination: " + err);
253
302
  }
303
+ try {
304
+ if (instance instanceof _TransactionMessageSignBTCEIP191Destination["default"]) {
305
+ this.actualInstance = instance;
306
+ } else if (!!_TransactionMessageSignBTCEIP191Destination["default"].validateJSON && _TransactionMessageSignBTCEIP191Destination["default"].validateJSON(instance)) {
307
+ // plain JS object
308
+ // create TransactionMessageSignBTCEIP191Destination from JS object
309
+ this.actualInstance = _TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance);
310
+ } else {
311
+ if (_TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance)) {
312
+ if (!!_TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance).toJSON) {
313
+ if (_TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance).toJSON()) {
314
+ this.actualInstance = _TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance);
315
+ }
316
+ } else {
317
+ this.actualInstance = _TransactionMessageSignBTCEIP191Destination["default"].constructFromObject(instance);
318
+ }
319
+ }
320
+ }
321
+ match++;
322
+ } catch (err) {
323
+ // json data failed to deserialize into TransactionMessageSignBTCEIP191Destination
324
+ errorMessages.push("Failed to construct TransactionMessageSignBTCEIP191Destination: " + err);
325
+ }
254
326
  try {
255
327
  if (instance instanceof _TransactionRawMessageSignDestination["default"]) {
256
328
  this.actualInstance = instance;
@@ -320,13 +392,82 @@ var TransactionDestination = /*#__PURE__*/function () {
320
392
  // json data failed to deserialize into TransactionDepositToWalletDestination
321
393
  errorMessages.push("Failed to construct TransactionDepositToWalletDestination: " + err);
322
394
  }
395
+ try {
396
+ if (instance instanceof _TransactionBIP137Destination["default"]) {
397
+ this.actualInstance = instance;
398
+ } else if (!!_TransactionBIP137Destination["default"].validateJSON && _TransactionBIP137Destination["default"].validateJSON(instance)) {
399
+ // plain JS object
400
+ // create TransactionBIP137Destination from JS object
401
+ this.actualInstance = _TransactionBIP137Destination["default"].constructFromObject(instance);
402
+ } else {
403
+ if (_TransactionBIP137Destination["default"].constructFromObject(instance)) {
404
+ if (!!_TransactionBIP137Destination["default"].constructFromObject(instance).toJSON) {
405
+ if (_TransactionBIP137Destination["default"].constructFromObject(instance).toJSON()) {
406
+ this.actualInstance = _TransactionBIP137Destination["default"].constructFromObject(instance);
407
+ }
408
+ } else {
409
+ this.actualInstance = _TransactionBIP137Destination["default"].constructFromObject(instance);
410
+ }
411
+ }
412
+ }
413
+ match++;
414
+ } catch (err) {
415
+ // json data failed to deserialize into TransactionBIP137Destination
416
+ errorMessages.push("Failed to construct TransactionBIP137Destination: " + err);
417
+ }
418
+ try {
419
+ if (instance instanceof _TransactionBIP322Destination["default"]) {
420
+ this.actualInstance = instance;
421
+ } else if (!!_TransactionBIP322Destination["default"].validateJSON && _TransactionBIP322Destination["default"].validateJSON(instance)) {
422
+ // plain JS object
423
+ // create TransactionBIP322Destination from JS object
424
+ this.actualInstance = _TransactionBIP322Destination["default"].constructFromObject(instance);
425
+ } else {
426
+ if (_TransactionBIP322Destination["default"].constructFromObject(instance)) {
427
+ if (!!_TransactionBIP322Destination["default"].constructFromObject(instance).toJSON) {
428
+ if (_TransactionBIP322Destination["default"].constructFromObject(instance).toJSON()) {
429
+ this.actualInstance = _TransactionBIP322Destination["default"].constructFromObject(instance);
430
+ }
431
+ } else {
432
+ this.actualInstance = _TransactionBIP322Destination["default"].constructFromObject(instance);
433
+ }
434
+ }
435
+ }
436
+ match++;
437
+ } catch (err) {
438
+ // json data failed to deserialize into TransactionBIP322Destination
439
+ errorMessages.push("Failed to construct TransactionBIP322Destination: " + err);
440
+ }
441
+ try {
442
+ if (instance instanceof _TransactionCosmosAdr36Destination["default"]) {
443
+ this.actualInstance = instance;
444
+ } else if (!!_TransactionCosmosAdr36Destination["default"].validateJSON && _TransactionCosmosAdr36Destination["default"].validateJSON(instance)) {
445
+ // plain JS object
446
+ // create TransactionCosmosAdr36Destination from JS object
447
+ this.actualInstance = _TransactionCosmosAdr36Destination["default"].constructFromObject(instance);
448
+ } else {
449
+ if (_TransactionCosmosAdr36Destination["default"].constructFromObject(instance)) {
450
+ if (!!_TransactionCosmosAdr36Destination["default"].constructFromObject(instance).toJSON) {
451
+ if (_TransactionCosmosAdr36Destination["default"].constructFromObject(instance).toJSON()) {
452
+ this.actualInstance = _TransactionCosmosAdr36Destination["default"].constructFromObject(instance);
453
+ }
454
+ } else {
455
+ this.actualInstance = _TransactionCosmosAdr36Destination["default"].constructFromObject(instance);
456
+ }
457
+ }
458
+ }
459
+ match++;
460
+ } catch (err) {
461
+ // json data failed to deserialize into TransactionCosmosAdr36Destination
462
+ errorMessages.push("Failed to construct TransactionCosmosAdr36Destination: " + err);
463
+ }
323
464
 
324
465
  // if (match > 1) {
325
- // throw new Error("Multiple matches found constructing `TransactionDestination` with oneOf schemas TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Input: " + JSON.stringify(instance));
466
+ // throw new Error("Multiple matches found constructing `TransactionDestination` with oneOf schemas TransactionBIP137Destination, TransactionBIP322Destination, TransactionCosmosAdr36Destination, TransactionCosmosContractDestination, TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignBTCEIP191Destination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Input: " + JSON.stringify(instance));
326
467
  // } else
327
468
  if (match === 0) {
328
469
  // this.actualInstance = null; // clear the actual instance in case there are multiple matches
329
- // throw new Error("No match found constructing `TransactionDestination` with oneOf schemas TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Details: " +
470
+ // throw new Error("No match found constructing `TransactionDestination` with oneOf schemas TransactionBIP137Destination, TransactionBIP322Destination, TransactionCosmosAdr36Destination, TransactionCosmosContractDestination, TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignBTCEIP191Destination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Details: " +
330
471
  // errorMessages.join(", "));
331
472
  return;
332
473
  } else {// only 1 match
@@ -345,16 +486,16 @@ var TransactionDestination = /*#__PURE__*/function () {
345
486
  key: "getActualInstance",
346
487
  value:
347
488
  /**
348
- * Gets the actual instance, which can be <code>TransactionDepositToAddressDestination</code>, <code>TransactionDepositToWalletDestination</code>, <code>TransactionEvmContractDestination</code>, <code>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
349
- * @return {(module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} The actual instance.
489
+ * Gets the actual instance, which can be <code>TransactionBIP137Destination</code>, <code>TransactionBIP322Destination</code>, <code>TransactionCosmosAdr36Destination</code>, <code>TransactionCosmosContractDestination</code>, <code>TransactionDepositToAddressDestination</code>, <code>TransactionDepositToWalletDestination</code>, <code>TransactionEvmContractDestination</code>, <code>TransactionMessageSignBTCEIP191Destination</code>, <code>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
490
+ * @return {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignBTCEIP191Destination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} The actual instance.
350
491
  */
351
492
  function getActualInstance() {
352
493
  return this.actualInstance;
353
494
  }
354
495
 
355
496
  /**
356
- * Sets the actual instance, which can be <code>TransactionDepositToAddressDestination</code>, <code>TransactionDepositToWalletDestination</code>, <code>TransactionEvmContractDestination</code>, <code>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
357
- * @param {(module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} obj The actual instance.
497
+ * Sets the actual instance, which can be <code>TransactionBIP137Destination</code>, <code>TransactionBIP322Destination</code>, <code>TransactionCosmosAdr36Destination</code>, <code>TransactionCosmosContractDestination</code>, <code>TransactionDepositToAddressDestination</code>, <code>TransactionDepositToWalletDestination</code>, <code>TransactionEvmContractDestination</code>, <code>TransactionMessageSignBTCEIP191Destination</code>, <code>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
498
+ * @param {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignBTCEIP191Destination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} obj The actual instance.
358
499
  */
359
500
  }, {
360
501
  key: "setActualInstance",
@@ -461,6 +602,11 @@ TransactionDestination.prototype['calldata_info'] = undefined;
461
602
  */
462
603
  TransactionDestination.prototype['instructions'] = undefined;
463
604
 
605
+ /**
606
+ * @member {Array.<module:model/TransactionCosmosMessage>} cosmos_messages
607
+ */
608
+ TransactionDestination.prototype['cosmos_messages'] = undefined;
609
+
464
610
  /**
465
611
  * The raw data of the message to be signed, encoded in Base64 format.
466
612
  * @member {String} message
@@ -510,5 +656,23 @@ TransactionDestination.prototype['memo'] = undefined;
510
656
  * @member {module:model/TransactionDepositToAddressDestinationTxInfo} tx_info
511
657
  */
512
658
  TransactionDestination.prototype['tx_info'] = undefined;
513
- TransactionDestination.OneOf = ["TransactionDepositToAddressDestination", "TransactionDepositToWalletDestination", "TransactionEvmContractDestination", "TransactionMessageSignEIP191Destination", "TransactionMessageSignEIP712Destination", "TransactionRawMessageSignDestination", "TransactionSolContractDestination", "TransactionTransferToAddressDestination", "TransactionTransferToWalletDestination"];
659
+
660
+ /**
661
+ * Message to be signed, in hexadecimal format.
662
+ * @member {String} message_bip137
663
+ */
664
+ TransactionDestination.prototype['message_bip137'] = undefined;
665
+
666
+ /**
667
+ * Message to be signed, in hexadecimal format.
668
+ * @member {String} message_bip322
669
+ */
670
+ TransactionDestination.prototype['message_bip322'] = undefined;
671
+
672
+ /**
673
+ * Message to be signed, in hexadecimal format.
674
+ * @member {String} message_cosmos_adr36
675
+ */
676
+ TransactionDestination.prototype['message_cosmos_adr36'] = undefined;
677
+ TransactionDestination.OneOf = ["TransactionBIP137Destination", "TransactionBIP322Destination", "TransactionCosmosAdr36Destination", "TransactionCosmosContractDestination", "TransactionDepositToAddressDestination", "TransactionDepositToWalletDestination", "TransactionEvmContractDestination", "TransactionMessageSignBTCEIP191Destination", "TransactionMessageSignEIP191Destination", "TransactionMessageSignEIP712Destination", "TransactionRawMessageSignDestination", "TransactionSolContractDestination", "TransactionTransferToAddressDestination", "TransactionTransferToWalletDestination"];
514
678
  var _default = exports["default"] = TransactionDestination;
@@ -50,6 +50,11 @@ var TransactionDestinationType = exports["default"] = /*#__PURE__*/function () {
50
50
  * @const
51
51
  */
52
52
  _defineProperty(this, "SOL_Contract", "SOL_Contract");
53
+ /**
54
+ * value: "COSMOS_Contract"
55
+ * @const
56
+ */
57
+ _defineProperty(this, "COSMOS_Contract", "COSMOS_Contract");
53
58
  /**
54
59
  * value: "EVM_EIP_191_Signature"
55
60
  * @const
@@ -60,6 +65,21 @@ var TransactionDestinationType = exports["default"] = /*#__PURE__*/function () {
60
65
  * @const
61
66
  */
62
67
  _defineProperty(this, "EVM_EIP_712_Signature", "EVM_EIP_712_Signature");
68
+ /**
69
+ * value: "BTC_BIP_137_Signature"
70
+ * @const
71
+ */
72
+ _defineProperty(this, "BTC_BIP_137_Signature", "BTC_BIP_137_Signature");
73
+ /**
74
+ * value: "BTC_BIP_322_Signature"
75
+ * @const
76
+ */
77
+ _defineProperty(this, "BTC_BIP_322_Signature", "BTC_BIP_322_Signature");
78
+ /**
79
+ * value: "COSMOS_ADR_36_Signature"
80
+ * @const
81
+ */
82
+ _defineProperty(this, "COSMOS_ADR_36_Signature", "COSMOS_ADR_36_Signature");
63
83
  /**
64
84
  * value: "Raw_Message_Signature"
65
85
  * @const
@@ -53,11 +53,13 @@ var TransactionDetail = /*#__PURE__*/function () {
53
53
  * @param source {module:model/TransactionSource}
54
54
  * @param destination {module:model/TransactionDestination}
55
55
  * @param initiator_type {module:model/TransactionInitiatorType}
56
+ * @param created_timestamp {Number} The time when the transaction was created, in Unix timestamp format, measured in milliseconds.
57
+ * @param updated_timestamp {Number} The time when the transaction was updated, in Unix timestamp format, measured in milliseconds.
56
58
  */
57
- function TransactionDetail(transaction_id, wallet_id, status, source, destination, initiator_type) {
59
+ function TransactionDetail(transaction_id, wallet_id, status, source, destination, initiator_type, created_timestamp, updated_timestamp) {
58
60
  _classCallCheck(this, TransactionDetail);
59
- _Transaction["default"].initialize(this, transaction_id, wallet_id, status, source, destination, initiator_type);
60
- TransactionDetail.initialize(this, transaction_id, wallet_id, status, source, destination, initiator_type);
61
+ _Transaction["default"].initialize(this, transaction_id, wallet_id, status, source, destination, initiator_type, created_timestamp, updated_timestamp);
62
+ TransactionDetail.initialize(this, transaction_id, wallet_id, status, source, destination, initiator_type, created_timestamp, updated_timestamp);
61
63
  }
62
64
 
63
65
  /**
@@ -67,13 +69,15 @@ var TransactionDetail = /*#__PURE__*/function () {
67
69
  */
68
70
  return _createClass(TransactionDetail, null, [{
69
71
  key: "initialize",
70
- value: function initialize(obj, transaction_id, wallet_id, status, source, destination, initiator_type) {
72
+ value: function initialize(obj, transaction_id, wallet_id, status, source, destination, initiator_type, created_timestamp, updated_timestamp) {
71
73
  obj['transaction_id'] = transaction_id;
72
74
  obj['wallet_id'] = wallet_id;
73
75
  obj['status'] = status;
74
76
  obj['source'] = source;
75
77
  obj['destination'] = destination;
76
78
  obj['initiator_type'] = initiator_type;
79
+ obj['created_timestamp'] = created_timestamp;
80
+ obj['updated_timestamp'] = updated_timestamp;
77
81
  }
78
82
 
79
83
  /**
@@ -170,6 +174,9 @@ var TransactionDetail = /*#__PURE__*/function () {
170
174
  if (data.hasOwnProperty('cobo_category')) {
171
175
  obj['cobo_category'] = _ApiClient["default"].convertToType(data['cobo_category'], ['String']);
172
176
  }
177
+ if (data.hasOwnProperty('extra')) {
178
+ obj['extra'] = _ApiClient["default"].convertToType(data['extra'], ['String']);
179
+ }
173
180
  if (data.hasOwnProperty('fueling_info')) {
174
181
  obj['fueling_info'] = _TransactionFuelingInfo["default"].constructFromObject(data['fueling_info']);
175
182
  }
@@ -310,6 +317,10 @@ var TransactionDetail = /*#__PURE__*/function () {
310
317
  if (!Array.isArray(data['cobo_category'])) {
311
318
  throw new Error("Expected the field `cobo_category` to be an array in the JSON data but got " + data['cobo_category']);
312
319
  }
320
+ // ensure the json data is an array
321
+ if (!Array.isArray(data['extra'])) {
322
+ throw new Error("Expected the field `extra` to be an array in the JSON data but got " + data['extra']);
323
+ }
313
324
  // validate the optional field `fueling_info`
314
325
  if (data['fueling_info']) {
315
326
  // data not null
@@ -342,7 +353,7 @@ var TransactionDetail = /*#__PURE__*/function () {
342
353
  }
343
354
  }]);
344
355
  }();
345
- TransactionDetail.RequiredProperties = ["transaction_id", "wallet_id", "status", "source", "destination", "initiator_type"];
356
+ TransactionDetail.RequiredProperties = ["transaction_id", "wallet_id", "status", "source", "destination", "initiator_type", "created_timestamp", "updated_timestamp"];
346
357
 
347
358
  /**
348
359
  * The transaction ID.
@@ -490,11 +501,17 @@ TransactionDetail.prototype['description'] = undefined;
490
501
  TransactionDetail.prototype['is_loop'] = undefined;
491
502
 
492
503
  /**
493
- * A transaction category for cobo to identify your transactions.
504
+ * The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees.
494
505
  * @member {Array.<String>} cobo_category
495
506
  */
496
507
  TransactionDetail.prototype['cobo_category'] = undefined;
497
508
 
509
+ /**
510
+ * The transaction extra information.
511
+ * @member {Array.<String>} extra
512
+ */
513
+ TransactionDetail.prototype['extra'] = undefined;
514
+
498
515
  /**
499
516
  * @member {module:model/TransactionFuelingInfo} fueling_info
500
517
  */
@@ -638,10 +655,15 @@ _Transaction["default"].prototype['description'] = undefined;
638
655
  */
639
656
  _Transaction["default"].prototype['is_loop'] = undefined;
640
657
  /**
641
- * A transaction category for cobo to identify your transactions.
658
+ * The transaction category defined by Cobo. Possible values include: - `AutoSweep`: An auto-sweep transaction. - `AutoFueling`: A transaction where Fee Station pays transaction fees to an address within your wallet. - `AutoFuelingRefund`: A refund for an auto-fueling transaction. - `SafeTxMessage`: A message signing transaction to authorize a Smart Contract Wallet (Safe\\{Wallet\\}) transaction. - `BillPayment`: A transaction to pay Cobo bills through Fee Station. - `BillRefund`: A refund for a previously made bill payment. - `CommissionFeeCharge`: A transaction to charge commission fees via Fee Station. - `CommissionFeeRefund`: A refund of previously charged commission fees.
642
659
  * @member {Array.<String>} cobo_category
643
660
  */
644
661
  _Transaction["default"].prototype['cobo_category'] = undefined;
662
+ /**
663
+ * The transaction extra information.
664
+ * @member {Array.<String>} extra
665
+ */
666
+ _Transaction["default"].prototype['extra'] = undefined;
645
667
  /**
646
668
  * @member {module:model/TransactionFuelingInfo} fueling_info
647
669
  */