@cobo/cobo-waas2 1.13.0 → 1.14.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 (137) hide show
  1. package/README.md +52 -5
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/FeeStationApi.js +51 -8
  4. package/dist/api/PaymentApi.js +891 -0
  5. package/dist/api/TransactionsApi.js +6 -6
  6. package/dist/api/WalletsApi.js +143 -0
  7. package/dist/index.js +185 -3
  8. package/dist/model/AddressesEventData.js +18 -3
  9. package/dist/model/BTCBIP137MessageSignDestination.js +1 -1
  10. package/dist/model/BTCBIP322MessageSignDestination.js +1 -1
  11. package/dist/model/ChainsEventData.js +40 -3
  12. package/dist/model/CosmosAdr36MessageSignDestination.js +1 -1
  13. package/dist/model/CreateBankAccountRequest.js +108 -0
  14. package/dist/model/CreateMerchantRequest.js +125 -0
  15. package/dist/model/CreatePaymentOrderRequest.js +206 -0
  16. package/dist/model/CreateRefundRequest.js +192 -0
  17. package/dist/model/CreateSettlement.js +4 -4
  18. package/dist/model/CreateSettlementRequestRequest.js +142 -0
  19. package/dist/model/CreateTokenListingRequest201Response.js +110 -0
  20. package/dist/model/CreateTokenListingRequestRequest.js +147 -0
  21. package/dist/model/FeeStationDestination.js +136 -0
  22. package/dist/model/FeeStationTransfer.js +127 -0
  23. package/dist/model/GetExchangeRate200Response.js +140 -0
  24. package/dist/model/GetRefunds200Response.js +123 -0
  25. package/dist/model/GetSettlementInfoByIds200Response.js +136 -0
  26. package/dist/model/ListMerchants200Response.js +123 -0
  27. package/dist/model/ListPaymentOrders200Response.js +123 -0
  28. package/dist/model/ListSettlementRequests200Response.js +123 -0
  29. package/dist/model/ListTokenBalancesForFeeStation200Response.js +123 -0
  30. package/dist/model/ListTokenBalancesForFeeStation200ResponseDataInner.js +142 -0
  31. package/dist/model/ListTokenListingRequests200Response.js +123 -0
  32. package/dist/model/MPCVaultEventData.js +18 -3
  33. package/dist/model/Merchant.js +2 -2
  34. package/dist/model/Order.js +15 -15
  35. package/dist/model/PaymentOrderEventData.js +479 -0
  36. package/dist/model/PaymentRefundEventData.js +381 -0
  37. package/dist/model/PaymentSettlementEvent.js +285 -0
  38. package/dist/model/PaymentTransaction.js +7 -7
  39. package/dist/model/Refund.js +4 -3
  40. package/dist/model/Settlement.js +4 -4
  41. package/dist/model/SettlementDetail.js +4 -3
  42. package/dist/model/SettlementInfo.js +7 -7
  43. package/dist/model/SwapActivity.js +18 -5
  44. package/dist/model/SwapActivityDetail.js +378 -0
  45. package/dist/model/SwapActivityTimeline.js +135 -0
  46. package/dist/model/SwapQuote.js +6 -4
  47. package/dist/model/{SwapActivityType.js → SwapType.js} +7 -7
  48. package/dist/model/TSSRequestWebhookEventData.js +18 -3
  49. package/dist/model/TokenListingEventData.js +18 -3
  50. package/dist/model/TokensEventData.js +40 -3
  51. package/dist/model/Transaction.js +1 -1
  52. package/dist/model/TransactionBIP137Destination.js +1 -1
  53. package/dist/model/TransactionBIP322Destination.js +1 -1
  54. package/dist/model/TransactionBabylonBusinessInfo.js +1 -1
  55. package/dist/model/TransactionBabylonTxParameters.js +3 -3
  56. package/dist/model/TransactionCoreStakeInfo.js +3 -3
  57. package/dist/model/TransactionCosmosAdr36Destination.js +1 -1
  58. package/dist/model/TransactionDetail.js +2 -2
  59. package/dist/model/TransactionDetails.js +2 -2
  60. package/dist/model/TransactionEvmEip1559Fee.js +13 -0
  61. package/dist/model/TransactionEvmLegacyFee.js +13 -0
  62. package/dist/model/TransactionExtra.js +3 -3
  63. package/dist/model/TransactionFee.js +6 -0
  64. package/dist/model/TransactionFixedFee.js +13 -0
  65. package/dist/model/TransactionMessageSignBTCEIP191Destination.js +1 -1
  66. package/dist/model/TransactionSolContractDestination.js +1 -1
  67. package/dist/model/TransactionUtxoFee.js +13 -0
  68. package/dist/model/TransactionWebhookEventData.js +20 -5
  69. package/dist/model/UpdateMerchantByIdRequest.js +87 -0
  70. package/dist/model/UpdatePaymentOrderRequest.js +106 -0
  71. package/dist/model/WalletInfoEventData.js +18 -3
  72. package/dist/model/WebhookEventData.js +218 -20
  73. package/dist/model/WebhookEventDataType.js +17 -2
  74. package/dist/model/WebhookEventType.js +30 -0
  75. package/docs/AddressesEventData.md +7 -1
  76. package/docs/ChainsEventData.md +9 -1
  77. package/docs/CreateBankAccountRequest.md +9 -0
  78. package/docs/CreateMerchantRequest.md +10 -0
  79. package/docs/CreatePaymentOrderRequest.md +16 -0
  80. package/docs/CreateRefundRequest.md +15 -0
  81. package/docs/CreateSettlement.md +3 -3
  82. package/docs/CreateSettlementRequestRequest.md +10 -0
  83. package/docs/CreateTokenListingRequest201Response.md +9 -0
  84. package/docs/CreateTokenListingRequestRequest.md +12 -0
  85. package/docs/FeeStationApi.md +55 -2
  86. package/docs/FeeStationDestination.md +11 -0
  87. package/docs/FeeStationTransfer.md +10 -0
  88. package/docs/GetExchangeRate200Response.md +11 -0
  89. package/docs/GetRefunds200Response.md +10 -0
  90. package/docs/GetSettlementInfoByIds200Response.md +10 -0
  91. package/docs/ListMerchants200Response.md +10 -0
  92. package/docs/ListPaymentOrders200Response.md +10 -0
  93. package/docs/ListSettlementRequests200Response.md +10 -0
  94. package/docs/ListTokenBalancesForFeeStation200Response.md +10 -0
  95. package/docs/ListTokenBalancesForFeeStation200ResponseDataInner.md +11 -0
  96. package/docs/ListTokenListingRequests200Response.md +10 -0
  97. package/docs/MPCVaultEventData.md +7 -1
  98. package/docs/Merchant.md +1 -1
  99. package/docs/Order.md +8 -8
  100. package/docs/PaymentApi.md +986 -0
  101. package/docs/PaymentOrderEventData.md +55 -0
  102. package/docs/PaymentRefundEventData.md +49 -0
  103. package/docs/PaymentSettlementEvent.md +44 -0
  104. package/docs/PaymentTransaction.md +4 -4
  105. package/docs/Refund.md +3 -3
  106. package/docs/Settlement.md +2 -2
  107. package/docs/SettlementDetail.md +4 -4
  108. package/docs/SettlementInfo.md +6 -6
  109. package/docs/SwapActivity.md +2 -1
  110. package/docs/SwapActivityDetail.md +25 -0
  111. package/docs/SwapActivityTimeline.md +11 -0
  112. package/docs/SwapQuote.md +1 -1
  113. package/docs/{SwapActivityType.md → SwapType.md} +1 -1
  114. package/docs/TSSRequestWebhookEventData.md +7 -1
  115. package/docs/TokenListingEventData.md +7 -1
  116. package/docs/TokensEventData.md +9 -1
  117. package/docs/Transaction.md +1 -1
  118. package/docs/TransactionBabylonTxParameters.md +2 -2
  119. package/docs/TransactionCoreStakeInfo.md +2 -2
  120. package/docs/TransactionDetail.md +1 -1
  121. package/docs/TransactionDetails.md +1 -1
  122. package/docs/TransactionEvmEip1559Fee.md +1 -0
  123. package/docs/TransactionEvmLegacyFee.md +1 -0
  124. package/docs/TransactionExtra.md +3 -3
  125. package/docs/TransactionFee.md +1 -0
  126. package/docs/TransactionFixedFee.md +1 -0
  127. package/docs/TransactionUtxoFee.md +1 -0
  128. package/docs/TransactionWebhookEventData.md +8 -2
  129. package/docs/TransactionsApi.md +3 -3
  130. package/docs/UpdateMerchantByIdRequest.md +9 -0
  131. package/docs/UpdatePaymentOrderRequest.md +9 -0
  132. package/docs/WalletInfoEventData.md +7 -1
  133. package/docs/WalletsApi.md +161 -0
  134. package/docs/WebhookEventData.md +32 -7
  135. package/docs/WebhookEventDataType.md +7 -1
  136. package/docs/WebhookEventType.md +12 -0
  137. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,7 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
