@cobo/cobo-waas2 1.23.0 → 1.25.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 (243) hide show
  1. package/README.md +68 -6
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +6 -6
  4. package/dist/api/ComplianceApi.js +132 -2
  5. package/dist/api/DevelopersWebhooksApi.js +2 -2
  6. package/dist/api/FeeStationApi.js +47 -4
  7. package/dist/api/PaymentApi.js +246 -56
  8. package/dist/api/SwapsApi.js +374 -0
  9. package/dist/api/TransactionsApi.js +4 -4
  10. package/dist/index.js +336 -14
  11. package/dist/model/AddressInfo.js +13 -0
  12. package/dist/model/AddressesEventData.js +8 -3
  13. package/dist/model/AddressesEventDataAllOfAddresses.js +18 -0
  14. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  15. package/dist/model/BridgingFee.js +136 -0
  16. package/dist/model/ChainsEventData.js +8 -3
  17. package/dist/model/CommissionFee.js +110 -0
  18. package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
  19. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +305 -0
  20. package/dist/model/ContractCallDestination.js +48 -8
  21. package/dist/model/ContractCallDestinationType.js +5 -0
  22. package/dist/model/CreateMerchantRequest.js +15 -8
  23. package/dist/model/CreateOrderLinkRequest.js +129 -0
  24. package/dist/model/CreatePaymentOrderRequest.js +27 -1
  25. package/dist/model/CreateRefundRequest.js +2 -2
  26. package/dist/model/CreateSettlement.js +3 -29
  27. package/dist/model/CreateSettlementRequestRequest.js +39 -0
  28. package/dist/model/CreateSwapActivityRequest.js +193 -0
  29. package/dist/model/CustodialTransferDestination.js +1 -1
  30. package/dist/model/EstimateContractCallFeeParams.js +1 -1
  31. package/dist/model/EstimateFeeParams.js +1 -1
  32. package/dist/model/EstimateTransferFeeParams.js +1 -1
  33. package/dist/model/EstimatedEvmEip1559Fee.js +1 -1
  34. package/dist/model/EstimatedEvmLegacyFee.js +1 -1
  35. package/dist/model/EstimatedFILFee.js +1 -1
  36. package/dist/model/EstimatedFixedFee.js +1 -1
  37. package/dist/model/EstimatedSOLFee.js +1 -1
  38. package/dist/model/EstimatedUtxoFee.js +1 -1
  39. package/dist/model/FeeStationCheckFeeStationUsage.js +186 -0
  40. package/dist/model/FeeStationCheckFeeStationUsageResponse.js +200 -0
  41. package/dist/model/FeeStationGasStationType.js +61 -0
  42. package/dist/model/FundsStatusType.js +111 -0
  43. package/dist/model/KytScreeningsDecisionsType.js +71 -0
  44. package/dist/model/KytScreeningsEventData.js +155 -0
  45. package/dist/model/KytScreeningsReviewType.js +61 -0
  46. package/dist/model/KytScreeningsTransaction.js +144 -0
  47. package/dist/model/KytScreeningsTransactionType.js +61 -0
  48. package/dist/model/Link.js +125 -0
  49. package/dist/model/LinkDisplayInfo.js +100 -0
  50. package/dist/model/ListSwapActivities200Response.js +123 -0
  51. package/dist/model/ListSwapEnabledTokens200Response.js +123 -0
  52. package/dist/model/ListTopUpPayerAccounts200Response.js +123 -0
  53. package/dist/model/MPCVaultEventData.js +8 -3
  54. package/dist/model/Merchant.js +12 -3
  55. package/dist/model/MerchantBalance.js +3 -3
  56. package/dist/model/MessageSignDestination.js +8 -70
  57. package/dist/model/Order.js +13 -0
  58. package/dist/model/OrderLinkBusinessInfo.js +261 -0
  59. package/dist/model/OrderLinkBusinessInfoCustomExchangeRatesInner.js +125 -0
  60. package/dist/model/OtcFee.js +123 -0
  61. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  62. package/dist/model/PaymentEstimateFee.js +125 -0
  63. package/dist/model/PaymentEstimateFee201Response.js +108 -0
  64. package/dist/model/PaymentEstimateFeeRequest.js +137 -0
  65. package/dist/model/PaymentEstimatedFee.js +173 -0
  66. package/dist/model/PaymentFeeType.js +71 -0
  67. package/dist/model/PaymentOrderEventData.js +26 -3
  68. package/dist/model/PaymentRefundEventData.js +30 -5
  69. package/dist/model/PaymentSettlementEvent.js +70 -9
  70. package/dist/model/PaymentTransactionEventData.js +8 -3
  71. package/dist/model/PspBalance.js +3 -3
  72. package/dist/model/Refund.js +17 -1
  73. package/dist/model/ReviewStatusType.js +91 -0
  74. package/dist/model/SettleRequestStatus.js +5 -0
  75. package/dist/model/Settlement.js +45 -3
  76. package/dist/model/SettlementDetail.js +33 -1
  77. package/dist/model/SettlementInfo.js +7 -7
  78. package/dist/model/SolContractCallAddressLookupTableAccount.js +126 -0
  79. package/dist/model/SolContractCallDestination.js +30 -0
  80. package/dist/model/StellarContractCallContractParam.js +164 -0
  81. package/dist/model/StellarContractCallContractType.js +56 -0
  82. package/dist/model/StellarContractCallDestination.js +125 -0
  83. package/dist/model/StellarContractCallTrustLineOperationType.js +56 -0
  84. package/dist/model/StellarContractCallTrustLineParam.js +133 -0
  85. package/dist/model/SubmitKytResponse.js +122 -0
  86. package/dist/model/SubmitKytScreeningsDecisionsBody.js +122 -0
  87. package/dist/model/{RawMessageSignDestination.js → SubmitKytScreeningsReviewBody.js} +36 -36
  88. package/dist/model/SupportedToken.js +9 -0
  89. package/dist/model/SuspendedTokenEventData.js +8 -3
  90. package/dist/model/SwapActivity.js +9 -9
  91. package/dist/model/SwapActivityApprovers.js +1 -1
  92. package/dist/model/SwapActivityDetail.js +34 -18
  93. package/dist/model/SwapActivitySigners.js +2 -2
  94. package/dist/model/SwapActivityTimeline.js +5 -5
  95. package/dist/model/SwapEstimateFee.js +147 -0
  96. package/dist/model/SwapQuote.js +18 -31
  97. package/dist/model/SwapReceivingTransaction.js +133 -0
  98. package/dist/model/SwapToken.js +9 -9
  99. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  100. package/dist/model/TokenListingEventData.js +8 -3
  101. package/dist/model/TokensEventData.js +8 -3
  102. package/dist/model/TransactionCoboCategory.js +5 -0
  103. package/dist/model/TransactionDestination.js +48 -8
  104. package/dist/model/TransactionDestinationType.js +5 -0
  105. package/dist/model/TransactionEvmEip1559Fee.js +1 -1
  106. package/dist/model/TransactionEvmLegacyFee.js +1 -1
  107. package/dist/model/TransactionFILFee.js +1 -1
  108. package/dist/model/TransactionFixedFee.js +1 -1
  109. package/dist/model/TransactionFuelingInfo.js +13 -0
  110. package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -1
  111. package/dist/model/TransactionRequestEvmLegacyFee.js +1 -1
  112. package/dist/model/TransactionRequestFILFee.js +1 -1
  113. package/dist/model/TransactionRequestSOLFee.js +1 -1
  114. package/dist/model/TransactionRequestUtxoFee.js +1 -1
  115. package/dist/model/TransactionSOLFee.js +1 -1
  116. package/dist/model/TransactionSolContractAddressLookupTableAccount.js +126 -0
  117. package/dist/model/TransactionSolContractDestination.js +30 -0
  118. package/dist/model/TransactionStellarContractParam.js +164 -0
  119. package/dist/model/TransactionStellarContractType.js +56 -0
  120. package/dist/model/{BTCEIP191MessageSignDestination.js → TransactionStellarDestination.js} +38 -35
  121. package/dist/model/TransactionStellarTrustLineOperationType.js +56 -0
  122. package/dist/model/TransactionStellarTrustLineParam.js +133 -0
  123. package/dist/model/TransactionUtxoFee.js +1 -1
  124. package/dist/model/TransactionWebhookEventData.js +8 -3
  125. package/dist/model/UpdateBankAccountByIdRequest.js +108 -0
  126. package/dist/model/UpdateTopUpAddress.js +4 -6
  127. package/dist/model/WalletInfoEventData.js +8 -3
  128. package/dist/model/WalletSetup.js +66 -0
  129. package/dist/model/WebhookEventData.js +81 -11
  130. package/dist/model/WebhookEventDataType.js +7 -2
  131. package/dist/model/WebhookEventType.js +10 -0
  132. package/docs/AddressBooksApi.md +3 -3
  133. package/docs/AddressInfo.md +1 -0
  134. package/docs/AddressesEventData.md +3 -1
  135. package/docs/AddressesEventDataAllOfAddresses.md +1 -0
  136. package/docs/BalanceUpdateInfoEventData.md +3 -1
  137. package/docs/BridgingFee.md +11 -0
  138. package/docs/ChainsEventData.md +3 -1
  139. package/docs/CommissionFee.md +9 -0
  140. package/docs/ComplianceApi.md +158 -1
  141. package/docs/ComplianceDispositionUpdateEventData.md +3 -1
  142. package/docs/ComplianceKytScreeningsUpdateEventData.md +57 -0
  143. package/docs/ContractCallDestination.md +2 -0
  144. package/docs/ContractCallDestinationType.md +2 -0
  145. package/docs/CreateMerchantRequest.md +3 -2
  146. package/docs/CreateOrderLinkRequest.md +10 -0
  147. package/docs/CreatePaymentOrderRequest.md +3 -1
  148. package/docs/CreateRefundRequest.md +2 -2
  149. package/docs/CreateSettlement.md +2 -4
  150. package/docs/CreateSettlementRequestRequest.md +3 -0
  151. package/docs/CreateSwapActivityRequest.md +15 -0
  152. package/docs/DevelopersWebhooksApi.md +1 -1
  153. package/docs/EstimateContractCallFeeParams.md +1 -1
  154. package/docs/EstimateFeeParams.md +1 -1
  155. package/docs/EstimateTransferFeeParams.md +1 -1
  156. package/docs/FeeStationApi.md +53 -0
  157. package/docs/FeeStationCheckFeeStationUsage.md +14 -0
  158. package/docs/FeeStationCheckFeeStationUsageResponse.md +16 -0
  159. package/docs/FeeStationGasStationType.md +12 -0
  160. package/docs/FundsStatusType.md +32 -0
  161. package/docs/KytScreeningsDecisionsType.md +16 -0
  162. package/docs/KytScreeningsEventData.md +13 -0
  163. package/docs/KytScreeningsReviewType.md +12 -0
  164. package/docs/KytScreeningsTransaction.md +12 -0
  165. package/docs/KytScreeningsTransactionType.md +12 -0
  166. package/docs/Link.md +10 -0
  167. package/docs/LinkDisplayInfo.md +10 -0
  168. package/docs/ListSwapActivities200Response.md +10 -0
  169. package/docs/ListSwapEnabledTokens200Response.md +10 -0
  170. package/docs/ListTopUpPayerAccounts200Response.md +10 -0
  171. package/docs/MPCVaultEventData.md +3 -1
  172. package/docs/Merchant.md +3 -2
  173. package/docs/MerchantBalance.md +3 -3
  174. package/docs/MessageSignDestination.md +0 -1
  175. package/docs/Order.md +1 -0
  176. package/docs/OrderLinkBusinessInfo.md +19 -0
  177. package/docs/OrderLinkBusinessInfoCustomExchangeRatesInner.md +10 -0
  178. package/docs/OtcFee.md +10 -0
  179. package/docs/PaymentAddressUpdateEventData.md +3 -1
  180. package/docs/PaymentApi.md +253 -25
  181. package/docs/PaymentEstimateFee.md +10 -0
  182. package/docs/PaymentEstimateFee201Response.md +9 -0
  183. package/docs/PaymentEstimateFeeRequest.md +10 -0
  184. package/docs/PaymentEstimatedFee.md +13 -0
  185. package/docs/PaymentFeeType.md +16 -0
  186. package/docs/PaymentOrderEventData.md +4 -1
  187. package/docs/PaymentRefundEventData.md +5 -2
  188. package/docs/PaymentSettlementEvent.md +9 -4
  189. package/docs/PaymentTransactionEventData.md +3 -1
  190. package/docs/PspBalance.md +3 -3
  191. package/docs/Refund.md +2 -1
  192. package/docs/ReviewStatusType.md +24 -0
  193. package/docs/SettleRequestStatus.md +2 -0
  194. package/docs/Settlement.md +6 -3
  195. package/docs/SettlementDetail.md +3 -1
  196. package/docs/SettlementInfo.md +6 -6
  197. package/docs/SolContractCallAddressLookupTableAccount.md +10 -0
  198. package/docs/SolContractCallDestination.md +1 -0
  199. package/docs/StellarContractCallContractParam.md +11 -0
  200. package/docs/StellarContractCallContractType.md +10 -0
  201. package/docs/StellarContractCallDestination.md +10 -0
  202. package/docs/StellarContractCallTrustLineOperationType.md +10 -0
  203. package/docs/StellarContractCallTrustLineParam.md +11 -0
  204. package/docs/SubmitKytResponse.md +10 -0
  205. package/docs/SubmitKytScreeningsDecisionsBody.md +10 -0
  206. package/docs/SubmitKytScreeningsReviewBody.md +10 -0
  207. package/docs/SupportedToken.md +1 -0
  208. package/docs/SuspendedTokenEventData.md +3 -1
  209. package/docs/SwapActivity.md +9 -9
  210. package/docs/SwapActivityDetail.md +10 -9
  211. package/docs/SwapActivitySigners.md +1 -1
  212. package/docs/SwapActivityTimeline.md +3 -3
  213. package/docs/SwapEstimateFee.md +12 -0
  214. package/docs/SwapQuote.md +10 -11
  215. package/docs/SwapReceivingTransaction.md +11 -0
  216. package/docs/SwapToken.md +6 -6
  217. package/docs/SwapsApi.md +356 -0
  218. package/docs/TSSRequestWebhookEventData.md +3 -1
  219. package/docs/TokenListingEventData.md +3 -1
  220. package/docs/TokensEventData.md +3 -1
  221. package/docs/TransactionCoboCategory.md +2 -0
  222. package/docs/TransactionDestination.md +2 -0
  223. package/docs/TransactionDestinationType.md +2 -0
  224. package/docs/TransactionFuelingInfo.md +1 -0
  225. package/docs/TransactionSolContractAddressLookupTableAccount.md +10 -0
  226. package/docs/TransactionSolContractDestination.md +1 -0
  227. package/docs/TransactionStellarContractParam.md +11 -0
  228. package/docs/TransactionStellarContractType.md +10 -0
  229. package/docs/TransactionStellarDestination.md +10 -0
  230. package/docs/TransactionStellarTrustLineOperationType.md +10 -0
  231. package/docs/TransactionStellarTrustLineParam.md +11 -0
  232. package/docs/TransactionWebhookEventData.md +3 -1
  233. package/docs/TransactionsApi.md +2 -2
  234. package/docs/UpdateBankAccountByIdRequest.md +9 -0
  235. package/docs/UpdateTopUpAddress.md +1 -1
  236. package/docs/WalletInfoEventData.md +3 -1
  237. package/docs/WalletSetup.md +14 -0
  238. package/docs/WebhookEventData.md +12 -3
  239. package/docs/WebhookEventDataType.md +3 -1
  240. package/docs/WebhookEventType.md +4 -0
  241. package/package.json +1 -1
  242. package/docs/BTCEIP191MessageSignDestination.md +0 -10
  243. package/docs/RawMessageSignDestination.md +0 -10
