@privy-io/api-types 0.20.0 → 0.22.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/CHANGELOG.md +64 -0
- package/client.d.mts +25 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -16
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/actions.d.mts +14 -0
- package/resources/actions.d.mts.map +1 -0
- package/resources/actions.d.ts +14 -0
- package/resources/actions.d.ts.map +1 -0
- package/resources/actions.js +9 -0
- package/resources/actions.js.map +1 -0
- package/resources/actions.mjs +5 -0
- package/resources/actions.mjs.map +1 -0
- package/resources/apps.d.mts +4 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +4 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/cards.d.mts +449 -0
- package/resources/cards.d.mts.map +1 -0
- package/resources/cards.d.ts +449 -0
- package/resources/cards.d.ts.map +1 -0
- package/resources/cards.js +9 -0
- package/resources/cards.js.map +1 -0
- package/resources/cards.mjs +5 -0
- package/resources/cards.mjs.map +1 -0
- package/resources/client-auth.d.mts +22 -5
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +22 -5
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/fiat.d.mts +921 -2
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts +921 -2
- package/resources/fiat.d.ts.map +1 -1
- package/resources/fiat.js.map +1 -1
- package/resources/fiat.mjs.map +1 -1
- package/resources/index.d.mts +11 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +1 -0
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +1 -0
- package/resources/intents.d.ts.map +1 -1
- package/resources/onramps.d.mts +39 -1
- package/resources/onramps.d.mts.map +1 -1
- package/resources/onramps.d.ts +39 -1
- package/resources/onramps.d.ts.map +1 -1
- package/resources/onramps.js.map +1 -1
- package/resources/onramps.mjs.map +1 -1
- package/resources/organizations.d.mts +54 -1
- package/resources/organizations.d.mts.map +1 -1
- package/resources/organizations.d.ts +54 -1
- package/resources/organizations.d.ts.map +1 -1
- package/resources/organizations.js.map +1 -1
- package/resources/organizations.mjs.map +1 -1
- package/resources/policies.d.mts +26 -3
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +26 -3
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +31 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +31 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +11 -1
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +11 -1
- package/resources/swaps.d.ts.map +1 -1
- package/resources/transactions.d.mts +3 -0
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +3 -0
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wallet-automations.d.mts +387 -0
- package/resources/wallet-automations.d.mts.map +1 -0
- package/resources/wallet-automations.d.ts +387 -0
- package/resources/wallet-automations.d.ts.map +1 -0
- package/resources/wallet-automations.js +9 -0
- package/resources/wallet-automations.js.map +1 -0
- package/resources/wallet-automations.mjs +5 -0
- package/resources/wallet-automations.mjs.map +1 -0
- package/resources/wallets/actions.d.mts +207 -8
- package/resources/wallets/actions.d.mts.map +1 -1
- package/resources/wallets/actions.d.ts +207 -8
- package/resources/wallets/actions.d.ts.map +1 -1
- package/resources/wallets/actions.js.map +1 -1
- package/resources/wallets/actions.mjs.map +1 -1
- package/resources/wallets/balance.d.mts +3 -3
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +3 -3
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +2 -2
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +2 -2
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +11 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +11 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +672 -48
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +672 -48
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +686 -3
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +686 -3
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +481 -0
- package/src/resources/actions.ts +17 -0
- package/src/resources/apps.ts +5 -0
- package/src/resources/cards.ts +586 -0
- package/src/resources/client-auth.ts +29 -4
- package/src/resources/fiat.ts +1226 -3
- package/src/resources/index.ts +236 -0
- package/src/resources/intents.ts +2 -0
- package/src/resources/onramps.ts +43 -0
- package/src/resources/organizations.ts +68 -0
- package/src/resources/policies.ts +61 -0
- package/src/resources/shared.ts +44 -0
- package/src/resources/swaps.ts +13 -1
- package/src/resources/transactions.ts +3 -0
- package/src/resources/wallet-automations.ts +529 -0
- package/src/resources/wallets/actions.ts +261 -7
- package/src/resources/wallets/balance.ts +41 -1
- package/src/resources/wallets/index.ts +55 -0
- package/src/resources/wallets/transactions.ts +11 -1
- package/src/resources/wallets/wallets.ts +888 -39
- package/src/resources/webhooks.ts +878 -9
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/webhooks.d.mts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
import * as AppsAPI from "./apps.mjs";
|
|
3
|
+
import * as FiatAPI from "./fiat.mjs";
|
|
3
4
|
import * as IntentsAPI from "./intents.mjs";
|
|
5
|
+
import * as SharedAPI from "./shared.mjs";
|
|
4
6
|
import * as UsersAPI from "./users.mjs";
|
|
5
7
|
import * as ActionsAPI from "./wallets/actions.mjs";
|
|
6
8
|
import * as WalletsAPI from "./wallets/wallets.mjs";
|
|
@@ -103,6 +105,112 @@ export interface BridgeTransferRefundMetadata {
|
|
|
103
105
|
*/
|
|
104
106
|
original_transaction_hash?: string;
|
|
105
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Details of a fiat deposit that has finished converting and been delivered to the
|
|
110
|
+
* wallet.
|
|
111
|
+
*/
|
|
112
|
+
export interface DepositCompletedData {
|
|
113
|
+
created_at: string;
|
|
114
|
+
/**
|
|
115
|
+
* The crypto asset, chain, delivered amount, and settlement transaction for a
|
|
116
|
+
* completed deposit.
|
|
117
|
+
*/
|
|
118
|
+
destination: DepositCompletedDestination;
|
|
119
|
+
/**
|
|
120
|
+
* The fiat deposit that was received, including amount, currency, and originator.
|
|
121
|
+
*/
|
|
122
|
+
source: DepositStartedSource;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The crypto asset, chain, delivered amount, and settlement transaction for a
|
|
126
|
+
* completed deposit.
|
|
127
|
+
*/
|
|
128
|
+
export interface DepositCompletedDestination {
|
|
129
|
+
/**
|
|
130
|
+
* The crypto amount delivered to the wallet, after conversion and fees.
|
|
131
|
+
*/
|
|
132
|
+
amount: string;
|
|
133
|
+
/**
|
|
134
|
+
* The crypto asset the deposit was converted into (e.g. "usdc").
|
|
135
|
+
*/
|
|
136
|
+
asset: string;
|
|
137
|
+
/**
|
|
138
|
+
* The chain the converted crypto was delivered on (e.g. "base").
|
|
139
|
+
*/
|
|
140
|
+
chain: string;
|
|
141
|
+
/**
|
|
142
|
+
* The on-chain settlement transaction for the delivered crypto.
|
|
143
|
+
*/
|
|
144
|
+
transaction_hash: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Details of a fiat deposit that failed to convert and was refunded to the sender.
|
|
148
|
+
*/
|
|
149
|
+
export interface DepositFailedData {
|
|
150
|
+
created_at: string;
|
|
151
|
+
/**
|
|
152
|
+
* The crypto asset and chain the fiat deposit is being converted into.
|
|
153
|
+
*/
|
|
154
|
+
destination: DepositStartedDestination;
|
|
155
|
+
reason: string;
|
|
156
|
+
reason_code: string;
|
|
157
|
+
refunded_at: string;
|
|
158
|
+
/**
|
|
159
|
+
* The fiat deposit that was received, including amount, currency, and originator.
|
|
160
|
+
*/
|
|
161
|
+
source: DepositStartedSource;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Details of a fiat deposit that has begun processing into a deposit account.
|
|
165
|
+
*/
|
|
166
|
+
export interface DepositStartedData {
|
|
167
|
+
created_at: string;
|
|
168
|
+
/**
|
|
169
|
+
* The crypto asset and chain the fiat deposit is being converted into.
|
|
170
|
+
*/
|
|
171
|
+
destination: DepositStartedDestination;
|
|
172
|
+
/**
|
|
173
|
+
* The fiat deposit that was received, including amount, currency, and originator.
|
|
174
|
+
*/
|
|
175
|
+
source: DepositStartedSource;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* The crypto asset and chain the fiat deposit is being converted into.
|
|
179
|
+
*/
|
|
180
|
+
export interface DepositStartedDestination {
|
|
181
|
+
/**
|
|
182
|
+
* The crypto asset the deposit is converted into (e.g. "usdc").
|
|
183
|
+
*/
|
|
184
|
+
asset: string;
|
|
185
|
+
/**
|
|
186
|
+
* The chain the converted crypto is delivered on (e.g. "base").
|
|
187
|
+
*/
|
|
188
|
+
chain: string;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* The fiat deposit that was received, including amount, currency, and originator.
|
|
192
|
+
*/
|
|
193
|
+
export interface DepositStartedSource {
|
|
194
|
+
/**
|
|
195
|
+
* The fiat amount deposited.
|
|
196
|
+
*/
|
|
197
|
+
amount: string;
|
|
198
|
+
/**
|
|
199
|
+
* Fiat currencies a deposit account can receive deposits in.
|
|
200
|
+
*/
|
|
201
|
+
currency: FiatDepositCurrency;
|
|
202
|
+
/**
|
|
203
|
+
* The payment rail the deposit arrived on. Known values include "sepa",
|
|
204
|
+
* "ach_push", "wire", "fednow", "faster_payments", "pix", "spei", but the provider
|
|
205
|
+
* may return others.
|
|
206
|
+
*/
|
|
207
|
+
payment_rail?: string;
|
|
208
|
+
sender_name?: string;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Fiat currencies a deposit account can receive deposits in.
|
|
212
|
+
*/
|
|
213
|
+
export type FiatDepositCurrency = 'usd' | 'eur' | 'gbp' | 'brl' | 'mxn' | 'cop';
|
|
106
214
|
/**
|
|
107
215
|
* Payload for the wallet.funds_deposited webhook event.
|
|
108
216
|
*/
|
|
@@ -645,6 +753,46 @@ export interface MfaEnabledWebhookPayload {
|
|
|
645
753
|
*/
|
|
646
754
|
user_id: string;
|
|
647
755
|
}
|
|
756
|
+
/**
|
|
757
|
+
* Full KYB state snapshot in a KYB update event.
|
|
758
|
+
*/
|
|
759
|
+
export interface OrganizationKYBUpdatedData {
|
|
760
|
+
/**
|
|
761
|
+
* Capability statuses for the customer.
|
|
762
|
+
*/
|
|
763
|
+
capabilities: FiatAPI.KyxCapabilities;
|
|
764
|
+
endorsements: Array<FiatAPI.KyxEndorsement>;
|
|
765
|
+
/**
|
|
766
|
+
* KYB verification status in a KYB update event.
|
|
767
|
+
*/
|
|
768
|
+
kyb: OrganizationKYBUpdatedKYBData;
|
|
769
|
+
/**
|
|
770
|
+
* KYC/KYB status for the user.
|
|
771
|
+
*/
|
|
772
|
+
status: FiatAPI.KyxProviderStatus;
|
|
773
|
+
/**
|
|
774
|
+
* Terms of service status in a KYB update event.
|
|
775
|
+
*/
|
|
776
|
+
tos: OrganizationKYBUpdatedTosData;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* KYB verification status in a KYB update event.
|
|
780
|
+
*/
|
|
781
|
+
export interface OrganizationKYBUpdatedKYBData {
|
|
782
|
+
/**
|
|
783
|
+
* Status of KYC/KYB verification. Passthrough from the provider.
|
|
784
|
+
*/
|
|
785
|
+
status: FiatAPI.KyxVerificationStatus;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Terms of service status in a KYB update event.
|
|
789
|
+
*/
|
|
790
|
+
export interface OrganizationKYBUpdatedTosData {
|
|
791
|
+
/**
|
|
792
|
+
* Status of Terms of Service acceptance. Passthrough from the provider.
|
|
793
|
+
*/
|
|
794
|
+
status: FiatAPI.KyxTosStatus;
|
|
795
|
+
}
|
|
648
796
|
/**
|
|
649
797
|
* Payload for the wallet.private_key_export webhook event.
|
|
650
798
|
*/
|
|
@@ -919,6 +1067,54 @@ export interface TransactionStillPendingWebhookPayload {
|
|
|
919
1067
|
*/
|
|
920
1068
|
reference_id?: string | null;
|
|
921
1069
|
}
|
|
1070
|
+
/**
|
|
1071
|
+
* Payload for the usage.cross_chain_fee.recorded webhook event (Privy fee on a
|
|
1072
|
+
* cross-chain transfer or swap).
|
|
1073
|
+
*/
|
|
1074
|
+
export interface UsageCrossChainFeeRecordedWebhookPayload {
|
|
1075
|
+
amount_usd: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* An opaque, stable identifier for this charge. Use it to deduplicate webhook
|
|
1078
|
+
* deliveries.
|
|
1079
|
+
*/
|
|
1080
|
+
event_id: string;
|
|
1081
|
+
recorded_at: number;
|
|
1082
|
+
source_id: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* The type of operation that incurred a usage charge.
|
|
1085
|
+
*/
|
|
1086
|
+
source_type: UsageSourceType;
|
|
1087
|
+
/**
|
|
1088
|
+
* The type of webhook event.
|
|
1089
|
+
*/
|
|
1090
|
+
type: 'usage.cross_chain_fee.recorded';
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* Payload for the usage.gas_sponsorship.recorded webhook event (sponsored network
|
|
1094
|
+
* gas).
|
|
1095
|
+
*/
|
|
1096
|
+
export interface UsageGasSponsorshipRecordedWebhookPayload {
|
|
1097
|
+
amount_usd: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* An opaque, stable identifier for this charge. Use it to deduplicate webhook
|
|
1100
|
+
* deliveries.
|
|
1101
|
+
*/
|
|
1102
|
+
event_id: string;
|
|
1103
|
+
recorded_at: number;
|
|
1104
|
+
source_id: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* The type of operation that incurred a usage charge.
|
|
1107
|
+
*/
|
|
1108
|
+
source_type: UsageSourceType;
|
|
1109
|
+
/**
|
|
1110
|
+
* The type of webhook event.
|
|
1111
|
+
*/
|
|
1112
|
+
type: 'usage.gas_sponsorship.recorded';
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* The type of operation that incurred a usage charge.
|
|
1116
|
+
*/
|
|
1117
|
+
export type UsageSourceType = 'wallet-action-transfer' | 'wallet-action-swap' | 'rpc';
|
|
922
1118
|
/**
|
|
923
1119
|
* Payload for the user.authenticated webhook event.
|
|
924
1120
|
*/
|
|
@@ -949,6 +1145,59 @@ export interface UserCreatedWebhookPayload {
|
|
|
949
1145
|
*/
|
|
950
1146
|
user: UsersAPI.User;
|
|
951
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
* Payload for the user.deleted webhook event.
|
|
1150
|
+
*/
|
|
1151
|
+
export interface UserDeletedWebhookPayload {
|
|
1152
|
+
/**
|
|
1153
|
+
* The type of webhook event.
|
|
1154
|
+
*/
|
|
1155
|
+
type: 'user.deleted';
|
|
1156
|
+
/**
|
|
1157
|
+
* A Privy user object.
|
|
1158
|
+
*/
|
|
1159
|
+
user: UsersAPI.User;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* Full KYC state snapshot in a KYC update event.
|
|
1163
|
+
*/
|
|
1164
|
+
export interface UserKYCUpdatedData {
|
|
1165
|
+
/**
|
|
1166
|
+
* Capability statuses for the customer.
|
|
1167
|
+
*/
|
|
1168
|
+
capabilities: FiatAPI.KyxCapabilities;
|
|
1169
|
+
endorsements: Array<FiatAPI.KyxEndorsement>;
|
|
1170
|
+
/**
|
|
1171
|
+
* KYC verification status in a KYC update event.
|
|
1172
|
+
*/
|
|
1173
|
+
kyc: UserKYCUpdatedKYCData;
|
|
1174
|
+
/**
|
|
1175
|
+
* KYC/KYB status for the user.
|
|
1176
|
+
*/
|
|
1177
|
+
status: FiatAPI.KyxProviderStatus;
|
|
1178
|
+
/**
|
|
1179
|
+
* Terms of service status in a KYC update event.
|
|
1180
|
+
*/
|
|
1181
|
+
tos: UserKYCUpdatedTosData;
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* KYC verification status in a KYC update event.
|
|
1185
|
+
*/
|
|
1186
|
+
export interface UserKYCUpdatedKYCData {
|
|
1187
|
+
/**
|
|
1188
|
+
* Status of KYC/KYB verification. Passthrough from the provider.
|
|
1189
|
+
*/
|
|
1190
|
+
status: FiatAPI.KyxVerificationStatus;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
* Terms of service status in a KYC update event.
|
|
1194
|
+
*/
|
|
1195
|
+
export interface UserKYCUpdatedTosData {
|
|
1196
|
+
/**
|
|
1197
|
+
* Status of Terms of Service acceptance. Passthrough from the provider.
|
|
1198
|
+
*/
|
|
1199
|
+
status: FiatAPI.KyxTosStatus;
|
|
1200
|
+
}
|
|
952
1201
|
/**
|
|
953
1202
|
* Payload for the user.linked_account webhook event.
|
|
954
1203
|
*/
|
|
@@ -1128,6 +1377,10 @@ export interface WalletActionEarnDepositCreatedWebhookPayload {
|
|
|
1128
1377
|
* present when the token is known in the asset registry.
|
|
1129
1378
|
*/
|
|
1130
1379
|
decimals?: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1382
|
+
*/
|
|
1383
|
+
reference_id?: string | null;
|
|
1131
1384
|
}
|
|
1132
1385
|
/**
|
|
1133
1386
|
* Payload for the wallet_action.earn_deposit.failed webhook event.
|
|
@@ -1205,6 +1458,10 @@ export interface WalletActionEarnDepositFailedWebhookPayload {
|
|
|
1205
1458
|
* present when the token is known in the asset registry.
|
|
1206
1459
|
*/
|
|
1207
1460
|
decimals?: number;
|
|
1461
|
+
/**
|
|
1462
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1463
|
+
*/
|
|
1464
|
+
reference_id?: string | null;
|
|
1208
1465
|
}
|
|
1209
1466
|
/**
|
|
1210
1467
|
* Payload for the wallet_action.earn_deposit.rejected webhook event.
|
|
@@ -1281,6 +1538,10 @@ export interface WalletActionEarnDepositRejectedWebhookPayload {
|
|
|
1281
1538
|
* present when the token is known in the asset registry.
|
|
1282
1539
|
*/
|
|
1283
1540
|
decimals?: number;
|
|
1541
|
+
/**
|
|
1542
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1543
|
+
*/
|
|
1544
|
+
reference_id?: string | null;
|
|
1284
1545
|
}
|
|
1285
1546
|
/**
|
|
1286
1547
|
* Payload for the wallet_action.earn_deposit.succeeded webhook event.
|
|
@@ -1357,6 +1618,10 @@ export interface WalletActionEarnDepositSucceededWebhookPayload {
|
|
|
1357
1618
|
* present when the token is known in the asset registry.
|
|
1358
1619
|
*/
|
|
1359
1620
|
decimals?: number;
|
|
1621
|
+
/**
|
|
1622
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1623
|
+
*/
|
|
1624
|
+
reference_id?: string | null;
|
|
1360
1625
|
}
|
|
1361
1626
|
/**
|
|
1362
1627
|
* Payload for the wallet_action.earn_fee_collect.created webhook event.
|
|
@@ -1421,6 +1686,10 @@ export interface WalletActionEarnFeeCollectCreatedWebhookPayload {
|
|
|
1421
1686
|
* present when the token is known in the asset registry.
|
|
1422
1687
|
*/
|
|
1423
1688
|
decimals?: number;
|
|
1689
|
+
/**
|
|
1690
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1691
|
+
*/
|
|
1692
|
+
reference_id?: string | null;
|
|
1424
1693
|
}
|
|
1425
1694
|
/**
|
|
1426
1695
|
* Payload for the wallet_action.earn_fee_collect.failed webhook event.
|
|
@@ -1498,6 +1767,10 @@ export interface WalletActionEarnFeeCollectFailedWebhookPayload {
|
|
|
1498
1767
|
* present when the token is known in the asset registry.
|
|
1499
1768
|
*/
|
|
1500
1769
|
decimals?: number;
|
|
1770
|
+
/**
|
|
1771
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1772
|
+
*/
|
|
1773
|
+
reference_id?: string | null;
|
|
1501
1774
|
}
|
|
1502
1775
|
/**
|
|
1503
1776
|
* Payload for the wallet_action.earn_fee_collect.rejected webhook event.
|
|
@@ -1574,6 +1847,10 @@ export interface WalletActionEarnFeeCollectRejectedWebhookPayload {
|
|
|
1574
1847
|
* present when the token is known in the asset registry.
|
|
1575
1848
|
*/
|
|
1576
1849
|
decimals?: number;
|
|
1850
|
+
/**
|
|
1851
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1852
|
+
*/
|
|
1853
|
+
reference_id?: string | null;
|
|
1577
1854
|
}
|
|
1578
1855
|
/**
|
|
1579
1856
|
* Payload for the wallet_action.earn_fee_collect.succeeded webhook event.
|
|
@@ -1646,6 +1923,10 @@ export interface WalletActionEarnFeeCollectSucceededWebhookPayload {
|
|
|
1646
1923
|
* present when the token is known in the asset registry.
|
|
1647
1924
|
*/
|
|
1648
1925
|
decimals?: number;
|
|
1926
|
+
/**
|
|
1927
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1928
|
+
*/
|
|
1929
|
+
reference_id?: string | null;
|
|
1649
1930
|
}
|
|
1650
1931
|
/**
|
|
1651
1932
|
* Payload for the wallet_action.earn_incentive_claim.created webhook event.
|
|
@@ -1683,6 +1964,10 @@ export interface WalletActionEarnIncentiveClaimCreatedWebhookPayload {
|
|
|
1683
1964
|
* The ID of the wallet involved in the action.
|
|
1684
1965
|
*/
|
|
1685
1966
|
wallet_id: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
1969
|
+
*/
|
|
1970
|
+
reference_id?: string | null;
|
|
1686
1971
|
}
|
|
1687
1972
|
/**
|
|
1688
1973
|
* Payload for the wallet_action.earn_incentive_claim.failed webhook event.
|
|
@@ -1733,6 +2018,10 @@ export interface WalletActionEarnIncentiveClaimFailedWebhookPayload {
|
|
|
1733
2018
|
* The ID of the wallet involved in the action.
|
|
1734
2019
|
*/
|
|
1735
2020
|
wallet_id: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2023
|
+
*/
|
|
2024
|
+
reference_id?: string | null;
|
|
1736
2025
|
}
|
|
1737
2026
|
/**
|
|
1738
2027
|
* Payload for the wallet_action.earn_incentive_claim.rejected webhook event.
|
|
@@ -1782,6 +2071,10 @@ export interface WalletActionEarnIncentiveClaimRejectedWebhookPayload {
|
|
|
1782
2071
|
* The ID of the wallet involved in the action.
|
|
1783
2072
|
*/
|
|
1784
2073
|
wallet_id: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2076
|
+
*/
|
|
2077
|
+
reference_id?: string | null;
|
|
1785
2078
|
}
|
|
1786
2079
|
/**
|
|
1787
2080
|
* Payload for the wallet_action.earn_incentive_claim.succeeded webhook event.
|
|
@@ -1827,6 +2120,10 @@ export interface WalletActionEarnIncentiveClaimSucceededWebhookPayload {
|
|
|
1827
2120
|
* The ID of the wallet involved in the action.
|
|
1828
2121
|
*/
|
|
1829
2122
|
wallet_id: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2125
|
+
*/
|
|
2126
|
+
reference_id?: string | null;
|
|
1830
2127
|
}
|
|
1831
2128
|
/**
|
|
1832
2129
|
* Payload for the wallet_action.earn_withdraw.created webhook event.
|
|
@@ -1891,6 +2188,10 @@ export interface WalletActionEarnWithdrawCreatedWebhookPayload {
|
|
|
1891
2188
|
* present when the token is known in the asset registry.
|
|
1892
2189
|
*/
|
|
1893
2190
|
decimals?: number;
|
|
2191
|
+
/**
|
|
2192
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2193
|
+
*/
|
|
2194
|
+
reference_id?: string | null;
|
|
1894
2195
|
}
|
|
1895
2196
|
/**
|
|
1896
2197
|
* Payload for the wallet_action.earn_withdraw.failed webhook event.
|
|
@@ -1968,6 +2269,10 @@ export interface WalletActionEarnWithdrawFailedWebhookPayload {
|
|
|
1968
2269
|
* present when the token is known in the asset registry.
|
|
1969
2270
|
*/
|
|
1970
2271
|
decimals?: number;
|
|
2272
|
+
/**
|
|
2273
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2274
|
+
*/
|
|
2275
|
+
reference_id?: string | null;
|
|
1971
2276
|
}
|
|
1972
2277
|
/**
|
|
1973
2278
|
* Payload for the wallet_action.earn_withdraw.rejected webhook event.
|
|
@@ -2044,6 +2349,10 @@ export interface WalletActionEarnWithdrawRejectedWebhookPayload {
|
|
|
2044
2349
|
* present when the token is known in the asset registry.
|
|
2045
2350
|
*/
|
|
2046
2351
|
decimals?: number;
|
|
2352
|
+
/**
|
|
2353
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2354
|
+
*/
|
|
2355
|
+
reference_id?: string | null;
|
|
2047
2356
|
}
|
|
2048
2357
|
/**
|
|
2049
2358
|
* Payload for the wallet_action.earn_withdraw.succeeded webhook event.
|
|
@@ -2120,6 +2429,303 @@ export interface WalletActionEarnWithdrawSucceededWebhookPayload {
|
|
|
2120
2429
|
* present when the token is known in the asset registry.
|
|
2121
2430
|
*/
|
|
2122
2431
|
decimals?: number;
|
|
2432
|
+
/**
|
|
2433
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2434
|
+
*/
|
|
2435
|
+
reference_id?: string | null;
|
|
2436
|
+
}
|
|
2437
|
+
/**
|
|
2438
|
+
* Payload for the wallet_action.payout.created webhook event.
|
|
2439
|
+
*/
|
|
2440
|
+
export interface WalletActionPayoutCreatedWebhookPayload {
|
|
2441
|
+
/**
|
|
2442
|
+
* Type of wallet action
|
|
2443
|
+
*/
|
|
2444
|
+
action_type: ActionsAPI.WalletActionType;
|
|
2445
|
+
/**
|
|
2446
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
2447
|
+
*/
|
|
2448
|
+
created_at: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* The fiat currency the payout settles in (e.g. "usd").
|
|
2451
|
+
*/
|
|
2452
|
+
destination_currency: string;
|
|
2453
|
+
/**
|
|
2454
|
+
* The registered external fiat account the payout settles to.
|
|
2455
|
+
*/
|
|
2456
|
+
destination_fiat_account_id: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* The fiat payment rail the payout settles over (e.g. "ach", "sepa", "wire").
|
|
2459
|
+
*/
|
|
2460
|
+
destination_payment_rail: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* The Privy API environment.
|
|
2463
|
+
*/
|
|
2464
|
+
environment: SharedAPI.IntegrationEnvironment;
|
|
2465
|
+
/**
|
|
2466
|
+
* Supported fiat orchestration providers.
|
|
2467
|
+
*/
|
|
2468
|
+
provider: SharedAPI.OrchestrationProvider;
|
|
2469
|
+
/**
|
|
2470
|
+
* Decimal amount offramped, in the asset's standard units (e.g. "100.00").
|
|
2471
|
+
*/
|
|
2472
|
+
source_amount: string;
|
|
2473
|
+
/**
|
|
2474
|
+
* Source crypto asset sent on-chain (e.g. "usdc").
|
|
2475
|
+
*/
|
|
2476
|
+
source_asset: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* Source chain the crypto was sent from (e.g. "base").
|
|
2479
|
+
*/
|
|
2480
|
+
source_chain: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* The status of the wallet action.
|
|
2483
|
+
*/
|
|
2484
|
+
status: 'pending';
|
|
2485
|
+
/**
|
|
2486
|
+
* The type of webhook event.
|
|
2487
|
+
*/
|
|
2488
|
+
type: 'wallet_action.payout.created';
|
|
2489
|
+
/**
|
|
2490
|
+
* The ID of the wallet action.
|
|
2491
|
+
*/
|
|
2492
|
+
wallet_action_id: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* The ID of the wallet involved in the action.
|
|
2495
|
+
*/
|
|
2496
|
+
wallet_id: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2499
|
+
*/
|
|
2500
|
+
reference_id?: string | null;
|
|
2501
|
+
}
|
|
2502
|
+
/**
|
|
2503
|
+
* Payload for the wallet_action.payout.failed webhook event.
|
|
2504
|
+
*/
|
|
2505
|
+
export interface WalletActionPayoutFailedWebhookPayload {
|
|
2506
|
+
/**
|
|
2507
|
+
* Type of wallet action
|
|
2508
|
+
*/
|
|
2509
|
+
action_type: ActionsAPI.WalletActionType;
|
|
2510
|
+
/**
|
|
2511
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
2512
|
+
*/
|
|
2513
|
+
created_at: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* The fiat currency the payout settles in (e.g. "usd").
|
|
2516
|
+
*/
|
|
2517
|
+
destination_currency: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* The registered external fiat account the payout settles to.
|
|
2520
|
+
*/
|
|
2521
|
+
destination_fiat_account_id: string;
|
|
2522
|
+
/**
|
|
2523
|
+
* The fiat payment rail the payout settles over (e.g. "ach", "sepa", "wire").
|
|
2524
|
+
*/
|
|
2525
|
+
destination_payment_rail: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* The Privy API environment.
|
|
2528
|
+
*/
|
|
2529
|
+
environment: SharedAPI.IntegrationEnvironment;
|
|
2530
|
+
/**
|
|
2531
|
+
* ISO 8601 timestamp of when the wallet action failed.
|
|
2532
|
+
*/
|
|
2533
|
+
failed_at: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
2536
|
+
*/
|
|
2537
|
+
failure_reason: ActionsAPI.FailureReason;
|
|
2538
|
+
/**
|
|
2539
|
+
* Supported fiat orchestration providers.
|
|
2540
|
+
*/
|
|
2541
|
+
provider: SharedAPI.OrchestrationProvider;
|
|
2542
|
+
/**
|
|
2543
|
+
* Decimal amount offramped, in the asset's standard units (e.g. "100.00").
|
|
2544
|
+
*/
|
|
2545
|
+
source_amount: string;
|
|
2546
|
+
/**
|
|
2547
|
+
* Source crypto asset sent on-chain (e.g. "usdc").
|
|
2548
|
+
*/
|
|
2549
|
+
source_asset: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* Source chain the crypto was sent from (e.g. "base").
|
|
2552
|
+
*/
|
|
2553
|
+
source_chain: string;
|
|
2554
|
+
/**
|
|
2555
|
+
* The status of the wallet action.
|
|
2556
|
+
*/
|
|
2557
|
+
status: 'failed';
|
|
2558
|
+
/**
|
|
2559
|
+
* The steps of the wallet action. Completed steps will have transaction hashes;
|
|
2560
|
+
* the failing step will have a failure_reason.
|
|
2561
|
+
*/
|
|
2562
|
+
steps: Array<ActionsAPI.WalletActionStep>;
|
|
2563
|
+
/**
|
|
2564
|
+
* The type of webhook event.
|
|
2565
|
+
*/
|
|
2566
|
+
type: 'wallet_action.payout.failed';
|
|
2567
|
+
/**
|
|
2568
|
+
* The ID of the wallet action.
|
|
2569
|
+
*/
|
|
2570
|
+
wallet_action_id: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* The ID of the wallet involved in the action.
|
|
2573
|
+
*/
|
|
2574
|
+
wallet_id: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2577
|
+
*/
|
|
2578
|
+
reference_id?: string | null;
|
|
2579
|
+
}
|
|
2580
|
+
/**
|
|
2581
|
+
* Payload for the wallet_action.payout.rejected webhook event.
|
|
2582
|
+
*/
|
|
2583
|
+
export interface WalletActionPayoutRejectedWebhookPayload {
|
|
2584
|
+
/**
|
|
2585
|
+
* Type of wallet action
|
|
2586
|
+
*/
|
|
2587
|
+
action_type: ActionsAPI.WalletActionType;
|
|
2588
|
+
/**
|
|
2589
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
2590
|
+
*/
|
|
2591
|
+
created_at: string;
|
|
2592
|
+
/**
|
|
2593
|
+
* The fiat currency the payout settles in (e.g. "usd").
|
|
2594
|
+
*/
|
|
2595
|
+
destination_currency: string;
|
|
2596
|
+
/**
|
|
2597
|
+
* The registered external fiat account the payout settles to.
|
|
2598
|
+
*/
|
|
2599
|
+
destination_fiat_account_id: string;
|
|
2600
|
+
/**
|
|
2601
|
+
* The fiat payment rail the payout settles over (e.g. "ach", "sepa", "wire").
|
|
2602
|
+
*/
|
|
2603
|
+
destination_payment_rail: string;
|
|
2604
|
+
/**
|
|
2605
|
+
* The Privy API environment.
|
|
2606
|
+
*/
|
|
2607
|
+
environment: SharedAPI.IntegrationEnvironment;
|
|
2608
|
+
/**
|
|
2609
|
+
* A description of why a wallet action (or a step within a wallet action) failed.
|
|
2610
|
+
*/
|
|
2611
|
+
failure_reason: ActionsAPI.FailureReason;
|
|
2612
|
+
/**
|
|
2613
|
+
* Supported fiat orchestration providers.
|
|
2614
|
+
*/
|
|
2615
|
+
provider: SharedAPI.OrchestrationProvider;
|
|
2616
|
+
/**
|
|
2617
|
+
* ISO 8601 timestamp of when the wallet action was rejected.
|
|
2618
|
+
*/
|
|
2619
|
+
rejected_at: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* Decimal amount offramped, in the asset's standard units (e.g. "100.00").
|
|
2622
|
+
*/
|
|
2623
|
+
source_amount: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* Source crypto asset sent on-chain (e.g. "usdc").
|
|
2626
|
+
*/
|
|
2627
|
+
source_asset: string;
|
|
2628
|
+
/**
|
|
2629
|
+
* Source chain the crypto was sent from (e.g. "base").
|
|
2630
|
+
*/
|
|
2631
|
+
source_chain: string;
|
|
2632
|
+
/**
|
|
2633
|
+
* The status of the wallet action.
|
|
2634
|
+
*/
|
|
2635
|
+
status: 'rejected';
|
|
2636
|
+
/**
|
|
2637
|
+
* The steps of the wallet action at the time of rejection.
|
|
2638
|
+
*/
|
|
2639
|
+
steps: Array<ActionsAPI.WalletActionStep>;
|
|
2640
|
+
/**
|
|
2641
|
+
* The type of webhook event.
|
|
2642
|
+
*/
|
|
2643
|
+
type: 'wallet_action.payout.rejected';
|
|
2644
|
+
/**
|
|
2645
|
+
* The ID of the wallet action.
|
|
2646
|
+
*/
|
|
2647
|
+
wallet_action_id: string;
|
|
2648
|
+
/**
|
|
2649
|
+
* The ID of the wallet involved in the action.
|
|
2650
|
+
*/
|
|
2651
|
+
wallet_id: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2654
|
+
*/
|
|
2655
|
+
reference_id?: string | null;
|
|
2656
|
+
}
|
|
2657
|
+
/**
|
|
2658
|
+
* Payload for the wallet_action.payout.succeeded webhook event.
|
|
2659
|
+
*/
|
|
2660
|
+
export interface WalletActionPayoutSucceededWebhookPayload {
|
|
2661
|
+
/**
|
|
2662
|
+
* Type of wallet action
|
|
2663
|
+
*/
|
|
2664
|
+
action_type: ActionsAPI.WalletActionType;
|
|
2665
|
+
/**
|
|
2666
|
+
* ISO 8601 timestamp of when the wallet action completed successfully.
|
|
2667
|
+
*/
|
|
2668
|
+
completed_at: string;
|
|
2669
|
+
/**
|
|
2670
|
+
* ISO 8601 timestamp of when the wallet action was created.
|
|
2671
|
+
*/
|
|
2672
|
+
created_at: string;
|
|
2673
|
+
/**
|
|
2674
|
+
* The fiat currency the payout settles in (e.g. "usd").
|
|
2675
|
+
*/
|
|
2676
|
+
destination_currency: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* The registered external fiat account the payout settles to.
|
|
2679
|
+
*/
|
|
2680
|
+
destination_fiat_account_id: string;
|
|
2681
|
+
/**
|
|
2682
|
+
* The fiat payment rail the payout settles over (e.g. "ach", "sepa", "wire").
|
|
2683
|
+
*/
|
|
2684
|
+
destination_payment_rail: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* The Privy API environment.
|
|
2687
|
+
*/
|
|
2688
|
+
environment: SharedAPI.IntegrationEnvironment;
|
|
2689
|
+
/**
|
|
2690
|
+
* Supported fiat orchestration providers.
|
|
2691
|
+
*/
|
|
2692
|
+
provider: SharedAPI.OrchestrationProvider;
|
|
2693
|
+
/**
|
|
2694
|
+
* Decimal amount offramped, in the asset's standard units (e.g. "100.00").
|
|
2695
|
+
*/
|
|
2696
|
+
source_amount: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* Source crypto asset sent on-chain (e.g. "usdc").
|
|
2699
|
+
*/
|
|
2700
|
+
source_asset: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* Source chain the crypto was sent from (e.g. "base").
|
|
2703
|
+
*/
|
|
2704
|
+
source_chain: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* The status of the wallet action.
|
|
2707
|
+
*/
|
|
2708
|
+
status: 'succeeded';
|
|
2709
|
+
/**
|
|
2710
|
+
* The steps of the wallet action, including transaction hashes.
|
|
2711
|
+
*/
|
|
2712
|
+
steps: Array<ActionsAPI.WalletActionStep>;
|
|
2713
|
+
/**
|
|
2714
|
+
* The type of webhook event.
|
|
2715
|
+
*/
|
|
2716
|
+
type: 'wallet_action.payout.succeeded';
|
|
2717
|
+
/**
|
|
2718
|
+
* The ID of the wallet action.
|
|
2719
|
+
*/
|
|
2720
|
+
wallet_action_id: string;
|
|
2721
|
+
/**
|
|
2722
|
+
* The ID of the wallet involved in the action.
|
|
2723
|
+
*/
|
|
2724
|
+
wallet_id: string;
|
|
2725
|
+
/**
|
|
2726
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2727
|
+
*/
|
|
2728
|
+
reference_id?: string | null;
|
|
2123
2729
|
}
|
|
2124
2730
|
/**
|
|
2125
2731
|
* Payload for the wallet_action.swap.created webhook event.
|
|
@@ -2165,6 +2771,10 @@ export interface WalletActionSwapCreatedWebhookPayload {
|
|
|
2165
2771
|
* The ID of the wallet involved in the action.
|
|
2166
2772
|
*/
|
|
2167
2773
|
wallet_id: string;
|
|
2774
|
+
/**
|
|
2775
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2776
|
+
*/
|
|
2777
|
+
reference_id?: string | null;
|
|
2168
2778
|
}
|
|
2169
2779
|
/**
|
|
2170
2780
|
* Payload for the wallet_action.swap.failed webhook event.
|
|
@@ -2223,6 +2833,10 @@ export interface WalletActionSwapFailedWebhookPayload {
|
|
|
2223
2833
|
* The ID of the wallet involved in the action.
|
|
2224
2834
|
*/
|
|
2225
2835
|
wallet_id: string;
|
|
2836
|
+
/**
|
|
2837
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2838
|
+
*/
|
|
2839
|
+
reference_id?: string | null;
|
|
2226
2840
|
}
|
|
2227
2841
|
/**
|
|
2228
2842
|
* Payload for the wallet_action.swap.rejected webhook event.
|
|
@@ -2280,6 +2894,10 @@ export interface WalletActionSwapRejectedWebhookPayload {
|
|
|
2280
2894
|
* The ID of the wallet involved in the action.
|
|
2281
2895
|
*/
|
|
2282
2896
|
wallet_id: string;
|
|
2897
|
+
/**
|
|
2898
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2899
|
+
*/
|
|
2900
|
+
reference_id?: string | null;
|
|
2283
2901
|
}
|
|
2284
2902
|
/**
|
|
2285
2903
|
* Payload for the wallet_action.swap.succeeded webhook event.
|
|
@@ -2338,6 +2956,10 @@ export interface WalletActionSwapSucceededWebhookPayload {
|
|
|
2338
2956
|
* The ID of the wallet involved in the action.
|
|
2339
2957
|
*/
|
|
2340
2958
|
wallet_id: string;
|
|
2959
|
+
/**
|
|
2960
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
2961
|
+
*/
|
|
2962
|
+
reference_id?: string | null;
|
|
2341
2963
|
}
|
|
2342
2964
|
/**
|
|
2343
2965
|
* Payload for the wallet_action.transfer.created webhook event.
|
|
@@ -2375,6 +2997,10 @@ export interface WalletActionTransferCreatedWebhookPayload {
|
|
|
2375
2997
|
* The ID of the wallet involved in the action.
|
|
2376
2998
|
*/
|
|
2377
2999
|
wallet_id: string;
|
|
3000
|
+
/**
|
|
3001
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
3002
|
+
*/
|
|
3003
|
+
reference_id?: string | null;
|
|
2378
3004
|
/**
|
|
2379
3005
|
* Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
|
|
2380
3006
|
* cross-chain transfers until the source amount is determined.
|
|
@@ -2445,6 +3071,10 @@ export interface WalletActionTransferFailedWebhookPayload {
|
|
|
2445
3071
|
* The ID of the wallet involved in the action.
|
|
2446
3072
|
*/
|
|
2447
3073
|
wallet_id: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
3076
|
+
*/
|
|
3077
|
+
reference_id?: string | null;
|
|
2448
3078
|
/**
|
|
2449
3079
|
* Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
|
|
2450
3080
|
* cross-chain transfers until the source amount is determined.
|
|
@@ -2514,6 +3144,10 @@ export interface WalletActionTransferRejectedWebhookPayload {
|
|
|
2514
3144
|
* The ID of the wallet involved in the action.
|
|
2515
3145
|
*/
|
|
2516
3146
|
wallet_id: string;
|
|
3147
|
+
/**
|
|
3148
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
3149
|
+
*/
|
|
3150
|
+
reference_id?: string | null;
|
|
2517
3151
|
/**
|
|
2518
3152
|
* Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
|
|
2519
3153
|
* cross-chain transfers until the source amount is determined.
|
|
@@ -2579,6 +3213,10 @@ export interface WalletActionTransferSucceededWebhookPayload {
|
|
|
2579
3213
|
* The ID of the wallet involved in the action.
|
|
2580
3214
|
*/
|
|
2581
3215
|
wallet_id: string;
|
|
3216
|
+
/**
|
|
3217
|
+
* Developer-provided reference ID, if one was included in the request.
|
|
3218
|
+
*/
|
|
3219
|
+
reference_id?: string | null;
|
|
2582
3220
|
/**
|
|
2583
3221
|
* Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
|
|
2584
3222
|
* cross-chain transfers until the source amount is determined.
|
|
@@ -2625,10 +3263,55 @@ export interface WalletArchivedWebhookPayload {
|
|
|
2625
3263
|
*/
|
|
2626
3264
|
wallet_id: string;
|
|
2627
3265
|
}
|
|
3266
|
+
/**
|
|
3267
|
+
* Payload for the wallet_automation.submitted webhook event.
|
|
3268
|
+
*/
|
|
3269
|
+
export interface WalletAutomationSubmittedWebhookPayload {
|
|
3270
|
+
/**
|
|
3271
|
+
* The ID of the wallet action created to fulfill the automation.
|
|
3272
|
+
*/
|
|
3273
|
+
action_id: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* The ID of the automation that fired.
|
|
3276
|
+
*/
|
|
3277
|
+
automation_id: string;
|
|
3278
|
+
/**
|
|
3279
|
+
* ISO 8601 timestamp of when the automation was submitted.
|
|
3280
|
+
*/
|
|
3281
|
+
created_at: string;
|
|
3282
|
+
/**
|
|
3283
|
+
* Contract address of the triggering deposit's asset, or 'native-token' for the
|
|
3284
|
+
* native asset.
|
|
3285
|
+
*/
|
|
3286
|
+
trigger_asset_address: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* CAIP-2 chain identifier of the triggering deposit (e.g., 'eip155:8453').
|
|
3289
|
+
*/
|
|
3290
|
+
trigger_caip2: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* The ID of the automation execution that fired.
|
|
3293
|
+
*/
|
|
3294
|
+
trigger_id: string;
|
|
3295
|
+
/**
|
|
3296
|
+
* The type of webhook event.
|
|
3297
|
+
*/
|
|
3298
|
+
type: 'wallet_automation.submitted';
|
|
3299
|
+
/**
|
|
3300
|
+
* The ID of the wallet the automation fired for.
|
|
3301
|
+
*/
|
|
3302
|
+
wallet_id: string;
|
|
3303
|
+
}
|
|
2628
3304
|
/**
|
|
2629
3305
|
* An asset involved in a wallet transfer.
|
|
2630
3306
|
*/
|
|
2631
|
-
export type WalletFundsAsset = WalletFundsNativeTokenAsset | WalletFundsErc20Asset | WalletFundsSplAsset | WalletFundsSacAsset | WalletFundsTrc20Asset;
|
|
3307
|
+
export type WalletFundsAsset = WalletFundsNativeTokenAsset | WalletFundsErc20Asset | WalletFundsSplAsset | WalletFundsSacAsset | WalletFundsTrc20Asset | WalletFundsBtknAsset;
|
|
3308
|
+
/**
|
|
3309
|
+
* A token issued on Spark, identified by its BTKN identifier.
|
|
3310
|
+
*/
|
|
3311
|
+
export interface WalletFundsBtknAsset {
|
|
3312
|
+
identifier: string;
|
|
3313
|
+
type: 'btkn';
|
|
3314
|
+
}
|
|
2632
3315
|
/**
|
|
2633
3316
|
* An ERC-20 token asset.
|
|
2634
3317
|
*/
|
|
@@ -2738,7 +3421,7 @@ export interface WalletRestoredWebhookPayload {
|
|
|
2738
3421
|
/**
|
|
2739
3422
|
* Union of all webhook payload schemas.
|
|
2740
3423
|
*/
|
|
2741
|
-
export type WebhookPayload = UserCreatedWebhookPayload | UserAuthenticatedWebhookPayload | UserLinkedAccountWebhookPayload | UserUnlinkedAccountWebhookPayload | UserUpdatedAccountWebhookPayload | UserTransferredAccountWebhookPayload | UserWalletCreatedWebhookPayload | TransactionBroadcastedWebhookPayload | TransactionConfirmedWebhookPayload | TransactionExecutionRevertedWebhookPayload | TransactionStillPendingWebhookPayload | TransactionFailedWebhookPayload | TransactionReplacedWebhookPayload | TransactionProviderErrorWebhookPayload | FundsDepositedWebhookPayload | FundsWithdrawnWebhookPayload | PrivateKeyExportWebhookPayload | SeedPhraseExportWebhookPayload | WalletRecoverySetupWebhookPayload | WalletRecoveredWebhookPayload | WalletArchivedWebhookPayload | WalletRestoredWebhookPayload | MfaEnabledWebhookPayload | MfaDisabledWebhookPayload | YieldDepositConfirmedWebhookPayload | YieldWithdrawConfirmedWebhookPayload | YieldClaimConfirmedWebhookPayload | UserOperationCompletedWebhookPayload | IntentCreatedWebhookPayload | IntentAuthorizedWebhookPayload | IntentRejectedWebhookPayload | IntentExecutedWebhookPayload | IntentFailedWebhookPayload | WalletActionSwapCreatedWebhookPayload | WalletActionSwapSucceededWebhookPayload | WalletActionSwapRejectedWebhookPayload | WalletActionSwapFailedWebhookPayload | WalletActionTransferCreatedWebhookPayload | WalletActionTransferSucceededWebhookPayload | WalletActionTransferRejectedWebhookPayload | WalletActionTransferFailedWebhookPayload | WalletActionEarnDepositCreatedWebhookPayload | WalletActionEarnDepositSucceededWebhookPayload | WalletActionEarnDepositRejectedWebhookPayload | WalletActionEarnDepositFailedWebhookPayload | WalletActionEarnWithdrawCreatedWebhookPayload | WalletActionEarnWithdrawSucceededWebhookPayload | WalletActionEarnWithdrawRejectedWebhookPayload | WalletActionEarnWithdrawFailedWebhookPayload | WalletActionEarnIncentiveClaimCreatedWebhookPayload | WalletActionEarnIncentiveClaimSucceededWebhookPayload | WalletActionEarnIncentiveClaimRejectedWebhookPayload | WalletActionEarnIncentiveClaimFailedWebhookPayload | WalletActionEarnFeeCollectCreatedWebhookPayload | WalletActionEarnFeeCollectSucceededWebhookPayload | WalletActionEarnFeeCollectRejectedWebhookPayload | WalletActionEarnFeeCollectFailedWebhookPayload;
|
|
3424
|
+
export type WebhookPayload = UserCreatedWebhookPayload | UserDeletedWebhookPayload | UserAuthenticatedWebhookPayload | UserLinkedAccountWebhookPayload | UserUnlinkedAccountWebhookPayload | UserUpdatedAccountWebhookPayload | UserTransferredAccountWebhookPayload | UserWalletCreatedWebhookPayload | TransactionBroadcastedWebhookPayload | TransactionConfirmedWebhookPayload | TransactionExecutionRevertedWebhookPayload | TransactionStillPendingWebhookPayload | TransactionFailedWebhookPayload | TransactionReplacedWebhookPayload | TransactionProviderErrorWebhookPayload | FundsDepositedWebhookPayload | FundsWithdrawnWebhookPayload | PrivateKeyExportWebhookPayload | SeedPhraseExportWebhookPayload | WalletRecoverySetupWebhookPayload | WalletRecoveredWebhookPayload | WalletArchivedWebhookPayload | WalletRestoredWebhookPayload | MfaEnabledWebhookPayload | MfaDisabledWebhookPayload | YieldDepositConfirmedWebhookPayload | YieldWithdrawConfirmedWebhookPayload | YieldClaimConfirmedWebhookPayload | UserOperationCompletedWebhookPayload | UsageGasSponsorshipRecordedWebhookPayload | UsageCrossChainFeeRecordedWebhookPayload | IntentCreatedWebhookPayload | IntentAuthorizedWebhookPayload | IntentRejectedWebhookPayload | IntentExecutedWebhookPayload | IntentFailedWebhookPayload | WalletActionSwapCreatedWebhookPayload | WalletActionSwapSucceededWebhookPayload | WalletActionSwapRejectedWebhookPayload | WalletActionSwapFailedWebhookPayload | WalletActionTransferCreatedWebhookPayload | WalletActionTransferSucceededWebhookPayload | WalletActionTransferRejectedWebhookPayload | WalletActionTransferFailedWebhookPayload | WalletActionEarnDepositCreatedWebhookPayload | WalletActionEarnDepositSucceededWebhookPayload | WalletActionEarnDepositRejectedWebhookPayload | WalletActionEarnDepositFailedWebhookPayload | WalletActionEarnWithdrawCreatedWebhookPayload | WalletActionEarnWithdrawSucceededWebhookPayload | WalletActionEarnWithdrawRejectedWebhookPayload | WalletActionEarnWithdrawFailedWebhookPayload | WalletActionEarnIncentiveClaimCreatedWebhookPayload | WalletActionEarnIncentiveClaimSucceededWebhookPayload | WalletActionEarnIncentiveClaimRejectedWebhookPayload | WalletActionEarnIncentiveClaimFailedWebhookPayload | WalletActionEarnFeeCollectCreatedWebhookPayload | WalletActionEarnFeeCollectSucceededWebhookPayload | WalletActionEarnFeeCollectRejectedWebhookPayload | WalletActionEarnFeeCollectFailedWebhookPayload | WalletActionPayoutCreatedWebhookPayload | WalletActionPayoutSucceededWebhookPayload | WalletActionPayoutRejectedWebhookPayload | WalletActionPayoutFailedWebhookPayload | WalletAutomationSubmittedWebhookPayload;
|
|
2742
3425
|
/**
|
|
2743
3426
|
* Payload for the yield.claim.confirmed webhook event.
|
|
2744
3427
|
*/
|
|
@@ -2792,6 +3475,6 @@ export interface YieldWithdrawConfirmedWebhookPayload {
|
|
|
2792
3475
|
vault_address: string;
|
|
2793
3476
|
}
|
|
2794
3477
|
export declare namespace Webhooks {
|
|
2795
|
-
export { type BlockInfo as BlockInfo, type BridgeCryptoDepositMetadata as BridgeCryptoDepositMetadata, type BridgeCryptoTransferMetadata as BridgeCryptoTransferMetadata, type BridgeFiatDepositMetadata as BridgeFiatDepositMetadata, type BridgeFiatTransferMetadata as BridgeFiatTransferMetadata, type BridgeMetadata as BridgeMetadata, type BridgeRefundMetadata as BridgeRefundMetadata, type BridgeStaticMemoDepositMetadata as BridgeStaticMemoDepositMetadata, type BridgeTransferRefundMetadata as BridgeTransferRefundMetadata, type FundsDepositedWebhookPayload as FundsDepositedWebhookPayload, type FundsWithdrawnWebhookPayload as FundsWithdrawnWebhookPayload, type IntentAuthorizedWebhookPayload as IntentAuthorizedWebhookPayload, type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload, type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload, type IntentFailedWebhookPayload as IntentFailedWebhookPayload, type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload, type KrakenEmbedCustomOrderCancelledWebhookPayload as KrakenEmbedCustomOrderCancelledWebhookPayload, type KrakenEmbedCustomOrderExecutedWebhookPayload as KrakenEmbedCustomOrderExecutedWebhookPayload, type KrakenEmbedCustomOrderExecutionFailedWebhookPayload as KrakenEmbedCustomOrderExecutionFailedWebhookPayload, type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload, type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload, type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload, type KrakenEmbedUserClosedWebhookPayload as KrakenEmbedUserClosedWebhookPayload, type KrakenEmbedUserDisabledWebhookPayload as KrakenEmbedUserDisabledWebhookPayload, type KrakenEmbedUserVerifiedWebhookPayload as KrakenEmbedUserVerifiedWebhookPayload, type MfaDisabledWebhookPayload as MfaDisabledWebhookPayload, type MfaEnabledWebhookPayload as MfaEnabledWebhookPayload, type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload, type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload, type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload, type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload, type TransactionExecutionRevertedWebhookPayload as TransactionExecutionRevertedWebhookPayload, type TransactionFailedWebhookPayload as TransactionFailedWebhookPayload, type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload, type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload, type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload, type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload, type UserCreatedWebhookPayload as UserCreatedWebhookPayload, type UserLinkedAccountWebhookPayload as UserLinkedAccountWebhookPayload, type UserOperationCompletedWebhookPayload as UserOperationCompletedWebhookPayload, type UserReference as UserReference, type UserTransferredAccountWebhookPayload as UserTransferredAccountWebhookPayload, type UserUnlinkedAccountWebhookPayload as UserUnlinkedAccountWebhookPayload, type UserUpdatedAccountWebhookPayload as UserUpdatedAccountWebhookPayload, type UserWalletCreatedWebhookPayload as UserWalletCreatedWebhookPayload, type WalletActionEarnDepositCreatedWebhookPayload as WalletActionEarnDepositCreatedWebhookPayload, type WalletActionEarnDepositFailedWebhookPayload as WalletActionEarnDepositFailedWebhookPayload, type WalletActionEarnDepositRejectedWebhookPayload as WalletActionEarnDepositRejectedWebhookPayload, type WalletActionEarnDepositSucceededWebhookPayload as WalletActionEarnDepositSucceededWebhookPayload, type WalletActionEarnFeeCollectCreatedWebhookPayload as WalletActionEarnFeeCollectCreatedWebhookPayload, type WalletActionEarnFeeCollectFailedWebhookPayload as WalletActionEarnFeeCollectFailedWebhookPayload, type WalletActionEarnFeeCollectRejectedWebhookPayload as WalletActionEarnFeeCollectRejectedWebhookPayload, type WalletActionEarnFeeCollectSucceededWebhookPayload as WalletActionEarnFeeCollectSucceededWebhookPayload, type WalletActionEarnIncentiveClaimCreatedWebhookPayload as WalletActionEarnIncentiveClaimCreatedWebhookPayload, type WalletActionEarnIncentiveClaimFailedWebhookPayload as WalletActionEarnIncentiveClaimFailedWebhookPayload, type WalletActionEarnIncentiveClaimRejectedWebhookPayload as WalletActionEarnIncentiveClaimRejectedWebhookPayload, type WalletActionEarnIncentiveClaimSucceededWebhookPayload as WalletActionEarnIncentiveClaimSucceededWebhookPayload, type WalletActionEarnWithdrawCreatedWebhookPayload as WalletActionEarnWithdrawCreatedWebhookPayload, type WalletActionEarnWithdrawFailedWebhookPayload as WalletActionEarnWithdrawFailedWebhookPayload, type WalletActionEarnWithdrawRejectedWebhookPayload as WalletActionEarnWithdrawRejectedWebhookPayload, type WalletActionEarnWithdrawSucceededWebhookPayload as WalletActionEarnWithdrawSucceededWebhookPayload, type WalletActionSwapCreatedWebhookPayload as WalletActionSwapCreatedWebhookPayload, type WalletActionSwapFailedWebhookPayload as WalletActionSwapFailedWebhookPayload, type WalletActionSwapRejectedWebhookPayload as WalletActionSwapRejectedWebhookPayload, type WalletActionSwapSucceededWebhookPayload as WalletActionSwapSucceededWebhookPayload, type WalletActionTransferCreatedWebhookPayload as WalletActionTransferCreatedWebhookPayload, type WalletActionTransferFailedWebhookPayload as WalletActionTransferFailedWebhookPayload, type WalletActionTransferRejectedWebhookPayload as WalletActionTransferRejectedWebhookPayload, type WalletActionTransferSucceededWebhookPayload as WalletActionTransferSucceededWebhookPayload, type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload, type WalletFundsAsset as WalletFundsAsset, type WalletFundsErc20Asset as WalletFundsErc20Asset, type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset, type WalletFundsSacAsset as WalletFundsSacAsset, type WalletFundsSplAsset as WalletFundsSplAsset, type WalletFundsTrc20Asset as WalletFundsTrc20Asset, type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload, type WalletRecoverySetupMethod as WalletRecoverySetupMethod, type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload, type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload, type WebhookPayload as WebhookPayload, type YieldClaimConfirmedWebhookPayload as YieldClaimConfirmedWebhookPayload, type YieldClaimReward as YieldClaimReward, type YieldDepositConfirmedWebhookPayload as YieldDepositConfirmedWebhookPayload, type YieldWithdrawConfirmedWebhookPayload as YieldWithdrawConfirmedWebhookPayload, };
|
|
3478
|
+
export { type BlockInfo as BlockInfo, type BridgeCryptoDepositMetadata as BridgeCryptoDepositMetadata, type BridgeCryptoTransferMetadata as BridgeCryptoTransferMetadata, type BridgeFiatDepositMetadata as BridgeFiatDepositMetadata, type BridgeFiatTransferMetadata as BridgeFiatTransferMetadata, type BridgeMetadata as BridgeMetadata, type BridgeRefundMetadata as BridgeRefundMetadata, type BridgeStaticMemoDepositMetadata as BridgeStaticMemoDepositMetadata, type BridgeTransferRefundMetadata as BridgeTransferRefundMetadata, type DepositCompletedData as DepositCompletedData, type DepositCompletedDestination as DepositCompletedDestination, type DepositFailedData as DepositFailedData, type DepositStartedData as DepositStartedData, type DepositStartedDestination as DepositStartedDestination, type DepositStartedSource as DepositStartedSource, type FiatDepositCurrency as FiatDepositCurrency, type FundsDepositedWebhookPayload as FundsDepositedWebhookPayload, type FundsWithdrawnWebhookPayload as FundsWithdrawnWebhookPayload, type IntentAuthorizedWebhookPayload as IntentAuthorizedWebhookPayload, type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload, type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload, type IntentFailedWebhookPayload as IntentFailedWebhookPayload, type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload, type KrakenEmbedCustomOrderCancelledWebhookPayload as KrakenEmbedCustomOrderCancelledWebhookPayload, type KrakenEmbedCustomOrderExecutedWebhookPayload as KrakenEmbedCustomOrderExecutedWebhookPayload, type KrakenEmbedCustomOrderExecutionFailedWebhookPayload as KrakenEmbedCustomOrderExecutionFailedWebhookPayload, type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload, type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload, type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload, type KrakenEmbedUserClosedWebhookPayload as KrakenEmbedUserClosedWebhookPayload, type KrakenEmbedUserDisabledWebhookPayload as KrakenEmbedUserDisabledWebhookPayload, type KrakenEmbedUserVerifiedWebhookPayload as KrakenEmbedUserVerifiedWebhookPayload, type MfaDisabledWebhookPayload as MfaDisabledWebhookPayload, type MfaEnabledWebhookPayload as MfaEnabledWebhookPayload, type OrganizationKYBUpdatedData as OrganizationKYBUpdatedData, type OrganizationKYBUpdatedKYBData as OrganizationKYBUpdatedKYBData, type OrganizationKYBUpdatedTosData as OrganizationKYBUpdatedTosData, type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload, type SeedPhraseExportWebhookPayload as SeedPhraseExportWebhookPayload, type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload, type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload, type TransactionExecutionRevertedWebhookPayload as TransactionExecutionRevertedWebhookPayload, type TransactionFailedWebhookPayload as TransactionFailedWebhookPayload, type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload, type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload, type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload, type UsageCrossChainFeeRecordedWebhookPayload as UsageCrossChainFeeRecordedWebhookPayload, type UsageGasSponsorshipRecordedWebhookPayload as UsageGasSponsorshipRecordedWebhookPayload, type UsageSourceType as UsageSourceType, type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload, type UserCreatedWebhookPayload as UserCreatedWebhookPayload, type UserDeletedWebhookPayload as UserDeletedWebhookPayload, type UserKYCUpdatedData as UserKYCUpdatedData, type UserKYCUpdatedKYCData as UserKYCUpdatedKYCData, type UserKYCUpdatedTosData as UserKYCUpdatedTosData, type UserLinkedAccountWebhookPayload as UserLinkedAccountWebhookPayload, type UserOperationCompletedWebhookPayload as UserOperationCompletedWebhookPayload, type UserReference as UserReference, type UserTransferredAccountWebhookPayload as UserTransferredAccountWebhookPayload, type UserUnlinkedAccountWebhookPayload as UserUnlinkedAccountWebhookPayload, type UserUpdatedAccountWebhookPayload as UserUpdatedAccountWebhookPayload, type UserWalletCreatedWebhookPayload as UserWalletCreatedWebhookPayload, type WalletActionEarnDepositCreatedWebhookPayload as WalletActionEarnDepositCreatedWebhookPayload, type WalletActionEarnDepositFailedWebhookPayload as WalletActionEarnDepositFailedWebhookPayload, type WalletActionEarnDepositRejectedWebhookPayload as WalletActionEarnDepositRejectedWebhookPayload, type WalletActionEarnDepositSucceededWebhookPayload as WalletActionEarnDepositSucceededWebhookPayload, type WalletActionEarnFeeCollectCreatedWebhookPayload as WalletActionEarnFeeCollectCreatedWebhookPayload, type WalletActionEarnFeeCollectFailedWebhookPayload as WalletActionEarnFeeCollectFailedWebhookPayload, type WalletActionEarnFeeCollectRejectedWebhookPayload as WalletActionEarnFeeCollectRejectedWebhookPayload, type WalletActionEarnFeeCollectSucceededWebhookPayload as WalletActionEarnFeeCollectSucceededWebhookPayload, type WalletActionEarnIncentiveClaimCreatedWebhookPayload as WalletActionEarnIncentiveClaimCreatedWebhookPayload, type WalletActionEarnIncentiveClaimFailedWebhookPayload as WalletActionEarnIncentiveClaimFailedWebhookPayload, type WalletActionEarnIncentiveClaimRejectedWebhookPayload as WalletActionEarnIncentiveClaimRejectedWebhookPayload, type WalletActionEarnIncentiveClaimSucceededWebhookPayload as WalletActionEarnIncentiveClaimSucceededWebhookPayload, type WalletActionEarnWithdrawCreatedWebhookPayload as WalletActionEarnWithdrawCreatedWebhookPayload, type WalletActionEarnWithdrawFailedWebhookPayload as WalletActionEarnWithdrawFailedWebhookPayload, type WalletActionEarnWithdrawRejectedWebhookPayload as WalletActionEarnWithdrawRejectedWebhookPayload, type WalletActionEarnWithdrawSucceededWebhookPayload as WalletActionEarnWithdrawSucceededWebhookPayload, type WalletActionPayoutCreatedWebhookPayload as WalletActionPayoutCreatedWebhookPayload, type WalletActionPayoutFailedWebhookPayload as WalletActionPayoutFailedWebhookPayload, type WalletActionPayoutRejectedWebhookPayload as WalletActionPayoutRejectedWebhookPayload, type WalletActionPayoutSucceededWebhookPayload as WalletActionPayoutSucceededWebhookPayload, type WalletActionSwapCreatedWebhookPayload as WalletActionSwapCreatedWebhookPayload, type WalletActionSwapFailedWebhookPayload as WalletActionSwapFailedWebhookPayload, type WalletActionSwapRejectedWebhookPayload as WalletActionSwapRejectedWebhookPayload, type WalletActionSwapSucceededWebhookPayload as WalletActionSwapSucceededWebhookPayload, type WalletActionTransferCreatedWebhookPayload as WalletActionTransferCreatedWebhookPayload, type WalletActionTransferFailedWebhookPayload as WalletActionTransferFailedWebhookPayload, type WalletActionTransferRejectedWebhookPayload as WalletActionTransferRejectedWebhookPayload, type WalletActionTransferSucceededWebhookPayload as WalletActionTransferSucceededWebhookPayload, type WalletArchivedWebhookPayload as WalletArchivedWebhookPayload, type WalletAutomationSubmittedWebhookPayload as WalletAutomationSubmittedWebhookPayload, type WalletFundsAsset as WalletFundsAsset, type WalletFundsBtknAsset as WalletFundsBtknAsset, type WalletFundsErc20Asset as WalletFundsErc20Asset, type WalletFundsNativeTokenAsset as WalletFundsNativeTokenAsset, type WalletFundsSacAsset as WalletFundsSacAsset, type WalletFundsSplAsset as WalletFundsSplAsset, type WalletFundsTrc20Asset as WalletFundsTrc20Asset, type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload, type WalletRecoverySetupMethod as WalletRecoverySetupMethod, type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload, type WalletRestoredWebhookPayload as WalletRestoredWebhookPayload, type WebhookPayload as WebhookPayload, type YieldClaimConfirmedWebhookPayload as YieldClaimConfirmedWebhookPayload, type YieldClaimReward as YieldClaimReward, type YieldDepositConfirmedWebhookPayload as YieldDepositConfirmedWebhookPayload, type YieldWithdrawConfirmedWebhookPayload as YieldWithdrawConfirmedWebhookPayload, };
|
|
2796
3479
|
}
|
|
2797
3480
|
//# sourceMappingURL=webhooks.d.mts.map
|