@cobo/cobo-waas2 1.30.0 → 1.32.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 (105) hide show
  1. package/README.md +9 -36
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AutoSweepApi.js +4 -4
  4. package/dist/api/FeeStationApi.js +4 -4
  5. package/dist/api/PaymentApi.js +76 -929
  6. package/dist/api/TransactionsApi.js +4 -4
  7. package/dist/api/WalletsApi.js +83 -0
  8. package/dist/index.js +35 -105
  9. package/dist/model/Balance.js +14 -0
  10. package/dist/model/BridgingFee.js +9 -0
  11. package/dist/model/ContractCallParams.js +16 -0
  12. package/dist/model/CreateDestinationBankAccount.js +26 -0
  13. package/dist/model/CreatePaymentOrderRequest.js +4 -3
  14. package/dist/model/CreateTopUpAddresses.js +2 -2
  15. package/dist/model/CreateWalletAddress.js +2 -2
  16. package/dist/model/DestinationBankAccount.js +26 -0
  17. package/dist/model/DestinationBankAccountDetail.js +26 -0
  18. package/dist/model/IntermediaryBankInfo.js +4 -6
  19. package/dist/model/MerchantBalance.js +4 -6
  20. package/dist/model/PaymentBridgeStatus.js +61 -0
  21. package/dist/model/PaymentBulkSendItem.js +9 -9
  22. package/dist/model/PaymentPayout.js +35 -4
  23. package/dist/model/PaymentPayoutDetail.js +49 -13
  24. package/dist/model/PaymentPayoutEvent.js +49 -13
  25. package/dist/model/PreCheck.js +89 -0
  26. package/dist/model/ReportType.js +5 -0
  27. package/dist/model/SkipCheckType.js +56 -0
  28. package/dist/model/SupportedToken.js +17 -17
  29. package/dist/model/TransactionDepositToAddressDestinationTxInfo.js +26 -0
  30. package/dist/model/TransactionRawTxInfo.js +32 -1
  31. package/dist/model/TransactionSelectedUtxo.js +39 -0
  32. package/dist/model/TransactionUtxoChange.js +13 -0
  33. package/dist/model/TransferParams.js +16 -0
  34. package/dist/model/TriggerTestPaymentWebhookEventResponse.js +83 -0
  35. package/dist/model/{QueryDestinationWhitelistEnabled200Response.js → TriggerTestPaymentsWebhookEventRequest.js} +35 -26
  36. package/dist/model/UTXO.js +48 -0
  37. package/dist/model/UpdateDestinationBankAccount.js +26 -0
  38. package/dist/model/WebhookEventData.js +6 -0
  39. package/dist/model/WebhookEventType.js +25 -0
  40. package/docs/AutoSweepApi.md +2 -2
  41. package/docs/Balance.md +1 -0
  42. package/docs/BridgingFee.md +1 -0
  43. package/docs/ContractCallParams.md +1 -0
  44. package/docs/CreateDestinationBankAccount.md +2 -0
  45. package/docs/CreatePaymentOrderRequest.md +2 -2
  46. package/docs/CreateTopUpAddresses.md +1 -1
  47. package/docs/CreateWalletAddress.md +1 -1
  48. package/docs/DestinationBankAccount.md +2 -0
  49. package/docs/DestinationBankAccountDetail.md +2 -0
  50. package/docs/FeeStationApi.md +2 -2
  51. package/docs/IntermediaryBankInfo.md +1 -1
  52. package/docs/MerchantBalance.md +1 -1
  53. package/docs/PaymentApi.md +185 -1153
  54. package/docs/PaymentBridgeStatus.md +12 -0
  55. package/docs/PaymentBulkSendItem.md +5 -5
  56. package/docs/PaymentPayout.md +2 -1
  57. package/docs/PaymentPayoutDetail.md +2 -1
  58. package/docs/PaymentPayoutEvent.md +2 -1
  59. package/docs/PreCheck.md +9 -0
  60. package/docs/ReportType.md +2 -0
  61. package/docs/SkipCheckType.md +10 -0
  62. package/docs/SupportedToken.md +10 -10
  63. package/docs/TransactionDepositToAddressDestinationTxInfo.md +2 -0
  64. package/docs/TransactionRawTxInfo.md +2 -1
  65. package/docs/TransactionSelectedUtxo.md +3 -0
  66. package/docs/TransactionUtxoChange.md +1 -0
  67. package/docs/TransactionsApi.md +2 -2
  68. package/docs/TransferParams.md +1 -0
  69. package/docs/TriggerTestPaymentWebhookEventResponse.md +9 -0
  70. package/docs/TriggerTestPaymentsWebhookEventRequest.md +10 -0
  71. package/docs/UTXO.md +4 -0
  72. package/docs/UpdateDestinationBankAccount.md +2 -0
  73. package/docs/WalletsApi.md +71 -0
  74. package/docs/WebhookEventData.md +1 -0
  75. package/docs/WebhookEventType.md +10 -0
  76. package/package.json +1 -1
  77. package/dist/model/CreateCounterpartyWalletAddressRequest.js +0 -140
  78. package/dist/model/CreateDestinationBankAccountRequest.js +0 -272
  79. package/dist/model/CreateDestinationWalletAddressRequest.js +0 -140
  80. package/dist/model/DeleteCounterparty200Response.js +0 -110
  81. package/dist/model/DeleteCounterpartyWalletAddress200Response.js +0 -110
  82. package/dist/model/DeleteDestination200Response.js +0 -110
  83. package/dist/model/DeleteDestinationBankAccount200Response.js +0 -110
  84. package/dist/model/DeleteDestinationWalletAddress200Response.js +0 -110
  85. package/dist/model/EnableDestinationWhitelistRequest.js +0 -106
  86. package/dist/model/ListCounterpartyWalletAddress200Response.js +0 -123
  87. package/dist/model/ListDestinationBankAccounts200Response.js +0 -123
  88. package/dist/model/ListDestinationWalletAddresses200Response.js +0 -123
  89. package/dist/model/UpdateCounterpartyByIdRequest.js +0 -160
  90. package/dist/model/UpdateDestinationByIdRequest.js +0 -173
  91. package/docs/CreateCounterpartyWalletAddressRequest.md +0 -11
  92. package/docs/CreateDestinationBankAccountRequest.md +0 -20
  93. package/docs/CreateDestinationWalletAddressRequest.md +0 -11
  94. package/docs/DeleteCounterparty200Response.md +0 -9
  95. package/docs/DeleteCounterpartyWalletAddress200Response.md +0 -9
  96. package/docs/DeleteDestination200Response.md +0 -9
  97. package/docs/DeleteDestinationBankAccount200Response.md +0 -9
  98. package/docs/DeleteDestinationWalletAddress200Response.md +0 -9
  99. package/docs/EnableDestinationWhitelistRequest.md +0 -9
  100. package/docs/ListCounterpartyWalletAddress200Response.md +0 -10
  101. package/docs/ListDestinationBankAccounts200Response.md +0 -10
  102. package/docs/ListDestinationWalletAddresses200Response.md +0 -10
  103. package/docs/QueryDestinationWhitelistEnabled200Response.md +0 -9
  104. package/docs/UpdateCounterpartyByIdRequest.md +0 -13
  105. package/docs/UpdateDestinationByIdRequest.md +0 -14
