@cobo/cobo-waas2 1.26.0 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +64 -4
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/DevelopersWebhooksApi.js +2 -2
  4. package/dist/api/PaymentApi.js +1298 -200
  5. package/dist/api/TransactionsApi.js +2 -2
  6. package/dist/index.js +266 -7
  7. package/dist/model/BankAccountStatus.js +66 -0
  8. package/dist/model/ContractCallDestination.js +38 -10
  9. package/dist/model/ContractCallDestinationType.js +5 -0
  10. package/dist/model/Counterparty.js +195 -0
  11. package/dist/model/CounterpartyDetail.js +228 -0
  12. package/dist/model/CounterpartyType.js +61 -0
  13. package/dist/model/CounterpartyWalletAddressDetail.js +192 -0
  14. package/dist/model/CreateCounterpartyRequest.js +193 -0
  15. package/dist/model/CreateCounterpartyWalletAddressRequest.js +140 -0
  16. package/dist/model/CreateDestinationBankAccount.js +257 -0
  17. package/dist/model/CreateDestinationBankAccountRequest.js +272 -0
  18. package/dist/model/CreateDestinationRequest.js +235 -0
  19. package/dist/model/CreateDestinationWalletAddressRequest.js +140 -0
  20. package/dist/model/CreateKeyShareHolder.js +1 -1
  21. package/dist/model/CreatePaymentOrderRequest.js +2 -2
  22. package/dist/model/CreateSettlement.js +13 -0
  23. package/dist/model/{ReceivedAmountPerAddress.js → CreateWalletAddress.js} +31 -32
  24. package/dist/model/DeleteCounterparty200Response.js +110 -0
  25. package/dist/model/DeleteCounterpartyWalletAddress200Response.js +110 -0
  26. package/dist/model/DeleteDestination200Response.js +110 -0
  27. package/dist/model/DeleteDestinationBankAccount200Response.js +110 -0
  28. package/dist/model/DeleteDestinationWalletAddress200Response.js +110 -0
  29. package/dist/model/Destination.js +208 -0
  30. package/dist/model/DestinationBankAccount.js +301 -0
  31. package/dist/model/DestinationBankAccountDetail.js +394 -0
  32. package/dist/model/DestinationDetail.js +272 -0
  33. package/dist/model/DestinationType.js +61 -0
  34. package/dist/model/DestinationWalletAddressDetail.js +205 -0
  35. package/dist/model/EnableDestinationWhitelistRequest.js +106 -0
  36. package/dist/model/EvmContractCallDestination.js +2 -2
  37. package/dist/model/ExchangeRate.js +140 -0
  38. package/dist/model/IntermediaryBankInfo.js +140 -0
  39. package/dist/model/Link.js +4 -4
  40. package/dist/model/LinkDisplayInfo.js +2 -2
  41. package/dist/model/ListCounterparties200Response.js +123 -0
  42. package/dist/model/ListCounterpartyWalletAddress200Response.js +123 -0
  43. package/dist/model/ListDestinationBankAccounts200Response.js +123 -0
  44. package/dist/model/ListDestinationWalletAddresses200Response.js +123 -0
  45. package/dist/model/ListDestinations200Response.js +123 -0
  46. package/dist/model/PaymentTransaction.js +32 -0
  47. package/dist/model/PaymentTransactionEventData.js +2 -2
  48. package/dist/model/QueryDestinationWhitelistEnabled200Response.js +106 -0
  49. package/dist/model/RefundLinkBusinessInfo.js +6 -6
  50. package/dist/model/SettlementDetail.js +13 -0
  51. package/dist/model/SwapActivityTimeline.js +1 -1
  52. package/dist/model/Transaction.js +1 -1
  53. package/dist/model/TransactionDestination.js +38 -10
  54. package/dist/model/TransactionDestinationType.js +5 -0
  55. package/dist/model/TransactionDetail.js +2 -2
  56. package/dist/model/TransactionDetails.js +2 -2
  57. package/dist/model/TransactionTronContractDestination.js +150 -0
  58. package/dist/model/TransactionWebhookEventData.js +2 -2
  59. package/dist/model/TronContractCallDestination.js +150 -0
  60. package/dist/model/UpdateCounterpartyByIdRequest.js +160 -0
  61. package/dist/model/UpdateDestinationBankAccount.js +257 -0
  62. package/dist/model/UpdateDestinationByIdRequest.js +173 -0
  63. package/dist/model/WalletAddress.js +151 -0
  64. package/dist/model/WebhookEventData.js +1 -1
  65. package/docs/BankAccountStatus.md +14 -0
  66. package/docs/ContractCallDestination.md +2 -2
  67. package/docs/ContractCallDestinationType.md +2 -0
  68. package/docs/Counterparty.md +16 -0
  69. package/docs/CounterpartyDetail.md +17 -0
  70. package/docs/CounterpartyType.md +12 -0
  71. package/docs/CounterpartyWalletAddressDetail.md +15 -0
  72. package/docs/CreateCounterpartyRequest.md +14 -0
  73. package/docs/CreateCounterpartyWalletAddressRequest.md +11 -0
  74. package/docs/CreateDestinationBankAccount.md +19 -0
  75. package/docs/CreateDestinationBankAccountRequest.md +20 -0
  76. package/docs/CreateDestinationRequest.md +16 -0
  77. package/docs/CreateDestinationWalletAddressRequest.md +11 -0
  78. package/docs/CreateKeyShareHolder.md +1 -1
  79. package/docs/CreatePaymentOrderRequest.md +1 -1
  80. package/docs/CreateSettlement.md +1 -0
  81. package/docs/CreateWalletAddress.md +10 -0
  82. package/docs/DeleteCounterparty200Response.md +9 -0
  83. package/docs/DeleteCounterpartyWalletAddress200Response.md +9 -0
  84. package/docs/DeleteDestination200Response.md +9 -0
  85. package/docs/DeleteDestinationBankAccount200Response.md +9 -0
  86. package/docs/DeleteDestinationWalletAddress200Response.md +9 -0
  87. package/docs/Destination.md +17 -0
  88. package/docs/DestinationBankAccount.md +23 -0
  89. package/docs/DestinationBankAccountDetail.md +30 -0
  90. package/docs/DestinationDetail.md +19 -0
  91. package/docs/DestinationType.md +12 -0
  92. package/docs/DestinationWalletAddressDetail.md +16 -0
  93. package/docs/DevelopersWebhooksApi.md +1 -1
  94. package/docs/EnableDestinationWhitelistRequest.md +9 -0
  95. package/docs/EvmContractCallDestination.md +1 -1
  96. package/docs/ExchangeRate.md +11 -0
  97. package/docs/IntermediaryBankInfo.md +11 -0
  98. package/docs/Link.md +2 -2
  99. package/docs/LinkDisplayInfo.md +2 -2
  100. package/docs/ListCounterparties200Response.md +10 -0
  101. package/docs/ListCounterpartyWalletAddress200Response.md +10 -0
  102. package/docs/ListDestinationBankAccounts200Response.md +10 -0
  103. package/docs/ListDestinationWalletAddresses200Response.md +10 -0
  104. package/docs/ListDestinations200Response.md +10 -0
  105. package/docs/PaymentApi.md +1459 -208
  106. package/docs/PaymentTransaction.md +2 -0
  107. package/docs/PaymentTransactionEventData.md +1 -1
  108. package/docs/QueryDestinationWhitelistEnabled200Response.md +9 -0
  109. package/docs/RefundLinkBusinessInfo.md +4 -4
  110. package/docs/SettlementDetail.md +1 -0
  111. package/docs/SwapActivityTimeline.md +1 -1
  112. package/docs/Transaction.md +1 -1
  113. package/docs/TransactionDestination.md +2 -2
  114. package/docs/TransactionDestinationType.md +2 -0
  115. package/docs/TransactionDetail.md +1 -1
  116. package/docs/TransactionDetails.md +1 -1
  117. package/docs/TransactionTronContractDestination.md +12 -0
  118. package/docs/TransactionWebhookEventData.md +1 -1
  119. package/docs/TransactionsApi.md +1 -1
  120. package/docs/TronContractCallDestination.md +12 -0
  121. package/docs/UpdateCounterpartyByIdRequest.md +13 -0
  122. package/docs/UpdateDestinationBankAccount.md +19 -0
  123. package/docs/UpdateDestinationByIdRequest.md +14 -0
  124. package/docs/WalletAddress.md +12 -0
  125. package/docs/WebhookEventData.md +1 -1
  126. package/package.json +1 -1
  127. package/docs/ReceivedAmountPerAddress.md +0 -10
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.ExchangeRate
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **token_id** | **String** | The token ID, which identifies the cryptocurrency. |
8
+ **currency** | **String** | The fiat currency. |
9
+ **rate** | **String** | The current exchange rate between the specified currency pair. Expressed as the amount of fiat currency per one unit of cryptocurrency. For example, if the cryptocurrency is USDT and the fiat currency is USD, a rate of \"0.99\" means 1 USDT = 0.99 USD. |
10
+
11
+
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.IntermediaryBankInfo
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **bank_name** | **String** | The name of the intermediary bank. |
8
+ **bank_address** | **String** | The address of the intermediary bank. |
9
+ **bank_swift_code** | **String** | The SWIFT or BIC code of the intermediary bank. |
10
+
11
+
package/docs/Link.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **url** | **String** | The base URL of the payment page. This URL should be combined with the `token` parameter to form the complete payment link. |
8
- **token** | **String** | The unique payment token that should be appended to the URL as a query parameter. This token authenticates and identifies the specific payment session. The complete payment link should be constructed as: `[url]?token=[token]` |
7
+ **url** | **String** | The base URL of the page. This URL should be combined with the `token` parameter to form the complete link. |
8
+ **token** | **String** | The token appended to the URL as a query parameter. This token identifies and authenticates a specific payment or refund session. The complete link should be constructed as: `[url]?token=[token]` |
9
9
 
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **developer_name** | **String** | The brand name to display to end users during the payment process. | [optional]
8
- **logo** | **String** | The URL of your logo image to display to end users during the payment process. | [optional]
7
+ **developer_name** | **String** | The brand name to display to end users on the page. This helps users identify who is providing the payment service. | [optional]
8
+ **logo** | **String** | The URL of the logo image to display to end users on the page. | [optional]
9
9
 
10
10
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListCounterparties200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[Counterparty]**](Counterparty.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListCounterpartyWalletAddress200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[CounterpartyWalletAddressDetail]**](CounterpartyWalletAddressDetail.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListDestinationBankAccounts200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[DestinationBankAccountDetail]**](DestinationBankAccountDetail.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListDestinationWalletAddresses200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[DestinationWalletAddressDetail]**](DestinationWalletAddressDetail.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListDestinations200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[Destination]**](Destination.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+