15
15
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
16
16
 
17
17
  - API version: v2
18
- - Package version: 1.13.0
18
+ - Package version: 1.14.0
19
19
  - Generator version: 7.6.0
20
20
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
21
21
  For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)
@@ -81,12 +81,31 @@ Class | Method | HTTP request | Description
81
81
  *CoboWaas2.DevelopersWebhooksApi* | [**retryWebhookEventById**](docs/DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
82
82
  *CoboWaas2.DevelopersWebhooksApi* | [**triggerTestWebhookEvent**](docs/DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
83
83
  *CoboWaas2.DevelopersWebhooksApi* | [**updateWebhookEndpointById**](docs/DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
84
+ *CoboWaas2.FeeStationApi* | [**estimateFeeStationFee**](docs/FeeStationApi.md#estimateFeeStationFee) | **POST** /fee_station/transactions/estimate_fee | Estimate transaction fee
84
85
  *CoboWaas2.FeeStationApi* | [**getFeeStationTransactionById**](docs/FeeStationApi.md#getFeeStationTransactionById) | **GET** /fee_station/transactions/{transaction_id} | Get Fee Station transaction information
85
86
  *CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
86
87
  *CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all Fee Station transactions
87
88
  *CoboWaas2.FeeStationApi* | [**listTokenBalancesForFeeStation**](docs/FeeStationApi.md#listTokenBalancesForFeeStation) | **GET** /fee_station/tokens | List Fee Station token balances
88
89
  *CoboWaas2.OAuthApi* | [**getToken**](docs/OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
89
90
  *CoboWaas2.OAuthApi* | [**refreshToken**](docs/OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Org Access Token
91
+ *CoboWaas2.PaymentApi* | [**createBankAccount**](docs/PaymentApi.md#createBankAccount) | **POST** /payments/bank_accounts | Create bank account
92
+ *CoboWaas2.PaymentApi* | [**createMerchant**](docs/PaymentApi.md#createMerchant) | **POST** /payments/merchants | Create merchant
93
+ *CoboWaas2.PaymentApi* | [**createPaymentOrder**](docs/PaymentApi.md#createPaymentOrder) | **POST** /payments/orders | Create pay-in order
94
+ *CoboWaas2.PaymentApi* | [**createRefund**](docs/PaymentApi.md#createRefund) | **POST** /payments/refunds | Create refund order
95
+ *CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
96
+ *CoboWaas2.PaymentApi* | [**getExchangeRate**](docs/PaymentApi.md#getExchangeRate) | **GET** /payments/exchange_rates/{token_id}/{currency} | Get exchange rate
97
+ *CoboWaas2.PaymentApi* | [**getPaymentOrderDetailById**](docs/PaymentApi.md#getPaymentOrderDetailById) | **GET** /payments/orders/{order_id} | Get pay-in order information
98
+ *CoboWaas2.PaymentApi* | [**getRefundDetailById**](docs/PaymentApi.md#getRefundDetailById) | **GET** /payments/refunds/{refund_id} | Get refund order information
99
+ *CoboWaas2.PaymentApi* | [**getRefunds**](docs/PaymentApi.md#getRefunds) | **GET** /payments/refunds | List all refund orders
100
+ *CoboWaas2.PaymentApi* | [**getSettlementById**](docs/PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
101
+ *CoboWaas2.PaymentApi* | [**getSettlementInfoByIds**](docs/PaymentApi.md#getSettlementInfoByIds) | **GET** /payments/settlement_info | Get withdrawable balances
102
+ *CoboWaas2.PaymentApi* | [**listBankAccounts**](docs/PaymentApi.md#listBankAccounts) | **GET** /payments/bank_accounts | List all bank accounts
103
+ *CoboWaas2.PaymentApi* | [**listMerchants**](docs/PaymentApi.md#listMerchants) | **GET** /payments/merchants | List all merchants
104
+ *CoboWaas2.PaymentApi* | [**listPaymentOrders**](docs/PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
105
+ *CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
106
+ *CoboWaas2.PaymentApi* | [**updateBankAccountById**](docs/PaymentApi.md#updateBankAccountById) | **PUT** /payments/bank_accounts/{bank_account_id} | Update bank account
107
+ *CoboWaas2.PaymentApi* | [**updateMerchantById**](docs/PaymentApi.md#updateMerchantById) | **PUT** /payments/merchants/{merchant_id} | Update merchant
108
+ *CoboWaas2.PaymentApi* | [**updatePaymentOrder**](docs/PaymentApi.md#updatePaymentOrder) | **PUT** /payments/orders/{order_id} | Update pay-in order
90
109
  *CoboWaas2.PrimeBrokerApi* | [**changeGuardPubkey**](docs/PrimeBrokerApi.md#changeGuardPubkey) | **PUT** /prime_broker/user/{user_id}/guard_pubkey | Change Guard pubkey binding
91
110
  *CoboWaas2.PrimeBrokerApi* | [**createGuardPubkey**](docs/PrimeBrokerApi.md#createGuardPubkey) | **POST** /prime_broker/user/{user_id}/guard_pubkey | Create Guard pubkey binding
92
111
  *CoboWaas2.PrimeBrokerApi* | [**createPrimeBrokerAddress**](docs/PrimeBrokerApi.md#createPrimeBrokerAddress) | **POST** /prime_broker/user/{user_id}/addresses | Bind addresses to a broker user
@@ -136,11 +155,13 @@ Class | Method | HTTP request | Description
136
155
  *CoboWaas2.WalletsApi* | [**checkAddressValidity**](docs/WalletsApi.md#checkAddressValidity) | **GET** /wallets/check_address_validity | Check address validity
137
156
  *CoboWaas2.WalletsApi* | [**checkAddressesValidity**](docs/WalletsApi.md#checkAddressesValidity) | **GET** /wallets/check_addresses_validity | Check addresses validity
138
157
  *CoboWaas2.WalletsApi* | [**createAddress**](docs/WalletsApi.md#createAddress) | **POST** /wallets/{wallet_id}/addresses | Create addresses in wallet
158
+ *CoboWaas2.WalletsApi* | [**createTokenListingRequest**](docs/WalletsApi.md#createTokenListingRequest) | **POST** /wallets/tokens/listing_requests | Submit token listing request
139
159
  *CoboWaas2.WalletsApi* | [**createWallet**](docs/WalletsApi.md#createWallet) | **POST** /wallets | Create wallet
140
160
  *CoboWaas2.WalletsApi* | [**deleteWalletById**](docs/WalletsApi.md#deleteWalletById) | **POST** /wallets/{wallet_id}/delete | Delete wallet
141
161
  *CoboWaas2.WalletsApi* | [**getChainById**](docs/WalletsApi.md#getChainById) | **GET** /wallets/chains/{chain_id} | Get chain information
142
162
  *CoboWaas2.WalletsApi* | [**getMaxTransferableValue**](docs/WalletsApi.md#getMaxTransferableValue) | **GET** /wallets/{wallet_id}/max_transferable_value | Get maximum transferable value
143
163
  *CoboWaas2.WalletsApi* | [**getTokenById**](docs/WalletsApi.md#getTokenById) | **GET** /wallets/tokens/{token_id} | Get token information
164
+ *CoboWaas2.WalletsApi* | [**getTokenListingRequestByRequestId**](docs/WalletsApi.md#getTokenListingRequestByRequestId) | **GET** /wallets/tokens/listing_requests/{request_id} | Get token listing request details
144
165
  *CoboWaas2.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /wallets/{wallet_id} | Get wallet information
145
166
  *CoboWaas2.WalletsApi* | [**listAddressBalancesByToken**](docs/WalletsApi.md#listAddressBalancesByToken) | **GET** /wallets/{wallet_id}/tokens/{token_id} | List address balances by token
146
167
  *CoboWaas2.WalletsApi* | [**listAddresses**](docs/WalletsApi.md#listAddresses) | **GET** /wallets/{wallet_id}/addresses | List wallet addresses
@@ -150,6 +171,7 @@ Class | Method | HTTP request | Description
150
171
  *CoboWaas2.WalletsApi* | [**listSupportedTokens**](docs/WalletsApi.md#listSupportedTokens) | **GET** /wallets/tokens | List supported tokens
151
172
  *CoboWaas2.WalletsApi* | [**listTokenBalancesForAddress**](docs/WalletsApi.md#listTokenBalancesForAddress) | **GET** /wallets/{wallet_id}/addresses/{address}/tokens | List token balances by address
152
173
  *CoboWaas2.WalletsApi* | [**listTokenBalancesForWallet**](docs/WalletsApi.md#listTokenBalancesForWallet) | **GET** /wallets/{wallet_id}/tokens | List token balances by wallet
174
+ *CoboWaas2.WalletsApi* | [**listTokenListingRequests**](docs/WalletsApi.md#listTokenListingRequests) | **GET** /wallets/tokens/listing_requests | Get all token listing requests
153
175
  *CoboWaas2.WalletsApi* | [**listUtxos**](docs/WalletsApi.md#listUtxos) | **GET** /wallets/{wallet_id}/utxos | List UTXOs
154
176
  *CoboWaas2.WalletsApi* | [**listWallets**](docs/WalletsApi.md#listWallets) | **GET** /wallets | List all wallets
155
177
  *CoboWaas2.WalletsApi* | [**lockUtxos**](docs/WalletsApi.md#lockUtxos) | **POST** /wallets/{wallet_id}/utxos/lock | Lock UTXOs
@@ -257,24 +279,31 @@ Class | Method | HTTP request | Description
257
279
  - [CoboWaas2.CreateBabylonAirdropRegistrationRequest](docs/CreateBabylonAirdropRegistrationRequest.md)
258
280
  - [CoboWaas2.CreateBabylonStakingRegistration201Response](docs/CreateBabylonStakingRegistration201Response.md)
259
281
  - [CoboWaas2.CreateBabylonStakingRegistrationRequest](docs/CreateBabylonStakingRegistrationRequest.md)
282
+ - [CoboWaas2.CreateBankAccountRequest](docs/CreateBankAccountRequest.md)
260
283
  - [CoboWaas2.CreateClaimActivity](docs/CreateClaimActivity.md)
261
284
  - [CoboWaas2.CreateClaimActivityRequest](docs/CreateClaimActivityRequest.md)
262
285
  - [CoboWaas2.CreateCustodialWalletParams](docs/CreateCustodialWalletParams.md)
263
286
  - [CoboWaas2.CreateExchangeWalletParams](docs/CreateExchangeWalletParams.md)
264
287
  - [CoboWaas2.CreateKeyShareHolder](docs/CreateKeyShareHolder.md)
265
288
  - [CoboWaas2.CreateKeyShareHolderGroupRequest](docs/CreateKeyShareHolderGroupRequest.md)
289
+ - [CoboWaas2.CreateMerchantRequest](docs/CreateMerchantRequest.md)
266
290
  - [CoboWaas2.CreateMpcProjectRequest](docs/CreateMpcProjectRequest.md)
267
291
  - [CoboWaas2.CreateMpcVaultRequest](docs/CreateMpcVaultRequest.md)
268
292
  - [CoboWaas2.CreateMpcWalletParams](docs/CreateMpcWalletParams.md)
293
+ - [CoboWaas2.CreatePaymentOrderRequest](docs/CreatePaymentOrderRequest.md)
269
294
  - [CoboWaas2.CreatePrimeBrokerAddress201Response](docs/CreatePrimeBrokerAddress201Response.md)
270
295
  - [CoboWaas2.CreatePrimeBrokerAddressRequest](docs/CreatePrimeBrokerAddressRequest.md)
296
+ - [CoboWaas2.CreateRefundRequest](docs/CreateRefundRequest.md)
271
297
  - [CoboWaas2.CreateSafeWalletParams](docs/CreateSafeWalletParams.md)
272
298
  - [CoboWaas2.CreateSettlement](docs/CreateSettlement.md)
299
+ - [CoboWaas2.CreateSettlementRequestRequest](docs/CreateSettlementRequestRequest.md)
273
300
  - [CoboWaas2.CreateSmartContractWalletParams](docs/CreateSmartContractWalletParams.md)
274
301
  - [CoboWaas2.CreateStakeActivity](docs/CreateStakeActivity.md)
275
302
  - [CoboWaas2.CreateStakeActivity201Response](docs/CreateStakeActivity201Response.md)
276
303
  - [CoboWaas2.CreateStakeActivityExtra](docs/CreateStakeActivityExtra.md)
277
304
  - [CoboWaas2.CreateStakeActivityRequest](docs/CreateStakeActivityRequest.md)
305
+ - [CoboWaas2.CreateTokenListingRequest201Response](docs/CreateTokenListingRequest201Response.md)
306
+ - [CoboWaas2.CreateTokenListingRequestRequest](docs/CreateTokenListingRequestRequest.md)
278
307
  - [CoboWaas2.CreateTransferTransaction201Response](docs/CreateTransferTransaction201Response.md)
279
308
  - [CoboWaas2.CreateTssRequestRequest](docs/CreateTssRequestRequest.md)
280
309
  - [CoboWaas2.CreateUnstakeActivity](docs/CreateUnstakeActivity.md)
@@ -337,10 +366,15 @@ Class | Method | HTTP request | Description
337
366
  - [CoboWaas2.FeeGasLimit](docs/FeeGasLimit.md)
338
367
  - [CoboWaas2.FeeRate](docs/FeeRate.md)
339
368
  - [CoboWaas2.FeeReserved](docs/FeeReserved.md)
369
+ - [CoboWaas2.FeeStationDestination](docs/FeeStationDestination.md)
340
370
  - [CoboWaas2.FeeStationTransactionType](docs/FeeStationTransactionType.md)
371
+ - [CoboWaas2.FeeStationTransfer](docs/FeeStationTransfer.md)
341
372
  - [CoboWaas2.FeeType](docs/FeeType.md)
342
373
  - [CoboWaas2.FixedFeeRate](docs/FixedFeeRate.md)
343
374
  - [CoboWaas2.GetApiKeyInfo200Response](docs/GetApiKeyInfo200Response.md)
375
+ - [CoboWaas2.GetExchangeRate200Response](docs/GetExchangeRate200Response.md)
376
+ - [CoboWaas2.GetRefunds200Response](docs/GetRefunds200Response.md)
377
+ - [CoboWaas2.GetSettlementInfoByIds200Response](docs/GetSettlementInfoByIds200Response.md)
344
378
  - [CoboWaas2.GetStakingEstimationFee201Response](docs/GetStakingEstimationFee201Response.md)
345
379
  - [CoboWaas2.GetStakingEstimationFeeRequest](docs/GetStakingEstimationFeeRequest.md)
346
380
  - [CoboWaas2.GetToken2XXResponse](docs/GetToken2XXResponse.md)
@@ -366,8 +400,11 @@ Class | Method | HTTP request | Description
366
400
  - [CoboWaas2.ListExchanges200ResponseInner](docs/ListExchanges200ResponseInner.md)
367
401
  - [CoboWaas2.ListKeyShareHolderGroups200Response](docs/ListKeyShareHolderGroups200Response.md)
368
402
  - [CoboWaas2.ListKeyShareHolders200Response](docs/ListKeyShareHolders200Response.md)
403
+ - [CoboWaas2.ListMerchants200Response](docs/ListMerchants200Response.md)
369
404
  - [CoboWaas2.ListMpcProjects200Response](docs/ListMpcProjects200Response.md)
370
405
  - [CoboWaas2.ListMpcVaults200Response](docs/ListMpcVaults200Response.md)
406
+ - [CoboWaas2.ListPaymentOrders200Response](docs/ListPaymentOrders200Response.md)
407
+ - [CoboWaas2.ListSettlementRequests200Response](docs/ListSettlementRequests200Response.md)
371
408
  - [CoboWaas2.ListStakingActivities200Response](docs/ListStakingActivities200Response.md)
372
409
  - [CoboWaas2.ListStakingPools200Response](docs/ListStakingPools200Response.md)
373
410
  - [CoboWaas2.ListStakings200Response](docs/ListStakings200Response.md)
@@ -376,6 +413,9 @@ Class | Method | HTTP request | Description
376
413
  - [CoboWaas2.ListSupportedCountries200ResponseInner](docs/ListSupportedCountries200ResponseInner.md)
377
414
  - [CoboWaas2.ListSupportedTokens200Response](docs/ListSupportedTokens200Response.md)
378
415
  - [CoboWaas2.ListTokenBalancesForAddress200Response](docs/ListTokenBalancesForAddress200Response.md)
416
+ - [CoboWaas2.ListTokenBalancesForFeeStation200Response](docs/ListTokenBalancesForFeeStation200Response.md)
417
+ - [CoboWaas2.ListTokenBalancesForFeeStation200ResponseDataInner](docs/ListTokenBalancesForFeeStation200ResponseDataInner.md)
418
+ - [CoboWaas2.ListTokenListingRequests200Response](docs/ListTokenListingRequests200Response.md)
379
419
  - [CoboWaas2.ListTransactionApprovalDetails200Response](docs/ListTransactionApprovalDetails200Response.md)
380
420
  - [CoboWaas2.ListTransactions200Response](docs/ListTransactions200Response.md)
381
421
  - [CoboWaas2.ListTssRequests200Response](docs/ListTssRequests200Response.md)
@@ -411,6 +451,9 @@ Class | Method | HTTP request | Description
411
451
  - [CoboWaas2.OrderStatus](docs/OrderStatus.md)
412
452
  - [CoboWaas2.OrgInfo](docs/OrgInfo.md)
413
453
  - [CoboWaas2.Pagination](docs/Pagination.md)
454
+ - [CoboWaas2.PaymentOrderEventData](docs/PaymentOrderEventData.md)
455
+ - [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
456
+ - [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
414
457
  - [CoboWaas2.PaymentTransaction](docs/PaymentTransaction.md)
415
458
  - [CoboWaas2.PoolDetails](docs/PoolDetails.md)
416
459
  - [CoboWaas2.PoolDetailsAllOfValidatorsInfo](docs/PoolDetailsAllOfValidatorsInfo.md)
@@ -467,10 +510,12 @@ Class | Method | HTTP request | Description
467
510
  - [CoboWaas2.SubWalletAssetBalance](docs/SubWalletAssetBalance.md)
468
511
  - [CoboWaas2.SubmitDepositTravelRuleInfo201Response](docs/SubmitDepositTravelRuleInfo201Response.md)
469
512
  - [CoboWaas2.SwapActivity](docs/SwapActivity.md)
513
+ - [CoboWaas2.SwapActivityDetail](docs/SwapActivityDetail.md)
470
514
  - [CoboWaas2.SwapActivityStatus](docs/SwapActivityStatus.md)
471
- - [CoboWaas2.SwapActivityType](docs/SwapActivityType.md)
515
+ - [CoboWaas2.SwapActivityTimeline](docs/SwapActivityTimeline.md)
472
516
  - [CoboWaas2.SwapQuote](docs/SwapQuote.md)
473
517
  - [CoboWaas2.SwapToken](docs/SwapToken.md)
518
+ - [CoboWaas2.SwapType](docs/SwapType.md)
474
519
  - [CoboWaas2.TSSGroups](docs/TSSGroups.md)
475
520
  - [CoboWaas2.TSSRequest](docs/TSSRequest.md)
476
521
  - [CoboWaas2.TSSRequestStatus](docs/TSSRequestStatus.md)
@@ -589,9 +634,11 @@ Class | Method | HTTP request | Description
589
634
  - [CoboWaas2.UpdateExchangeWalletParams](docs/UpdateExchangeWalletParams.md)
590
635
  - [CoboWaas2.UpdateGroupAction](docs/UpdateGroupAction.md)
591
636
  - [CoboWaas2.UpdateKeyShareHolderGroupByIdRequest](docs/UpdateKeyShareHolderGroupByIdRequest.md)
637
+ - [CoboWaas2.UpdateMerchantByIdRequest](docs/UpdateMerchantByIdRequest.md)
592
638
  - [CoboWaas2.UpdateMpcProjectByIdRequest](docs/UpdateMpcProjectByIdRequest.md)
593
639
  - [CoboWaas2.UpdateMpcVaultByIdRequest](docs/UpdateMpcVaultByIdRequest.md)
594
640
  - [CoboWaas2.UpdateMpcWalletParams](docs/UpdateMpcWalletParams.md)
641
+ - [CoboWaas2.UpdatePaymentOrderRequest](docs/UpdatePaymentOrderRequest.md)
595
642
  - [CoboWaas2.UpdateSmartContractWalletParams](docs/UpdateSmartContractWalletParams.md)
596
643
  - [CoboWaas2.UpdateWalletParams](docs/UpdateWalletParams.md)
597
644
  - [CoboWaas2.UpdateWebhookEndpointByIdRequest](docs/UpdateWebhookEndpointByIdRequest.md)
@@ -679,9 +726,9 @@ Authentication schemes defined for the API:
679
726
  - webhook.read: Read webhook URLs/events
680
727
  - webhook.edit: Edit webhook URLs
681
728
  - webhook.resend: Resend webhook events
682
- - payment_orders_payin.create: Create payment order
683
- - payment_orders_payin.read: Read payment order information
684
- - payment_orders_payin.update: Update payment order
729
+ - payment_orders_payin.create: Create pay-in order
730
+ - payment_orders_payin.read: Read pay-in order information
731
+ - payment_orders_payin.update: Update pay-in order
685
732
  - payment_orders_refund.create: Create payment refund order
686
733
  - payment_orders_refund.read: Read payment refund order information
687
734
  - payment_settlement.create: Create payment settlement request
package/dist/ApiClient.js CHANGED
@@ -102,7 +102,7 @@ var ApiClient = /*#__PURE__*/function () {
102
102
  * @default {}
103
103
  */
104
104
  this.defaultHeaders = {
105
- 'User-Agent': 'cobo-waas2-js-sdk/1.13.0'
105
+ 'User-Agent': 'cobo-waas2-js-sdk/1.14.0'
106
106
  };
107
107
 
108
108
  /**
@@ -6,8 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
9
+ var _EstimatedFixedFee = _interopRequireDefault(require("../model/EstimatedFixedFee"));
10
+ var _FeeStationTransfer = _interopRequireDefault(require("../model/FeeStationTransfer"));
9
11
  var _ListAddresses200Response = _interopRequireDefault(require("../model/ListAddresses200Response"));
10
- var _ListTokenBalancesForAddress200Response = _interopRequireDefault(require("../model/ListTokenBalancesForAddress200Response"));
12
+ var _ListTokenBalancesForFeeStation200Response = _interopRequireDefault(require("../model/ListTokenBalancesForFeeStation200Response"));
11
13
  var _ListTransactions200Response = _interopRequireDefault(require("../model/ListTransactions200Response"));
12
14
  var _TransactionDetail = _interopRequireDefault(require("../model/TransactionDetail"));
13
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -44,12 +46,53 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
44
46
  }
45
47
 
46
48
  /**
47
- * Get Fee Station transaction information
48
- * This operation retrieves detailed information about a specified Fee Station transaction, such as the transaction status, source address, destination address, and timestamp.
49
- * @param {String} transaction_id The transaction ID.
50
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransactionDetail} and HTTP response
49
+ * Estimate transaction fee
50
+ * This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity. You need to specify the transaction information, including destination address, token ID. The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
51
+ * @param {Object} opts Optional parameters
52
+ * @param {module:model/FeeStationTransfer} [FeeStationTransfer] The information about a token transfer.
53
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EstimatedFixedFee} and HTTP response
51
54
  */
52
55
  return _createClass(FeeStationApi, [{
56
+ key: "estimateFeeStationFeeWithHttpInfo",
57
+ value: function estimateFeeStationFeeWithHttpInfo(opts) {
58
+ opts = opts || {};
59
+ var postBody = opts['FeeStationTransfer'];
60
+ if (postBody && postBody.toJSON) {
61
+ postBody = postBody.toJSON();
62
+ }
63
+ var pathParams = {};
64
+ var queryParams = {};
65
+ var headerParams = {};
66
+ var formParams = {};
67
+ var authNames = ['OAuth2', 'CoboAuth'];
68
+ var contentTypes = ['application/json'];
69
+ var accepts = ['application/json'];
70
+ var returnType = _EstimatedFixedFee["default"];
71
+ return this.apiClient.callApi('/fee_station/transactions/estimate_fee', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
72
+ }
73
+
74
+ /**
75
+ * Estimate transaction fee
76
+ * This operation estimates the transaction fee of a token transfer based on the fee model that the chain uses, considering factors such as network congestion and transaction complexity. You need to specify the transaction information, including destination address, token ID. The response can contain different properties based on the transaction fee model used by the chain. For the legacy, EIP-1559, and UTXO fee models, Cobo also supports three different transaction speed levels: slow, recommended, and fast. For more information about estimating transaction fees, refer to [Estimate transaction fee](https://www.cobo.com/developers/v2/guides/transactions/estimate-fees).
77
+ * @param {Object} opts Optional parameters
78
+ * @param {module:model/FeeStationTransfer} opts.FeeStationTransfer The information about a token transfer.
79
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EstimatedFixedFee}
80
+ */
81
+ }, {
82
+ key: "estimateFeeStationFee",
83
+ value: function estimateFeeStationFee(opts) {
84
+ return this.estimateFeeStationFeeWithHttpInfo(opts).then(function (response_and_data) {
85
+ return response_and_data.data;
86
+ });
87
+ }
88
+
89
+ /**
90
+ * Get Fee Station transaction information
91
+ * This operation retrieves detailed information about a specified Fee Station transaction, such as the transaction status, source address, destination address, and timestamp.
92
+ * @param {String} transaction_id The transaction ID.
93
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransactionDetail} and HTTP response
94
+ */
95
+ }, {
53
96
  key: "getFeeStationTransactionByIdWithHttpInfo",
54
97
  value: function getFeeStationTransactionByIdWithHttpInfo(transaction_id) {
55
98
  var postBody = null;
@@ -235,7 +278,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
235
278
  * @param {Number} [limit = 10)] The maximum number of objects to return. For most operations, the value range is [1, 50].
236
279
  * @param {String} [before] This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned.
237
280
  * @param {String} [after] This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
238
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListTokenBalancesForAddress200Response} and HTTP response
281
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListTokenBalancesForFeeStation200Response} and HTTP response
239
282
  */
240
283
  }, {
241
284
  key: "listTokenBalancesForFeeStationWithHttpInfo",
@@ -257,7 +300,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
257
300
  var authNames = ['OAuth2', 'CoboAuth'];
258
301
  var contentTypes = [];
259
302
  var accepts = ['application/json'];
260
- var returnType = _ListTokenBalancesForAddress200Response["default"];
303
+ var returnType = _ListTokenBalancesForFeeStation200Response["default"];
261
304
  return this.apiClient.callApi('/fee_station/tokens', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
262
305
  }
263
306
 
@@ -269,7 +312,7 @@ var FeeStationApi = exports["default"] = /*#__PURE__*/function () {
269
312
  * @param {Number} opts.limit The maximum number of objects to return. For most operations, the value range is [1, 50]. (default to 10)
270
313
  * @param {String} opts.before This parameter specifies an object ID as a starting point for pagination, retrieving data before the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `before` to the ID of Object C (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object A. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set it to `infinity`, the last page of data is returned.
271
314
  * @param {String} opts.after This parameter specifies an object ID as a starting point for pagination, retrieving data after the specified object relative to the current dataset. Suppose the current data is ordered as Object A, Object B, and Object C. If you set `after` to the ID of Object A (`RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`), the response will include Object B and Object C. **Notes**: - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned.
272
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListTokenBalancesForAddress200Response}
315
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListTokenBalancesForFeeStation200Response}
273
316
  */
274
317
  }, {
275
318
  key: "listTokenBalancesForFeeStation",