@@ -1,9 +0,0 @@
1
- # CoboWaas2.DeleteDestination200Response
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **destination_id** | **String** | The destination ID. |
8
-
9
-
@@ -1,9 +0,0 @@
1
- # CoboWaas2.DeleteDestinationBankAccount200Response
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **bank_account_id** | **String** | The destination bank account ID. |
8
-
9
-
@@ -1,9 +0,0 @@
1
- # CoboWaas2.DeleteDestinationWalletAddress200Response
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **wallet_address_id** | **String** | The wallet address ID under the destination. |
8
-
9
-
@@ -1,9 +0,0 @@
1
- # CoboWaas2.EnableDestinationWhitelistRequest
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **enable_destination_whitelist** | **Boolean** | Indicates whether to enable the destination whitelist. |
8
-
9
-
@@ -1,10 +0,0 @@
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
-
@@ -1,10 +0,0 @@
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
-
@@ -1,10 +0,0 @@
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
-
@@ -1,9 +0,0 @@
1
- # CoboWaas2.QueryDestinationWhitelistEnabled200Response
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **enable_destination_whitelist** | **Boolean** | Indicates whether the destination whitelist is enabled. |
8
-
9
-
@@ -1,13 +0,0 @@
1
- # CoboWaas2.UpdateCounterpartyByIdRequest
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **counterparty_name** | **String** | The counterparty name. |
8
- **counterparty_type** | [**CounterpartyType**](CounterpartyType.md) | |
9
- **country** | **String** | The country of the counterparty, in ISO 3166-1 alpha-3 format. | [optional]
10
- **email** | **String** | The email of the counterparty. | [optional]
11
- **contact_address** | **String** | The contact address of the counterparty. | [optional]
12
-
13
-
@@ -1,14 +0,0 @@
1
- # CoboWaas2.UpdateDestinationByIdRequest
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **destination_name** | **String** | The destination name. |
8
- **destination_type** | [**DestinationType**](DestinationType.md) | |
9
- **merchant_id** | **String** | The ID of the merchant linked to the destination. | [optional]
10
- **country** | **String** | The country of the destination, in ISO 3166-1 alpha-3 format. | [optional]
11
- **email** | **String** | The email of the destination. | [optional]
12
- **contact_address** | **String** | The contact address of the destination. | [optional]
13
-
14
-