@cobo/cobo-waas2 1.29.0 → 1.30.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 (132) hide show
  1. package/README.md +24 -9
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/ComplianceApi.js +2 -2
  4. package/dist/api/GraphQLApi.js +85 -0
  5. package/dist/api/PaymentApi.js +218 -86
  6. package/dist/api/SwapsApi.js +3 -0
  7. package/dist/api/WalletsApi.js +18 -18
  8. package/dist/index.js +112 -28
  9. package/dist/model/AddressesEventData.js +8 -3
  10. package/dist/model/{AllocationRecord.js → AllocationItem.js} +42 -42
  11. package/dist/model/{AllocationRequest.js → AllocationParam.js} +33 -33
  12. package/dist/model/BalanceUpdateInfoEventData.js +8 -3
  13. package/dist/model/BatchAllocation.js +11 -11
  14. package/dist/model/BatchAllocationDetail.js +15 -17
  15. package/dist/model/BridgingFee.js +3 -3
  16. package/dist/model/ChainsEventData.js +8 -3
  17. package/dist/model/ComplianceDispositionUpdateEventData.js +8 -3
  18. package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +8 -3
  19. package/dist/model/ComplianceKytScreeningsUpdateEventData.js +8 -3
  20. package/dist/model/ContractCallParams.js +1 -1
  21. package/dist/model/CreateBatchAllocationRequest.js +17 -17
  22. package/dist/model/CreateBulkSendRequest.js +167 -0
  23. package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +153 -0
  24. package/dist/model/CreateKyaScreeningsBody.js +3 -3
  25. package/dist/model/CreatePaymentOrderRequest.js +7 -5
  26. package/dist/model/CreatePayoutRequest.js +33 -26
  27. package/dist/model/CreateTopUpAddresses.js +139 -0
  28. package/dist/model/CreateTopUpAddresses201Response.js +107 -0
  29. package/dist/model/{ListAllocations200Response.js → ListAllocationItems200Response.js} +22 -22
  30. package/dist/model/{ListPayoutItems200Response.js → ListBulkSendItems200Response.js} +22 -22
  31. package/dist/model/MPCVaultEventData.js +8 -3
  32. package/dist/model/OrderLinkBusinessInfo.js +10 -4
  33. package/dist/model/PaymentAddressUpdateEventData.js +8 -3
  34. package/dist/model/PaymentBulkSend.js +182 -0
  35. package/dist/model/PaymentBulkSendEvent.js +359 -0
  36. package/dist/model/PaymentBulkSendExecutionMode.js +61 -0
  37. package/dist/model/PaymentBulkSendItem.js +190 -0
  38. package/dist/model/{PaymentPayoutItemStatus.js → PaymentBulkSendItemStatus.js} +11 -11
  39. package/dist/model/PaymentBulkSendItemValidationStatus.js +66 -0
  40. package/dist/model/PaymentBulkSendStatus.js +81 -0
  41. package/dist/model/PaymentEstimateFeeRequest.js +13 -0
  42. package/dist/model/PaymentFeeType.js +15 -0
  43. package/dist/model/PaymentOrderEventData.js +8 -3
  44. package/dist/model/PaymentPayout.js +64 -46
  45. package/dist/model/PaymentPayoutDetail.js +166 -52
  46. package/dist/model/PaymentPayoutEvent.js +149 -82
  47. package/dist/model/PaymentPayoutItem.js +9 -167
  48. package/dist/model/PaymentPayoutParam.js +6 -47
  49. package/dist/model/PaymentPayoutRecipientInfo.js +126 -0
  50. package/dist/model/PaymentPayoutStatus.js +9 -4
  51. package/dist/model/PaymentRefundEventData.js +8 -3
  52. package/dist/model/PaymentSettlementEvent.js +8 -3
  53. package/dist/model/PaymentTransactionEventData.js +8 -3
  54. package/dist/model/SuspendedTokenEventData.js +8 -3
  55. package/dist/model/TSSRequestWebhookEventData.js +8 -3
  56. package/dist/model/TokenListingEventData.js +8 -3
  57. package/dist/model/TokensEventData.js +8 -3
  58. package/dist/model/TransactionCoboCategory.js +5 -0
  59. package/dist/model/TransactionExtraType.js +5 -0
  60. package/dist/model/TransactionWalletConnectInfo.js +146 -0
  61. package/dist/model/TransactionWebhookEventData.js +8 -3
  62. package/dist/model/WalletInfoEventData.js +8 -3
  63. package/dist/model/WebhookEventData.js +76 -17
  64. package/dist/model/WebhookEventDataType.js +7 -2
  65. package/dist/model/WebhookEventType.js +10 -0
  66. package/docs/AddressesEventData.md +3 -1
  67. package/docs/AllocationItem.md +15 -0
  68. package/docs/AllocationParam.md +13 -0
  69. package/docs/BalanceUpdateInfoEventData.md +3 -1
  70. package/docs/BatchAllocation.md +1 -1
  71. package/docs/BatchAllocationDetail.md +1 -1
  72. package/docs/BridgingFee.md +2 -2
  73. package/docs/ChainsEventData.md +3 -1
  74. package/docs/ComplianceApi.md +1 -1
  75. package/docs/ComplianceDispositionUpdateEventData.md +3 -1
  76. package/docs/ComplianceKyaScreeningsUpdateEventData.md +3 -1
  77. package/docs/ComplianceKytScreeningsUpdateEventData.md +3 -1
  78. package/docs/ContractCallParams.md +1 -1
  79. package/docs/CreateBatchAllocationRequest.md +1 -1
  80. package/docs/CreateBulkSendRequest.md +12 -0
  81. package/docs/CreateBulkSendRequestPayoutParamsInner.md +12 -0
  82. package/docs/CreateKyaScreeningsBody.md +1 -1
  83. package/docs/CreatePaymentOrderRequest.md +2 -2
  84. package/docs/CreatePayoutRequest.md +3 -3
  85. package/docs/CreateTopUpAddresses.md +11 -0
  86. package/docs/CreateTopUpAddresses201Response.md +9 -0
  87. package/docs/GraphQLApi.md +61 -0
  88. package/docs/{ListAllocations200Response.md → ListAllocationItems200Response.md} +2 -2
  89. package/docs/{ListPayoutItems200Response.md → ListBulkSendItems200Response.md} +2 -2
  90. package/docs/MPCVaultEventData.md +3 -1
  91. package/docs/OrderLinkBusinessInfo.md +3 -3
  92. package/docs/PaymentAddressUpdateEventData.md +3 -1
  93. package/docs/PaymentApi.md +231 -76
  94. package/docs/PaymentBulkSend.md +15 -0
  95. package/docs/PaymentBulkSendEvent.md +65 -0
  96. package/docs/PaymentBulkSendExecutionMode.md +12 -0
  97. package/docs/PaymentBulkSendItem.md +15 -0
  98. package/docs/{PaymentPayoutItemStatus.md → PaymentBulkSendItemStatus.md} +3 -3
  99. package/docs/PaymentBulkSendItemValidationStatus.md +14 -0
  100. package/docs/PaymentBulkSendStatus.md +20 -0
  101. package/docs/PaymentEstimateFeeRequest.md +1 -0
  102. package/docs/PaymentFeeType.md +6 -0
  103. package/docs/PaymentOrderEventData.md +3 -1
  104. package/docs/PaymentPayout.md +8 -7
  105. package/docs/PaymentPayoutDetail.md +10 -8
  106. package/docs/PaymentPayoutEvent.md +13 -9
  107. package/docs/PaymentPayoutItem.md +2 -13
  108. package/docs/PaymentPayoutParam.md +1 -4
  109. package/docs/PaymentPayoutRecipientInfo.md +12 -0
  110. package/docs/PaymentPayoutStatus.md +4 -2
  111. package/docs/PaymentRefundEventData.md +3 -1
  112. package/docs/PaymentSettlementEvent.md +3 -1
  113. package/docs/PaymentTransactionEventData.md +3 -1
  114. package/docs/SuspendedTokenEventData.md +3 -1
  115. package/docs/SwapsApi.md +2 -0
  116. package/docs/TSSRequestWebhookEventData.md +3 -1
  117. package/docs/TokenListingEventData.md +3 -1
  118. package/docs/TokensEventData.md +3 -1
  119. package/docs/TransactionCoboCategory.md +2 -0
  120. package/docs/TransactionExtraType.md +2 -0
  121. package/docs/TransactionWalletConnectInfo.md +12 -0
  122. package/docs/TransactionWebhookEventData.md +3 -1
  123. package/docs/WalletInfoEventData.md +3 -1
  124. package/docs/WalletsApi.md +9 -9
  125. package/docs/WebhookEventData.md +15 -8
  126. package/docs/WebhookEventDataType.md +3 -1
  127. package/docs/WebhookEventType.md +4 -0
  128. package/package.json +1 -1
  129. package/dist/model/PaymentPayoutItemDetail.js +0 -299
  130. package/docs/AllocationRecord.md +0 -15
  131. package/docs/AllocationRequest.md +0 -13
  132. package/docs/PaymentPayoutItemDetail.md +0 -22
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.29.0
18
+ - Package version: 1.30.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)
@@ -111,6 +111,7 @@ Class | Method | HTTP request | Description
111
111
  *CoboWaas2.FeeStationApi* | [**listFeeStationAddresses**](docs/FeeStationApi.md#listFeeStationAddresses) | **GET** /fee_station/addresses | List Fee Station addresses
112
112
  *CoboWaas2.FeeStationApi* | [**listFeeStationTransactions**](docs/FeeStationApi.md#listFeeStationTransactions) | **GET** /fee_station/transactions | List all Fee Station transactions
113
113
  *CoboWaas2.FeeStationApi* | [**listTokenBalancesForFeeStation**](docs/FeeStationApi.md#listTokenBalancesForFeeStation) | **GET** /fee_station/tokens | List Fee Station token balances
114
+ *CoboWaas2.GraphQLApi* | [**executeGraphql**](docs/GraphQLApi.md#executeGraphql) | **POST** /graphql | Execute a GraphQL query or mutation
114
115
  *CoboWaas2.OAuthApi* | [**exchangePermissionToken**](docs/OAuthApi.md#exchangePermissionToken) | **POST** /oauth/permission_token/exchange | Get Access Token
115
116
  *CoboWaas2.OAuthApi* | [**getToken**](docs/OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
116
117
  *CoboWaas2.OAuthApi* | [**refreshPermissionToken**](docs/OAuthApi.md#refreshPermissionToken) | **POST** /oauth/permission_token/refresh | Refresh Access Token
@@ -119,6 +120,7 @@ Class | Method | HTTP request | Description
119
120
  *CoboWaas2.PaymentApi* | [**batchGetExchangeRates**](docs/PaymentApi.md#batchGetExchangeRates) | **GET** /payments/exchange_rates | Batch get exchange rates
120
121
  *CoboWaas2.PaymentApi* | [**cancelRefundById**](docs/PaymentApi.md#cancelRefundById) | **PUT** /payments/refunds/{refund_id}/cancel | Cancel refund order
121
122
  *CoboWaas2.PaymentApi* | [**createBatchAllocation**](docs/PaymentApi.md#createBatchAllocation) | **POST** /payments/batch_allocations | Create batch allocation
123
+ *CoboWaas2.PaymentApi* | [**createBulkSend**](docs/PaymentApi.md#createBulkSend) | **POST** /payments/bulk_sends | Create bulk send
122
124
  *CoboWaas2.PaymentApi* | [**createCounterparty**](docs/PaymentApi.md#createCounterparty) | **POST** /payments/counterparty | Create counterparty
123
125
  *CoboWaas2.PaymentApi* | [**createCounterpartyEntry**](docs/PaymentApi.md#createCounterpartyEntry) | **POST** /payments/counterparty_entry | Create counterparty entry
124
126
  *CoboWaas2.PaymentApi* | [**createCounterpartyWalletAddress**](docs/PaymentApi.md#createCounterpartyWalletAddress) | **POST** /payments/counterparty/wallet_address | Create counterparty wallet address
@@ -136,6 +138,7 @@ Class | Method | HTTP request | Description
136
138
  *CoboWaas2.PaymentApi* | [**createRefundLink**](docs/PaymentApi.md#createRefundLink) | **POST** /payments/links/refunds | Create refund link
137
139
  *CoboWaas2.PaymentApi* | [**createReport**](docs/PaymentApi.md#createReport) | **POST** /payments/reports | Generate reports
138
140
  *CoboWaas2.PaymentApi* | [**createSettlementRequest**](docs/PaymentApi.md#createSettlementRequest) | **POST** /payments/settlement_requests | Create settlement request
141
+ *CoboWaas2.PaymentApi* | [**createTopUpAddresses**](docs/PaymentApi.md#createTopUpAddresses) | **POST** /payments/topup/address | Batch create top-up addresses
139
142
  *CoboWaas2.PaymentApi* | [**deleteCounterparty**](docs/PaymentApi.md#deleteCounterparty) | **PUT** /payments/counterparty/{counterparty_id}/delete | Delete counterparty (Deprecated)
140
143
  *CoboWaas2.PaymentApi* | [**deleteCounterpartyById**](docs/PaymentApi.md#deleteCounterpartyById) | **DELETE** /payments/counterparty/{counterparty_id} | Delete counterparty
141
144
  *CoboWaas2.PaymentApi* | [**deleteCounterpartyEntry**](docs/PaymentApi.md#deleteCounterpartyEntry) | **DELETE** /payments/counterparty_entry/{counterparty_entry_id} | Delete counterparty entry
@@ -149,6 +152,7 @@ Class | Method | HTTP request | Description
149
152
  *CoboWaas2.PaymentApi* | [**enableDestinationWhitelist**](docs/PaymentApi.md#enableDestinationWhitelist) | **POST** /payments/destination/enable_whitelist | Enable or disable destination whitelist
150
153
  *CoboWaas2.PaymentApi* | [**getAvailableAllocationAmount**](docs/PaymentApi.md#getAvailableAllocationAmount) | **GET** /payments/allocation_amount | Get available allocation amount
151
154
  *CoboWaas2.PaymentApi* | [**getBatchAllocationById**](docs/PaymentApi.md#getBatchAllocationById) | **GET** /payments/batch_allocations/{batch_allocation_id} | Get batch allocation information
155
+ *CoboWaas2.PaymentApi* | [**getBulkSendById**](docs/PaymentApi.md#getBulkSendById) | **GET** /payments/bulk_sends/{bulk_send_id} | Get bulk send information
152
156
  *CoboWaas2.PaymentApi* | [**getCounterparty**](docs/PaymentApi.md#getCounterparty) | **GET** /payments/counterparty/{counterparty_id} | Get counterparty information
153
157
  *CoboWaas2.PaymentApi* | [**getCounterpartyDetailById**](docs/PaymentApi.md#getCounterpartyDetailById) | **GET** /payments/counterparty/{counterparty_id}/detail | Get counterparty information (Deprecated)
154
158
  *CoboWaas2.PaymentApi* | [**getCounterpartyEntry**](docs/PaymentApi.md#getCounterpartyEntry) | **GET** /payments/counterparty_entry/{counterparty_entry_id} | Get counterparty entry information
@@ -166,9 +170,10 @@ Class | Method | HTTP request | Description
166
170
  *CoboWaas2.PaymentApi* | [**getSettlementById**](docs/PaymentApi.md#getSettlementById) | **GET** /payments/settlement_requests/{settlement_request_id} | Get settlement request information
167
171
  *CoboWaas2.PaymentApi* | [**getSettlementInfoByIds**](docs/PaymentApi.md#getSettlementInfoByIds) | **GET** /payments/settlement_info | Get withdrawable balances
168
172
  *CoboWaas2.PaymentApi* | [**getTopUpAddress**](docs/PaymentApi.md#getTopUpAddress) | **GET** /payments/topup/address | Create/Get top-up address
169
- *CoboWaas2.PaymentApi* | [**listAllocations**](docs/PaymentApi.md#listAllocations) | **GET** /payments/allocation_records | List all allocation records
173
+ *CoboWaas2.PaymentApi* | [**listAllocationItems**](docs/PaymentApi.md#listAllocationItems) | **GET** /payments/allocation_items | List all allocation items
170
174
  *CoboWaas2.PaymentApi* | [**listBankAccounts**](docs/PaymentApi.md#listBankAccounts) | **GET** /payments/bank_accounts | List all bank accounts
171
175
  *CoboWaas2.PaymentApi* | [**listBatchAllocations**](docs/PaymentApi.md#listBatchAllocations) | **GET** /payments/batch_allocations | List all batch allocations
176
+ *CoboWaas2.PaymentApi* | [**listBulkSendItems**](docs/PaymentApi.md#listBulkSendItems) | **GET** /payments/bulk_sends/{bulk_send_id}/items | List bulk send items
172
177
  *CoboWaas2.PaymentApi* | [**listCounterparties**](docs/PaymentApi.md#listCounterparties) | **GET** /payments/counterparty | List all counterparties
173
178
  *CoboWaas2.PaymentApi* | [**listCounterpartyEntries**](docs/PaymentApi.md#listCounterpartyEntries) | **GET** /payments/counterparty_entry | List counterparty entries
174
179
  *CoboWaas2.PaymentApi* | [**listCounterpartyWalletAddress**](docs/PaymentApi.md#listCounterpartyWalletAddress) | **GET** /payments/counterparty/wallet_address | List counterparty wallet addresses
@@ -183,7 +188,6 @@ Class | Method | HTTP request | Description
183
188
  *CoboWaas2.PaymentApi* | [**listPaymentOrders**](docs/PaymentApi.md#listPaymentOrders) | **GET** /payments/orders | List all pay-in orders
184
189
  *CoboWaas2.PaymentApi* | [**listPaymentSupportedTokens**](docs/PaymentApi.md#listPaymentSupportedTokens) | **GET** /payments/supported_tokens | List all supported tokens
185
190
  *CoboWaas2.PaymentApi* | [**listPaymentWalletBalances**](docs/PaymentApi.md#listPaymentWalletBalances) | **GET** /payments/balance/payment_wallets | List payment wallet balances
186
- *CoboWaas2.PaymentApi* | [**listPayoutItems**](docs/PaymentApi.md#listPayoutItems) | **GET** /payments/payout_items | List all payout items
187
191
  *CoboWaas2.PaymentApi* | [**listPayouts**](docs/PaymentApi.md#listPayouts) | **GET** /payments/payouts | List all payouts
188
192
  *CoboWaas2.PaymentApi* | [**listSettlementDetails**](docs/PaymentApi.md#listSettlementDetails) | **GET** /payments/settlement_details | List all settlement details
189
193
  *CoboWaas2.PaymentApi* | [**listSettlementRequests**](docs/PaymentApi.md#listSettlementRequests) | **GET** /payments/settlement_requests | List all settlement requests
@@ -354,8 +358,8 @@ Class | Method | HTTP request | Description
354
358
  - [CoboWaas2.AddressTransferDestinationUtxoOutputsInner](docs/AddressTransferDestinationUtxoOutputsInner.md)
355
359
  - [CoboWaas2.AddressesEventData](docs/AddressesEventData.md)
356
360
  - [CoboWaas2.AddressesEventDataAllOfAddresses](docs/AddressesEventDataAllOfAddresses.md)
357
- - [CoboWaas2.AllocationRecord](docs/AllocationRecord.md)
358
- - [CoboWaas2.AllocationRequest](docs/AllocationRequest.md)
361
+ - [CoboWaas2.AllocationItem](docs/AllocationItem.md)
362
+ - [CoboWaas2.AllocationParam](docs/AllocationParam.md)
359
363
  - [CoboWaas2.AmountDetailsInner](docs/AmountDetailsInner.md)
360
364
  - [CoboWaas2.AmountStatus](docs/AmountStatus.md)
361
365
  - [CoboWaas2.ApiLogDetails](docs/ApiLogDetails.md)
@@ -450,6 +454,8 @@ Class | Method | HTTP request | Description
450
454
  - [CoboWaas2.CreateBabylonStakingRegistration201Response](docs/CreateBabylonStakingRegistration201Response.md)
451
455
  - [CoboWaas2.CreateBabylonStakingRegistrationRequest](docs/CreateBabylonStakingRegistrationRequest.md)
452
456
  - [CoboWaas2.CreateBatchAllocationRequest](docs/CreateBatchAllocationRequest.md)
457
+ - [CoboWaas2.CreateBulkSendRequest](docs/CreateBulkSendRequest.md)
458
+ - [CoboWaas2.CreateBulkSendRequestPayoutParamsInner](docs/CreateBulkSendRequestPayoutParamsInner.md)
453
459
  - [CoboWaas2.CreateClaimActivity](docs/CreateClaimActivity.md)
454
460
  - [CoboWaas2.CreateClaimActivityRequest](docs/CreateClaimActivityRequest.md)
455
461
  - [CoboWaas2.CreateCounterpartyEntry201Response](docs/CreateCounterpartyEntry201Response.md)
@@ -492,6 +498,8 @@ Class | Method | HTTP request | Description
492
498
  - [CoboWaas2.CreateSweepToAddress](docs/CreateSweepToAddress.md)
493
499
  - [CoboWaas2.CreateTokenListingRequest201Response](docs/CreateTokenListingRequest201Response.md)
494
500
  - [CoboWaas2.CreateTokenListingRequestRequest](docs/CreateTokenListingRequestRequest.md)
501
+ - [CoboWaas2.CreateTopUpAddresses](docs/CreateTopUpAddresses.md)
502
+ - [CoboWaas2.CreateTopUpAddresses201Response](docs/CreateTopUpAddresses201Response.md)
495
503
  - [CoboWaas2.CreateTransferTransaction201Response](docs/CreateTransferTransaction201Response.md)
496
504
  - [CoboWaas2.CreateTssRequestRequest](docs/CreateTssRequestRequest.md)
497
505
  - [CoboWaas2.CreateUnstakeActivity](docs/CreateUnstakeActivity.md)
@@ -648,7 +656,7 @@ Class | Method | HTTP request | Description
648
656
  - [CoboWaas2.ListAddressBalancesByToken200Response](docs/ListAddressBalancesByToken200Response.md)
649
657
  - [CoboWaas2.ListAddressBooks200Response](docs/ListAddressBooks200Response.md)
650
658
  - [CoboWaas2.ListAddresses200Response](docs/ListAddresses200Response.md)
651
- - [CoboWaas2.ListAllocations200Response](docs/ListAllocations200Response.md)
659
+ - [CoboWaas2.ListAllocationItems200Response](docs/ListAllocationItems200Response.md)
652
660
  - [CoboWaas2.ListApprovalRequests200Response](docs/ListApprovalRequests200Response.md)
653
661
  - [CoboWaas2.ListAssetBalancesForExchangeWallet200Response](docs/ListAssetBalancesForExchangeWallet200Response.md)
654
662
  - [CoboWaas2.ListAutoSweepTask200Response](docs/ListAutoSweepTask200Response.md)
@@ -658,6 +666,7 @@ Class | Method | HTTP request | Description
658
666
  - [CoboWaas2.ListBabylonEligibleStakings200ResponseDataInner](docs/ListBabylonEligibleStakings200ResponseDataInner.md)
659
667
  - [CoboWaas2.ListBabylonStakingRegistrations200Response](docs/ListBabylonStakingRegistrations200Response.md)
660
668
  - [CoboWaas2.ListBatchAllocations200Response](docs/ListBatchAllocations200Response.md)
669
+ - [CoboWaas2.ListBulkSendItems200Response](docs/ListBulkSendItems200Response.md)
661
670
  - [CoboWaas2.ListCallbackMessages200Response](docs/ListCallbackMessages200Response.md)
662
671
  - [CoboWaas2.ListCounterparties200Response](docs/ListCounterparties200Response.md)
663
672
  - [CoboWaas2.ListCounterpartyEntries200Response](docs/ListCounterpartyEntries200Response.md)
@@ -677,7 +686,6 @@ Class | Method | HTTP request | Description
677
686
  - [CoboWaas2.ListMpcVaults200Response](docs/ListMpcVaults200Response.md)
678
687
  - [CoboWaas2.ListPaymentOrders200Response](docs/ListPaymentOrders200Response.md)
679
688
  - [CoboWaas2.ListPaymentWalletBalances200Response](docs/ListPaymentWalletBalances200Response.md)
680
- - [CoboWaas2.ListPayoutItems200Response](docs/ListPayoutItems200Response.md)
681
689
  - [CoboWaas2.ListPayouts200Response](docs/ListPayouts200Response.md)
682
690
  - [CoboWaas2.ListSettlementDetails200Response](docs/ListSettlementDetails200Response.md)
683
691
  - [CoboWaas2.ListSettlementRequests200Response](docs/ListSettlementRequests200Response.md)
@@ -742,6 +750,13 @@ Class | Method | HTTP request | Description
742
750
  - [CoboWaas2.PayerAccount](docs/PayerAccount.md)
743
751
  - [CoboWaas2.PaymentAddressUpdateEventData](docs/PaymentAddressUpdateEventData.md)
744
752
  - [CoboWaas2.PaymentAllocationAmount](docs/PaymentAllocationAmount.md)
753
+ - [CoboWaas2.PaymentBulkSend](docs/PaymentBulkSend.md)
754
+ - [CoboWaas2.PaymentBulkSendEvent](docs/PaymentBulkSendEvent.md)
755
+ - [CoboWaas2.PaymentBulkSendExecutionMode](docs/PaymentBulkSendExecutionMode.md)
756
+ - [CoboWaas2.PaymentBulkSendItem](docs/PaymentBulkSendItem.md)
757
+ - [CoboWaas2.PaymentBulkSendItemStatus](docs/PaymentBulkSendItemStatus.md)
758
+ - [CoboWaas2.PaymentBulkSendItemValidationStatus](docs/PaymentBulkSendItemValidationStatus.md)
759
+ - [CoboWaas2.PaymentBulkSendStatus](docs/PaymentBulkSendStatus.md)
745
760
  - [CoboWaas2.PaymentEstimateFee](docs/PaymentEstimateFee.md)
746
761
  - [CoboWaas2.PaymentEstimateFee201Response](docs/PaymentEstimateFee201Response.md)
747
762
  - [CoboWaas2.PaymentEstimateFeeRequest](docs/PaymentEstimateFeeRequest.md)
@@ -752,9 +767,8 @@ Class | Method | HTTP request | Description
752
767
  - [CoboWaas2.PaymentPayoutDetail](docs/PaymentPayoutDetail.md)
753
768
  - [CoboWaas2.PaymentPayoutEvent](docs/PaymentPayoutEvent.md)
754
769
  - [CoboWaas2.PaymentPayoutItem](docs/PaymentPayoutItem.md)
755
- - [CoboWaas2.PaymentPayoutItemDetail](docs/PaymentPayoutItemDetail.md)
756
- - [CoboWaas2.PaymentPayoutItemStatus](docs/PaymentPayoutItemStatus.md)
757
770
  - [CoboWaas2.PaymentPayoutParam](docs/PaymentPayoutParam.md)
771
+ - [CoboWaas2.PaymentPayoutRecipientInfo](docs/PaymentPayoutRecipientInfo.md)
758
772
  - [CoboWaas2.PaymentPayoutStatus](docs/PaymentPayoutStatus.md)
759
773
  - [CoboWaas2.PaymentRefundEventData](docs/PaymentRefundEventData.md)
760
774
  - [CoboWaas2.PaymentSettlementEvent](docs/PaymentSettlementEvent.md)
@@ -1083,6 +1097,7 @@ Class | Method | HTTP request | Description
1083
1097
  - [CoboWaas2.TransactionUtxo](docs/TransactionUtxo.md)
1084
1098
  - [CoboWaas2.TransactionUtxoChange](docs/TransactionUtxoChange.md)
1085
1099
  - [CoboWaas2.TransactionUtxoFee](docs/TransactionUtxoFee.md)
1100
+ - [CoboWaas2.TransactionWalletConnectInfo](docs/TransactionWalletConnectInfo.md)
1086
1101
  - [CoboWaas2.TransactionWebhookEventData](docs/TransactionWebhookEventData.md)
1087
1102
  - [CoboWaas2.TransferDestination](docs/TransferDestination.md)
1088
1103
  - [CoboWaas2.TransferDestinationType](docs/TransferDestinationType.md)
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.29.0'
105
+ 'User-Agent': 'cobo-waas2-js-sdk/1.30.0'
106
106
  };
107
107
 
108
108
  /**
@@ -53,7 +53,7 @@ var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
53
53
 
54
54
  /**
55
55
  * Create KYA address screening requests
56
- * This operation submits up to 50 address screening requests in one request to assess address compliance and risk levels. <Note>This endpoint supports cross-chain address screening with independent idempotency for each address, enabling flexible error handling and partial retries.</Note>
56
+ * This operation submits up to 50 address screening requests in one call to assess address compliance and risk levels. <Note>This endpoint supports cross-chain address screening with independent idempotency for each address, enabling flexible error handling and partial retries.</Note>
57
57
  * @param {Object} opts Optional parameters
58
58
  * @param {module:model/CreateKyaScreeningsBody} [CreateKyaScreeningsBody] The request body to create KYA address screening requests.
59
59
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/KyaScreeningResult>} and HTTP response
@@ -79,7 +79,7 @@ var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
79
79
 
80
80
  /**
81
81
  * Create KYA address screening requests
82
- * This operation submits up to 50 address screening requests in one request to assess address compliance and risk levels. <Note>This endpoint supports cross-chain address screening with independent idempotency for each address, enabling flexible error handling and partial retries.</Note>
82
+ * This operation submits up to 50 address screening requests in one call to assess address compliance and risk levels. <Note>This endpoint supports cross-chain address screening with independent idempotency for each address, enabling flexible error handling and partial retries.</Note>
83
83
  * @param {Object} opts Optional parameters
84
84
  * @param {module:model/CreateKyaScreeningsBody} opts.CreateKyaScreeningsBody The request body to create KYA address screening requests.
85
85
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/KyaScreeningResult>}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _ErrorResponse = _interopRequireDefault(require("../model/ErrorResponse"));
9
+ var _GraphQLRequest = _interopRequireDefault(require("../model/GraphQLRequest"));
10
+ var _GraphQLResponse = _interopRequireDefault(require("../model/GraphQLResponse"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
+ * Cobo Wallet as a Service 2.0
19
+ *
20
+ * Contact: help@cobo.com
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * GraphQL service.
29
+ * @module api/GraphQLApi
30
+ */
31
+ var GraphQLApi = exports["default"] = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new GraphQLApi.
34
+ * @alias module:api/GraphQLApi
35
+ * @class
36
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
37
+ * default to {@link module:ApiClient#instance} if unspecified.
38
+ */
39
+ function GraphQLApi(apiClient) {
40
+ _classCallCheck(this, GraphQLApi);
41
+ this.apiClient = apiClient || _ApiClient["default"].instance;
42
+ }
43
+
44
+ /**
45
+ * Execute a GraphQL query or mutation
46
+ * This endpoint executes a GraphQL query or mutation. The request body must include a valid GraphQL query string.
47
+ * @param {Object} opts Optional parameters
48
+ * @param {module:model/GraphQLRequest} [GraphQLRequest] The request body to generate addresses within a specified wallet.
49
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphQLResponse} and HTTP response
50
+ */
51
+ return _createClass(GraphQLApi, [{
52
+ key: "executeGraphqlWithHttpInfo",
53
+ value: function executeGraphqlWithHttpInfo(opts) {
54
+ opts = opts || {};
55
+ var postBody = opts['GraphQLRequest'];
56
+ if (postBody && postBody.toJSON) {
57
+ postBody = postBody.toJSON();
58
+ }
59
+ var pathParams = {};
60
+ var queryParams = {};
61
+ var headerParams = {};
62
+ var formParams = {};
63
+ var authNames = ['CoboNonce', 'OAuth2', 'CoboAuth', 'CoboSignature'];
64
+ var contentTypes = ['application/json'];
65
+ var accepts = ['application/json'];
66
+ var returnType = _GraphQLResponse["default"];
67
+ return this.apiClient.callApi('/graphql', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
68
+ }
69
+
70
+ /**
71
+ * Execute a GraphQL query or mutation
72
+ * This endpoint executes a GraphQL query or mutation. The request body must include a valid GraphQL query string.
73
+ * @param {Object} opts Optional parameters
74
+ * @param {module:model/GraphQLRequest} opts.GraphQLRequest The request body to generate addresses within a specified wallet.
75
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphQLResponse}
76
+ */
77
+ }, {
78
+ key: "executeGraphql",
79
+ value: function executeGraphql(opts) {
80
+ return this.executeGraphqlWithHttpInfo(opts).then(function (response_and_data) {
81
+ return response_and_data.data;
82
+ });
83
+ }
84
+ }]);
85
+ }();