@privy-io/node 0.8.0 → 0.9.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 +43 -0
- package/client.d.mts +17 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +17 -10
- package/client.d.ts.map +1 -1
- package/client.js +17 -3
- package/client.js.map +1 -1
- package/client.mjs +17 -3
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +21 -1
- package/resources/aggregations.d.mts +213 -2
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +213 -2
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/client-auth.d.mts +168 -2
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +168 -2
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +6 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/policies.d.mts +2 -4
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +2 -4
- package/resources/policies.d.ts.map +1 -1
- package/resources/users.d.mts +16 -6
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +16 -6
- package/resources/users.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +10 -5
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +10 -5
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js +1 -2
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs +1 -2
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- 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 +2 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +2 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +133 -13
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +133 -13
- 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 +940 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +940 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +9 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +5 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/yield.d.mts +264 -0
- package/resources/yield.d.mts.map +1 -0
- package/resources/yield.d.ts +264 -0
- package/resources/yield.d.ts.map +1 -0
- package/resources/yield.js +9 -0
- package/resources/yield.js.map +1 -0
- package/resources/yield.mjs +5 -0
- package/resources/yield.mjs.map +1 -0
- package/src/client.ts +179 -9
- package/src/internal/parse.ts +6 -0
- package/src/resources/aggregations.ts +361 -5
- package/src/resources/client-auth.ts +288 -1
- package/src/resources/index.ts +79 -3
- package/src/resources/policies.ts +2 -4
- package/src/resources/users.ts +52 -35
- package/src/resources/wallets/balance.ts +15 -5
- package/src/resources/wallets/index.ts +6 -2
- package/src/resources/wallets/transactions.ts +2 -2
- package/src/resources/wallets/wallets.ts +176 -30
- package/src/resources/webhooks.ts +1287 -0
- package/src/resources/yield.ts +330 -0
- package/src/types/x402.d.ts +18 -0
- package/src/version.ts +1 -1
- package/src/x402.ts +87 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/x402.d.mts +54 -0
- package/x402.d.mts.map +1 -0
- package/x402.d.ts +54 -0
- package/x402.d.ts.map +1 -0
- package/x402.js +75 -0
- package/x402.js.map +1 -0
- package/x402.mjs +72 -0
- package/x402.mjs.map +1 -0
|
@@ -0,0 +1,940 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as UsersAPI from "./users.js";
|
|
3
|
+
export declare class Webhooks extends APIResource {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Payload for the user.created webhook event.
|
|
7
|
+
*/
|
|
8
|
+
export interface UserCreatedWebhookPayload {
|
|
9
|
+
/**
|
|
10
|
+
* The type of webhook event.
|
|
11
|
+
*/
|
|
12
|
+
type: 'user.created';
|
|
13
|
+
/**
|
|
14
|
+
* A Privy user object.
|
|
15
|
+
*/
|
|
16
|
+
user: UsersAPI.User;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Payload for the user.authenticated webhook event.
|
|
20
|
+
*/
|
|
21
|
+
export interface UserAuthenticatedWebhookPayload {
|
|
22
|
+
/**
|
|
23
|
+
* A linked account for the user.
|
|
24
|
+
*/
|
|
25
|
+
account: UsersAPI.LinkedAccount;
|
|
26
|
+
/**
|
|
27
|
+
* The type of webhook event.
|
|
28
|
+
*/
|
|
29
|
+
type: 'user.authenticated';
|
|
30
|
+
/**
|
|
31
|
+
* A Privy user object.
|
|
32
|
+
*/
|
|
33
|
+
user: UsersAPI.User;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Payload for the user.linked_account webhook event.
|
|
37
|
+
*/
|
|
38
|
+
export interface UserLinkedAccountWebhookPayload {
|
|
39
|
+
/**
|
|
40
|
+
* A linked account for the user.
|
|
41
|
+
*/
|
|
42
|
+
account: UsersAPI.LinkedAccount;
|
|
43
|
+
/**
|
|
44
|
+
* The type of webhook event.
|
|
45
|
+
*/
|
|
46
|
+
type: 'user.linked_account';
|
|
47
|
+
/**
|
|
48
|
+
* A Privy user object.
|
|
49
|
+
*/
|
|
50
|
+
user: UsersAPI.User;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Payload for the user.unlinked_account webhook event.
|
|
54
|
+
*/
|
|
55
|
+
export interface UserUnlinkedAccountWebhookPayload {
|
|
56
|
+
/**
|
|
57
|
+
* A linked account for the user.
|
|
58
|
+
*/
|
|
59
|
+
account: UsersAPI.LinkedAccount;
|
|
60
|
+
/**
|
|
61
|
+
* The type of webhook event.
|
|
62
|
+
*/
|
|
63
|
+
type: 'user.unlinked_account';
|
|
64
|
+
/**
|
|
65
|
+
* A Privy user object.
|
|
66
|
+
*/
|
|
67
|
+
user: UsersAPI.User;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Payload for the user.updated_account webhook event.
|
|
71
|
+
*/
|
|
72
|
+
export interface UserUpdatedAccountWebhookPayload {
|
|
73
|
+
/**
|
|
74
|
+
* A linked account for the user.
|
|
75
|
+
*/
|
|
76
|
+
account: UsersAPI.LinkedAccount;
|
|
77
|
+
/**
|
|
78
|
+
* The type of webhook event.
|
|
79
|
+
*/
|
|
80
|
+
type: 'user.updated_account';
|
|
81
|
+
/**
|
|
82
|
+
* A Privy user object.
|
|
83
|
+
*/
|
|
84
|
+
user: UsersAPI.User;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Payload for the user.transferred_account webhook event.
|
|
88
|
+
*/
|
|
89
|
+
export interface UserTransferredAccountWebhookPayload {
|
|
90
|
+
/**
|
|
91
|
+
* A linked account for the user.
|
|
92
|
+
*/
|
|
93
|
+
account: UsersAPI.LinkedAccount;
|
|
94
|
+
deletedUser: true;
|
|
95
|
+
fromUser: UserTransferredAccountWebhookPayload.FromUser;
|
|
96
|
+
/**
|
|
97
|
+
* A Privy user object.
|
|
98
|
+
*/
|
|
99
|
+
toUser: UsersAPI.User;
|
|
100
|
+
/**
|
|
101
|
+
* The type of webhook event.
|
|
102
|
+
*/
|
|
103
|
+
type: 'user.transferred_account';
|
|
104
|
+
}
|
|
105
|
+
export declare namespace UserTransferredAccountWebhookPayload {
|
|
106
|
+
interface FromUser {
|
|
107
|
+
id: string;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Payload for the user.wallet_created webhook event.
|
|
112
|
+
*/
|
|
113
|
+
export interface UserWalletCreatedWebhookPayload {
|
|
114
|
+
/**
|
|
115
|
+
* The type of webhook event.
|
|
116
|
+
*/
|
|
117
|
+
type: 'user.wallet_created';
|
|
118
|
+
/**
|
|
119
|
+
* A Privy user object.
|
|
120
|
+
*/
|
|
121
|
+
user: UsersAPI.User;
|
|
122
|
+
/**
|
|
123
|
+
* Base schema for wallet accounts linked to the user.
|
|
124
|
+
*/
|
|
125
|
+
wallet: UsersAPI.LinkedAccountBaseWallet;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Payload for the transaction.broadcasted webhook event.
|
|
129
|
+
*/
|
|
130
|
+
export interface TransactionBroadcastedWebhookPayload {
|
|
131
|
+
/**
|
|
132
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
133
|
+
*/
|
|
134
|
+
caip2: string;
|
|
135
|
+
/**
|
|
136
|
+
* The blockchain transaction hash.
|
|
137
|
+
*/
|
|
138
|
+
transaction_hash: string;
|
|
139
|
+
/**
|
|
140
|
+
* The Privy-assigned ID for this transaction.
|
|
141
|
+
*/
|
|
142
|
+
transaction_id: string;
|
|
143
|
+
/**
|
|
144
|
+
* The type of webhook event.
|
|
145
|
+
*/
|
|
146
|
+
type: 'transaction.broadcasted';
|
|
147
|
+
/**
|
|
148
|
+
* The ID of the wallet that initiated the transaction.
|
|
149
|
+
*/
|
|
150
|
+
wallet_id: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Payload for the transaction.confirmed webhook event.
|
|
154
|
+
*/
|
|
155
|
+
export interface TransactionConfirmedWebhookPayload {
|
|
156
|
+
/**
|
|
157
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
158
|
+
*/
|
|
159
|
+
caip2: string;
|
|
160
|
+
/**
|
|
161
|
+
* The blockchain transaction hash.
|
|
162
|
+
*/
|
|
163
|
+
transaction_hash: string;
|
|
164
|
+
/**
|
|
165
|
+
* The Privy-assigned ID for this transaction.
|
|
166
|
+
*/
|
|
167
|
+
transaction_id: string;
|
|
168
|
+
/**
|
|
169
|
+
* The type of webhook event.
|
|
170
|
+
*/
|
|
171
|
+
type: 'transaction.confirmed';
|
|
172
|
+
/**
|
|
173
|
+
* The ID of the wallet that initiated the transaction.
|
|
174
|
+
*/
|
|
175
|
+
wallet_id: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Payload for the transaction.execution_reverted webhook event.
|
|
179
|
+
*/
|
|
180
|
+
export interface TransactionExecutionRevertedWebhookPayload {
|
|
181
|
+
/**
|
|
182
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
183
|
+
*/
|
|
184
|
+
caip2: string;
|
|
185
|
+
/**
|
|
186
|
+
* The blockchain transaction hash.
|
|
187
|
+
*/
|
|
188
|
+
transaction_hash: string;
|
|
189
|
+
/**
|
|
190
|
+
* The Privy-assigned ID for this transaction.
|
|
191
|
+
*/
|
|
192
|
+
transaction_id: string;
|
|
193
|
+
/**
|
|
194
|
+
* The type of webhook event.
|
|
195
|
+
*/
|
|
196
|
+
type: 'transaction.execution_reverted';
|
|
197
|
+
/**
|
|
198
|
+
* The ID of the wallet that initiated the transaction.
|
|
199
|
+
*/
|
|
200
|
+
wallet_id: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Payload for the transaction.still_pending webhook event.
|
|
204
|
+
*/
|
|
205
|
+
export interface TransactionStillPendingWebhookPayload {
|
|
206
|
+
/**
|
|
207
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
208
|
+
*/
|
|
209
|
+
caip2: string;
|
|
210
|
+
/**
|
|
211
|
+
* The blockchain transaction hash.
|
|
212
|
+
*/
|
|
213
|
+
transaction_hash: string;
|
|
214
|
+
/**
|
|
215
|
+
* The Privy-assigned ID for this transaction.
|
|
216
|
+
*/
|
|
217
|
+
transaction_id: string;
|
|
218
|
+
/**
|
|
219
|
+
* The original transaction request that is still pending.
|
|
220
|
+
*/
|
|
221
|
+
transaction_request: TransactionStillPendingWebhookPayload.TransactionRequest;
|
|
222
|
+
/**
|
|
223
|
+
* The type of webhook event.
|
|
224
|
+
*/
|
|
225
|
+
type: 'transaction.still_pending';
|
|
226
|
+
/**
|
|
227
|
+
* The ID of the wallet that initiated the transaction.
|
|
228
|
+
*/
|
|
229
|
+
wallet_id: string;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace TransactionStillPendingWebhookPayload {
|
|
232
|
+
/**
|
|
233
|
+
* The original transaction request that is still pending.
|
|
234
|
+
*/
|
|
235
|
+
interface TransactionRequest {
|
|
236
|
+
authorization_list?: Array<TransactionRequest.AuthorizationList>;
|
|
237
|
+
chain_id?: string | number;
|
|
238
|
+
data?: string;
|
|
239
|
+
from?: string;
|
|
240
|
+
gas_limit?: string | number;
|
|
241
|
+
gas_price?: string | number;
|
|
242
|
+
max_fee_per_gas?: string | number;
|
|
243
|
+
max_priority_fee_per_gas?: string | number;
|
|
244
|
+
nonce?: string | number;
|
|
245
|
+
to?: string;
|
|
246
|
+
type?: 0 | 1 | 2 | 4;
|
|
247
|
+
value?: string | number;
|
|
248
|
+
}
|
|
249
|
+
namespace TransactionRequest {
|
|
250
|
+
interface AuthorizationList {
|
|
251
|
+
chain_id: string | number;
|
|
252
|
+
contract: string;
|
|
253
|
+
nonce: string | number;
|
|
254
|
+
r: string;
|
|
255
|
+
s: string;
|
|
256
|
+
y_parity: number;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Payload for the transaction.failed webhook event.
|
|
262
|
+
*/
|
|
263
|
+
export interface TransactionFailedWebhookPayload {
|
|
264
|
+
/**
|
|
265
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
266
|
+
*/
|
|
267
|
+
caip2: string;
|
|
268
|
+
/**
|
|
269
|
+
* The blockchain transaction hash.
|
|
270
|
+
*/
|
|
271
|
+
transaction_hash: string;
|
|
272
|
+
/**
|
|
273
|
+
* The Privy-assigned ID for this transaction.
|
|
274
|
+
*/
|
|
275
|
+
transaction_id: string;
|
|
276
|
+
/**
|
|
277
|
+
* The type of webhook event.
|
|
278
|
+
*/
|
|
279
|
+
type: 'transaction.failed';
|
|
280
|
+
/**
|
|
281
|
+
* The ID of the wallet that initiated the transaction.
|
|
282
|
+
*/
|
|
283
|
+
wallet_id: string;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Payload for the transaction.replaced webhook event.
|
|
287
|
+
*/
|
|
288
|
+
export interface TransactionReplacedWebhookPayload {
|
|
289
|
+
/**
|
|
290
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
291
|
+
*/
|
|
292
|
+
caip2: string;
|
|
293
|
+
/**
|
|
294
|
+
* The blockchain transaction hash.
|
|
295
|
+
*/
|
|
296
|
+
transaction_hash: string;
|
|
297
|
+
/**
|
|
298
|
+
* The Privy-assigned ID for this transaction.
|
|
299
|
+
*/
|
|
300
|
+
transaction_id: string;
|
|
301
|
+
/**
|
|
302
|
+
* The type of webhook event.
|
|
303
|
+
*/
|
|
304
|
+
type: 'transaction.replaced';
|
|
305
|
+
/**
|
|
306
|
+
* The ID of the wallet that initiated the transaction.
|
|
307
|
+
*/
|
|
308
|
+
wallet_id: string;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Payload for the transaction.provider_error webhook event.
|
|
312
|
+
*/
|
|
313
|
+
export interface TransactionProviderErrorWebhookPayload {
|
|
314
|
+
/**
|
|
315
|
+
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
|
|
316
|
+
*/
|
|
317
|
+
caip2: string;
|
|
318
|
+
/**
|
|
319
|
+
* The blockchain transaction hash.
|
|
320
|
+
*/
|
|
321
|
+
transaction_hash: string;
|
|
322
|
+
/**
|
|
323
|
+
* The Privy-assigned ID for this transaction.
|
|
324
|
+
*/
|
|
325
|
+
transaction_id: string;
|
|
326
|
+
/**
|
|
327
|
+
* The type of webhook event.
|
|
328
|
+
*/
|
|
329
|
+
type: 'transaction.provider_error';
|
|
330
|
+
/**
|
|
331
|
+
* The ID of the wallet that initiated the transaction.
|
|
332
|
+
*/
|
|
333
|
+
wallet_id: string;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Payload for the wallet.funds_deposited webhook event.
|
|
337
|
+
*/
|
|
338
|
+
export interface FundsDepositedWebhookPayload {
|
|
339
|
+
/**
|
|
340
|
+
* The amount transferred, as a stringified bigint.
|
|
341
|
+
*/
|
|
342
|
+
amount: string;
|
|
343
|
+
/**
|
|
344
|
+
* The asset type being transferred.
|
|
345
|
+
*/
|
|
346
|
+
asset: FundsDepositedWebhookPayload.UnionMember0 | FundsDepositedWebhookPayload.UnionMember1 | FundsDepositedWebhookPayload.UnionMember2 | FundsDepositedWebhookPayload.UnionMember3;
|
|
347
|
+
block: FundsDepositedWebhookPayload.Block;
|
|
348
|
+
/**
|
|
349
|
+
* The CAIP-2 chain identifier.
|
|
350
|
+
*/
|
|
351
|
+
caip2: string;
|
|
352
|
+
/**
|
|
353
|
+
* A unique key for this event.
|
|
354
|
+
*/
|
|
355
|
+
idempotency_key: string;
|
|
356
|
+
/**
|
|
357
|
+
* The recipient address.
|
|
358
|
+
*/
|
|
359
|
+
recipient: string;
|
|
360
|
+
/**
|
|
361
|
+
* The sender address.
|
|
362
|
+
*/
|
|
363
|
+
sender: string;
|
|
364
|
+
/**
|
|
365
|
+
* The blockchain transaction hash.
|
|
366
|
+
*/
|
|
367
|
+
transaction_hash: string;
|
|
368
|
+
/**
|
|
369
|
+
* The type of webhook event.
|
|
370
|
+
*/
|
|
371
|
+
type: 'wallet.funds_deposited';
|
|
372
|
+
/**
|
|
373
|
+
* The ID of the wallet.
|
|
374
|
+
*/
|
|
375
|
+
wallet_id: string;
|
|
376
|
+
/**
|
|
377
|
+
* Optional Bridge metadata for custodial wallet deposits.
|
|
378
|
+
*/
|
|
379
|
+
bridge_metadata?: FundsDepositedWebhookPayload.BridgeMetadataUnionMember0 | FundsDepositedWebhookPayload.BridgeMetadataUnionMember1 | FundsDepositedWebhookPayload.BridgeMetadataUnionMember2 | FundsDepositedWebhookPayload.BridgeMetadataUnionMember3 | FundsDepositedWebhookPayload.BridgeMetadataUnionMember4 | FundsDepositedWebhookPayload.BridgeMetadataUnionMember5;
|
|
380
|
+
/**
|
|
381
|
+
* The transaction fee paid, as a stringified bigint in the chain's native token.
|
|
382
|
+
*/
|
|
383
|
+
transaction_fee?: string;
|
|
384
|
+
}
|
|
385
|
+
export declare namespace FundsDepositedWebhookPayload {
|
|
386
|
+
interface UnionMember0 {
|
|
387
|
+
address: null;
|
|
388
|
+
type: 'native-token';
|
|
389
|
+
}
|
|
390
|
+
interface UnionMember1 {
|
|
391
|
+
address: string;
|
|
392
|
+
type: 'erc20';
|
|
393
|
+
}
|
|
394
|
+
interface UnionMember2 {
|
|
395
|
+
mint: string;
|
|
396
|
+
type: 'spl';
|
|
397
|
+
}
|
|
398
|
+
interface UnionMember3 {
|
|
399
|
+
address: string;
|
|
400
|
+
type: 'sac';
|
|
401
|
+
}
|
|
402
|
+
interface Block {
|
|
403
|
+
/**
|
|
404
|
+
* The block number.
|
|
405
|
+
*/
|
|
406
|
+
number: number;
|
|
407
|
+
/**
|
|
408
|
+
* The block timestamp.
|
|
409
|
+
*/
|
|
410
|
+
timestamp: number;
|
|
411
|
+
}
|
|
412
|
+
interface BridgeMetadataUnionMember0 {
|
|
413
|
+
drain_id: string;
|
|
414
|
+
/**
|
|
415
|
+
* The crypto address of the liquidation address that received the deposit.
|
|
416
|
+
*/
|
|
417
|
+
liquidation_address: string;
|
|
418
|
+
liquidation_address_id: string;
|
|
419
|
+
method: 'liquidation_address';
|
|
420
|
+
/**
|
|
421
|
+
* The address that sent the deposit.
|
|
422
|
+
*/
|
|
423
|
+
source_wallet_address: string;
|
|
424
|
+
type: 'crypto_deposit';
|
|
425
|
+
}
|
|
426
|
+
interface BridgeMetadataUnionMember1 {
|
|
427
|
+
drain_id: string;
|
|
428
|
+
liquidation_address_id: string;
|
|
429
|
+
method: 'liquidation_address';
|
|
430
|
+
/**
|
|
431
|
+
* The original deposit transaction hash that triggered the failed drain.
|
|
432
|
+
*/
|
|
433
|
+
original_transaction_hash: string;
|
|
434
|
+
type: 'refund';
|
|
435
|
+
}
|
|
436
|
+
interface BridgeMetadataUnionMember2 {
|
|
437
|
+
activity_id: string;
|
|
438
|
+
method: 'virtual_account';
|
|
439
|
+
type: 'fiat_deposit';
|
|
440
|
+
virtual_account_id: string;
|
|
441
|
+
}
|
|
442
|
+
interface BridgeMetadataUnionMember3 {
|
|
443
|
+
method: 'transfer';
|
|
444
|
+
/**
|
|
445
|
+
* The wallet address that sent the transfer.
|
|
446
|
+
*/
|
|
447
|
+
source_wallet_address: string;
|
|
448
|
+
transfer_id: string;
|
|
449
|
+
type: 'crypto_deposit';
|
|
450
|
+
}
|
|
451
|
+
interface BridgeMetadataUnionMember4 {
|
|
452
|
+
method: 'transfer';
|
|
453
|
+
transfer_id: string;
|
|
454
|
+
type: 'fiat_deposit';
|
|
455
|
+
}
|
|
456
|
+
interface BridgeMetadataUnionMember5 {
|
|
457
|
+
method: 'transfer';
|
|
458
|
+
transfer_id: string;
|
|
459
|
+
type: 'refund';
|
|
460
|
+
/**
|
|
461
|
+
* The original transfer transaction hash (if available).
|
|
462
|
+
*/
|
|
463
|
+
original_transaction_hash?: string;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Payload for the wallet.funds_withdrawn webhook event.
|
|
468
|
+
*/
|
|
469
|
+
export interface FundsWithdrawnWebhookPayload {
|
|
470
|
+
/**
|
|
471
|
+
* The amount transferred, as a stringified bigint.
|
|
472
|
+
*/
|
|
473
|
+
amount: string;
|
|
474
|
+
/**
|
|
475
|
+
* The asset type being transferred.
|
|
476
|
+
*/
|
|
477
|
+
asset: FundsWithdrawnWebhookPayload.UnionMember0 | FundsWithdrawnWebhookPayload.UnionMember1 | FundsWithdrawnWebhookPayload.UnionMember2 | FundsWithdrawnWebhookPayload.UnionMember3;
|
|
478
|
+
block: FundsWithdrawnWebhookPayload.Block;
|
|
479
|
+
/**
|
|
480
|
+
* The CAIP-2 chain identifier.
|
|
481
|
+
*/
|
|
482
|
+
caip2: string;
|
|
483
|
+
/**
|
|
484
|
+
* A unique key for this event.
|
|
485
|
+
*/
|
|
486
|
+
idempotency_key: string;
|
|
487
|
+
/**
|
|
488
|
+
* The recipient address.
|
|
489
|
+
*/
|
|
490
|
+
recipient: string;
|
|
491
|
+
/**
|
|
492
|
+
* The sender address.
|
|
493
|
+
*/
|
|
494
|
+
sender: string;
|
|
495
|
+
/**
|
|
496
|
+
* The blockchain transaction hash.
|
|
497
|
+
*/
|
|
498
|
+
transaction_hash: string;
|
|
499
|
+
/**
|
|
500
|
+
* The type of webhook event.
|
|
501
|
+
*/
|
|
502
|
+
type: 'wallet.funds_withdrawn';
|
|
503
|
+
/**
|
|
504
|
+
* The ID of the wallet.
|
|
505
|
+
*/
|
|
506
|
+
wallet_id: string;
|
|
507
|
+
/**
|
|
508
|
+
* The transaction fee paid, as a stringified bigint in the chain's native token.
|
|
509
|
+
*/
|
|
510
|
+
transaction_fee?: string;
|
|
511
|
+
}
|
|
512
|
+
export declare namespace FundsWithdrawnWebhookPayload {
|
|
513
|
+
interface UnionMember0 {
|
|
514
|
+
address: null;
|
|
515
|
+
type: 'native-token';
|
|
516
|
+
}
|
|
517
|
+
interface UnionMember1 {
|
|
518
|
+
address: string;
|
|
519
|
+
type: 'erc20';
|
|
520
|
+
}
|
|
521
|
+
interface UnionMember2 {
|
|
522
|
+
mint: string;
|
|
523
|
+
type: 'spl';
|
|
524
|
+
}
|
|
525
|
+
interface UnionMember3 {
|
|
526
|
+
address: string;
|
|
527
|
+
type: 'sac';
|
|
528
|
+
}
|
|
529
|
+
interface Block {
|
|
530
|
+
/**
|
|
531
|
+
* The block number.
|
|
532
|
+
*/
|
|
533
|
+
number: number;
|
|
534
|
+
/**
|
|
535
|
+
* The block timestamp.
|
|
536
|
+
*/
|
|
537
|
+
timestamp: number;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Payload for the wallet.private_key_export webhook event.
|
|
542
|
+
*/
|
|
543
|
+
export interface PrivateKeyExportWebhookPayload {
|
|
544
|
+
/**
|
|
545
|
+
* The type of webhook event.
|
|
546
|
+
*/
|
|
547
|
+
type: 'wallet.private_key_export';
|
|
548
|
+
/**
|
|
549
|
+
* The ID of the user who exported the key.
|
|
550
|
+
*/
|
|
551
|
+
user_id: string;
|
|
552
|
+
/**
|
|
553
|
+
* The address of the wallet.
|
|
554
|
+
*/
|
|
555
|
+
wallet_address: string;
|
|
556
|
+
/**
|
|
557
|
+
* The ID of the wallet.
|
|
558
|
+
*/
|
|
559
|
+
wallet_id: string;
|
|
560
|
+
export_source?: 'display' | 'client';
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Payload for the wallet.recovery_setup webhook event.
|
|
564
|
+
*/
|
|
565
|
+
export interface WalletRecoverySetupWebhookPayload {
|
|
566
|
+
/**
|
|
567
|
+
* The recovery method that was set up.
|
|
568
|
+
*/
|
|
569
|
+
method: 'user_passcode_derived_recovery_key' | 'privy_passcode_derived_recovery_key' | 'privy_generated_recovery_key' | 'google_drive_recovery_secret' | 'icloud_recovery_secret' | 'recovery_encryption_key';
|
|
570
|
+
/**
|
|
571
|
+
* The type of webhook event.
|
|
572
|
+
*/
|
|
573
|
+
type: 'wallet.recovery_setup';
|
|
574
|
+
/**
|
|
575
|
+
* The ID of the user.
|
|
576
|
+
*/
|
|
577
|
+
user_id: string;
|
|
578
|
+
/**
|
|
579
|
+
* The address of the wallet.
|
|
580
|
+
*/
|
|
581
|
+
wallet_address: string;
|
|
582
|
+
/**
|
|
583
|
+
* The ID of the wallet.
|
|
584
|
+
*/
|
|
585
|
+
wallet_id: string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Payload for the wallet.recovered webhook event.
|
|
589
|
+
*/
|
|
590
|
+
export interface WalletRecoveredWebhookPayload {
|
|
591
|
+
/**
|
|
592
|
+
* The type of webhook event.
|
|
593
|
+
*/
|
|
594
|
+
type: 'wallet.recovered';
|
|
595
|
+
/**
|
|
596
|
+
* The ID of the user.
|
|
597
|
+
*/
|
|
598
|
+
user_id: string;
|
|
599
|
+
/**
|
|
600
|
+
* The address of the wallet.
|
|
601
|
+
*/
|
|
602
|
+
wallet_address: string;
|
|
603
|
+
/**
|
|
604
|
+
* The ID of the wallet.
|
|
605
|
+
*/
|
|
606
|
+
wallet_id: string;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Payload for the mfa.enabled webhook event.
|
|
610
|
+
*/
|
|
611
|
+
export interface MfaEnabledWebhookPayload {
|
|
612
|
+
/**
|
|
613
|
+
* The MFA method that was enabled.
|
|
614
|
+
*/
|
|
615
|
+
method: 'sms' | 'totp' | 'passkey';
|
|
616
|
+
/**
|
|
617
|
+
* The type of webhook event.
|
|
618
|
+
*/
|
|
619
|
+
type: 'mfa.enabled';
|
|
620
|
+
/**
|
|
621
|
+
* The ID of the user who enabled MFA.
|
|
622
|
+
*/
|
|
623
|
+
user_id: string;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Payload for the mfa.disabled webhook event.
|
|
627
|
+
*/
|
|
628
|
+
export interface MfaDisabledWebhookPayload {
|
|
629
|
+
/**
|
|
630
|
+
* The MFA method that was disabled.
|
|
631
|
+
*/
|
|
632
|
+
method: 'sms' | 'totp' | 'passkey';
|
|
633
|
+
/**
|
|
634
|
+
* The type of webhook event.
|
|
635
|
+
*/
|
|
636
|
+
type: 'mfa.disabled';
|
|
637
|
+
/**
|
|
638
|
+
* The ID of the user who disabled MFA.
|
|
639
|
+
*/
|
|
640
|
+
user_id: string;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Payload for the kraken_embed.verification_completed webhook event.
|
|
644
|
+
*/
|
|
645
|
+
export interface KrakenEmbedVerificationCompletedWebhookPayload {
|
|
646
|
+
/**
|
|
647
|
+
* ISO 8601 timestamp of when verification completed.
|
|
648
|
+
*/
|
|
649
|
+
completed_at: string;
|
|
650
|
+
/**
|
|
651
|
+
* The type of webhook event.
|
|
652
|
+
*/
|
|
653
|
+
type: 'kraken_embed.verification_completed';
|
|
654
|
+
/**
|
|
655
|
+
* The ID of the user.
|
|
656
|
+
*/
|
|
657
|
+
user_id: string;
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* Payload for the kraken_embed.verification_failed webhook event.
|
|
661
|
+
*/
|
|
662
|
+
export interface KrakenEmbedVerificationFailedWebhookPayload {
|
|
663
|
+
/**
|
|
664
|
+
* ISO 8601 timestamp of when verification failed.
|
|
665
|
+
*/
|
|
666
|
+
failed_at: string;
|
|
667
|
+
/**
|
|
668
|
+
* The reason for the failure.
|
|
669
|
+
*/
|
|
670
|
+
failure_reason: 'timeout' | 'api_error' | 'disabled_or_closed';
|
|
671
|
+
/**
|
|
672
|
+
* The type of webhook event.
|
|
673
|
+
*/
|
|
674
|
+
type: 'kraken_embed.verification_failed';
|
|
675
|
+
/**
|
|
676
|
+
* The ID of the user.
|
|
677
|
+
*/
|
|
678
|
+
user_id: string;
|
|
679
|
+
/**
|
|
680
|
+
* The user's status at the time of failure.
|
|
681
|
+
*/
|
|
682
|
+
status?: KrakenEmbedVerificationFailedWebhookPayload.UnionMember0 | KrakenEmbedVerificationFailedWebhookPayload.UnionMember1 | KrakenEmbedVerificationFailedWebhookPayload.UnionMember2;
|
|
683
|
+
}
|
|
684
|
+
export declare namespace KrakenEmbedVerificationFailedWebhookPayload {
|
|
685
|
+
interface UnionMember0 {
|
|
686
|
+
required_actions: Array<UnionMember0.UnionMember0 | UnionMember0.UnionMember1 | UnionMember0.UnionMember2>;
|
|
687
|
+
state: 'ok';
|
|
688
|
+
}
|
|
689
|
+
namespace UnionMember0 {
|
|
690
|
+
interface UnionMember0 {
|
|
691
|
+
action_type: 'verification';
|
|
692
|
+
deadline: string | null;
|
|
693
|
+
reasons: Array<string>;
|
|
694
|
+
verification_type: 'identity' | 'residence' | 'selfie' | 'sanctions_check' | 'pep_check' | 'negative_news_check' | 'tax_id';
|
|
695
|
+
}
|
|
696
|
+
interface UnionMember1 {
|
|
697
|
+
action_type: 'provide_details';
|
|
698
|
+
deadline: string | null;
|
|
699
|
+
details_type: UnionMember1.UnionMember0 | UnionMember1.FullNameType | UnionMember1.DateOfBirthType | UnionMember1.CityOfBirthType | UnionMember1.CountryOfBirthType | UnionMember1.NationalitiesType | UnionMember1.ResidenceType | UnionMember1.PhoneType | UnionMember1.OccupationType | UnionMember1.EmployerType | UnionMember1.TaxIdsType | UnionMember1.ClientIdentifierType;
|
|
700
|
+
reason: string | null;
|
|
701
|
+
}
|
|
702
|
+
namespace UnionMember1 {
|
|
703
|
+
interface UnionMember0 {
|
|
704
|
+
type: 'terms_of_service';
|
|
705
|
+
version?: number;
|
|
706
|
+
}
|
|
707
|
+
interface FullNameType {
|
|
708
|
+
type: 'full_name';
|
|
709
|
+
}
|
|
710
|
+
interface DateOfBirthType {
|
|
711
|
+
type: 'date_of_birth';
|
|
712
|
+
}
|
|
713
|
+
interface CityOfBirthType {
|
|
714
|
+
type: 'city_of_birth';
|
|
715
|
+
}
|
|
716
|
+
interface CountryOfBirthType {
|
|
717
|
+
type: 'country_of_birth';
|
|
718
|
+
}
|
|
719
|
+
interface NationalitiesType {
|
|
720
|
+
type: 'nationalities';
|
|
721
|
+
}
|
|
722
|
+
interface ResidenceType {
|
|
723
|
+
type: 'residence';
|
|
724
|
+
}
|
|
725
|
+
interface PhoneType {
|
|
726
|
+
type: 'phone';
|
|
727
|
+
}
|
|
728
|
+
interface OccupationType {
|
|
729
|
+
type: 'occupation';
|
|
730
|
+
}
|
|
731
|
+
interface EmployerType {
|
|
732
|
+
type: 'employer';
|
|
733
|
+
}
|
|
734
|
+
interface TaxIdsType {
|
|
735
|
+
type: 'tax_ids';
|
|
736
|
+
}
|
|
737
|
+
interface ClientIdentifierType {
|
|
738
|
+
type: 'client_identifier';
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
interface UnionMember2 {
|
|
742
|
+
action_type: 'wait';
|
|
743
|
+
wait_reason_code: string;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
interface UnionMember1 {
|
|
747
|
+
reasons: Array<string>;
|
|
748
|
+
required_actions: Array<UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2>;
|
|
749
|
+
state: 'disabled';
|
|
750
|
+
}
|
|
751
|
+
namespace UnionMember1 {
|
|
752
|
+
interface UnionMember0 {
|
|
753
|
+
action_type: 'verification';
|
|
754
|
+
deadline: string | null;
|
|
755
|
+
reasons: Array<string>;
|
|
756
|
+
verification_type: 'identity' | 'residence' | 'selfie' | 'sanctions_check' | 'pep_check' | 'negative_news_check' | 'tax_id';
|
|
757
|
+
}
|
|
758
|
+
interface UnionMember1 {
|
|
759
|
+
action_type: 'provide_details';
|
|
760
|
+
deadline: string | null;
|
|
761
|
+
details_type: UnionMember1.UnionMember0 | UnionMember1.FullNameType | UnionMember1.DateOfBirthType | UnionMember1.CityOfBirthType | UnionMember1.CountryOfBirthType | UnionMember1.NationalitiesType | UnionMember1.ResidenceType | UnionMember1.PhoneType | UnionMember1.OccupationType | UnionMember1.EmployerType | UnionMember1.TaxIdsType | UnionMember1.ClientIdentifierType;
|
|
762
|
+
reason: string | null;
|
|
763
|
+
}
|
|
764
|
+
namespace UnionMember1 {
|
|
765
|
+
interface UnionMember0 {
|
|
766
|
+
type: 'terms_of_service';
|
|
767
|
+
version?: number;
|
|
768
|
+
}
|
|
769
|
+
interface FullNameType {
|
|
770
|
+
type: 'full_name';
|
|
771
|
+
}
|
|
772
|
+
interface DateOfBirthType {
|
|
773
|
+
type: 'date_of_birth';
|
|
774
|
+
}
|
|
775
|
+
interface CityOfBirthType {
|
|
776
|
+
type: 'city_of_birth';
|
|
777
|
+
}
|
|
778
|
+
interface CountryOfBirthType {
|
|
779
|
+
type: 'country_of_birth';
|
|
780
|
+
}
|
|
781
|
+
interface NationalitiesType {
|
|
782
|
+
type: 'nationalities';
|
|
783
|
+
}
|
|
784
|
+
interface ResidenceType {
|
|
785
|
+
type: 'residence';
|
|
786
|
+
}
|
|
787
|
+
interface PhoneType {
|
|
788
|
+
type: 'phone';
|
|
789
|
+
}
|
|
790
|
+
interface OccupationType {
|
|
791
|
+
type: 'occupation';
|
|
792
|
+
}
|
|
793
|
+
interface EmployerType {
|
|
794
|
+
type: 'employer';
|
|
795
|
+
}
|
|
796
|
+
interface TaxIdsType {
|
|
797
|
+
type: 'tax_ids';
|
|
798
|
+
}
|
|
799
|
+
interface ClientIdentifierType {
|
|
800
|
+
type: 'client_identifier';
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
interface UnionMember2 {
|
|
804
|
+
action_type: 'wait';
|
|
805
|
+
wait_reason_code: string;
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
interface UnionMember2 {
|
|
809
|
+
reasons: Array<string>;
|
|
810
|
+
state: 'closed';
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* Payload for the kraken_embed.quote_executed webhook event.
|
|
815
|
+
*/
|
|
816
|
+
export interface KrakenEmbedQuoteExecutedWebhookPayload {
|
|
817
|
+
/**
|
|
818
|
+
* ISO 8601 timestamp of when the quote was executed.
|
|
819
|
+
*/
|
|
820
|
+
executed_at: string;
|
|
821
|
+
/**
|
|
822
|
+
* The ID of the executed quote.
|
|
823
|
+
*/
|
|
824
|
+
quote_id: string;
|
|
825
|
+
/**
|
|
826
|
+
* The type of webhook event.
|
|
827
|
+
*/
|
|
828
|
+
type: 'kraken_embed.quote.executed';
|
|
829
|
+
/**
|
|
830
|
+
* The ID of the user.
|
|
831
|
+
*/
|
|
832
|
+
user_id: string;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Payload for the kraken_embed.quote.execution_failed webhook event.
|
|
836
|
+
*/
|
|
837
|
+
export interface KrakenEmbedQuoteExecutionFailedWebhookPayload {
|
|
838
|
+
/**
|
|
839
|
+
* ISO 8601 timestamp of when the quote execution failed.
|
|
840
|
+
*/
|
|
841
|
+
failed_at: string;
|
|
842
|
+
/**
|
|
843
|
+
* The ID of the quote that failed to execute.
|
|
844
|
+
*/
|
|
845
|
+
quote_id: string;
|
|
846
|
+
/**
|
|
847
|
+
* A human-readable description of why the quote execution failed. Intended for
|
|
848
|
+
* display and logging purposes only.
|
|
849
|
+
*/
|
|
850
|
+
reason: string;
|
|
851
|
+
/**
|
|
852
|
+
* The type of webhook event.
|
|
853
|
+
*/
|
|
854
|
+
type: 'kraken_embed.quote.execution_failed';
|
|
855
|
+
/**
|
|
856
|
+
* The ID of the user.
|
|
857
|
+
*/
|
|
858
|
+
user_id: string;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* Payload for the kraken_embed.quote.cancelled webhook event.
|
|
862
|
+
*/
|
|
863
|
+
export interface KrakenEmbedQuoteCancelledWebhookPayload {
|
|
864
|
+
/**
|
|
865
|
+
* ISO 8601 timestamp of when the quote was cancelled.
|
|
866
|
+
*/
|
|
867
|
+
cancelled_at: string;
|
|
868
|
+
/**
|
|
869
|
+
* The ID of the cancelled quote.
|
|
870
|
+
*/
|
|
871
|
+
quote_id: string;
|
|
872
|
+
/**
|
|
873
|
+
* A human-readable description of why the quote was cancelled. Intended for
|
|
874
|
+
* display and logging purposes only.
|
|
875
|
+
*/
|
|
876
|
+
reason: string;
|
|
877
|
+
/**
|
|
878
|
+
* The type of webhook event.
|
|
879
|
+
*/
|
|
880
|
+
type: 'kraken_embed.quote.cancelled';
|
|
881
|
+
/**
|
|
882
|
+
* The ID of the user.
|
|
883
|
+
*/
|
|
884
|
+
user_id: string;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* Payload for the kraken_embed.user.verified webhook event.
|
|
888
|
+
*/
|
|
889
|
+
export interface KrakenEmbedUserVerifiedWebhookPayload {
|
|
890
|
+
/**
|
|
891
|
+
* The type of webhook event.
|
|
892
|
+
*/
|
|
893
|
+
type: 'kraken_embed.user.verified';
|
|
894
|
+
/**
|
|
895
|
+
* The ID of the user.
|
|
896
|
+
*/
|
|
897
|
+
user_id: string;
|
|
898
|
+
/**
|
|
899
|
+
* ISO 8601 timestamp of when the user was verified.
|
|
900
|
+
*/
|
|
901
|
+
verified_at: string;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Payload for the kraken_embed.user.disabled webhook event.
|
|
905
|
+
*/
|
|
906
|
+
export interface KrakenEmbedUserDisabledWebhookPayload {
|
|
907
|
+
/**
|
|
908
|
+
* ISO 8601 timestamp of when the user was disabled.
|
|
909
|
+
*/
|
|
910
|
+
disabled_at: string;
|
|
911
|
+
/**
|
|
912
|
+
* The type of webhook event.
|
|
913
|
+
*/
|
|
914
|
+
type: 'kraken_embed.user.disabled';
|
|
915
|
+
/**
|
|
916
|
+
* The ID of the user.
|
|
917
|
+
*/
|
|
918
|
+
user_id: string;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Payload for the kraken_embed.user.closed webhook event.
|
|
922
|
+
*/
|
|
923
|
+
export interface KrakenEmbedUserClosedWebhookPayload {
|
|
924
|
+
/**
|
|
925
|
+
* ISO 8601 timestamp of when the user was closed.
|
|
926
|
+
*/
|
|
927
|
+
closed_at: string;
|
|
928
|
+
/**
|
|
929
|
+
* The type of webhook event.
|
|
930
|
+
*/
|
|
931
|
+
type: 'kraken_embed.user.closed';
|
|
932
|
+
/**
|
|
933
|
+
* The ID of the user.
|
|
934
|
+
*/
|
|
935
|
+
user_id: string;
|
|
936
|
+
}
|
|
937
|
+
export declare namespace Webhooks {
|
|
938
|
+
export { type UserCreatedWebhookPayload as UserCreatedWebhookPayload, type UserAuthenticatedWebhookPayload as UserAuthenticatedWebhookPayload, type UserLinkedAccountWebhookPayload as UserLinkedAccountWebhookPayload, type UserUnlinkedAccountWebhookPayload as UserUnlinkedAccountWebhookPayload, type UserUpdatedAccountWebhookPayload as UserUpdatedAccountWebhookPayload, type UserTransferredAccountWebhookPayload as UserTransferredAccountWebhookPayload, type UserWalletCreatedWebhookPayload as UserWalletCreatedWebhookPayload, type TransactionBroadcastedWebhookPayload as TransactionBroadcastedWebhookPayload, type TransactionConfirmedWebhookPayload as TransactionConfirmedWebhookPayload, type TransactionExecutionRevertedWebhookPayload as TransactionExecutionRevertedWebhookPayload, type TransactionStillPendingWebhookPayload as TransactionStillPendingWebhookPayload, type TransactionFailedWebhookPayload as TransactionFailedWebhookPayload, type TransactionReplacedWebhookPayload as TransactionReplacedWebhookPayload, type TransactionProviderErrorWebhookPayload as TransactionProviderErrorWebhookPayload, type FundsDepositedWebhookPayload as FundsDepositedWebhookPayload, type FundsWithdrawnWebhookPayload as FundsWithdrawnWebhookPayload, type PrivateKeyExportWebhookPayload as PrivateKeyExportWebhookPayload, type WalletRecoverySetupWebhookPayload as WalletRecoverySetupWebhookPayload, type WalletRecoveredWebhookPayload as WalletRecoveredWebhookPayload, type MfaEnabledWebhookPayload as MfaEnabledWebhookPayload, type MfaDisabledWebhookPayload as MfaDisabledWebhookPayload, type KrakenEmbedVerificationCompletedWebhookPayload as KrakenEmbedVerificationCompletedWebhookPayload, type KrakenEmbedVerificationFailedWebhookPayload as KrakenEmbedVerificationFailedWebhookPayload, type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload, type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload, type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload, type KrakenEmbedUserVerifiedWebhookPayload as KrakenEmbedUserVerifiedWebhookPayload, type KrakenEmbedUserDisabledWebhookPayload as KrakenEmbedUserDisabledWebhookPayload, type KrakenEmbedUserClosedWebhookPayload as KrakenEmbedUserClosedWebhookPayload, };
|
|
939
|
+
}
|
|
940
|
+
//# sourceMappingURL=webhooks.d.ts.map
|