@cobo/cobo-waas2 1.36.0 → 1.38.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.
- package/README.md +9 -1
- package/dist/ApiClient.js +1 -1
- package/dist/api/PaymentApi.js +77 -0
- package/dist/index.js +49 -0
- package/dist/model/AddressesEventData.js +18 -3
- package/dist/model/ApprovalUserDetail.js +13 -0
- package/dist/model/BalanceUpdateInfoEventData.js +18 -3
- package/dist/model/ChainsEventData.js +18 -3
- package/dist/model/ComplianceDispositionUpdateEventData.js +18 -3
- package/dist/model/ComplianceKyaScreeningsUpdateEventData.js +18 -3
- package/dist/model/ComplianceKytScreeningsUpdateEventData.js +18 -3
- package/dist/model/CreateBulkSendRequest.js +1 -1
- package/dist/model/CreateBulkSendRequestPayoutParamsInner.js +1 -1
- package/dist/model/EstimatedSOLFeeSlow.js +2 -2
- package/dist/model/FiatTransactionEventData.js +436 -0
- package/dist/model/MPCVaultEventData.js +18 -3
- package/dist/model/OrganizationEventData.js +275 -0
- package/dist/model/PaymentAccountBalanceUpdateEventData.js +418 -0
- package/dist/model/PaymentAddressUpdateEventData.js +31 -3
- package/dist/model/PaymentBalanceChange.js +248 -0
- package/dist/model/PaymentBalanceChangeResponse.js +125 -0
- package/dist/model/PaymentBalanceChangeSourceType.js +106 -0
- package/dist/model/PaymentBalanceFlowDirection.js +61 -0
- package/dist/model/PaymentBulkSend.js +17 -0
- package/dist/model/PaymentBulkSendEvent.js +40 -3
- package/dist/model/PaymentBulkSendItem.js +13 -0
- package/dist/model/PaymentOrderEventData.js +18 -3
- package/dist/model/PaymentPayout.js +1 -1
- package/dist/model/PaymentPayoutDetail.js +2 -2
- package/dist/model/PaymentPayoutEvent.js +20 -5
- package/dist/model/PaymentPayoutRecipientInfo.js +1 -1
- package/dist/model/PaymentRefundEventData.js +21 -4
- package/dist/model/PaymentSettlementEvent.js +18 -3
- package/dist/model/PaymentTransactionEventData.js +57 -3
- package/dist/model/Refund.js +2 -1
- package/dist/model/SOLBase.js +1 -1
- package/dist/model/SuspendedTokenEventData.js +18 -3
- package/dist/model/TSSRequestWebhookEventData.js +18 -3
- package/dist/model/TokenListingEventData.js +18 -3
- package/dist/model/TokensEventData.js +18 -3
- package/dist/model/TransactionFee.js +1 -1
- package/dist/model/TransactionSOLFee.js +3 -3
- package/dist/model/TransactionWebhookEventData.js +18 -3
- package/dist/model/WalletInfoEventData.js +18 -3
- package/dist/model/WebhookEventData.js +195 -20
- package/dist/model/WebhookEventDataType.js +17 -2
- package/dist/model/WebhookEventType.js +25 -0
- package/docs/AddressesEventData.md +7 -1
- package/docs/ApprovalUserDetail.md +1 -0
- package/docs/BalanceUpdateInfoEventData.md +7 -1
- package/docs/ChainsEventData.md +7 -1
- package/docs/ComplianceDispositionUpdateEventData.md +7 -1
- package/docs/ComplianceKyaScreeningsUpdateEventData.md +7 -1
- package/docs/ComplianceKytScreeningsUpdateEventData.md +7 -1
- package/docs/CreateBulkSendRequest.md +1 -1
- package/docs/CreateBulkSendRequestPayoutParamsInner.md +1 -1
- package/docs/EstimatedSOLFeeSlow.md +1 -1
- package/docs/FiatTransactionEventData.md +86 -0
- package/docs/MPCVaultEventData.md +7 -1
- package/docs/OrganizationEventData.md +66 -0
- package/docs/PaymentAccountBalanceUpdateEventData.md +76 -0
- package/docs/PaymentAddressUpdateEventData.md +8 -1
- package/docs/PaymentApi.md +71 -0
- package/docs/PaymentBalanceChange.md +19 -0
- package/docs/PaymentBalanceChangeResponse.md +10 -0
- package/docs/PaymentBalanceChangeSourceType.md +30 -0
- package/docs/PaymentBalanceFlowDirection.md +12 -0
- package/docs/PaymentBulkSend.md +1 -0
- package/docs/PaymentBulkSendEvent.md +8 -1
- package/docs/PaymentBulkSendItem.md +1 -0
- package/docs/PaymentOrderEventData.md +7 -1
- package/docs/PaymentPayout.md +1 -1
- package/docs/PaymentPayoutDetail.md +1 -1
- package/docs/PaymentPayoutEvent.md +8 -2
- package/docs/PaymentPayoutRecipientInfo.md +1 -1
- package/docs/PaymentRefundEventData.md +8 -2
- package/docs/PaymentSettlementEvent.md +7 -1
- package/docs/PaymentTransactionEventData.md +10 -1
- package/docs/Refund.md +1 -1
- package/docs/SOLBase.md +1 -1
- package/docs/SuspendedTokenEventData.md +7 -1
- package/docs/TSSRequestWebhookEventData.md +7 -1
- package/docs/TokenListingEventData.md +7 -1
- package/docs/TokensEventData.md +7 -1
- package/docs/TransactionFee.md +1 -1
- package/docs/TransactionSOLFee.md +2 -2
- package/docs/TransactionWebhookEventData.md +7 -1
- package/docs/WalletInfoEventData.md +7 -1
- package/docs/WebhookEventData.md +45 -11
- package/docs/WebhookEventDataType.md +7 -1
- package/docs/WebhookEventType.md +10 -0
- package/package.json +1 -1
package/docs/WebhookEventData.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | 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. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. |
|
|
7
|
+
**data_type** | **String** | 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. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data. |
|
|
8
8
|
**transaction_id** | **String** | The transaction ID. |
|
|
9
9
|
**cobo_id** | **String** | The Cobo ID, which can be used to track a transaction. | [optional]
|
|
10
10
|
**request_id** | **String** | The request ID. |
|
|
11
11
|
**wallet_id** | **String** | For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source. |
|
|
12
12
|
**type** | [**TransactionType**](TransactionType.md) | | [optional]
|
|
13
|
-
**status** |
|
|
13
|
+
**status** | **String** | The status of the fiat transaction. Possible values include: - `Created`: The transaction has been created. - `Succeeded`: The transaction has been completed successfully. |
|
|
14
14
|
**sub_status** | [**TransactionSubStatus**](TransactionSubStatus.md) | | [optional]
|
|
15
15
|
**failed_reason** | **String** | (This property is applicable to approval failures and signature failures only) The reason why the transaction failed. | [optional]
|
|
16
16
|
**chain_id** | **String** | The chain identifier. |
|
|
17
|
-
**token_id** | **String** | The token ID
|
|
17
|
+
**token_id** | **String** | The token ID of the balance change. |
|
|
18
18
|
**asset_id** | **String** | (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. | [optional]
|
|
19
19
|
**source** | [**TransactionSource**](TransactionSource.md) | |
|
|
20
20
|
**destination** | [**TransactionDestination**](TransactionDestination.md) | |
|
|
@@ -31,10 +31,10 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
|
|
32
32
|
**description** | **String** | The description for the entire bulk send batch. | [optional]
|
|
33
33
|
**is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
|
|
34
|
-
**cobo_category** | **[String]** | The
|
|
34
|
+
**cobo_category** | **[String]** | The Cobo category of the transaction. | [optional]
|
|
35
35
|
**extra** | **[String]** | A list of JSON-encoded strings containing structured, business-specific extra information for the transaction. Each item corresponds to a specific data type, indicated by the `extra_type` field in the JSON object (for example, \"BabylonBusinessInfo\", \"BtcAddressInfo\"). | [optional]
|
|
36
36
|
**fueling_info** | [**TransactionFuelingInfo**](TransactionFuelingInfo.md) | | [optional]
|
|
37
|
-
**created_timestamp** | **Number** | The time when the
|
|
37
|
+
**created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. |
|
|
38
38
|
**updated_timestamp** | **Number** | The time when the screening status was updated, in Unix timestamp format, measured in milliseconds. |
|
|
39
39
|
**tss_request_id** | **String** | The TSS request ID. | [optional]
|
|
40
40
|
**source_key_share_holder_group** | [**SourceGroup**](SourceGroup.md) | | [optional]
|
|
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
|
|
|
43
43
|
**wallet** | [**WalletInfo**](WalletInfo.md) | | [optional]
|
|
44
44
|
**vault_id** | **String** | The vault ID. | [optional]
|
|
45
45
|
**project_id** | **String** | The project ID. | [optional]
|
|
46
|
-
**name** | **String** | The
|
|
46
|
+
**name** | **String** | The organization name. | [optional]
|
|
47
47
|
**root_pubkeys** | [**[RootPubkey]**](RootPubkey.md) | | [optional]
|
|
48
48
|
**chains** | [**[ChainInfo]**](ChainInfo.md) | The enabled chains. |
|
|
49
49
|
**wallet_type** | [**WalletType**](WalletType.md) | |
|
|
@@ -77,13 +77,13 @@ Name | Type | Description | Notes
|
|
|
77
77
|
**order_amount** | **String** | This field has been deprecated. Please use `pricing_amount` instead. | [optional]
|
|
78
78
|
**settlement_status** | [**SettleStatus**](SettleStatus.md) | | [optional]
|
|
79
79
|
**refund_id** | **String** | The refund order ID. |
|
|
80
|
-
**amount** | **String** | The amount
|
|
80
|
+
**amount** | **String** | The transaction amount. |
|
|
81
81
|
**to_address** | **String** | The recipient's wallet address where the refund will be sent. |
|
|
82
82
|
**refund_type** | [**RefundType**](RefundType.md) | | [optional]
|
|
83
83
|
**charge_merchant_fee** | **Boolean** | Whether to charge developer fee to the merchant for the refund. - `true`: The fee amount (specified in `merchant_fee_amount`) will be deducted from the merchant's balance and added to the developer's balance - `false`: The merchant is not charged any developer fee. | [optional]
|
|
84
84
|
**merchant_fee_amount** | **String** | The developer fee amount to charge the merchant, denominated in the cryptocurrency specified by `merchant_fee_token_id`. This is only applicable if `charge_merchant_fee` is set to `true`. | [optional]
|
|
85
85
|
**merchant_fee_token_id** | **String** | The ID of the cryptocurrency used for the developer fee. This is only applicable if `charge_merchant_fee` is set to true. | [optional]
|
|
86
|
-
**commission_fee** | [**CommissionFee**](CommissionFee.md) |
|
|
86
|
+
**commission_fee** | [**CommissionFee**](CommissionFee.md) | The commission fee. Not returned when no fee has been incurred, the actual charged amount once incurred, or `0` if refunded. | [optional]
|
|
87
87
|
**settlement_request_id** | **String** | The settlement request ID generated by Cobo. |
|
|
88
88
|
**settlements** | [**[SettlementDetail]**](SettlementDetail.md) | |
|
|
89
89
|
**acquiring_type** | [**AcquiringType**](AcquiringType.md) | |
|
|
@@ -93,26 +93,41 @@ Name | Type | Description | Notes
|
|
|
93
93
|
**bank_account** | [**BankAccount**](BankAccount.md) | | [optional]
|
|
94
94
|
**payer_id** | **String** | A unique identifier assigned by Cobo to track and identify individual payers. |
|
|
95
95
|
**custom_payer_id** | **String** | A unique identifier assigned by the developer to track and identify individual payers in their system. |
|
|
96
|
+
**subscription_id** | **String** | A unique identifier assigned by Cobo to track and identify subscription. | [optional]
|
|
97
|
+
**action_id** | **String** | A unique identifier assigned by Cobo to track and identify subscription action. | [optional]
|
|
96
98
|
**chain** | **String** | The chain ID. |
|
|
97
99
|
**previous_address** | **String** | The previous top-up address that was assigned to the payer. |
|
|
98
100
|
**updated_address** | **String** | The new top-up address that has been assigned to the payer. |
|
|
99
101
|
**payout_id** | **String** | The payout ID generated by Cobo. |
|
|
100
|
-
**source_account** | **String** | The source account
|
|
102
|
+
**source_account** | **String** | The source account of the balance change. This field uses the same semantics as `source_account` in [List balance changes](https://www.cobo.com/developers/v2/api-references/payment/list-balance-changes). - When the account is a merchant account, this is the merchant ID (merchant code), which you can retrieve by calling [List all merchants](https://www.cobo.com/developers/v2/api-references/payment/list-all-merchants). - When the account is the developer account, use `developer`. |
|
|
101
103
|
**payout_items** | [**[PaymentPayoutItem]**](PaymentPayoutItem.md) | required | [optional]
|
|
102
104
|
**recipient_info** | [**PaymentPayoutRecipientInfo**](PaymentPayoutRecipientInfo.md) | | [optional]
|
|
103
105
|
**actual_payout_amount** | **String** | - For `Crypto` payouts: The amount of cryptocurrency sent to the recipient's address, denominated in the token specified in `recipient_info.token_id`. - For `OffRamp` payouts: The amount of fiat currency sent to the recipient's bank account, denominated in the currency specified in `recipient_info.currency`. (Note: The actual amount received may be lower due to additional bank transfer fees.) | [optional]
|
|
104
|
-
**commission_fees** | [**[CommissionFee]**](CommissionFee.md) | The commission fees
|
|
106
|
+
**commission_fees** | [**[CommissionFee]**](CommissionFee.md) | The commission fees. Not returned when no fee has been incurred, the actual charged amounts once incurred, or `0` if refunded. | [optional]
|
|
105
107
|
**remark** | **String** | A note or comment about the payout. | [optional]
|
|
106
108
|
**bulk_send_id** | **String** | The bulk send ID. |
|
|
107
109
|
**execution_mode** | [**PaymentBulkSendExecutionMode**](PaymentBulkSendExecutionMode.md) | |
|
|
110
|
+
**source_id** | **String** | The source ID of the balance change. |
|
|
111
|
+
**source_type** | [**PaymentBalanceChangeSourceType**](PaymentBalanceChangeSourceType.md) | |
|
|
112
|
+
**amount_raw** | **String** | The balance change amount in the token's decimal precision, represented as a numeric string. |
|
|
113
|
+
**balance_before** | **String** | The account balance before the balance change, truncated to two decimal places and represented as a numeric string. |
|
|
114
|
+
**balance_before_raw** | **String** | The account balance before the balance change in the token's decimal precision, represented as a numeric string. |
|
|
115
|
+
**balance_after** | **String** | The account balance after the balance change, truncated to two decimal places and represented as a numeric string. |
|
|
116
|
+
**balance_after_raw** | **String** | The account balance after the balance change in the token's decimal precision, represented as a numeric string. |
|
|
117
|
+
**flow_direction** | [**PaymentBalanceFlowDirection**](PaymentBalanceFlowDirection.md) | |
|
|
118
|
+
**update_time** | **Number** | The time when the balance was updated, represented as a UNIX timestamp in seconds. |
|
|
108
119
|
**disposition_type** | [**DispositionType**](DispositionType.md) | |
|
|
109
120
|
**disposition_status** | [**DispositionStatus**](DispositionStatus.md) | |
|
|
110
121
|
**destination_address** | **String** | The blockchain address to receive the refunded/isolated funds. | [optional]
|
|
111
122
|
**disposition_amount** | **String** | The amount to be refunded/isolated from the original transaction, specified as a numeric string. This value cannot exceed the total amount of the original transaction. | [optional]
|
|
112
|
-
**transaction_type** | [**
|
|
123
|
+
**transaction_type** | [**FeeStationFiatTransactionType**](FeeStationFiatTransactionType.md) | |
|
|
113
124
|
**review_status** | [**ReviewStatusType**](ReviewStatusType.md) | |
|
|
114
125
|
**funds_status** | [**FundsStatusType**](FundsStatusType.md) | |
|
|
115
126
|
**screening_id** | **String** | The unique system-generated identifier for this screening request (UUID format, fixed 36 characters). |
|
|
127
|
+
**org_id** | **String** | The organization ID. | [optional]
|
|
128
|
+
**main_transaction_id** | **String** | 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 FeeStation; omit for main transactions. | [optional]
|
|
129
|
+
**fiat_currency** | **String** | The fiat currency of the transaction. Possible values include: - `USD`: US Dollar. |
|
|
130
|
+
**modified_timestamp** | **Number** | The time when the transaction was last modified, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
116
131
|
|
|
117
132
|
|
|
118
133
|
|
|
@@ -149,6 +164,8 @@ Name | Type | Description | Notes
|
|
|
149
164
|
|
|
150
165
|
* `PaymentBulkSend` (value: `"PaymentBulkSend"`)
|
|
151
166
|
|
|
167
|
+
* `PaymentAccountBalanceUpdate` (value: `"PaymentAccountBalanceUpdate"`)
|
|
168
|
+
|
|
152
169
|
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
153
170
|
|
|
154
171
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
@@ -159,6 +176,23 @@ Name | Type | Description | Notes
|
|
|
159
176
|
|
|
160
177
|
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
161
178
|
|
|
179
|
+
* `Organization` (value: `"Organization"`)
|
|
180
|
+
|
|
181
|
+
* `FiatTransaction` (value: `"FiatTransaction"`)
|
|
182
|
+
|
|
183
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
## Enum: StatusEnum
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
* `Created` (value: `"Created"`)
|
|
193
|
+
|
|
194
|
+
* `Succeeded` (value: `"Succeeded"`)
|
|
195
|
+
|
|
162
196
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
163
197
|
|
|
164
198
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**data_type** | **String** | 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. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send 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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. |
|
|
7
|
+
**data_type** | **String** | 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. - `PaymentPayout`: The payment payout event data. - `PaymentBulkSend`: The payment bulk send event data. - `PaymentAccountBalanceUpdate`: The Payments account balance updated event data, including account information and balance change details. - `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. - `ComplianceKyaScreenings`: The compliance KYA screenings event data. - `Organization`: The organization event data. - `FiatTransaction`: The fiat transaction event data. |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -41,6 +41,8 @@ Name | Type | Description | Notes
|
|
|
41
41
|
|
|
42
42
|
* `PaymentBulkSend` (value: `"PaymentBulkSend"`)
|
|
43
43
|
|
|
44
|
+
* `PaymentAccountBalanceUpdate` (value: `"PaymentAccountBalanceUpdate"`)
|
|
45
|
+
|
|
44
46
|
* `BalanceUpdateInfo` (value: `"BalanceUpdateInfo"`)
|
|
45
47
|
|
|
46
48
|
* `SuspendedToken` (value: `"SuspendedToken"`)
|
|
@@ -51,6 +53,10 @@ Name | Type | Description | Notes
|
|
|
51
53
|
|
|
52
54
|
* `ComplianceKyaScreenings` (value: `"ComplianceKyaScreenings"`)
|
|
53
55
|
|
|
56
|
+
* `Organization` (value: `"Organization"`)
|
|
57
|
+
|
|
58
|
+
* `FiatTransaction` (value: `"FiatTransaction"`)
|
|
59
|
+
|
|
54
60
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
55
61
|
|
|
56
62
|
|
package/docs/WebhookEventType.md
CHANGED
|
@@ -23,12 +23,20 @@
|
|
|
23
23
|
|
|
24
24
|
* `wallets.created` (value: `"wallets.created"`)
|
|
25
25
|
|
|
26
|
+
* `wallets.updated` (value: `"wallets.updated"`)
|
|
27
|
+
|
|
26
28
|
* `wallets.token_listing.failed` (value: `"wallets.token_listing.failed"`)
|
|
27
29
|
|
|
28
30
|
* `wallets.token_listing.succeeded` (value: `"wallets.token_listing.succeeded"`)
|
|
29
31
|
|
|
30
32
|
* `mpc_vaults.created` (value: `"mpc_vaults.created"`)
|
|
31
33
|
|
|
34
|
+
* `mpc_vaults.updated` (value: `"mpc_vaults.updated"`)
|
|
35
|
+
|
|
36
|
+
* `mpc_vaults.deleted` (value: `"mpc_vaults.deleted"`)
|
|
37
|
+
|
|
38
|
+
* `organizations.updated` (value: `"organizations.updated"`)
|
|
39
|
+
|
|
32
40
|
* `fee_station.transaction.created` (value: `"fee_station.transaction.created"`)
|
|
33
41
|
|
|
34
42
|
* `fee_station.transaction.updated` (value: `"fee_station.transaction.updated"`)
|
|
@@ -65,6 +73,8 @@
|
|
|
65
73
|
|
|
66
74
|
* `payment.transaction.failed` (value: `"payment.transaction.failed"`)
|
|
67
75
|
|
|
76
|
+
* `payment.account.balance.updated` (value: `"payment.account.balance.updated"`)
|
|
77
|
+
|
|
68
78
|
* `payment.status.updated` (value: `"payment.status.updated"`)
|
|
69
79
|
|
|
70
80
|
* `payment.order.status.updated` (value: `"payment.order.status.updated"`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobo/cobo-waas2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo's WaaS API offering. It enables you to access Cobo's full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features: - A unified API for Cobo's [all four wallet types](https://manuals.cobo.com/en/portal/introduction#an-all-in-one-wallet-platform) - Support for 80+ chains and 3000+ tokens - A comprehensive selection of webhook events - Flexible usage models for MPC Wallets, including [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/introduction) and [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ucw/introduction) - Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls - Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction). ",
|
|
5
5
|
"license": "GPL 2.0",
|
|
6
6
|
"main": "dist/index.js",
|