@@ -32,9 +32,9 @@ var SwapToken = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>SwapToken</code>.
34
34
  * @alias module:model/SwapToken
35
- * @param token_id {String} The token id.
36
- * @param chain_id {String} The chain id.
37
- * @param asset_id {String} The asset id.
35
+ * @param token_id {String} The token ID.
36
+ * @param chain_id {String} The chain ID, which is the unique identifier of a blockchain.
37
+ * @param asset_id {String} The asset ID.
38
38
  */
39
39
  function SwapToken(token_id, chain_id, asset_id) {
40
40
  _classCallCheck(this, SwapToken);
@@ -142,37 +142,37 @@ var SwapToken = /*#__PURE__*/function () {
142
142
  SwapToken.RequiredProperties = ["token_id", "chain_id", "asset_id"];
143
143
 
144
144
  /**
145
- * The token id.
145
+ * The token ID.
146
146
  * @member {String} token_id
147
147
  */
148
148
  SwapToken.prototype['token_id'] = undefined;
149
149
 
150
150
  /**
151
- * The chain id.
151
+ * The chain ID, which is the unique identifier of a blockchain.
152
152
  * @member {String} chain_id
153
153
  */
154
154
  SwapToken.prototype['chain_id'] = undefined;
155
155
 
156
156
  /**
157
- * The asset id.
157
+ * The asset ID.
158
158
  * @member {String} asset_id
159
159
  */
160
160
  SwapToken.prototype['asset_id'] = undefined;
161
161
 
162
162
  /**
163
- * The token address.
163
+ * The on-chain contract address of the token.
164
164
  * @member {String} token_address
165
165
  */
166
166
  SwapToken.prototype['token_address'] = undefined;
167
167
 
168
168
  /**
169
- * The minimum amount.
169
+ * The minimum amount allowed for a swap.
170
170
  * @member {String} min_amount
171
171
  */
172
172
  SwapToken.prototype['min_amount'] = undefined;
173
173
 
174
174
  /**
175
- * The maximum amount.
175
+ * The maximum amount allowed for a swap.
176
176
  * @member {String} max_amount
177
177
  */
178
178
  SwapToken.prototype['max_amount'] = undefined;
@@ -39,7 +39,7 @@ var TSSRequestWebhookEventData = /*#__PURE__*/function () {
39
39
  * @alias module:model/TSSRequestWebhookEventData
40
40
  * @implements module:model/WebhookEventDataType
41
41
  * @implements module:model/TSSRequest
42
- * @param data_type {module:model/TSSRequestWebhookEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
42
+ * @param data_type {module:model/TSSRequestWebhookEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
43
43
  */
44
44
  function TSSRequestWebhookEventData(data_type) {
45
45
  _classCallCheck(this, TSSRequestWebhookEventData);
@@ -154,7 +154,7 @@ var TSSRequestWebhookEventData = /*#__PURE__*/function () {
154
154
  TSSRequestWebhookEventData.RequiredProperties = ["data_type"];
155
155
 
156
156
  /**
157
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
157
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
158
158
  * @member {module:model/TSSRequestWebhookEventData.DataTypeEnum} data_type
159
159
  */
160
160
  TSSRequestWebhookEventData.prototype['data_type'] = undefined;
@@ -200,7 +200,7 @@ TSSRequestWebhookEventData.prototype['created_timestamp'] = undefined;
200
200
 
201
201
  // Implement WebhookEventDataType interface:
202
202
  /**
203
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
203
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
204
204
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
205
205
  */
206
206
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -324,6 +324,11 @@ TSSRequestWebhookEventData['DataTypeEnum'] = {
324
324
  * @const
325
325
  */
326
326
  "ComplianceDisposition": "ComplianceDisposition",
327
+ /**
328
+ * value: "ComplianceKytScreenings"
329
+ * @const
330
+ */
331
+ "ComplianceKytScreenings": "ComplianceKytScreenings",
327
332
  /**
328
333
  * value: "unknown_default_open_api"
329
334
  * @const
@@ -41,7 +41,7 @@ var TokenListingEventData = /*#__PURE__*/function () {
41
41
  * @alias module:model/TokenListingEventData
42
42
  * @implements module:model/WebhookEventDataType
43
43
  * @implements module:model/TokenListing
44
- * @param data_type {module:model/TokenListingEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
44
+ * @param data_type {module:model/TokenListingEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
45
45
  * @param request_id {String} The unique identifier of the token listing request.
46
46
  * @param chain_id {String} The ID of the blockchain where the token is deployed.
47
47
  * @param contract_address {String} The token's contract address on the specified blockchain.
@@ -184,7 +184,7 @@ var TokenListingEventData = /*#__PURE__*/function () {
184
184
  TokenListingEventData.RequiredProperties = ["data_type", "request_id", "chain_id", "contract_address", "wallet_type", "wallet_subtype", "status"];
185
185
 
186
186
  /**
187
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
187
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
188
188
  * @member {module:model/TokenListingEventData.DataTypeEnum} data_type
189
189
  */
190
190
  TokenListingEventData.prototype['data_type'] = undefined;
@@ -252,7 +252,7 @@ TokenListingEventData.prototype['updated_timestamp'] = undefined;
252
252
 
253
253
  // Implement WebhookEventDataType interface:
254
254
  /**
255
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
255
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
256
256
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
257
257
  */
258
258
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -394,6 +394,11 @@ TokenListingEventData['DataTypeEnum'] = {
394
394
  * @const
395
395
  */
396
396
  "ComplianceDisposition": "ComplianceDisposition",
397
+ /**
398
+ * value: "ComplianceKytScreenings"
399
+ * @const
400
+ */
401
+ "ComplianceKytScreenings": "ComplianceKytScreenings",
397
402
  /**
398
403
  * value: "unknown_default_open_api"
399
404
  * @const
@@ -37,7 +37,7 @@ var TokensEventData = /*#__PURE__*/function () {
37
37
  * Constructs a new <code>TokensEventData</code>.
38
38
  * @alias module:model/TokensEventData
39
39
  * @implements module:model/WebhookEventDataType
40
- * @param data_type {module:model/TokensEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
40
+ * @param data_type {module:model/TokensEventData.DataTypeEnum} The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
41
41
  * @param tokens {Array.<module:model/TokenInfo>} The enabled tokens.
42
42
  */
43
43
  function TokensEventData(data_type, tokens) {
@@ -146,7 +146,7 @@ var TokensEventData = /*#__PURE__*/function () {
146
146
  TokensEventData.RequiredProperties = ["data_type", "tokens"];
147
147
 
148
148
  /**
149
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
149
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
150
150
  * @member {module:model/TokensEventData.DataTypeEnum} data_type
151
151
  */
152
152
  TokensEventData.prototype['data_type'] = undefined;
@@ -169,7 +169,7 @@ TokensEventData.prototype['wallet_subtypes'] = undefined;
169
169
 
170
170
  // Implement WebhookEventDataType interface:
171
171
  /**
172
- * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data.
172
+ * The data type of the event. - `Transaction`: The transaction event data. - `TSSRequest`: The TSS request event data. - `Addresses`: The addresses event data. - `WalletInfo`: The wallet information event data. - `MPCVault`: The MPC vault event data. - `Chains`: The enabled chain event data. - `Tokens`: The enabled token event data. - `TokenListing`: The token listing event data. - `PaymentOrder`: The payment order event data. - `PaymentRefund`: The payment refund event data. - `PaymentSettlement`: The payment settlement event data. - `PaymentTransaction`: The payment transaction event data. - `PaymentAddressUpdate`: The top-up address update event data. - `BalanceUpdateInfo`: The balance update event data. - `SuspendedToken`: The token suspension event data. - `ComplianceDisposition`: The compliance disposition event data. - `ComplianceKytScreenings`: The compliance KYT screenings event data.
173
173
  * @member {module:model/WebhookEventDataType.DataTypeEnum} data_type
174
174
  */
175
175
  _WebhookEventDataType["default"].prototype['data_type'] = undefined;
@@ -260,6 +260,11 @@ TokensEventData['DataTypeEnum'] = {
260
260
  * @const
261
261
  */
262
262
  "ComplianceDisposition": "ComplianceDisposition",
263
+ /**
264
+ * value: "ComplianceKytScreenings"
265
+ * @const
266
+ */
267
+ "ComplianceKytScreenings": "ComplianceKytScreenings",
263
268
  /**
264
269
  * value: "unknown_default_open_api"
265
270
  * @const
@@ -185,6 +185,11 @@ var TransactionCoboCategory = exports["default"] = /*#__PURE__*/function () {
185
185
  * @const
186
186
  */
187
187
  _defineProperty(this, "ComplianceIsolate", "ComplianceIsolate");
188
+ /**
189
+ * value: "StellarChangeTrust"
190
+ * @const
191
+ */
192
+ _defineProperty(this, "StellarChangeTrust", "StellarChangeTrust");
188
193
  /**
189
194
  * value: "unknown_default_open_api"
190
195
  * @const
@@ -21,8 +21,11 @@ var _TransactionEvmContractDestination = _interopRequireDefault(require("./Trans
21
21
  var _TransactionMessageSignEIP191Destination = _interopRequireDefault(require("./TransactionMessageSignEIP191Destination"));
22
22
  var _TransactionMessageSignEIP712Destination = _interopRequireDefault(require("./TransactionMessageSignEIP712Destination"));
23
23
  var _TransactionRawMessageSignDestination = _interopRequireDefault(require("./TransactionRawMessageSignDestination"));
24
+ var _TransactionSolContractAddressLookupTableAccount = _interopRequireDefault(require("./TransactionSolContractAddressLookupTableAccount"));
24
25
  var _TransactionSolContractDestination = _interopRequireDefault(require("./TransactionSolContractDestination"));
25
26
  var _TransactionSolContractInstruction = _interopRequireDefault(require("./TransactionSolContractInstruction"));
27
+ var _TransactionStellarContractParam = _interopRequireDefault(require("./TransactionStellarContractParam"));
28
+ var _TransactionStellarDestination = _interopRequireDefault(require("./TransactionStellarDestination"));
26
29
  var _TransactionTransferToAddressDestination = _interopRequireDefault(require("./TransactionTransferToAddressDestination"));
27
30
  var _TransactionTransferToAddressDestinationAccountOutput = _interopRequireDefault(require("./TransactionTransferToAddressDestinationAccountOutput"));
28
31
  var _TransactionTransferToAddressDestinationUtxoOutputsInner = _interopRequireDefault(require("./TransactionTransferToAddressDestinationUtxoOutputsInner"));
@@ -55,7 +58,7 @@ var TransactionDestination = /*#__PURE__*/function () {
55
58
  /**
56
59
  * Constructs a new <code>TransactionDestination</code>.
57
60
  * @alias module:model/TransactionDestination
58
- * @param {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|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.
61
+ * @param {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionStellarDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} instance The actual instance to initialize TransactionDestination.
59
62
  */
60
63
  function TransactionDestination() {
61
64
  var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
@@ -132,6 +135,10 @@ var TransactionDestination = /*#__PURE__*/function () {
132
135
  this.actualInstance = _TransactionSolContractDestination["default"].constructFromObject(instance);
133
136
  match++;
134
137
  break;
138
+ case "STELLAR_Contract":
139
+ this.actualInstance = _TransactionStellarDestination["default"].constructFromObject(instance);
140
+ match++;
141
+ break;
135
142
  default:
136
143
  errorMessages.push("Unrecognized discriminator value: " + discriminatorValue);
137
144
  break;
@@ -437,13 +444,36 @@ var TransactionDestination = /*#__PURE__*/function () {
437
444
  // json data failed to deserialize into TransactionCosmosAdr36Destination
438
445
  errorMessages.push("Failed to construct TransactionCosmosAdr36Destination: " + err);
439
446
  }
447
+ try {
448
+ if (instance instanceof _TransactionStellarDestination["default"]) {
449
+ this.actualInstance = instance;
450
+ } else if (!!_TransactionStellarDestination["default"].validateJSON && _TransactionStellarDestination["default"].validateJSON(instance)) {
451
+ // plain JS object
452
+ // create TransactionStellarDestination from JS object
453
+ this.actualInstance = _TransactionStellarDestination["default"].constructFromObject(instance);
454
+ } else {
455
+ if (_TransactionStellarDestination["default"].constructFromObject(instance)) {
456
+ if (!!_TransactionStellarDestination["default"].constructFromObject(instance).toJSON) {
457
+ if (_TransactionStellarDestination["default"].constructFromObject(instance).toJSON()) {
458
+ this.actualInstance = _TransactionStellarDestination["default"].constructFromObject(instance);
459
+ }
460
+ } else {
461
+ this.actualInstance = _TransactionStellarDestination["default"].constructFromObject(instance);
462
+ }
463
+ }
464
+ }
465
+ match++;
466
+ } catch (err) {
467
+ // json data failed to deserialize into TransactionStellarDestination
468
+ errorMessages.push("Failed to construct TransactionStellarDestination: " + err);
469
+ }
440
470
 
441
471
  // if (match > 1) {
442
- // throw new Error("Multiple matches found constructing `TransactionDestination` with oneOf schemas TransactionBIP137Destination, TransactionBIP322Destination, TransactionCosmosAdr36Destination, TransactionCosmosContractDestination, TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Input: " + JSON.stringify(instance));
472
+ // throw new Error("Multiple matches found constructing `TransactionDestination` with oneOf schemas TransactionBIP137Destination, TransactionBIP322Destination, TransactionCosmosAdr36Destination, TransactionCosmosContractDestination, TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionStellarDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Input: " + JSON.stringify(instance));
443
473
  // } else
444
474
  if (match === 0) {
445
475
  // this.actualInstance = null; // clear the actual instance in case there are multiple matches
446
- // throw new Error("No match found constructing `TransactionDestination` with oneOf schemas TransactionBIP137Destination, TransactionBIP322Destination, TransactionCosmosAdr36Destination, TransactionCosmosContractDestination, TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Details: " +
476
+ // throw new Error("No match found constructing `TransactionDestination` with oneOf schemas TransactionBIP137Destination, TransactionBIP322Destination, TransactionCosmosAdr36Destination, TransactionCosmosContractDestination, TransactionDepositToAddressDestination, TransactionDepositToWalletDestination, TransactionEvmContractDestination, TransactionMessageSignEIP191Destination, TransactionMessageSignEIP712Destination, TransactionRawMessageSignDestination, TransactionSolContractDestination, TransactionStellarDestination, TransactionTransferToAddressDestination, TransactionTransferToWalletDestination. Details: " +
447
477
  // errorMessages.join(", "));
448
478
  return;
449
479
  } else {// only 1 match
@@ -462,16 +492,16 @@ var TransactionDestination = /*#__PURE__*/function () {
462
492
  key: "getActualInstance",
463
493
  value:
464
494
  /**
465
- * 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>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
466
- * @return {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|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.
495
+ * 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>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionStellarDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
496
+ * @return {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionStellarDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} The actual instance.
467
497
  */
468
498
  function getActualInstance() {
469
499
  return this.actualInstance;
470
500
  }
471
501
 
472
502
  /**
473
- * 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>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
474
- * @param {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|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.
503
+ * 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>TransactionMessageSignEIP191Destination</code>, <code>TransactionMessageSignEIP712Destination</code>, <code>TransactionRawMessageSignDestination</code>, <code>TransactionSolContractDestination</code>, <code>TransactionStellarDestination</code>, <code>TransactionTransferToAddressDestination</code>, <code>TransactionTransferToWalletDestination</code>.
504
+ * @param {(module:model/TransactionBIP137Destination|module:model/TransactionBIP322Destination|module:model/TransactionCosmosAdr36Destination|module:model/TransactionCosmosContractDestination|module:model/TransactionDepositToAddressDestination|module:model/TransactionDepositToWalletDestination|module:model/TransactionEvmContractDestination|module:model/TransactionMessageSignEIP191Destination|module:model/TransactionMessageSignEIP712Destination|module:model/TransactionRawMessageSignDestination|module:model/TransactionSolContractDestination|module:model/TransactionStellarDestination|module:model/TransactionTransferToAddressDestination|module:model/TransactionTransferToWalletDestination)} obj The actual instance.
475
505
  */
476
506
  }, {
477
507
  key: "setActualInstance",
@@ -578,6 +608,11 @@ TransactionDestination.prototype['calldata_info'] = undefined;
578
608
  */
579
609
  TransactionDestination.prototype['instructions'] = undefined;
580
610
 
611
+ /**
612
+ * @member {Array.<module:model/TransactionSolContractAddressLookupTableAccount>} address_lookup_table_accounts
613
+ */
614
+ TransactionDestination.prototype['address_lookup_table_accounts'] = undefined;
615
+
581
616
  /**
582
617
  * @member {Array.<module:model/TransactionCosmosMessage>} cosmos_messages
583
618
  */
@@ -650,5 +685,10 @@ TransactionDestination.prototype['message_bip322'] = undefined;
650
685
  * @member {String} message_cosmos_adr36
651
686
  */
652
687
  TransactionDestination.prototype['message_cosmos_adr36'] = undefined;
653
- TransactionDestination.OneOf = ["TransactionBIP137Destination", "TransactionBIP322Destination", "TransactionCosmosAdr36Destination", "TransactionCosmosContractDestination", "TransactionDepositToAddressDestination", "TransactionDepositToWalletDestination", "TransactionEvmContractDestination", "TransactionMessageSignEIP191Destination", "TransactionMessageSignEIP712Destination", "TransactionRawMessageSignDestination", "TransactionSolContractDestination", "TransactionTransferToAddressDestination", "TransactionTransferToWalletDestination"];
688
+
689
+ /**
690
+ * @member {module:model/TransactionStellarContractParam} contract_param
691
+ */
692
+ TransactionDestination.prototype['contract_param'] = undefined;
693
+ TransactionDestination.OneOf = ["TransactionBIP137Destination", "TransactionBIP322Destination", "TransactionCosmosAdr36Destination", "TransactionCosmosContractDestination", "TransactionDepositToAddressDestination", "TransactionDepositToWalletDestination", "TransactionEvmContractDestination", "TransactionMessageSignEIP191Destination", "TransactionMessageSignEIP712Destination", "TransactionRawMessageSignDestination", "TransactionSolContractDestination", "TransactionStellarDestination", "TransactionTransferToAddressDestination", "TransactionTransferToWalletDestination"];
654
694
  var _default = exports["default"] = TransactionDestination;
@@ -55,6 +55,11 @@ var TransactionDestinationType = exports["default"] = /*#__PURE__*/function () {
55
55
  * @const
56
56
  */
57
57
  _defineProperty(this, "SOL_Contract", "SOL_Contract");
58
+ /**
59
+ * value: "STELLAR_Contract"
60
+ * @const
61
+ */
62
+ _defineProperty(this, "STELLAR_Contract", "STELLAR_Contract");
58
63
  /**
59
64
  * value: "COSMOS_Contract"
60
65
  * @const
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  var TransactionEvmEip1559Fee = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>TransactionEvmEip1559Fee</code>.
37
- * The transaction fee actually charged by the chain that uses the EIP-1559 fee model. The transaction fee is calculated by multiplying the gas price by the used gas units. This can be expressed as: Transaction fee &#x3D; gas price * used gas units. Switch between the tabs to display the properties for different transaction fee models.
37
+ * The transaction fee actually charged by the chain that uses the EIP-1559 fee model. For more information about the EIP-1559 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.
38
38
  * @alias module:model/TransactionEvmEip1559Fee
39
39
  * @implements module:model/EvmEip1559FeeBasePrice
40
40
  * @implements module:model/FeeGasLimit
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  var TransactionEvmLegacyFee = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>TransactionEvmLegacyFee</code>.
37
- * The transaction fee actually charged by the chain that uses the legacy fee model. The transaction fee is calculated by multiplying the gas price by the used gas. This can be expressed as: Transaction fee &#x3D; gas price * used gas units. Switch between the tabs to display the properties for different transaction fee models.
37
+ * The transaction fee actually charged by the chain that uses the legacy fee model. For more information about the Legacy 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.
38
38
  * @alias module:model/TransactionEvmLegacyFee
39
39
  * @implements module:model/EvmLegacyFeeBasePrice
40
40
  * @implements module:model/FeeGasLimit
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  var TransactionFILFee = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>TransactionFILFee</code>.
37
- * The transaction fee actually charged by the chain that uses the Filecoin fee model. In this model, the fee is calculated as: fee &#x3D; base fee * gas used + gas premium * gas limit. For more details, refer to [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
+ * The transaction fee actually charged by the chain that uses the Filecoin fee model. For more details about the Filecoin 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.
38
38
  * @alias module:model/TransactionFILFee
39
39
  * @implements module:model/FILBase
40
40
  * @implements module:model/FILPrice
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionFixedFee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionFixedFee</code>.
36
- * The transaction fee actually charged by the chain that uses the fixed fee model. 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 fixed fee model. For more information about the fixed 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/TransactionFixedFee
38
38
  * @implements module:model/MaxFeeAmount
39
39
  * @param fee_type {module:model/FeeType}
@@ -63,6 +63,9 @@ var TransactionFuelingInfo = /*#__PURE__*/function () {
63
63
  if (data.hasOwnProperty('transaction_id')) {
64
64
  obj['transaction_id'] = _ApiClient["default"].convertToType(data['transaction_id'], 'String');
65
65
  }
66
+ if (data.hasOwnProperty('main_transaction_id')) {
67
+ obj['main_transaction_id'] = _ApiClient["default"].convertToType(data['main_transaction_id'], 'String');
68
+ }
66
69
  }
67
70
  return obj;
68
71
  }
@@ -83,6 +86,10 @@ var TransactionFuelingInfo = /*#__PURE__*/function () {
83
86
  if (data['transaction_id'] && !(typeof data['transaction_id'] === 'string' || data['transaction_id'] instanceof String)) {
84
87
  throw new Error("Expected the field `transaction_id` to be a primitive type in the JSON string but got " + data['transaction_id']);
85
88
  }
89
+ // ensure the json data is a string
90
+ if (data['main_transaction_id'] && !(typeof data['main_transaction_id'] === 'string' || data['main_transaction_id'] instanceof String)) {
91
+ throw new Error("Expected the field `main_transaction_id` to be a primitive type in the JSON string but got " + data['main_transaction_id']);
92
+ }
86
93
  return true;
87
94
  }
88
95
  }]);
@@ -98,4 +105,10 @@ TransactionFuelingInfo.prototype['request_id'] = undefined;
98
105
  * @member {String} transaction_id
99
106
  */
100
107
  TransactionFuelingInfo.prototype['transaction_id'] = undefined;
108
+
109
+ /**
110
+ * The UUID of the parent (main) transaction that this record is associated with. Set only when the current record is a gas/fee transaction initiated by Fee Station; omit for main transactions.
111
+ * @member {String} main_transaction_id
112
+ */
113
+ TransactionFuelingInfo.prototype['main_transaction_id'] = undefined;
101
114
  var _default = exports["default"] = TransactionFuelingInfo;
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionRequestEvmEip1559Fee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionRequestEvmEip1559Fee</code>.
36
- * The preset properties to limit transaction fee. In the EIP-1559 fee model, the transaction fee is calculated by multiplying the gas price and the gas units used by the transaction. This can be expressed as: Transaction fee &#x3D; gas price * gas units used. For more information about the EIP-1559 fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the maximum gas fee per gas unit, maximum priority fee per gas unit, and the gas limit to limit the gas price, priority fee per gas unit, gas units used in the transaction. Switch between the tabs to display the properties for different transaction fee models.
36
+ * The preset properties to limit transaction fee. For more information about the EIP-1559 fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the maximum gas fee per gas unit, maximum priority fee per gas unit, and the gas limit to limit the gas price, priority fee per gas unit, gas units used in the transaction. Switch between the tabs to display the properties for different transaction fee models.
37
37
  * @alias module:model/TransactionRequestEvmEip1559Fee
38
38
  * @implements module:model/EvmEip1559FeeBasePrice
39
39
  * @param max_fee_per_gas {String} The maximum gas fee per gas unit used on the chain, in wei.
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionRequestEvmLegacyFee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionRequestEvmLegacyFee</code>.
36
- * The preset properties to limit transaction fee. In the legacy fee model, the transaction fee is calculated by multiplying the gas price by the gas units used by the transaction. This can be expressed as: Transaction fee &#x3D; (gas price * gas units used). For more information about the legacy fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the gas limit to limit the gas units used in the transaction. Switch between the tabs to display the properties for different transaction fee models.
36
+ * The preset properties to limit transaction fee. For more information about the Legacy fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the gas limit to limit the gas units used in the transaction. Switch between the tabs to display the properties for different transaction fee models.
37
37
  * @alias module:model/TransactionRequestEvmLegacyFee
38
38
  * @implements module:model/EvmLegacyFeeBasePrice
39
39
  * @param gas_price {String} The gas price, in wei. The gas price represents the amount of ETH that must be paid to validators for processing transactions per gas unit used.
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionRequestFILFee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionRequestFILFee</code>.
36
- * The preset properties to limit transaction fee. In the Filecoin fee model, the transaction fee is calculated using the minimum of your specified gas fee cap and the sum of the base fee and gas premium, then multiplied by the gas limit. This can be expressed as: Transaction fee &#x3D; min(gas fee cap, base fee + gas premium) * gas limit. For more information about the Filecoin fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the gas fee cap, gas premium, and gas limit to control fee behavior and prioritization. Switch between the tabs to display the properties for different transaction fee models.
36
+ * The preset properties to limit transaction fee. For more information about the FIL fee model, see [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the gas fee cap, gas premium, and gas limit to control fee behavior and prioritization. Switch between the tabs to display the properties for different transaction fee models.
37
37
  * @alias module:model/TransactionRequestFILFee
38
38
  * @implements module:model/FILPrice
39
39
  * @param gas_premium {String} An optional tip you can include to prioritize your transaction. The gas premium incentivizes miners to include your transaction sooner than those offering only the base fee.
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionRequestSOLFee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionRequestSOLFee</code>.
36
- * The preset properties to limit transaction fee. In the Solana fee model, the transaction fee is calculated by adding the base fee to the product of the compute unit limit and the compute unit price. This can be expressed as: Transaction fee &#x3D; base fee + (CU limit * CU price). For more information about the Solana fee model, refer to [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify CU price and CU limit to adjust the priority and resource allocation of your transaction. Switch between the tabs to display the properties for different transaction fee models.
36
+ * The preset properties to limit transaction fee. For more information about the SOL fee model, see [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify CU price and CU limit to adjust the priority and resource allocation of your transaction. Switch between the tabs to display the properties for different transaction fee models.
37
37
  * @alias module:model/TransactionRequestSOLFee
38
38
  * @implements module:model/SOLComputeUnit
39
39
  * @param compute_unit_price {String} The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions.
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
33
33
  var TransactionRequestUtxoFee = /*#__PURE__*/function () {
34
34
  /**
35
35
  * Constructs a new <code>TransactionRequestUtxoFee</code>.
36
- * The preset properties to limit transaction fee. In the UTXO fee model, 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. For more information about the UTXO fee model, see [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the maximum fee amount to limit the transaction fee. The transaction will fail if the transaction fee exceeds the specified maximum fee amount. Switch between the tabs to display the properties for different transaction fee models.
36
+ * The preset properties to limit transaction fee. For more information about the UTXO fee model, see [Fee models](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees#fee-models). You can specify the maximum fee amount to limit the transaction fee. The transaction will fail if the transaction fee exceeds the specified maximum fee amount. Switch between the tabs to display the properties for different transaction fee models.
37
37
  * @alias module:model/TransactionRequestUtxoFee
38
38
  * @implements module:model/UtxoFeeBasePrice
39
39
  * @param fee_type {module:model/FeeType}
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  var TransactionSOLFee = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>TransactionSOLFee</code>.
37
- * The transaction fee actually charged by the chain that uses the Solana fee model. In this model, the fee is calculated as: fee &#x3D; base fee + (compute unit price * compute unit limit) + rent (if applicable). For more details, refer to [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
+ * The transaction fee actually charged by the chain that uses the Solana fee model. For more details about the Solana 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.
38
38
  * @alias module:model/TransactionSOLFee
39
39
  * @implements module:model/SOLBase
40
40
  * @implements module:model/SOLComputeUnit