@privy-io/api-types 0.10.0 → 0.11.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 +8 -0
- package/client.d.mts +18 -24
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -24
- package/client.d.ts.map +1 -1
- package/client.js +6 -12
- package/client.js.map +1 -1
- package/client.mjs +6 -12
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/client-auth.d.mts +496 -514
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +496 -514
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts +9 -9
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +9 -9
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/fiat.d.mts +110 -0
- package/resources/fiat.d.mts.map +1 -0
- package/resources/fiat.d.ts +110 -0
- package/resources/fiat.d.ts.map +1 -0
- package/resources/fiat.js +9 -0
- package/resources/fiat.js.map +1 -0
- package/resources/fiat.mjs +5 -0
- package/resources/fiat.mjs.map +1 -0
- package/resources/funding.d.mts +46 -46
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +46 -46
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/key-quorums.d.mts +1 -132
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +1 -132
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +0 -92
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +0 -92
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/policies.d.mts +1 -311
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +1 -311
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +0 -229
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +0 -229
- package/resources/policies.mjs.map +1 -1
- package/resources/transactions.d.mts +28 -44
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +28 -44
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +0 -17
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +0 -17
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +1 -345
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +1 -345
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +0 -272
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +0 -272
- package/resources/users.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/wallets.d.mts +130 -315
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +130 -315
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +41 -102
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +41 -102
- package/resources/wallets/wallets.mjs.map +1 -1
- package/src/client.ts +106 -152
- package/src/resources/client-auth.ts +743 -787
- package/src/resources/embedded-wallets.ts +14 -14
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +65 -65
- package/src/resources/index.ts +86 -106
- package/src/resources/key-quorums.ts +1 -203
- package/src/resources/policies.ts +1 -493
- package/src/resources/transactions.ts +35 -55
- package/src/resources/users.ts +1 -479
- package/src/resources/wallets/index.ts +4 -9
- package/src/resources/wallets/wallets.ts +182 -423
- 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
|
@@ -1,515 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import * as EmbeddedWalletsAPI from "./embedded-wallets.js";
|
|
3
|
+
import * as FiatAPI from "./fiat.js";
|
|
3
4
|
import * as UsersAPI from "./users.js";
|
|
4
5
|
export declare class ClientAuth extends APIResource {
|
|
5
6
|
}
|
|
6
|
-
/**
|
|
7
|
-
* The request body for authenticating with a custom JWT.
|
|
8
|
-
*/
|
|
9
|
-
export interface CustomJwtAuthenticateRequestBody {
|
|
10
|
-
token?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Whether to allow sign-up during authentication.
|
|
13
|
-
*/
|
|
14
|
-
mode?: AuthenticateModeOption;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* The request body for linking a custom JWT account.
|
|
18
|
-
*/
|
|
19
|
-
export interface CustomJwtLinkRequestBody {
|
|
20
|
-
token?: string;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* The request body for authenticating with Farcaster.
|
|
24
|
-
*/
|
|
25
|
-
export interface FarcasterAuthenticateRequestBody {
|
|
26
|
-
channel_token: string;
|
|
27
|
-
fid: number;
|
|
28
|
-
message: string;
|
|
29
|
-
signature: string;
|
|
30
|
-
/**
|
|
31
|
-
* Whether to allow sign-up during authentication.
|
|
32
|
-
*/
|
|
33
|
-
mode?: AuthenticateModeOption;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The response body for initiating a Farcaster connection.
|
|
37
|
-
*/
|
|
38
|
-
export interface FarcasterConnectInitResponseBody {
|
|
39
|
-
channel_token: string;
|
|
40
|
-
connect_uri: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* The response body for completing a Farcaster connection.
|
|
44
|
-
*/
|
|
45
|
-
export interface FarcasterConnectStatusCompletedResponseBody {
|
|
46
|
-
bio: string;
|
|
47
|
-
display_name: string;
|
|
48
|
-
fid: number;
|
|
49
|
-
message: string;
|
|
50
|
-
nonce: string;
|
|
51
|
-
pfp_url: string;
|
|
52
|
-
signature: string;
|
|
53
|
-
state: 'completed';
|
|
54
|
-
username: string;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* The response body for pending a Farcaster connection.
|
|
58
|
-
*/
|
|
59
|
-
export interface FarcasterConnectStatusPendingResponseBody {
|
|
60
|
-
nonce: string;
|
|
61
|
-
state: 'pending';
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* The request body for initiating a Farcaster connection.
|
|
65
|
-
*/
|
|
66
|
-
export interface FarcasterInitRequestBody {
|
|
67
|
-
token?: string;
|
|
68
|
-
redirect_url?: string;
|
|
69
|
-
relying_party?: string;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* The request body for linking a Farcaster account.
|
|
73
|
-
*/
|
|
74
|
-
export interface FarcasterLinkRequestBody {
|
|
75
|
-
channel_token: string;
|
|
76
|
-
fid: number;
|
|
77
|
-
message: string;
|
|
78
|
-
signature: string;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* The request body for initiating a Farcaster signer connection.
|
|
82
|
-
*/
|
|
83
|
-
export interface FarcasterSignerInitRequestBody {
|
|
84
|
-
ed25519_public_key: string;
|
|
85
|
-
deadline?: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* The response body from initiating a Farcaster signer connection.
|
|
89
|
-
*/
|
|
90
|
-
export type FarcasterSignerInitResponseBody = FarcasterSignerInitPendingApproval | FarcasterSignerApproved | FarcasterSignerRevoked;
|
|
91
|
-
/**
|
|
92
|
-
* The response body from checking the status of a Farcaster signer connection.
|
|
93
|
-
*/
|
|
94
|
-
export type FarcasterSignerStatusResponseBody = FarcasterSignerStatusPendingApproval | FarcasterSignerApproved | FarcasterSignerRevoked;
|
|
95
|
-
/**
|
|
96
|
-
* The request body for unlinking a Farcaster account.
|
|
97
|
-
*/
|
|
98
|
-
export interface FarcasterUnlinkRequestBody {
|
|
99
|
-
fid: number;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* The request body for authenticating a Farcaster V2 account.
|
|
103
|
-
*/
|
|
104
|
-
export interface FarcasterV2AuthenticateRequestBody {
|
|
105
|
-
fid: number;
|
|
106
|
-
message: string;
|
|
107
|
-
signature: string;
|
|
108
|
-
/**
|
|
109
|
-
* Whether to allow sign-up during authentication.
|
|
110
|
-
*/
|
|
111
|
-
mode?: AuthenticateModeOption;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* The response body for initiating a Farcaster V2 connection.
|
|
115
|
-
*/
|
|
116
|
-
export interface FarcasterV2InitResponseBody {
|
|
117
|
-
expires_at: string;
|
|
118
|
-
nonce: string;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* The request body for authenticating a guest.
|
|
122
|
-
*/
|
|
123
|
-
export interface GuestAuthenticateRequestBody {
|
|
124
|
-
guest_credential: string;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* The request body for enrolling a passkey MFA flow.
|
|
128
|
-
*/
|
|
129
|
-
export interface MfaPasskeyEnrollmentRequestBody {
|
|
130
|
-
credential_ids: Array<string>;
|
|
131
|
-
remove_for_login?: boolean;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* The request body for initiating a passkey MFA flow.
|
|
135
|
-
*/
|
|
136
|
-
export interface MfaPasskeyInitRequestBody {
|
|
137
|
-
relying_party?: string;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* The response body for initializing a passkey MFA flow.
|
|
141
|
-
*/
|
|
142
|
-
export interface MfaPasskeyInitResponseBody {
|
|
143
|
-
/**
|
|
144
|
-
* WebAuthn authentication options as defined by the Web Authentication
|
|
145
|
-
* specification.
|
|
146
|
-
*/
|
|
147
|
-
options: PasskeyAuthenticatorVerifyOptions;
|
|
148
|
-
relying_party?: string;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* The request body for verifying a passkey MFA flow.
|
|
152
|
-
*/
|
|
153
|
-
export interface MfaPasskeyVerifyRequestBody {
|
|
154
|
-
/**
|
|
155
|
-
* WebAuthn authentication response as defined by the Web Authentication
|
|
156
|
-
* specification.
|
|
157
|
-
*/
|
|
158
|
-
authenticator_response: PasskeyAuthenticatorVerifyResponse;
|
|
159
|
-
relying_party?: string;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* The request body for enrolling a SMS MFA code.
|
|
163
|
-
*/
|
|
164
|
-
export interface MfaSMSEnrollRequestBody {
|
|
165
|
-
code: string;
|
|
166
|
-
phoneNumber: string;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* The request body for initiating a SMS MFA flow.
|
|
170
|
-
*/
|
|
171
|
-
export type MfaSMSInitRequestBody = MfaSMSInitVerifyInput | MfaSMSInitEnrollInput;
|
|
172
|
-
/**
|
|
173
|
-
* The request body for verifying a SMS MFA code.
|
|
174
|
-
*/
|
|
175
|
-
export interface MfaSMSVerifyRequestBody {
|
|
176
|
-
code: string;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* The response body for initializing a TOTP MFA code.
|
|
180
|
-
*/
|
|
181
|
-
export interface MfaTotpInitResponseBody {
|
|
182
|
-
totpAuthUrl: string;
|
|
183
|
-
totpSecret: string;
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* The input for verifying a TOTP MFA code.
|
|
187
|
-
*/
|
|
188
|
-
export interface MfaTotpInput {
|
|
189
|
-
code: string;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* The response body for verifying a MFA code.
|
|
193
|
-
*/
|
|
194
|
-
export interface MfaVerifyResponseBody {
|
|
195
|
-
token: string;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* The request body for authenticating an OAuth account.
|
|
199
|
-
*/
|
|
200
|
-
export interface OAuthAuthenticateRequestBody {
|
|
201
|
-
authorization_code: string;
|
|
202
|
-
state_code: string;
|
|
203
|
-
/**
|
|
204
|
-
* The type of OAuth authorization code.
|
|
205
|
-
*/
|
|
206
|
-
code_type?: OAuthCodeType;
|
|
207
|
-
code_verifier?: string;
|
|
208
|
-
/**
|
|
209
|
-
* Whether to allow sign-up during authentication.
|
|
210
|
-
*/
|
|
211
|
-
mode?: AuthenticateModeOption;
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* The request body for getting an OAuth authorization code.
|
|
215
|
-
*/
|
|
216
|
-
export interface OAuthAuthorizationCodeRequestBody {
|
|
217
|
-
code_challenge: string;
|
|
218
|
-
redirect_to: string;
|
|
219
|
-
state: string;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* The request body for initiating an OAuth ceremony.
|
|
223
|
-
*/
|
|
224
|
-
export interface OAuthInitRequestBody {
|
|
225
|
-
/**
|
|
226
|
-
* The ID of an OAuth provider.
|
|
227
|
-
*/
|
|
228
|
-
provider: OAuthProviderID;
|
|
229
|
-
redirect_to: string;
|
|
230
|
-
token?: string;
|
|
231
|
-
code_challenge?: string;
|
|
232
|
-
state_code?: string;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* The response for initiating an OAuth ceremony.
|
|
236
|
-
*/
|
|
237
|
-
export interface OAuthInitResponseBody {
|
|
238
|
-
url: string;
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* The request body for linking an OAuth account.
|
|
242
|
-
*/
|
|
243
|
-
export interface OAuthLinkRequestBody {
|
|
244
|
-
authorization_code: string;
|
|
245
|
-
state_code: string;
|
|
246
|
-
/**
|
|
247
|
-
* The type of OAuth authorization code.
|
|
248
|
-
*/
|
|
249
|
-
code_type?: OAuthCodeType;
|
|
250
|
-
code_verifier?: string;
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* The response for linking an OAuth account.
|
|
254
|
-
*/
|
|
255
|
-
export interface OAuthLinkResponseBody extends UsersAPI.User {
|
|
256
|
-
/**
|
|
257
|
-
* OAuth tokens associated with the user.
|
|
258
|
-
*/
|
|
259
|
-
oauth_tokens?: UsersAPI.OAuthTokens;
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* The request body for unlinking an OAuth account.
|
|
263
|
-
*/
|
|
264
|
-
export interface OAuthUnlinkRequestBody {
|
|
265
|
-
/**
|
|
266
|
-
* The ID of an OAuth provider.
|
|
267
|
-
*/
|
|
268
|
-
provider: OAuthProviderID;
|
|
269
|
-
subject: string;
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* The request body for verifying a PRAT.
|
|
273
|
-
*/
|
|
274
|
-
export interface OAuthVerifyRequestBody {
|
|
275
|
-
prat: string;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* The response body when verifying a PRAT.
|
|
279
|
-
*/
|
|
280
|
-
export interface OAuthVerifyResponseBody {
|
|
281
|
-
verified: boolean;
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* The input for refreshing a session or logging out.
|
|
285
|
-
*/
|
|
286
|
-
export interface OptionalRefreshTokenInput {
|
|
287
|
-
refresh_token?: string;
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* The request body for authenticating a passwordless account.
|
|
291
|
-
*/
|
|
292
|
-
export interface PasswordlessAuthenticateRequestBody {
|
|
293
|
-
code: string;
|
|
294
|
-
email: string;
|
|
295
|
-
/**
|
|
296
|
-
* Whether to allow sign-up during authentication.
|
|
297
|
-
*/
|
|
298
|
-
mode?: AuthenticateModeOption;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* The request body for initiating a passwordless ceremony.
|
|
302
|
-
*/
|
|
303
|
-
export interface PasswordlessInitRequestBody {
|
|
304
|
-
email: string;
|
|
305
|
-
token?: string;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* The request body for linking a passwordless account.
|
|
309
|
-
*/
|
|
310
|
-
export interface PasswordlessLinkRequestBody {
|
|
311
|
-
code: string;
|
|
312
|
-
email: string;
|
|
313
|
-
}
|
|
314
|
-
/**
|
|
315
|
-
* The request body for authenticating a passwordless sms account.
|
|
316
|
-
*/
|
|
317
|
-
export interface PasswordlessSMSAuthenticateRequestBody {
|
|
318
|
-
code: string;
|
|
319
|
-
phoneNumber: string;
|
|
320
|
-
/**
|
|
321
|
-
* Whether to allow sign-up during authentication.
|
|
322
|
-
*/
|
|
323
|
-
mode?: AuthenticateModeOption;
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* The request body for initiating a passwordless sms ceremony.
|
|
327
|
-
*/
|
|
328
|
-
export interface PasswordlessSMSInitRequestBody {
|
|
329
|
-
phoneNumber: string;
|
|
330
|
-
token?: string;
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
* The request body for linking a passwordless sms account.
|
|
334
|
-
*/
|
|
335
|
-
export interface PasswordlessSMSLinkRequestBody {
|
|
336
|
-
code: string;
|
|
337
|
-
phoneNumber: string;
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* The request body for unlinking a passwordless sms account.
|
|
341
|
-
*/
|
|
342
|
-
export interface PasswordlessSMSUnlinkRequestBody {
|
|
343
|
-
phoneNumber: string;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* The request body for updating a passwordless sms account.
|
|
347
|
-
*/
|
|
348
|
-
export interface PasswordlessSMSUpdateRequestBody {
|
|
349
|
-
code: string;
|
|
350
|
-
new_phone_number: string;
|
|
351
|
-
old_phone_number: string;
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* The request body for unlinking a passwordless account.
|
|
355
|
-
*/
|
|
356
|
-
export interface PasswordlessUnlinkRequestBody {
|
|
357
|
-
address: string;
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* The request body for updating a passwordless account.
|
|
361
|
-
*/
|
|
362
|
-
export interface PasswordlessUpdateRequestBody {
|
|
363
|
-
code: string;
|
|
364
|
-
newAddress: string;
|
|
365
|
-
oldAddress: string;
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* The request body for authenticating a SIWE ceremony.
|
|
369
|
-
*/
|
|
370
|
-
export interface SiweAuthenticateRequestBody {
|
|
371
|
-
message: string;
|
|
372
|
-
signature: string;
|
|
373
|
-
chainId?: string | null;
|
|
374
|
-
connectorType?: string | null;
|
|
375
|
-
/**
|
|
376
|
-
* Whether to allow sign-up during authentication.
|
|
377
|
-
*/
|
|
378
|
-
mode?: AuthenticateModeOption;
|
|
379
|
-
walletClientType?: string | null;
|
|
380
|
-
}
|
|
381
|
-
/**
|
|
382
|
-
* The request body for initiating a SIWE ceremony.
|
|
383
|
-
*/
|
|
384
|
-
export interface SiweInitRequestBody {
|
|
385
|
-
address: string;
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* The response body for initiating a SIWE ceremony.
|
|
389
|
-
*/
|
|
390
|
-
export interface SiweInitResponseBody {
|
|
391
|
-
address: string;
|
|
392
|
-
expires_at: string;
|
|
393
|
-
nonce: string;
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* The request body for linking a SIWE ceremony.
|
|
397
|
-
*/
|
|
398
|
-
export interface SiweLinkRequestBody {
|
|
399
|
-
message: string;
|
|
400
|
-
signature: string;
|
|
401
|
-
chainId?: string | null;
|
|
402
|
-
connectorType?: string | null;
|
|
403
|
-
walletClientType?: string | null;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* The request body for linking a SIWE ceremony to a smart wallet.
|
|
407
|
-
*/
|
|
408
|
-
export interface SiweLinkSmartWalletRequestBody {
|
|
409
|
-
message: string;
|
|
410
|
-
signature: string;
|
|
411
|
-
/**
|
|
412
|
-
* The supported smart wallet providers.
|
|
413
|
-
*/
|
|
414
|
-
smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
|
|
415
|
-
smart_wallet_version?: string;
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
* The request body for unlinking a SIWE ceremony.
|
|
419
|
-
*/
|
|
420
|
-
export interface SiweUnlinkRequestBody {
|
|
421
|
-
address: string;
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* The request body for authenticating a SIWS ceremony.
|
|
425
|
-
*/
|
|
426
|
-
export interface SiwsAuthenticateRequestBody {
|
|
427
|
-
message: string;
|
|
428
|
-
signature: string;
|
|
429
|
-
connectorType?: string | null;
|
|
430
|
-
message_type?: 'transaction' | 'plain';
|
|
431
|
-
/**
|
|
432
|
-
* Whether to allow sign-up during authentication.
|
|
433
|
-
*/
|
|
434
|
-
mode?: AuthenticateModeOption;
|
|
435
|
-
walletClientType?: string | null;
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* The request body for initiating a SIWS ceremony.
|
|
439
|
-
*/
|
|
440
|
-
export interface SiwsInitRequestBody {
|
|
441
|
-
address: string;
|
|
442
|
-
}
|
|
443
|
-
/**
|
|
444
|
-
* The response body for initiating a SIWS ceremony.
|
|
445
|
-
*/
|
|
446
|
-
export interface SiwsInitResponseBody {
|
|
447
|
-
address: string;
|
|
448
|
-
expires_at: string;
|
|
449
|
-
nonce: string;
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* The request body for linking a SIWS ceremony.
|
|
453
|
-
*/
|
|
454
|
-
export interface SiwsLinkRequestBody {
|
|
455
|
-
message: string;
|
|
456
|
-
signature: string;
|
|
457
|
-
connectorType?: string | null;
|
|
458
|
-
message_type?: 'transaction' | 'plain';
|
|
459
|
-
walletClientType?: string | null;
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* The request body for unlinking a SIWS ceremony.
|
|
463
|
-
*/
|
|
464
|
-
export interface SiwsUnlinkRequestBody {
|
|
465
|
-
address: string;
|
|
466
|
-
}
|
|
467
|
-
/**
|
|
468
|
-
* The request body for authenticating with Telegram.
|
|
469
|
-
*/
|
|
470
|
-
export interface TelegramAuthenticateRequestBody {
|
|
471
|
-
captcha_token?: string;
|
|
472
|
-
/**
|
|
473
|
-
* Whether to allow sign-up during authentication.
|
|
474
|
-
*/
|
|
475
|
-
mode?: AuthenticateModeOption;
|
|
476
|
-
/**
|
|
477
|
-
* Auth result object returned by Telegram when a user authenticates using the
|
|
478
|
-
* login widget.
|
|
479
|
-
*/
|
|
480
|
-
telegram_auth_result?: TelegramAuthResult;
|
|
481
|
-
/**
|
|
482
|
-
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
483
|
-
* app.
|
|
484
|
-
*/
|
|
485
|
-
telegram_web_app_data?: TelegramWebAppData;
|
|
486
|
-
}
|
|
487
|
-
/**
|
|
488
|
-
* The request body for linking a Telegram account.
|
|
489
|
-
*/
|
|
490
|
-
export interface TelegramLinkRequestBody {
|
|
491
|
-
captcha_token?: string;
|
|
492
|
-
/**
|
|
493
|
-
* Whether to allow sign-up during authentication.
|
|
494
|
-
*/
|
|
495
|
-
mode?: AuthenticateModeOption;
|
|
496
|
-
/**
|
|
497
|
-
* Auth result object returned by Telegram when a user authenticates using the
|
|
498
|
-
* login widget.
|
|
499
|
-
*/
|
|
500
|
-
telegram_auth_result?: TelegramAuthResult;
|
|
501
|
-
/**
|
|
502
|
-
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
503
|
-
* app.
|
|
504
|
-
*/
|
|
505
|
-
telegram_web_app_data?: TelegramWebAppData;
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
* The request body for unlinking a Telegram account.
|
|
509
|
-
*/
|
|
510
|
-
export interface TelegramUnlinkRequestBody {
|
|
511
|
-
telegram_user_id: string;
|
|
512
|
-
}
|
|
513
7
|
/**
|
|
514
8
|
* Input for authenticating with a custom JWT.
|
|
515
9
|
*/
|
|
@@ -594,7 +88,7 @@ export interface BridgeFiatCustomerResponse {
|
|
|
594
88
|
/**
|
|
595
89
|
* Status of the KYC verification process.
|
|
596
90
|
*/
|
|
597
|
-
status:
|
|
91
|
+
status: FiatAPI.OnrampKYCStatus;
|
|
598
92
|
kyc_url?: string;
|
|
599
93
|
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
600
94
|
}
|
|
@@ -672,7 +166,7 @@ export interface BridgeSandboxFiatCustomerResponse {
|
|
|
672
166
|
/**
|
|
673
167
|
* Status of the KYC verification process.
|
|
674
168
|
*/
|
|
675
|
-
status:
|
|
169
|
+
status: FiatAPI.OnrampKYCStatus;
|
|
676
170
|
kyc_url?: string;
|
|
677
171
|
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
678
172
|
}
|
|
@@ -730,6 +224,22 @@ export interface CreateOrUpdateFiatCustomerRequestInput {
|
|
|
730
224
|
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
731
225
|
*/
|
|
732
226
|
export type CryptoCurrencyCode = string;
|
|
227
|
+
/**
|
|
228
|
+
* The request body for authenticating with a custom JWT.
|
|
229
|
+
*/
|
|
230
|
+
export interface CustomJwtAuthenticateRequestBody {
|
|
231
|
+
token?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Whether to allow sign-up during authentication.
|
|
234
|
+
*/
|
|
235
|
+
mode?: AuthenticateModeOption;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* The request body for linking a custom JWT account.
|
|
239
|
+
*/
|
|
240
|
+
export interface CustomJwtLinkRequestBody {
|
|
241
|
+
token?: string;
|
|
242
|
+
}
|
|
733
243
|
/**
|
|
734
244
|
* The ID of a custom OAuth provider, set up for this app. Must start with
|
|
735
245
|
* "custom:".
|
|
@@ -752,6 +262,19 @@ export interface FarcasterAuthenticateInput {
|
|
|
752
262
|
*/
|
|
753
263
|
mode?: AuthenticateModeOption;
|
|
754
264
|
}
|
|
265
|
+
/**
|
|
266
|
+
* The request body for authenticating with Farcaster.
|
|
267
|
+
*/
|
|
268
|
+
export interface FarcasterAuthenticateRequestBody {
|
|
269
|
+
channel_token: string;
|
|
270
|
+
fid: number;
|
|
271
|
+
message: string;
|
|
272
|
+
signature: string;
|
|
273
|
+
/**
|
|
274
|
+
* Whether to allow sign-up during authentication.
|
|
275
|
+
*/
|
|
276
|
+
mode?: AuthenticateModeOption;
|
|
277
|
+
}
|
|
755
278
|
/**
|
|
756
279
|
* Proxy for the Farcaster Connect init response as defined in FIP-11.
|
|
757
280
|
*/
|
|
@@ -759,6 +282,13 @@ export interface FarcasterConnectInitResponse {
|
|
|
759
282
|
channel_token: string;
|
|
760
283
|
connect_uri: string;
|
|
761
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
* The response body for initiating a Farcaster connection.
|
|
287
|
+
*/
|
|
288
|
+
export interface FarcasterConnectInitResponseBody {
|
|
289
|
+
channel_token: string;
|
|
290
|
+
connect_uri: string;
|
|
291
|
+
}
|
|
762
292
|
/**
|
|
763
293
|
* Proxy for the Farcaster Connect completed status response as defined in FIP-11.
|
|
764
294
|
*/
|
|
@@ -773,6 +303,20 @@ export interface FarcasterConnectStatusCompletedResponse {
|
|
|
773
303
|
state: 'completed';
|
|
774
304
|
username: string;
|
|
775
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* The response body for completing a Farcaster connection.
|
|
308
|
+
*/
|
|
309
|
+
export interface FarcasterConnectStatusCompletedResponseBody {
|
|
310
|
+
bio: string;
|
|
311
|
+
display_name: string;
|
|
312
|
+
fid: number;
|
|
313
|
+
message: string;
|
|
314
|
+
nonce: string;
|
|
315
|
+
pfp_url: string;
|
|
316
|
+
signature: string;
|
|
317
|
+
state: 'completed';
|
|
318
|
+
username: string;
|
|
319
|
+
}
|
|
776
320
|
/**
|
|
777
321
|
* Proxy for the Farcaster Connect pending status response as defined in FIP-11.
|
|
778
322
|
*/
|
|
@@ -780,6 +324,13 @@ export interface FarcasterConnectStatusPendingResponse {
|
|
|
780
324
|
nonce: string;
|
|
781
325
|
state: 'pending';
|
|
782
326
|
}
|
|
327
|
+
/**
|
|
328
|
+
* The response body for pending a Farcaster connection.
|
|
329
|
+
*/
|
|
330
|
+
export interface FarcasterConnectStatusPendingResponseBody {
|
|
331
|
+
nonce: string;
|
|
332
|
+
state: 'pending';
|
|
333
|
+
}
|
|
783
334
|
/**
|
|
784
335
|
* Input for initiating a Farcaster connection.
|
|
785
336
|
*/
|
|
@@ -788,6 +339,14 @@ export interface FarcasterInitInput {
|
|
|
788
339
|
redirect_url?: string;
|
|
789
340
|
relying_party?: string;
|
|
790
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* The request body for initiating a Farcaster connection.
|
|
344
|
+
*/
|
|
345
|
+
export interface FarcasterInitRequestBody {
|
|
346
|
+
token?: string;
|
|
347
|
+
redirect_url?: string;
|
|
348
|
+
relying_party?: string;
|
|
349
|
+
}
|
|
791
350
|
/**
|
|
792
351
|
* Input for linking a Farcaster account.
|
|
793
352
|
*/
|
|
@@ -797,6 +356,15 @@ export interface FarcasterLinkInput {
|
|
|
797
356
|
message: string;
|
|
798
357
|
signature: string;
|
|
799
358
|
}
|
|
359
|
+
/**
|
|
360
|
+
* The request body for linking a Farcaster account.
|
|
361
|
+
*/
|
|
362
|
+
export interface FarcasterLinkRequestBody {
|
|
363
|
+
channel_token: string;
|
|
364
|
+
fid: number;
|
|
365
|
+
message: string;
|
|
366
|
+
signature: string;
|
|
367
|
+
}
|
|
800
368
|
/**
|
|
801
369
|
* A Farcaster signer response when the signer has been approved.
|
|
802
370
|
*/
|
|
@@ -813,6 +381,17 @@ export interface FarcasterSignerInitPendingApproval {
|
|
|
813
381
|
signer_approval_url: string;
|
|
814
382
|
status: 'pending_approval';
|
|
815
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* The request body for initiating a Farcaster signer connection.
|
|
386
|
+
*/
|
|
387
|
+
export interface FarcasterSignerInitRequestBody {
|
|
388
|
+
ed25519_public_key: string;
|
|
389
|
+
deadline?: string;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* The response body from initiating a Farcaster signer connection.
|
|
393
|
+
*/
|
|
394
|
+
export type FarcasterSignerInitResponseBody = FarcasterSignerInitPendingApproval | FarcasterSignerApproved | FarcasterSignerRevoked;
|
|
816
395
|
/**
|
|
817
396
|
* A Farcaster signer response when the signer has been revoked.
|
|
818
397
|
*/
|
|
@@ -828,12 +407,22 @@ export interface FarcasterSignerStatusPendingApproval {
|
|
|
828
407
|
public_key: string;
|
|
829
408
|
status: 'pending_approval';
|
|
830
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* The response body from checking the status of a Farcaster signer connection.
|
|
412
|
+
*/
|
|
413
|
+
export type FarcasterSignerStatusResponseBody = FarcasterSignerStatusPendingApproval | FarcasterSignerApproved | FarcasterSignerRevoked;
|
|
831
414
|
/**
|
|
832
415
|
* Input for unlinking a Farcaster account.
|
|
833
416
|
*/
|
|
834
417
|
export interface FarcasterUnlinkInput {
|
|
835
418
|
fid: number;
|
|
836
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* The request body for unlinking a Farcaster account.
|
|
422
|
+
*/
|
|
423
|
+
export interface FarcasterUnlinkRequestBody {
|
|
424
|
+
fid: number;
|
|
425
|
+
}
|
|
837
426
|
/**
|
|
838
427
|
* Input for authenticating a Farcaster V2 account.
|
|
839
428
|
*/
|
|
@@ -1049,12 +638,60 @@ export interface GetFiatOnrampURLResponse {
|
|
|
1049
638
|
session_id: string;
|
|
1050
639
|
url: string;
|
|
1051
640
|
}
|
|
641
|
+
/**
|
|
642
|
+
* The request body for authenticating a guest.
|
|
643
|
+
*/
|
|
644
|
+
export interface GuestAuthenticateRequestBody {
|
|
645
|
+
guest_credential: string;
|
|
646
|
+
}
|
|
1052
647
|
/**
|
|
1053
648
|
* Input for linking a custom JWT account.
|
|
1054
649
|
*/
|
|
1055
650
|
export interface LinkJwtInput {
|
|
1056
651
|
token?: string;
|
|
1057
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* The request body for enrolling a passkey MFA flow.
|
|
655
|
+
*/
|
|
656
|
+
export interface MfaPasskeyEnrollmentRequestBody {
|
|
657
|
+
credential_ids: Array<string>;
|
|
658
|
+
remove_for_login?: boolean;
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* The request body for initiating a passkey MFA flow.
|
|
662
|
+
*/
|
|
663
|
+
export interface MfaPasskeyInitRequestBody {
|
|
664
|
+
relying_party?: string;
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* The response body for initializing a passkey MFA flow.
|
|
668
|
+
*/
|
|
669
|
+
export interface MfaPasskeyInitResponseBody {
|
|
670
|
+
/**
|
|
671
|
+
* WebAuthn authentication options as defined by the Web Authentication
|
|
672
|
+
* specification.
|
|
673
|
+
*/
|
|
674
|
+
options: PasskeyAuthenticatorVerifyOptions;
|
|
675
|
+
relying_party?: string;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* The request body for verifying a passkey MFA flow.
|
|
679
|
+
*/
|
|
680
|
+
export interface MfaPasskeyVerifyRequestBody {
|
|
681
|
+
/**
|
|
682
|
+
* WebAuthn authentication response as defined by the Web Authentication
|
|
683
|
+
* specification.
|
|
684
|
+
*/
|
|
685
|
+
authenticator_response: PasskeyAuthenticatorVerifyResponse;
|
|
686
|
+
relying_party?: string;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* The request body for enrolling a SMS MFA code.
|
|
690
|
+
*/
|
|
691
|
+
export interface MfaSMSEnrollRequestBody {
|
|
692
|
+
code: string;
|
|
693
|
+
phoneNumber: string;
|
|
694
|
+
}
|
|
1058
695
|
/**
|
|
1059
696
|
* Input for enrolling SMS MFA.
|
|
1060
697
|
*/
|
|
@@ -1062,16 +699,109 @@ export interface MfaSMSInitEnrollInput {
|
|
|
1062
699
|
action: 'enroll';
|
|
1063
700
|
phoneNumber: string;
|
|
1064
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* The request body for initiating a SMS MFA flow.
|
|
704
|
+
*/
|
|
705
|
+
export type MfaSMSInitRequestBody = MfaSMSInitVerifyInput | MfaSMSInitEnrollInput;
|
|
1065
706
|
/**
|
|
1066
707
|
* Input for verifying SMS MFA.
|
|
1067
708
|
*/
|
|
1068
709
|
export interface MfaSMSInitVerifyInput {
|
|
1069
710
|
action: 'verify';
|
|
1070
711
|
}
|
|
1071
|
-
/**
|
|
1072
|
-
* The
|
|
1073
|
-
*/
|
|
1074
|
-
export
|
|
712
|
+
/**
|
|
713
|
+
* The request body for verifying a SMS MFA code.
|
|
714
|
+
*/
|
|
715
|
+
export interface MfaSMSVerifyRequestBody {
|
|
716
|
+
code: string;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* The response body for initializing a TOTP MFA code.
|
|
720
|
+
*/
|
|
721
|
+
export interface MfaTotpInitResponseBody {
|
|
722
|
+
totpAuthUrl: string;
|
|
723
|
+
totpSecret: string;
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* The input for verifying a TOTP MFA code.
|
|
727
|
+
*/
|
|
728
|
+
export interface MfaTotpInput {
|
|
729
|
+
code: string;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* The response body for verifying a MFA code.
|
|
733
|
+
*/
|
|
734
|
+
export interface MfaVerifyResponseBody {
|
|
735
|
+
token: string;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* The request body for authenticating an OAuth account.
|
|
739
|
+
*/
|
|
740
|
+
export interface OAuthAuthenticateRequestBody {
|
|
741
|
+
authorization_code: string;
|
|
742
|
+
state_code: string;
|
|
743
|
+
/**
|
|
744
|
+
* The type of OAuth authorization code.
|
|
745
|
+
*/
|
|
746
|
+
code_type?: OAuthCodeType;
|
|
747
|
+
code_verifier?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Whether to allow sign-up during authentication.
|
|
750
|
+
*/
|
|
751
|
+
mode?: AuthenticateModeOption;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* The request body for getting an OAuth authorization code.
|
|
755
|
+
*/
|
|
756
|
+
export interface OAuthAuthorizationCodeRequestBody {
|
|
757
|
+
code_challenge: string;
|
|
758
|
+
redirect_to: string;
|
|
759
|
+
state: string;
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* The type of OAuth authorization code.
|
|
763
|
+
*/
|
|
764
|
+
export type OAuthCodeType = 'raw';
|
|
765
|
+
/**
|
|
766
|
+
* The request body for initiating an OAuth ceremony.
|
|
767
|
+
*/
|
|
768
|
+
export interface OAuthInitRequestBody {
|
|
769
|
+
/**
|
|
770
|
+
* The ID of an OAuth provider.
|
|
771
|
+
*/
|
|
772
|
+
provider: OAuthProviderID;
|
|
773
|
+
redirect_to: string;
|
|
774
|
+
token?: string;
|
|
775
|
+
code_challenge?: string;
|
|
776
|
+
state_code?: string;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* The response for initiating an OAuth ceremony.
|
|
780
|
+
*/
|
|
781
|
+
export interface OAuthInitResponseBody {
|
|
782
|
+
url: string;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* The request body for linking an OAuth account.
|
|
786
|
+
*/
|
|
787
|
+
export interface OAuthLinkRequestBody {
|
|
788
|
+
authorization_code: string;
|
|
789
|
+
state_code: string;
|
|
790
|
+
/**
|
|
791
|
+
* The type of OAuth authorization code.
|
|
792
|
+
*/
|
|
793
|
+
code_type?: OAuthCodeType;
|
|
794
|
+
code_verifier?: string;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* The response for linking an OAuth account.
|
|
798
|
+
*/
|
|
799
|
+
export interface OAuthLinkResponseBody extends UsersAPI.User {
|
|
800
|
+
/**
|
|
801
|
+
* OAuth tokens associated with the user.
|
|
802
|
+
*/
|
|
803
|
+
oauth_tokens?: UsersAPI.OAuthTokens;
|
|
804
|
+
}
|
|
1075
805
|
/**
|
|
1076
806
|
* The ID of an OAuth provider.
|
|
1077
807
|
*/
|
|
@@ -1109,10 +839,38 @@ export interface OAuthTransferUserInfo {
|
|
|
1109
839
|
export interface OAuthTransferUserInfoMeta {
|
|
1110
840
|
providerAppId?: string;
|
|
1111
841
|
}
|
|
842
|
+
/**
|
|
843
|
+
* The request body for unlinking an OAuth account.
|
|
844
|
+
*/
|
|
845
|
+
export interface OAuthUnlinkRequestBody {
|
|
846
|
+
/**
|
|
847
|
+
* The ID of an OAuth provider.
|
|
848
|
+
*/
|
|
849
|
+
provider: OAuthProviderID;
|
|
850
|
+
subject: string;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* The request body for verifying a PRAT.
|
|
854
|
+
*/
|
|
855
|
+
export interface OAuthVerifyRequestBody {
|
|
856
|
+
prat: string;
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* The response body when verifying a PRAT.
|
|
860
|
+
*/
|
|
861
|
+
export interface OAuthVerifyResponseBody {
|
|
862
|
+
verified: boolean;
|
|
863
|
+
}
|
|
1112
864
|
/**
|
|
1113
865
|
* Valid set of onramp providers
|
|
1114
866
|
*/
|
|
1115
867
|
export type OnrampProvider = 'bridge' | 'bridge-sandbox';
|
|
868
|
+
/**
|
|
869
|
+
* The input for refreshing a session or logging out.
|
|
870
|
+
*/
|
|
871
|
+
export interface OptionalRefreshTokenInput {
|
|
872
|
+
refresh_token?: string;
|
|
873
|
+
}
|
|
1116
874
|
/**
|
|
1117
875
|
* The authenticator assertion response from a WebAuthn authentication ceremony.
|
|
1118
876
|
*/
|
|
@@ -1327,6 +1085,56 @@ export interface PasskeyVerifyExtensions {
|
|
|
1327
1085
|
cred_props?: boolean;
|
|
1328
1086
|
hmac_create_secret?: boolean;
|
|
1329
1087
|
}
|
|
1088
|
+
/**
|
|
1089
|
+
* The request body for authenticating a passwordless account.
|
|
1090
|
+
*/
|
|
1091
|
+
export interface PasswordlessAuthenticateRequestBody {
|
|
1092
|
+
code: string;
|
|
1093
|
+
email: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Whether to allow sign-up during authentication.
|
|
1096
|
+
*/
|
|
1097
|
+
mode?: AuthenticateModeOption;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* The request body for initiating a passwordless ceremony.
|
|
1101
|
+
*/
|
|
1102
|
+
export interface PasswordlessInitRequestBody {
|
|
1103
|
+
email: string;
|
|
1104
|
+
token?: string;
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* The request body for linking a passwordless account.
|
|
1108
|
+
*/
|
|
1109
|
+
export interface PasswordlessLinkRequestBody {
|
|
1110
|
+
code: string;
|
|
1111
|
+
email: string;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* The request body for authenticating a passwordless sms account.
|
|
1115
|
+
*/
|
|
1116
|
+
export interface PasswordlessSMSAuthenticateRequestBody {
|
|
1117
|
+
code: string;
|
|
1118
|
+
phoneNumber: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Whether to allow sign-up during authentication.
|
|
1121
|
+
*/
|
|
1122
|
+
mode?: AuthenticateModeOption;
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* The request body for initiating a passwordless sms ceremony.
|
|
1126
|
+
*/
|
|
1127
|
+
export interface PasswordlessSMSInitRequestBody {
|
|
1128
|
+
phoneNumber: string;
|
|
1129
|
+
token?: string;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* The request body for linking a passwordless sms account.
|
|
1133
|
+
*/
|
|
1134
|
+
export interface PasswordlessSMSLinkRequestBody {
|
|
1135
|
+
code: string;
|
|
1136
|
+
phoneNumber: string;
|
|
1137
|
+
}
|
|
1330
1138
|
/**
|
|
1331
1139
|
* The request body for transferring a passwordless sms account.
|
|
1332
1140
|
*/
|
|
@@ -1334,6 +1142,20 @@ export interface PasswordlessSMSTransferRequestBody {
|
|
|
1334
1142
|
nonce: string;
|
|
1335
1143
|
phoneNumber: string;
|
|
1336
1144
|
}
|
|
1145
|
+
/**
|
|
1146
|
+
* The request body for unlinking a passwordless sms account.
|
|
1147
|
+
*/
|
|
1148
|
+
export interface PasswordlessSMSUnlinkRequestBody {
|
|
1149
|
+
phoneNumber: string;
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* The request body for updating a passwordless sms account.
|
|
1153
|
+
*/
|
|
1154
|
+
export interface PasswordlessSMSUpdateRequestBody {
|
|
1155
|
+
code: string;
|
|
1156
|
+
new_phone_number: string;
|
|
1157
|
+
old_phone_number: string;
|
|
1158
|
+
}
|
|
1337
1159
|
/**
|
|
1338
1160
|
* The request body for transferring a passwordless account.
|
|
1339
1161
|
*/
|
|
@@ -1341,6 +1163,20 @@ export interface PasswordlessTransferRequestBody {
|
|
|
1341
1163
|
email: string;
|
|
1342
1164
|
nonce: string;
|
|
1343
1165
|
}
|
|
1166
|
+
/**
|
|
1167
|
+
* The request body for unlinking a passwordless account.
|
|
1168
|
+
*/
|
|
1169
|
+
export interface PasswordlessUnlinkRequestBody {
|
|
1170
|
+
address: string;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* The request body for updating a passwordless account.
|
|
1174
|
+
*/
|
|
1175
|
+
export interface PasswordlessUpdateRequestBody {
|
|
1176
|
+
code: string;
|
|
1177
|
+
newAddress: string;
|
|
1178
|
+
oldAddress: string;
|
|
1179
|
+
}
|
|
1344
1180
|
/**
|
|
1345
1181
|
* The ID of a Privy app as an OAuth provider. Must start with "privy:".
|
|
1346
1182
|
*/
|
|
@@ -1384,6 +1220,20 @@ export interface ResponsePasskeyInitRegister {
|
|
|
1384
1220
|
export interface SiweAddressInput {
|
|
1385
1221
|
address: string;
|
|
1386
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
* The request body for authenticating a SIWE ceremony.
|
|
1225
|
+
*/
|
|
1226
|
+
export interface SiweAuthenticateRequestBody {
|
|
1227
|
+
message: string;
|
|
1228
|
+
signature: string;
|
|
1229
|
+
chainId?: string | null;
|
|
1230
|
+
connectorType?: string | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* Whether to allow sign-up during authentication.
|
|
1233
|
+
*/
|
|
1234
|
+
mode?: AuthenticateModeOption;
|
|
1235
|
+
walletClientType?: string | null;
|
|
1236
|
+
}
|
|
1387
1237
|
/**
|
|
1388
1238
|
* Input for initiating a SIWE ceremony.
|
|
1389
1239
|
*/
|
|
@@ -1391,6 +1241,20 @@ export interface SiweInitInput {
|
|
|
1391
1241
|
token?: string;
|
|
1392
1242
|
address?: string;
|
|
1393
1243
|
}
|
|
1244
|
+
/**
|
|
1245
|
+
* The request body for initiating a SIWE ceremony.
|
|
1246
|
+
*/
|
|
1247
|
+
export interface SiweInitRequestBody {
|
|
1248
|
+
address: string;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* The response body for initiating a SIWE ceremony.
|
|
1252
|
+
*/
|
|
1253
|
+
export interface SiweInitResponseBody {
|
|
1254
|
+
address: string;
|
|
1255
|
+
expires_at: string;
|
|
1256
|
+
nonce: string;
|
|
1257
|
+
}
|
|
1394
1258
|
/**
|
|
1395
1259
|
* Input for a SIWE signing ceremony.
|
|
1396
1260
|
*/
|
|
@@ -1401,6 +1265,28 @@ export interface SiweInput {
|
|
|
1401
1265
|
connectorType?: string | null;
|
|
1402
1266
|
walletClientType?: string | null;
|
|
1403
1267
|
}
|
|
1268
|
+
/**
|
|
1269
|
+
* The request body for linking a SIWE ceremony.
|
|
1270
|
+
*/
|
|
1271
|
+
export interface SiweLinkRequestBody {
|
|
1272
|
+
message: string;
|
|
1273
|
+
signature: string;
|
|
1274
|
+
chainId?: string | null;
|
|
1275
|
+
connectorType?: string | null;
|
|
1276
|
+
walletClientType?: string | null;
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* The request body for linking a SIWE ceremony to a smart wallet.
|
|
1280
|
+
*/
|
|
1281
|
+
export interface SiweLinkSmartWalletRequestBody {
|
|
1282
|
+
message: string;
|
|
1283
|
+
signature: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* The supported smart wallet providers.
|
|
1286
|
+
*/
|
|
1287
|
+
smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
|
|
1288
|
+
smart_wallet_version?: string;
|
|
1289
|
+
}
|
|
1404
1290
|
/**
|
|
1405
1291
|
* A SIWE nonce response.
|
|
1406
1292
|
*/
|
|
@@ -1409,12 +1295,32 @@ export interface SiweNonce {
|
|
|
1409
1295
|
expires_at: string;
|
|
1410
1296
|
nonce: string;
|
|
1411
1297
|
}
|
|
1298
|
+
/**
|
|
1299
|
+
* The request body for unlinking a SIWE ceremony.
|
|
1300
|
+
*/
|
|
1301
|
+
export interface SiweUnlinkRequestBody {
|
|
1302
|
+
address: string;
|
|
1303
|
+
}
|
|
1412
1304
|
/**
|
|
1413
1305
|
* Input containing a SIWS wallet address.
|
|
1414
1306
|
*/
|
|
1415
1307
|
export interface SiwsAddressInput {
|
|
1416
1308
|
address: string;
|
|
1417
1309
|
}
|
|
1310
|
+
/**
|
|
1311
|
+
* The request body for authenticating a SIWS ceremony.
|
|
1312
|
+
*/
|
|
1313
|
+
export interface SiwsAuthenticateRequestBody {
|
|
1314
|
+
message: string;
|
|
1315
|
+
signature: string;
|
|
1316
|
+
connectorType?: string | null;
|
|
1317
|
+
message_type?: 'transaction' | 'plain';
|
|
1318
|
+
/**
|
|
1319
|
+
* Whether to allow sign-up during authentication.
|
|
1320
|
+
*/
|
|
1321
|
+
mode?: AuthenticateModeOption;
|
|
1322
|
+
walletClientType?: string | null;
|
|
1323
|
+
}
|
|
1418
1324
|
/**
|
|
1419
1325
|
* Input for initiating a SIWS ceremony.
|
|
1420
1326
|
*/
|
|
@@ -1422,6 +1328,20 @@ export interface SiwsInitInput {
|
|
|
1422
1328
|
address: string;
|
|
1423
1329
|
token?: string;
|
|
1424
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* The request body for initiating a SIWS ceremony.
|
|
1333
|
+
*/
|
|
1334
|
+
export interface SiwsInitRequestBody {
|
|
1335
|
+
address: string;
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* The response body for initiating a SIWS ceremony.
|
|
1339
|
+
*/
|
|
1340
|
+
export interface SiwsInitResponseBody {
|
|
1341
|
+
address: string;
|
|
1342
|
+
expires_at: string;
|
|
1343
|
+
nonce: string;
|
|
1344
|
+
}
|
|
1425
1345
|
/**
|
|
1426
1346
|
* Input for a SIWS signing ceremony.
|
|
1427
1347
|
*/
|
|
@@ -1432,6 +1352,16 @@ export interface SiwsInput {
|
|
|
1432
1352
|
message_type?: 'transaction' | 'plain';
|
|
1433
1353
|
walletClientType?: string | null;
|
|
1434
1354
|
}
|
|
1355
|
+
/**
|
|
1356
|
+
* The request body for linking a SIWS ceremony.
|
|
1357
|
+
*/
|
|
1358
|
+
export interface SiwsLinkRequestBody {
|
|
1359
|
+
message: string;
|
|
1360
|
+
signature: string;
|
|
1361
|
+
connectorType?: string | null;
|
|
1362
|
+
message_type?: 'transaction' | 'plain';
|
|
1363
|
+
walletClientType?: string | null;
|
|
1364
|
+
}
|
|
1435
1365
|
/**
|
|
1436
1366
|
* A SIWS nonce response.
|
|
1437
1367
|
*/
|
|
@@ -1440,6 +1370,12 @@ export interface SiwsNonce {
|
|
|
1440
1370
|
expires_at: string;
|
|
1441
1371
|
nonce: string;
|
|
1442
1372
|
}
|
|
1373
|
+
/**
|
|
1374
|
+
* The request body for unlinking a SIWS ceremony.
|
|
1375
|
+
*/
|
|
1376
|
+
export interface SiwsUnlinkRequestBody {
|
|
1377
|
+
address: string;
|
|
1378
|
+
}
|
|
1443
1379
|
/**
|
|
1444
1380
|
* Input for a smart wallet SIWE signing ceremony.
|
|
1445
1381
|
*/
|
|
@@ -1485,12 +1421,58 @@ export interface TelegramAuthenticateInput {
|
|
|
1485
1421
|
*/
|
|
1486
1422
|
telegram_web_app_data?: TelegramWebAppData;
|
|
1487
1423
|
}
|
|
1424
|
+
/**
|
|
1425
|
+
* The request body for authenticating with Telegram.
|
|
1426
|
+
*/
|
|
1427
|
+
export interface TelegramAuthenticateRequestBody {
|
|
1428
|
+
captcha_token?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* Whether to allow sign-up during authentication.
|
|
1431
|
+
*/
|
|
1432
|
+
mode?: AuthenticateModeOption;
|
|
1433
|
+
/**
|
|
1434
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
1435
|
+
* login widget.
|
|
1436
|
+
*/
|
|
1437
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
1438
|
+
/**
|
|
1439
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1440
|
+
* app.
|
|
1441
|
+
*/
|
|
1442
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
1443
|
+
}
|
|
1444
|
+
/**
|
|
1445
|
+
* The request body for linking a Telegram account.
|
|
1446
|
+
*/
|
|
1447
|
+
export interface TelegramLinkRequestBody {
|
|
1448
|
+
captcha_token?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Whether to allow sign-up during authentication.
|
|
1451
|
+
*/
|
|
1452
|
+
mode?: AuthenticateModeOption;
|
|
1453
|
+
/**
|
|
1454
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
1455
|
+
* login widget.
|
|
1456
|
+
*/
|
|
1457
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
1458
|
+
/**
|
|
1459
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1460
|
+
* app.
|
|
1461
|
+
*/
|
|
1462
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
1463
|
+
}
|
|
1488
1464
|
/**
|
|
1489
1465
|
* Input for unlinking a Telegram account.
|
|
1490
1466
|
*/
|
|
1491
1467
|
export interface TelegramUnlinkInput {
|
|
1492
1468
|
telegram_user_id: string;
|
|
1493
1469
|
}
|
|
1470
|
+
/**
|
|
1471
|
+
* The request body for unlinking a Telegram account.
|
|
1472
|
+
*/
|
|
1473
|
+
export interface TelegramUnlinkRequestBody {
|
|
1474
|
+
telegram_user_id: string;
|
|
1475
|
+
}
|
|
1494
1476
|
/**
|
|
1495
1477
|
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1496
1478
|
* app.
|
|
@@ -1556,6 +1538,6 @@ export interface UnlinkPasskeyInput {
|
|
|
1556
1538
|
remove_as_mfa?: boolean;
|
|
1557
1539
|
}
|
|
1558
1540
|
export declare namespace ClientAuth {
|
|
1559
|
-
export { type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type AuthenticateJwtInput as AuthenticateJwtInput, type AuthenticateMode as AuthenticateMode, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateSiweInput as AuthenticateSiweInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse, type BridgeFiatRejectionReason as BridgeFiatRejectionReason, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeOnrampProvider as BridgeOnrampProvider, type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type BridgeSourceAsset as BridgeSourceAsset, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type Caip2ChainID as Caip2ChainID, type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput, type CryptoCurrencyCode as CryptoCurrencyCode, type CustomOAuthProviderID as CustomOAuthProviderID, type ExternalOAuthProviderID as ExternalOAuthProviderID, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterInitInput as FarcasterInitInput, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type FarcasterUnlinkInput as FarcasterUnlinkInput, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FiatAmount as FiatAmount, type FiatCurrencyCode as FiatCurrencyCode, type FiatCustomerResponse as FiatCustomerResponse, type FiatOnrampDestination as FiatOnrampDestination, type FiatOnrampEnvironment as FiatOnrampEnvironment, type FiatOnrampProvider as FiatOnrampProvider, type FiatOnrampProviderError as FiatOnrampProviderError, type FiatOnrampQuote as FiatOnrampQuote, type FiatOnrampSource as FiatOnrampSource, type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput, type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput, type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse, type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput, type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse, type GetFiatOnrampURLInput as GetFiatOnrampURLInput, type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse, type LinkJwtInput as LinkJwtInput, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type OAuthCodeType as OAuthCodeType, type OAuthProviderID as OAuthProviderID, type OAuthTransferRequestBody as OAuthTransferRequestBody, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OnrampProvider as OnrampProvider, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyInitInput as PasskeyInitInput, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PrivyOAuthProviderID as PrivyOAuthProviderID, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type SiweAddressInput as SiweAddressInput, type SiweInitInput as SiweInitInput, type SiweInput as SiweInput, type SiweNonce as SiweNonce, type SiwsAddressInput as SiwsAddressInput, type SiwsInitInput as SiwsInitInput, type SiwsInput as SiwsInput, type SiwsNonce as SiwsNonce, type SmartWalletSiweInput as SmartWalletSiweInput, type TelegramAuthResult as TelegramAuthResult, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramUnlinkInput as TelegramUnlinkInput, type TelegramWebAppData as TelegramWebAppData, type TransferFarcasterInput as TransferFarcasterInput, type TransferSiweInput as TransferSiweInput, type TransferSiwsInput as TransferSiwsInput, type TransferTelegramInput as TransferTelegramInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, };
|
|
1541
|
+
export { type AuthenticateJwtInput as AuthenticateJwtInput, type AuthenticateMode as AuthenticateMode, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateSiweInput as AuthenticateSiweInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse, type BridgeFiatRejectionReason as BridgeFiatRejectionReason, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeOnrampProvider as BridgeOnrampProvider, type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type BridgeSourceAsset as BridgeSourceAsset, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type Caip2ChainID as Caip2ChainID, type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput, type CryptoCurrencyCode as CryptoCurrencyCode, type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type CustomOAuthProviderID as CustomOAuthProviderID, type ExternalOAuthProviderID as ExternalOAuthProviderID, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitInput as FarcasterInitInput, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkInput as FarcasterUnlinkInput, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type FiatAmount as FiatAmount, type FiatCurrencyCode as FiatCurrencyCode, type FiatCustomerResponse as FiatCustomerResponse, type FiatOnrampDestination as FiatOnrampDestination, type FiatOnrampEnvironment as FiatOnrampEnvironment, type FiatOnrampProvider as FiatOnrampProvider, type FiatOnrampProviderError as FiatOnrampProviderError, type FiatOnrampQuote as FiatOnrampQuote, type FiatOnrampSource as FiatOnrampSource, type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput, type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput, type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse, type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput, type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse, type GetFiatOnrampURLInput as GetFiatOnrampURLInput, type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type LinkJwtInput as LinkJwtInput, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthCodeType as OAuthCodeType, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthProviderID as OAuthProviderID, type OAuthTransferRequestBody as OAuthTransferRequestBody, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OnrampProvider as OnrampProvider, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyInitInput as PasskeyInitInput, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type PrivyOAuthProviderID as PrivyOAuthProviderID, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type SiweAddressInput as SiweAddressInput, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitInput as SiweInitInput, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweInput as SiweInput, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweNonce as SiweNonce, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAddressInput as SiwsAddressInput, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitInput as SiwsInitInput, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsInput as SiwsInput, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsNonce as SiwsNonce, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type SmartWalletSiweInput as SmartWalletSiweInput, type TelegramAuthResult as TelegramAuthResult, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkInput as TelegramUnlinkInput, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type TelegramWebAppData as TelegramWebAppData, type TransferFarcasterInput as TransferFarcasterInput, type TransferSiweInput as TransferSiweInput, type TransferSiwsInput as TransferSiwsInput, type TransferTelegramInput as TransferTelegramInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, };
|
|
1560
1542
|
}
|
|
1561
1543
|
//# sourceMappingURL=client-auth.d.ts.map
|