@privy-io/api-types 0.6.1 → 0.8.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 +72 -0
- package/client.d.mts +53 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +53 -29
- package/client.d.ts.map +1 -1
- package/client.js +32 -7
- package/client.js.map +1 -1
- package/client.mjs +34 -9
- package/client.mjs.map +1 -1
- package/package.json +12 -1
- package/resources/accounts.d.mts +146 -4
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +146 -4
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/aggregations.d.mts +18 -392
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +18 -392
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/aggregations.js.map +1 -1
- package/resources/aggregations.mjs.map +1 -1
- package/resources/apps.d.mts +197 -70
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +197 -70
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +975 -463
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +975 -463
- 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/cross-app.d.mts +14 -13
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts +14 -13
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +165 -81
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +165 -81
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/embedded-wallets.js.map +1 -1
- package/resources/embedded-wallets.mjs.map +1 -1
- package/resources/funding.d.mts +150 -64
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +150 -64
- package/resources/funding.d.ts.map +1 -1
- package/resources/funding.js.map +1 -1
- package/resources/funding.mjs.map +1 -1
- package/resources/index.d.mts +18 -14
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +18 -14
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -2
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +446 -31
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +446 -31
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +108 -17
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +108 -17
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +26 -9
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +26 -9
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +62 -0
- package/resources/kraken-embed.d.mts.map +1 -0
- package/resources/kraken-embed.d.ts +62 -0
- package/resources/kraken-embed.d.ts.map +1 -0
- package/resources/kraken-embed.js +9 -0
- package/resources/kraken-embed.js.map +1 -0
- package/resources/kraken-embed.mjs +5 -0
- package/resources/kraken-embed.mjs.map +1 -0
- package/resources/policies.d.mts +342 -926
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +342 -926
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +51 -41
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +51 -41
- package/resources/policies.mjs.map +1 -1
- package/resources/shared.d.mts +59 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +59 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +9 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +5 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/swaps.d.mts +108 -0
- package/resources/swaps.d.mts.map +1 -0
- package/resources/swaps.d.ts +108 -0
- package/resources/swaps.d.ts.map +1 -0
- package/resources/swaps.js +9 -0
- package/resources/swaps.js.map +1 -0
- package/resources/swaps.mjs +5 -0
- package/resources/swaps.mjs.map +1 -0
- package/resources/transactions.d.mts +158 -93
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +158 -93
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +3 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +3 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +64 -94
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +64 -94
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +187 -0
- package/resources/wallet-actions.d.mts.map +1 -0
- package/resources/wallet-actions.d.ts +187 -0
- package/resources/wallet-actions.d.ts.map +1 -0
- package/resources/wallet-actions.js +9 -0
- package/resources/wallet-actions.js.map +1 -0
- package/resources/wallet-actions.mjs +5 -0
- package/resources/wallet-actions.mjs.map +1 -0
- package/resources/wallets/balance.d.mts +7 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +7 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js +3 -0
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs +3 -0
- 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 +10 -6
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +10 -6
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +3 -0
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs +3 -0
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +2399 -936
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +2399 -936
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +28 -10
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +28 -10
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +780 -339
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +780 -339
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +50 -9
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +50 -9
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +884 -99
- package/src/resources/accounts.ts +179 -3
- package/src/resources/aggregations.ts +18 -702
- package/src/resources/apps.ts +250 -85
- package/src/resources/client-auth.ts +1453 -786
- package/src/resources/cross-app.ts +19 -15
- package/src/resources/embedded-wallets.ts +219 -123
- package/src/resources/funding.ts +263 -173
- package/src/resources/index.ts +444 -61
- package/src/resources/intents.ts +575 -37
- package/src/resources/key-quorums.ts +137 -21
- package/src/resources/kraken-embed.ts +85 -0
- package/src/resources/policies.ts +582 -1550
- package/src/resources/shared.ts +79 -0
- package/src/resources/swaps.ts +136 -0
- package/src/resources/transactions.ts +188 -91
- package/src/resources/users.ts +82 -132
- package/src/resources/wallet-actions.ts +251 -0
- package/src/resources/wallets/balance.ts +9 -2
- package/src/resources/wallets/index.ts +146 -16
- package/src/resources/wallets/transactions.ts +12 -4
- package/src/resources/wallets/wallets.ts +2922 -974
- package/src/resources/webhooks.ts +970 -454
- package/src/resources/yield.ts +68 -10
- 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,21 +1,25 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as EmbeddedWalletsAPI from './embedded-wallets';
|
|
4
5
|
import * as UsersAPI from './users';
|
|
5
6
|
|
|
6
7
|
export class ClientAuth extends APIResource {}
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
|
-
* The request body for authenticating with a custom JWT
|
|
10
|
+
* The request body for authenticating with a custom JWT.
|
|
10
11
|
*/
|
|
11
12
|
export interface CustomJwtAuthenticateRequestBody {
|
|
12
13
|
token?: string;
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Whether to allow sign-up during authentication.
|
|
17
|
+
*/
|
|
18
|
+
mode?: AuthenticateModeOption;
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
/**
|
|
18
|
-
* The request body for linking a custom JWT account
|
|
22
|
+
* The request body for linking a custom JWT account.
|
|
19
23
|
*/
|
|
20
24
|
export interface CustomJwtLinkRequestBody {
|
|
21
25
|
token?: string;
|
|
@@ -33,7 +37,10 @@ export interface FarcasterAuthenticateRequestBody {
|
|
|
33
37
|
|
|
34
38
|
signature: string;
|
|
35
39
|
|
|
36
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Whether to allow sign-up during authentication.
|
|
42
|
+
*/
|
|
43
|
+
mode?: AuthenticateModeOption;
|
|
37
44
|
}
|
|
38
45
|
|
|
39
46
|
/**
|
|
@@ -106,65 +113,25 @@ export interface FarcasterLinkRequestBody {
|
|
|
106
113
|
*/
|
|
107
114
|
export interface FarcasterSignerInitRequestBody {
|
|
108
115
|
ed25519_public_key: string;
|
|
116
|
+
|
|
117
|
+
deadline?: string;
|
|
109
118
|
}
|
|
110
119
|
|
|
111
120
|
/**
|
|
112
121
|
* The response body from initiating a Farcaster signer connection.
|
|
113
122
|
*/
|
|
114
123
|
export type FarcasterSignerInitResponseBody =
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
119
|
-
export namespace FarcasterSignerInitResponseBody {
|
|
120
|
-
export interface UnionMember0 {
|
|
121
|
-
public_key: string;
|
|
122
|
-
|
|
123
|
-
signer_approval_url: string;
|
|
124
|
-
|
|
125
|
-
status: 'pending_approval';
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface UnionMember1 {
|
|
129
|
-
public_key: string;
|
|
130
|
-
|
|
131
|
-
status: 'approved';
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export interface UnionMember2 {
|
|
135
|
-
public_key: string;
|
|
136
|
-
|
|
137
|
-
status: 'revoked';
|
|
138
|
-
}
|
|
139
|
-
}
|
|
124
|
+
| FarcasterSignerInitPendingApproval
|
|
125
|
+
| FarcasterSignerApproved
|
|
126
|
+
| FarcasterSignerRevoked;
|
|
140
127
|
|
|
141
128
|
/**
|
|
142
129
|
* The response body from checking the status of a Farcaster signer connection.
|
|
143
130
|
*/
|
|
144
131
|
export type FarcasterSignerStatusResponseBody =
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
|
|
|
148
|
-
|
|
149
|
-
export namespace FarcasterSignerStatusResponseBody {
|
|
150
|
-
export interface UnionMember0 {
|
|
151
|
-
public_key: string;
|
|
152
|
-
|
|
153
|
-
status: 'pending_approval';
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface UnionMember1 {
|
|
157
|
-
public_key: string;
|
|
158
|
-
|
|
159
|
-
status: 'approved';
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export interface UnionMember2 {
|
|
163
|
-
public_key: string;
|
|
164
|
-
|
|
165
|
-
status: 'revoked';
|
|
166
|
-
}
|
|
167
|
-
}
|
|
132
|
+
| FarcasterSignerStatusPendingApproval
|
|
133
|
+
| FarcasterSignerApproved
|
|
134
|
+
| FarcasterSignerRevoked;
|
|
168
135
|
|
|
169
136
|
/**
|
|
170
137
|
* The request body for unlinking a Farcaster account.
|
|
@@ -183,14 +150,12 @@ export interface FarcasterV2AuthenticateRequestBody {
|
|
|
183
150
|
|
|
184
151
|
signature: string;
|
|
185
152
|
|
|
186
|
-
|
|
153
|
+
/**
|
|
154
|
+
* Whether to allow sign-up during authentication.
|
|
155
|
+
*/
|
|
156
|
+
mode?: AuthenticateModeOption;
|
|
187
157
|
}
|
|
188
158
|
|
|
189
|
-
/**
|
|
190
|
-
* The request body for initiating a Farcaster V2 connection.
|
|
191
|
-
*/
|
|
192
|
-
export type FarcasterV2InitRequestBody = unknown;
|
|
193
|
-
|
|
194
159
|
/**
|
|
195
160
|
* The response body for initiating a Farcaster V2 connection.
|
|
196
161
|
*/
|
|
@@ -227,96 +192,28 @@ export interface MfaPasskeyInitRequestBody {
|
|
|
227
192
|
* The response body for initializing a passkey MFA flow.
|
|
228
193
|
*/
|
|
229
194
|
export interface MfaPasskeyInitResponseBody {
|
|
230
|
-
|
|
195
|
+
/**
|
|
196
|
+
* WebAuthn authentication options as defined by the Web Authentication
|
|
197
|
+
* specification.
|
|
198
|
+
*/
|
|
199
|
+
options: PasskeyAuthenticatorVerifyOptions;
|
|
231
200
|
|
|
232
201
|
relying_party?: string;
|
|
233
202
|
}
|
|
234
203
|
|
|
235
|
-
export namespace MfaPasskeyInitResponseBody {
|
|
236
|
-
export interface Options {
|
|
237
|
-
challenge: string;
|
|
238
|
-
|
|
239
|
-
allow_credentials?: Array<Options.AllowCredential>;
|
|
240
|
-
|
|
241
|
-
extensions?: Options.Extensions;
|
|
242
|
-
|
|
243
|
-
rp_id?: string;
|
|
244
|
-
|
|
245
|
-
timeout?: number;
|
|
246
|
-
|
|
247
|
-
user_verification?: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export namespace Options {
|
|
251
|
-
export interface AllowCredential {
|
|
252
|
-
id: string;
|
|
253
|
-
|
|
254
|
-
type: string;
|
|
255
|
-
|
|
256
|
-
transports?: Array<string>;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export interface Extensions {
|
|
260
|
-
app_id?: string;
|
|
261
|
-
|
|
262
|
-
cred_props?: boolean;
|
|
263
|
-
|
|
264
|
-
hmac_create_secret?: boolean;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
204
|
/**
|
|
270
205
|
* The request body for verifying a passkey MFA flow.
|
|
271
206
|
*/
|
|
272
207
|
export interface MfaPasskeyVerifyRequestBody {
|
|
273
|
-
|
|
208
|
+
/**
|
|
209
|
+
* WebAuthn authentication response as defined by the Web Authentication
|
|
210
|
+
* specification.
|
|
211
|
+
*/
|
|
212
|
+
authenticator_response: PasskeyAuthenticatorVerifyResponse;
|
|
274
213
|
|
|
275
214
|
relying_party?: string;
|
|
276
215
|
}
|
|
277
216
|
|
|
278
|
-
export namespace MfaPasskeyVerifyRequestBody {
|
|
279
|
-
export interface AuthenticatorResponse {
|
|
280
|
-
id: string;
|
|
281
|
-
|
|
282
|
-
client_extension_results: AuthenticatorResponse.ClientExtensionResults;
|
|
283
|
-
|
|
284
|
-
raw_id: string;
|
|
285
|
-
|
|
286
|
-
response: AuthenticatorResponse.Response;
|
|
287
|
-
|
|
288
|
-
type: 'public-key';
|
|
289
|
-
|
|
290
|
-
authenticator_attachment?: string;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export namespace AuthenticatorResponse {
|
|
294
|
-
export interface ClientExtensionResults {
|
|
295
|
-
app_id?: boolean;
|
|
296
|
-
|
|
297
|
-
cred_props?: ClientExtensionResults.CredProps;
|
|
298
|
-
|
|
299
|
-
hmac_create_secret?: boolean;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
export namespace ClientExtensionResults {
|
|
303
|
-
export interface CredProps {
|
|
304
|
-
rk?: boolean;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export interface Response {
|
|
309
|
-
authenticator_data: string;
|
|
310
|
-
|
|
311
|
-
client_data_json: string;
|
|
312
|
-
|
|
313
|
-
signature: string;
|
|
314
|
-
|
|
315
|
-
user_handle?: string;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
217
|
/**
|
|
321
218
|
* The request body for enrolling a SMS MFA code.
|
|
322
219
|
*/
|
|
@@ -329,19 +226,7 @@ export interface MfaSMSEnrollRequestBody {
|
|
|
329
226
|
/**
|
|
330
227
|
* The request body for initiating a SMS MFA flow.
|
|
331
228
|
*/
|
|
332
|
-
export type MfaSMSInitRequestBody =
|
|
333
|
-
|
|
334
|
-
export namespace MfaSMSInitRequestBody {
|
|
335
|
-
export interface Action {
|
|
336
|
-
action: 'verify';
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
export interface UnionMember1 {
|
|
340
|
-
action: 'enroll';
|
|
341
|
-
|
|
342
|
-
phoneNumber: string;
|
|
343
|
-
}
|
|
344
|
-
}
|
|
229
|
+
export type MfaSMSInitRequestBody = MfaSMSInitVerifyInput | MfaSMSInitEnrollInput;
|
|
345
230
|
|
|
346
231
|
/**
|
|
347
232
|
* The request body for verifying a SMS MFA code.
|
|
@@ -381,11 +266,17 @@ export interface OAuthAuthenticateRequestBody {
|
|
|
381
266
|
|
|
382
267
|
state_code: string;
|
|
383
268
|
|
|
384
|
-
|
|
269
|
+
/**
|
|
270
|
+
* The type of OAuth authorization code.
|
|
271
|
+
*/
|
|
272
|
+
code_type?: OAuthCodeType;
|
|
385
273
|
|
|
386
274
|
code_verifier?: string;
|
|
387
275
|
|
|
388
|
-
|
|
276
|
+
/**
|
|
277
|
+
* Whether to allow sign-up during authentication.
|
|
278
|
+
*/
|
|
279
|
+
mode?: AuthenticateModeOption;
|
|
389
280
|
}
|
|
390
281
|
|
|
391
282
|
/**
|
|
@@ -400,7 +291,7 @@ export interface OAuthAuthorizationCodeRequestBody {
|
|
|
400
291
|
}
|
|
401
292
|
|
|
402
293
|
/**
|
|
403
|
-
* The request body for initiating an OAuth
|
|
294
|
+
* The request body for initiating an OAuth ceremony.
|
|
404
295
|
*/
|
|
405
296
|
export interface OAuthInitRequestBody {
|
|
406
297
|
/**
|
|
@@ -432,7 +323,10 @@ export interface OAuthLinkRequestBody {
|
|
|
432
323
|
|
|
433
324
|
state_code: string;
|
|
434
325
|
|
|
435
|
-
|
|
326
|
+
/**
|
|
327
|
+
* The type of OAuth authorization code.
|
|
328
|
+
*/
|
|
329
|
+
code_type?: OAuthCodeType;
|
|
436
330
|
|
|
437
331
|
code_verifier?: string;
|
|
438
332
|
}
|
|
@@ -480,400 +374,6 @@ export interface OptionalRefreshTokenInput {
|
|
|
480
374
|
refresh_token?: string;
|
|
481
375
|
}
|
|
482
376
|
|
|
483
|
-
/**
|
|
484
|
-
* The request body for authenticating a passkey.
|
|
485
|
-
*/
|
|
486
|
-
export interface PasskeyAuthenticateRequestBody {
|
|
487
|
-
authenticator_response: PasskeyAuthenticateRequestBody.AuthenticatorResponse;
|
|
488
|
-
|
|
489
|
-
challenge: string;
|
|
490
|
-
|
|
491
|
-
relying_party?: string;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
export namespace PasskeyAuthenticateRequestBody {
|
|
495
|
-
export interface AuthenticatorResponse {
|
|
496
|
-
id: string;
|
|
497
|
-
|
|
498
|
-
client_extension_results: AuthenticatorResponse.ClientExtensionResults;
|
|
499
|
-
|
|
500
|
-
raw_id: string;
|
|
501
|
-
|
|
502
|
-
response: AuthenticatorResponse.Response;
|
|
503
|
-
|
|
504
|
-
type: 'public-key';
|
|
505
|
-
|
|
506
|
-
authenticator_attachment?: string;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
export namespace AuthenticatorResponse {
|
|
510
|
-
export interface ClientExtensionResults {
|
|
511
|
-
app_id?: boolean;
|
|
512
|
-
|
|
513
|
-
cred_props?: ClientExtensionResults.CredProps;
|
|
514
|
-
|
|
515
|
-
hmac_create_secret?: boolean;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
export namespace ClientExtensionResults {
|
|
519
|
-
export interface CredProps {
|
|
520
|
-
rk?: boolean;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
export interface Response {
|
|
525
|
-
authenticator_data: string;
|
|
526
|
-
|
|
527
|
-
client_data_json: string;
|
|
528
|
-
|
|
529
|
-
signature: string;
|
|
530
|
-
|
|
531
|
-
user_handle?: string;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* The response body for initiating a passkey authenticate ceremony.
|
|
538
|
-
*/
|
|
539
|
-
export interface PasskeyInitAuthenticateResponseBody {
|
|
540
|
-
options: PasskeyInitAuthenticateResponseBody.Options;
|
|
541
|
-
|
|
542
|
-
relying_party?: string;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
export namespace PasskeyInitAuthenticateResponseBody {
|
|
546
|
-
export interface Options {
|
|
547
|
-
challenge: string;
|
|
548
|
-
|
|
549
|
-
allow_credentials?: Array<Options.AllowCredential>;
|
|
550
|
-
|
|
551
|
-
extensions?: Options.Extensions;
|
|
552
|
-
|
|
553
|
-
rp_id?: string;
|
|
554
|
-
|
|
555
|
-
timeout?: number;
|
|
556
|
-
|
|
557
|
-
user_verification?: string;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
export namespace Options {
|
|
561
|
-
export interface AllowCredential {
|
|
562
|
-
id: string;
|
|
563
|
-
|
|
564
|
-
type: string;
|
|
565
|
-
|
|
566
|
-
transports?: Array<string>;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
export interface Extensions {
|
|
570
|
-
app_id?: string;
|
|
571
|
-
|
|
572
|
-
cred_props?: boolean;
|
|
573
|
-
|
|
574
|
-
hmac_create_secret?: boolean;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* The response body for initiating a passkey link ceremony.
|
|
581
|
-
*/
|
|
582
|
-
export interface PasskeyInitLinkResponseBody {
|
|
583
|
-
options: PasskeyInitLinkResponseBody.Options;
|
|
584
|
-
|
|
585
|
-
relying_party?: string;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
export namespace PasskeyInitLinkResponseBody {
|
|
589
|
-
export interface Options {
|
|
590
|
-
challenge: string;
|
|
591
|
-
|
|
592
|
-
pub_key_cred_params: Array<Options.PubKeyCredParam>;
|
|
593
|
-
|
|
594
|
-
rp: Options.Rp;
|
|
595
|
-
|
|
596
|
-
user: Options.User;
|
|
597
|
-
|
|
598
|
-
attestation?: string;
|
|
599
|
-
|
|
600
|
-
authenticator_selection?: Options.AuthenticatorSelection;
|
|
601
|
-
|
|
602
|
-
exclude_credentials?: Array<Options.ExcludeCredential>;
|
|
603
|
-
|
|
604
|
-
extensions?: Options.Extensions;
|
|
605
|
-
|
|
606
|
-
timeout?: number;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
export namespace Options {
|
|
610
|
-
export interface PubKeyCredParam {
|
|
611
|
-
alg: number;
|
|
612
|
-
|
|
613
|
-
type: 'public-key';
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
export interface Rp {
|
|
617
|
-
name: string;
|
|
618
|
-
|
|
619
|
-
id?: string;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
export interface User {
|
|
623
|
-
id: string;
|
|
624
|
-
|
|
625
|
-
display_name: string;
|
|
626
|
-
|
|
627
|
-
name: string;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
export interface AuthenticatorSelection {
|
|
631
|
-
authenticator_attachment?: string;
|
|
632
|
-
|
|
633
|
-
require_resident_key?: boolean;
|
|
634
|
-
|
|
635
|
-
resident_key?: string;
|
|
636
|
-
|
|
637
|
-
user_verification?: string;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
export interface ExcludeCredential {
|
|
641
|
-
id: string;
|
|
642
|
-
|
|
643
|
-
type: string;
|
|
644
|
-
|
|
645
|
-
transports?: Array<string>;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export interface Extensions {
|
|
649
|
-
app_id?: string;
|
|
650
|
-
|
|
651
|
-
cred_props?: Extensions.CredProps;
|
|
652
|
-
|
|
653
|
-
hmac_create_secret?: boolean;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
export namespace Extensions {
|
|
657
|
-
export interface CredProps {
|
|
658
|
-
rk?: boolean;
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* The response body for initiating a passkey register ceremony.
|
|
666
|
-
*/
|
|
667
|
-
export interface PasskeyInitRegisterResponseBody {
|
|
668
|
-
options: PasskeyInitRegisterResponseBody.Options;
|
|
669
|
-
|
|
670
|
-
relying_party?: string;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
export namespace PasskeyInitRegisterResponseBody {
|
|
674
|
-
export interface Options {
|
|
675
|
-
challenge: string;
|
|
676
|
-
|
|
677
|
-
pub_key_cred_params: Array<Options.PubKeyCredParam>;
|
|
678
|
-
|
|
679
|
-
rp: Options.Rp;
|
|
680
|
-
|
|
681
|
-
user: Options.User;
|
|
682
|
-
|
|
683
|
-
attestation?: string;
|
|
684
|
-
|
|
685
|
-
authenticator_selection?: Options.AuthenticatorSelection;
|
|
686
|
-
|
|
687
|
-
exclude_credentials?: Array<Options.ExcludeCredential>;
|
|
688
|
-
|
|
689
|
-
extensions?: Options.Extensions;
|
|
690
|
-
|
|
691
|
-
timeout?: number;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
export namespace Options {
|
|
695
|
-
export interface PubKeyCredParam {
|
|
696
|
-
alg: number;
|
|
697
|
-
|
|
698
|
-
type: 'public-key';
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
export interface Rp {
|
|
702
|
-
name: string;
|
|
703
|
-
|
|
704
|
-
id?: string;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
export interface User {
|
|
708
|
-
id: string;
|
|
709
|
-
|
|
710
|
-
display_name: string;
|
|
711
|
-
|
|
712
|
-
name: string;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
export interface AuthenticatorSelection {
|
|
716
|
-
authenticator_attachment?: string;
|
|
717
|
-
|
|
718
|
-
require_resident_key?: boolean;
|
|
719
|
-
|
|
720
|
-
resident_key?: string;
|
|
721
|
-
|
|
722
|
-
user_verification?: string;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
export interface ExcludeCredential {
|
|
726
|
-
id: string;
|
|
727
|
-
|
|
728
|
-
type: string;
|
|
729
|
-
|
|
730
|
-
transports?: Array<string>;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
export interface Extensions {
|
|
734
|
-
app_id?: string;
|
|
735
|
-
|
|
736
|
-
cred_props?: Extensions.CredProps;
|
|
737
|
-
|
|
738
|
-
hmac_create_secret?: boolean;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
export namespace Extensions {
|
|
742
|
-
export interface CredProps {
|
|
743
|
-
rk?: boolean;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* The request body for initiating a passkey ceremony.
|
|
751
|
-
*/
|
|
752
|
-
export interface PasskeyInitRequestBody {
|
|
753
|
-
token?: string;
|
|
754
|
-
|
|
755
|
-
relying_party?: string;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* The request body for linking a passkey.
|
|
760
|
-
*/
|
|
761
|
-
export interface PasskeyLinkRequestBody {
|
|
762
|
-
authenticator_response: PasskeyLinkRequestBody.AuthenticatorResponse;
|
|
763
|
-
|
|
764
|
-
relying_party?: string;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
export namespace PasskeyLinkRequestBody {
|
|
768
|
-
export interface AuthenticatorResponse {
|
|
769
|
-
id: string;
|
|
770
|
-
|
|
771
|
-
client_extension_results: AuthenticatorResponse.ClientExtensionResults;
|
|
772
|
-
|
|
773
|
-
raw_id: string;
|
|
774
|
-
|
|
775
|
-
response: AuthenticatorResponse.Response;
|
|
776
|
-
|
|
777
|
-
type: 'public-key';
|
|
778
|
-
|
|
779
|
-
authenticator_attachment?: string;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
export namespace AuthenticatorResponse {
|
|
783
|
-
export interface ClientExtensionResults {
|
|
784
|
-
app_id?: boolean;
|
|
785
|
-
|
|
786
|
-
cred_props?: ClientExtensionResults.CredProps;
|
|
787
|
-
|
|
788
|
-
hmac_create_secret?: boolean;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
export namespace ClientExtensionResults {
|
|
792
|
-
export interface CredProps {
|
|
793
|
-
rk?: boolean;
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
export interface Response {
|
|
798
|
-
attestation_object: string;
|
|
799
|
-
|
|
800
|
-
client_data_json: string;
|
|
801
|
-
|
|
802
|
-
authenticator_data?: string;
|
|
803
|
-
|
|
804
|
-
public_key?: string;
|
|
805
|
-
|
|
806
|
-
public_key_algorithm?: number;
|
|
807
|
-
|
|
808
|
-
transports?: Array<unknown>;
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* The request body for registering a passkey.
|
|
815
|
-
*/
|
|
816
|
-
export interface PasskeyRegisterRequestBody {
|
|
817
|
-
authenticator_response: PasskeyRegisterRequestBody.AuthenticatorResponse;
|
|
818
|
-
|
|
819
|
-
relying_party?: string;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
export namespace PasskeyRegisterRequestBody {
|
|
823
|
-
export interface AuthenticatorResponse {
|
|
824
|
-
id: string;
|
|
825
|
-
|
|
826
|
-
client_extension_results: AuthenticatorResponse.ClientExtensionResults;
|
|
827
|
-
|
|
828
|
-
raw_id: string;
|
|
829
|
-
|
|
830
|
-
response: AuthenticatorResponse.Response;
|
|
831
|
-
|
|
832
|
-
type: 'public-key';
|
|
833
|
-
|
|
834
|
-
authenticator_attachment?: string;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
export namespace AuthenticatorResponse {
|
|
838
|
-
export interface ClientExtensionResults {
|
|
839
|
-
app_id?: boolean;
|
|
840
|
-
|
|
841
|
-
cred_props?: ClientExtensionResults.CredProps;
|
|
842
|
-
|
|
843
|
-
hmac_create_secret?: boolean;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
export namespace ClientExtensionResults {
|
|
847
|
-
export interface CredProps {
|
|
848
|
-
rk?: boolean;
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
export interface Response {
|
|
853
|
-
attestation_object: string;
|
|
854
|
-
|
|
855
|
-
client_data_json: string;
|
|
856
|
-
|
|
857
|
-
authenticator_data?: string;
|
|
858
|
-
|
|
859
|
-
public_key?: string;
|
|
860
|
-
|
|
861
|
-
public_key_algorithm?: number;
|
|
862
|
-
|
|
863
|
-
transports?: Array<unknown>;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* The request body for unlinking a passkey.
|
|
870
|
-
*/
|
|
871
|
-
export interface PasskeyUnlinkRequestBody {
|
|
872
|
-
credential_id: string;
|
|
873
|
-
|
|
874
|
-
remove_as_mfa?: boolean;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
377
|
/**
|
|
878
378
|
* The request body for authenticating a passwordless account.
|
|
879
379
|
*/
|
|
@@ -882,7 +382,10 @@ export interface PasswordlessAuthenticateRequestBody {
|
|
|
882
382
|
|
|
883
383
|
email: string;
|
|
884
384
|
|
|
885
|
-
|
|
385
|
+
/**
|
|
386
|
+
* Whether to allow sign-up during authentication.
|
|
387
|
+
*/
|
|
388
|
+
mode?: AuthenticateModeOption;
|
|
886
389
|
}
|
|
887
390
|
|
|
888
391
|
/**
|
|
@@ -911,7 +414,10 @@ export interface PasswordlessSMSAuthenticateRequestBody {
|
|
|
911
414
|
|
|
912
415
|
phoneNumber: string;
|
|
913
416
|
|
|
914
|
-
|
|
417
|
+
/**
|
|
418
|
+
* Whether to allow sign-up during authentication.
|
|
419
|
+
*/
|
|
420
|
+
mode?: AuthenticateModeOption;
|
|
915
421
|
}
|
|
916
422
|
|
|
917
423
|
/**
|
|
@@ -980,7 +486,10 @@ export interface SiweAuthenticateRequestBody {
|
|
|
980
486
|
|
|
981
487
|
connectorType?: string | null;
|
|
982
488
|
|
|
983
|
-
|
|
489
|
+
/**
|
|
490
|
+
* Whether to allow sign-up during authentication.
|
|
491
|
+
*/
|
|
492
|
+
mode?: AuthenticateModeOption;
|
|
984
493
|
|
|
985
494
|
walletClientType?: string | null;
|
|
986
495
|
}
|
|
@@ -1026,7 +535,10 @@ export interface SiweLinkSmartWalletRequestBody {
|
|
|
1026
535
|
|
|
1027
536
|
signature: string;
|
|
1028
537
|
|
|
1029
|
-
|
|
538
|
+
/**
|
|
539
|
+
* The supported smart wallet providers.
|
|
540
|
+
*/
|
|
541
|
+
smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
|
|
1030
542
|
|
|
1031
543
|
smart_wallet_version?: string;
|
|
1032
544
|
}
|
|
@@ -1050,7 +562,10 @@ export interface SiwsAuthenticateRequestBody {
|
|
|
1050
562
|
|
|
1051
563
|
message_type?: 'transaction' | 'plain';
|
|
1052
564
|
|
|
1053
|
-
|
|
565
|
+
/**
|
|
566
|
+
* Whether to allow sign-up during authentication.
|
|
567
|
+
*/
|
|
568
|
+
mode?: AuthenticateModeOption;
|
|
1054
569
|
|
|
1055
570
|
walletClientType?: string | null;
|
|
1056
571
|
}
|
|
@@ -1089,7 +604,7 @@ export interface SiwsLinkRequestBody {
|
|
|
1089
604
|
}
|
|
1090
605
|
|
|
1091
606
|
/**
|
|
1092
|
-
* The request body for unlinking a
|
|
607
|
+
* The request body for unlinking a SIWS ceremony.
|
|
1093
608
|
*/
|
|
1094
609
|
export interface SiwsUnlinkRequestBody {
|
|
1095
610
|
address: string;
|
|
@@ -1101,421 +616,1496 @@ export interface SiwsUnlinkRequestBody {
|
|
|
1101
616
|
export interface TelegramAuthenticateRequestBody {
|
|
1102
617
|
captcha_token?: string;
|
|
1103
618
|
|
|
1104
|
-
|
|
619
|
+
/**
|
|
620
|
+
* Whether to allow sign-up during authentication.
|
|
621
|
+
*/
|
|
622
|
+
mode?: AuthenticateModeOption;
|
|
1105
623
|
|
|
1106
|
-
|
|
624
|
+
/**
|
|
625
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
626
|
+
* login widget.
|
|
627
|
+
*/
|
|
628
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
1107
629
|
|
|
1108
|
-
|
|
630
|
+
/**
|
|
631
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
632
|
+
* app.
|
|
633
|
+
*/
|
|
634
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
1109
635
|
}
|
|
1110
636
|
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
637
|
+
/**
|
|
638
|
+
* The request body for linking a Telegram account.
|
|
639
|
+
*/
|
|
640
|
+
export interface TelegramLinkRequestBody {
|
|
641
|
+
captcha_token?: string;
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Whether to allow sign-up during authentication.
|
|
645
|
+
*/
|
|
646
|
+
mode?: AuthenticateModeOption;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
650
|
+
* login widget.
|
|
651
|
+
*/
|
|
652
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
656
|
+
* app.
|
|
657
|
+
*/
|
|
658
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* The request body for unlinking a Telegram account.
|
|
663
|
+
*/
|
|
664
|
+
export interface TelegramUnlinkRequestBody {
|
|
665
|
+
telegram_user_id: string;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* The ID of an external OAuth provider.
|
|
670
|
+
*/
|
|
671
|
+
export type ExternalOAuthProviderID =
|
|
672
|
+
| 'google'
|
|
673
|
+
| 'discord'
|
|
674
|
+
| 'twitter'
|
|
675
|
+
| 'github'
|
|
676
|
+
| 'spotify'
|
|
677
|
+
| 'instagram'
|
|
678
|
+
| 'tiktok'
|
|
679
|
+
| 'linkedin'
|
|
680
|
+
| 'apple'
|
|
681
|
+
| 'line'
|
|
682
|
+
| 'twitch';
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* The ID of a Privy app as an OAuth provider. Must start with "privy:".
|
|
686
|
+
*/
|
|
687
|
+
export type PrivyOAuthProviderID = `privy:${string}`;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* The ID of a custom OAuth provider, set up for this app. Must start with
|
|
691
|
+
* "custom:".
|
|
692
|
+
*/
|
|
693
|
+
export type CustomOAuthProviderID = `custom:${string}`;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* The ID of an OAuth provider.
|
|
697
|
+
*/
|
|
698
|
+
export type OAuthProviderID = ExternalOAuthProviderID | PrivyOAuthProviderID | CustomOAuthProviderID;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Bridge provider variant — production or sandbox.
|
|
702
|
+
*/
|
|
703
|
+
export type BridgeOnrampProvider = 'bridge' | 'bridge-sandbox';
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Valid set of onramp providers
|
|
707
|
+
*/
|
|
708
|
+
export type OnrampProvider = 'bridge' | 'bridge-sandbox';
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Whether to allow sign-up during authentication.
|
|
712
|
+
*/
|
|
713
|
+
export type AuthenticateModeOption = 'no-signup' | 'login-or-sign-up';
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* The authentication mode settings for the ceremony.
|
|
717
|
+
*/
|
|
718
|
+
export interface AuthenticateMode {
|
|
719
|
+
/**
|
|
720
|
+
* Whether to allow sign-up during authentication.
|
|
721
|
+
*/
|
|
722
|
+
mode?: AuthenticateModeOption;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* The result of the WebAuthn credProps extension.
|
|
727
|
+
*/
|
|
728
|
+
export interface PasskeyCredPropsResult {
|
|
729
|
+
rk?: boolean;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Client extension results returned by the WebAuthn authenticator.
|
|
734
|
+
*/
|
|
735
|
+
export interface PasskeyClientExtensionResults {
|
|
736
|
+
app_id?: boolean;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* The result of the WebAuthn credProps extension.
|
|
740
|
+
*/
|
|
741
|
+
cred_props?: PasskeyCredPropsResult;
|
|
742
|
+
|
|
743
|
+
hmac_create_secret?: boolean;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* A WebAuthn credential descriptor identifying a specific public key credential.
|
|
748
|
+
*/
|
|
749
|
+
export interface PasskeyCredentialDescriptor {
|
|
750
|
+
id: string;
|
|
751
|
+
|
|
752
|
+
type: string;
|
|
753
|
+
|
|
754
|
+
transports?: Array<string>;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Relying party information for a WebAuthn ceremony.
|
|
759
|
+
*/
|
|
760
|
+
export interface PasskeyRelyingParty {
|
|
761
|
+
name: string;
|
|
762
|
+
|
|
763
|
+
id?: string;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* User entity for a WebAuthn registration ceremony.
|
|
768
|
+
*/
|
|
769
|
+
export interface PasskeyUser {
|
|
770
|
+
id: string;
|
|
771
|
+
|
|
772
|
+
display_name: string;
|
|
773
|
+
|
|
774
|
+
name: string;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* A public key credential parameter specifying the algorithm and credential type.
|
|
779
|
+
*/
|
|
780
|
+
export interface PasskeyPubKeyCredParam {
|
|
781
|
+
alg: number;
|
|
782
|
+
|
|
783
|
+
type: 'public-key';
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Authenticator selection criteria for a WebAuthn registration ceremony.
|
|
788
|
+
*/
|
|
789
|
+
export interface PasskeyAuthenticatorSelection {
|
|
790
|
+
authenticator_attachment?: string;
|
|
791
|
+
|
|
792
|
+
require_resident_key?: boolean;
|
|
793
|
+
|
|
794
|
+
resident_key?: string;
|
|
795
|
+
|
|
796
|
+
user_verification?: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Extensions for a WebAuthn registration ceremony.
|
|
801
|
+
*/
|
|
802
|
+
export interface PasskeyEnrollmentExtensions {
|
|
803
|
+
app_id?: string;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* The result of the WebAuthn credProps extension.
|
|
807
|
+
*/
|
|
808
|
+
cred_props?: PasskeyCredPropsResult;
|
|
809
|
+
|
|
810
|
+
hmac_create_secret?: boolean;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* The authenticator attestation response from a WebAuthn registration ceremony.
|
|
815
|
+
*/
|
|
816
|
+
export interface PasskeyAttestationResponse {
|
|
817
|
+
attestation_object: string;
|
|
818
|
+
|
|
819
|
+
client_data_json: string;
|
|
820
|
+
|
|
821
|
+
authenticator_data?: string;
|
|
822
|
+
|
|
823
|
+
public_key?: string;
|
|
824
|
+
|
|
825
|
+
public_key_algorithm?: number;
|
|
826
|
+
|
|
827
|
+
transports?: Array<unknown>;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* WebAuthn registration options as defined by the Web Authentication
|
|
832
|
+
* specification.
|
|
833
|
+
*/
|
|
834
|
+
export interface PasskeyAuthenticatorEnrollmentOptions {
|
|
835
|
+
challenge: string;
|
|
836
|
+
|
|
837
|
+
pub_key_cred_params: Array<PasskeyPubKeyCredParam>;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Relying party information for a WebAuthn ceremony.
|
|
841
|
+
*/
|
|
842
|
+
rp: PasskeyRelyingParty;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* User entity for a WebAuthn registration ceremony.
|
|
846
|
+
*/
|
|
847
|
+
user: PasskeyUser;
|
|
848
|
+
|
|
849
|
+
attestation?: string;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Authenticator selection criteria for a WebAuthn registration ceremony.
|
|
853
|
+
*/
|
|
854
|
+
authenticator_selection?: PasskeyAuthenticatorSelection;
|
|
855
|
+
|
|
856
|
+
exclude_credentials?: Array<PasskeyCredentialDescriptor>;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Extensions for a WebAuthn registration ceremony.
|
|
860
|
+
*/
|
|
861
|
+
extensions?: PasskeyEnrollmentExtensions;
|
|
862
|
+
|
|
863
|
+
timeout?: number;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* WebAuthn registration response as defined by the Web Authentication
|
|
868
|
+
* specification.
|
|
869
|
+
*/
|
|
870
|
+
export interface PasskeyAuthenticatorEnrollmentResponse {
|
|
871
|
+
id: string;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Client extension results returned by the WebAuthn authenticator.
|
|
875
|
+
*/
|
|
876
|
+
client_extension_results: PasskeyClientExtensionResults;
|
|
877
|
+
|
|
878
|
+
raw_id: string;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* The authenticator attestation response from a WebAuthn registration ceremony.
|
|
882
|
+
*/
|
|
883
|
+
response: PasskeyAttestationResponse;
|
|
884
|
+
|
|
885
|
+
type: 'public-key';
|
|
886
|
+
|
|
887
|
+
authenticator_attachment?: string;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Response for initiating a passkey link ceremony.
|
|
892
|
+
*/
|
|
893
|
+
export interface ResponsePasskeyInitLink {
|
|
894
|
+
/**
|
|
895
|
+
* WebAuthn registration options as defined by the Web Authentication
|
|
896
|
+
* specification.
|
|
897
|
+
*/
|
|
898
|
+
options: PasskeyAuthenticatorEnrollmentOptions;
|
|
899
|
+
|
|
900
|
+
relying_party?: string;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Response for initiating a passkey registration ceremony.
|
|
905
|
+
*/
|
|
906
|
+
export interface ResponsePasskeyInitRegister {
|
|
907
|
+
/**
|
|
908
|
+
* WebAuthn registration options as defined by the Web Authentication
|
|
909
|
+
* specification.
|
|
910
|
+
*/
|
|
911
|
+
options: PasskeyAuthenticatorEnrollmentOptions;
|
|
912
|
+
|
|
913
|
+
relying_party?: string;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Input for linking a passkey credential.
|
|
918
|
+
*/
|
|
919
|
+
export interface PasskeyLinkInput {
|
|
920
|
+
/**
|
|
921
|
+
* WebAuthn registration response as defined by the Web Authentication
|
|
922
|
+
* specification.
|
|
923
|
+
*/
|
|
924
|
+
authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
|
|
925
|
+
|
|
926
|
+
relying_party?: string;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Input for registering a passkey credential.
|
|
931
|
+
*/
|
|
932
|
+
export interface PasskeyRegisterInput {
|
|
933
|
+
/**
|
|
934
|
+
* WebAuthn registration response as defined by the Web Authentication
|
|
935
|
+
* specification.
|
|
936
|
+
*/
|
|
937
|
+
authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
|
|
938
|
+
|
|
939
|
+
relying_party?: string;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Input for initiating a passkey ceremony.
|
|
944
|
+
*/
|
|
945
|
+
export interface PasskeyInitInput {
|
|
946
|
+
token?: string;
|
|
947
|
+
|
|
948
|
+
relying_party?: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Input for unlinking a passkey credential.
|
|
953
|
+
*/
|
|
954
|
+
export interface UnlinkPasskeyInput {
|
|
955
|
+
credential_id: string;
|
|
956
|
+
|
|
957
|
+
remove_as_mfa?: boolean;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Extensions for a WebAuthn authentication ceremony.
|
|
962
|
+
*/
|
|
963
|
+
export interface PasskeyVerifyExtensions {
|
|
964
|
+
app_id?: string;
|
|
965
|
+
|
|
966
|
+
cred_props?: boolean;
|
|
967
|
+
|
|
968
|
+
hmac_create_secret?: boolean;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* The authenticator assertion response from a WebAuthn authentication ceremony.
|
|
973
|
+
*/
|
|
974
|
+
export interface PasskeyAssertionResponse {
|
|
975
|
+
authenticator_data: string;
|
|
976
|
+
|
|
977
|
+
client_data_json: string;
|
|
978
|
+
|
|
979
|
+
signature: string;
|
|
980
|
+
|
|
981
|
+
user_handle?: string;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* WebAuthn authentication options as defined by the Web Authentication
|
|
986
|
+
* specification.
|
|
987
|
+
*/
|
|
988
|
+
export interface PasskeyAuthenticatorVerifyOptions {
|
|
989
|
+
challenge: string;
|
|
990
|
+
|
|
991
|
+
allow_credentials?: Array<PasskeyCredentialDescriptor>;
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Extensions for a WebAuthn authentication ceremony.
|
|
995
|
+
*/
|
|
996
|
+
extensions?: PasskeyVerifyExtensions;
|
|
997
|
+
|
|
998
|
+
rp_id?: string;
|
|
999
|
+
|
|
1000
|
+
timeout?: number;
|
|
1001
|
+
|
|
1002
|
+
user_verification?: string;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* WebAuthn authentication response as defined by the Web Authentication
|
|
1007
|
+
* specification.
|
|
1008
|
+
*/
|
|
1009
|
+
export interface PasskeyAuthenticatorVerifyResponse {
|
|
1010
|
+
id: string;
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Client extension results returned by the WebAuthn authenticator.
|
|
1014
|
+
*/
|
|
1015
|
+
client_extension_results: PasskeyClientExtensionResults;
|
|
1016
|
+
|
|
1017
|
+
raw_id: string;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* The authenticator assertion response from a WebAuthn authentication ceremony.
|
|
1021
|
+
*/
|
|
1022
|
+
response: PasskeyAssertionResponse;
|
|
1023
|
+
|
|
1024
|
+
type: 'public-key';
|
|
1025
|
+
|
|
1026
|
+
authenticator_attachment?: string;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Response for initiating a passkey authentication ceremony.
|
|
1031
|
+
*/
|
|
1032
|
+
export interface ResponsePasskeyInitAuthenticate {
|
|
1033
|
+
/**
|
|
1034
|
+
* WebAuthn authentication options as defined by the Web Authentication
|
|
1035
|
+
* specification.
|
|
1036
|
+
*/
|
|
1037
|
+
options: PasskeyAuthenticatorVerifyOptions;
|
|
1038
|
+
|
|
1039
|
+
relying_party?: string;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Input for authenticating with a passkey.
|
|
1044
|
+
*/
|
|
1045
|
+
export interface PasskeyAuthenticateInput {
|
|
1046
|
+
/**
|
|
1047
|
+
* WebAuthn authentication response as defined by the Web Authentication
|
|
1048
|
+
* specification.
|
|
1049
|
+
*/
|
|
1050
|
+
authenticator_response: PasskeyAuthenticatorVerifyResponse;
|
|
1051
|
+
|
|
1052
|
+
challenge: string;
|
|
1053
|
+
|
|
1054
|
+
relying_party?: string;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* The request body for transferring a passwordless account.
|
|
1059
|
+
*/
|
|
1060
|
+
export interface PasswordlessTransferRequestBody {
|
|
1061
|
+
email: string;
|
|
1062
|
+
|
|
1063
|
+
nonce: string;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* The request body for transferring a passwordless sms account.
|
|
1068
|
+
*/
|
|
1069
|
+
export interface PasswordlessSMSTransferRequestBody {
|
|
1070
|
+
nonce: string;
|
|
1071
|
+
|
|
1072
|
+
phoneNumber: string;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* Input for authenticating with a custom JWT.
|
|
1077
|
+
*/
|
|
1078
|
+
export interface AuthenticateJwtInput {
|
|
1079
|
+
token?: string;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Whether to allow sign-up during authentication.
|
|
1083
|
+
*/
|
|
1084
|
+
mode?: AuthenticateModeOption;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Input for linking a custom JWT account.
|
|
1089
|
+
*/
|
|
1090
|
+
export interface LinkJwtInput {
|
|
1091
|
+
token?: string;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* The request input for getting a native onramp provider customer.
|
|
1096
|
+
*/
|
|
1097
|
+
export interface GetFiatCustomerRequestInput {
|
|
1098
|
+
/**
|
|
1099
|
+
* Valid set of onramp providers
|
|
1100
|
+
*/
|
|
1101
|
+
provider: OnrampProvider;
|
|
1102
|
+
|
|
1103
|
+
kyc_redirect_url?: string;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* The request input for creating (or updating) a native onramp provider customer.
|
|
1108
|
+
*/
|
|
1109
|
+
export interface CreateOrUpdateFiatCustomerRequestInput {
|
|
1110
|
+
has_accepted_terms: boolean;
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Valid set of onramp providers
|
|
1114
|
+
*/
|
|
1115
|
+
provider: OnrampProvider;
|
|
1116
|
+
|
|
1117
|
+
kyc_redirect_url?: string;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* A rejection reason for a customer KYC verification.
|
|
1122
|
+
*/
|
|
1123
|
+
export interface BridgeFiatRejectionReason {
|
|
1124
|
+
reason: string;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* The response for getting a native onramp provider customer.
|
|
1129
|
+
*/
|
|
1130
|
+
export interface BridgeFiatCustomerResponse {
|
|
1131
|
+
has_accepted_terms: boolean;
|
|
1132
|
+
|
|
1133
|
+
provider: 'bridge';
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Status of the KYC verification process.
|
|
1137
|
+
*/
|
|
1138
|
+
status:
|
|
1139
|
+
| 'not_found'
|
|
1140
|
+
| 'active'
|
|
1141
|
+
| 'awaiting_questionnaire'
|
|
1142
|
+
| 'awaiting_ubo'
|
|
1143
|
+
| 'incomplete'
|
|
1144
|
+
| 'not_started'
|
|
1145
|
+
| 'offboarded'
|
|
1146
|
+
| 'paused'
|
|
1147
|
+
| 'rejected'
|
|
1148
|
+
| 'under_review';
|
|
1149
|
+
|
|
1150
|
+
kyc_url?: string;
|
|
1151
|
+
|
|
1152
|
+
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* The response for getting a native onramp provider customer.
|
|
1157
|
+
*/
|
|
1158
|
+
export interface BridgeSandboxFiatCustomerResponse {
|
|
1159
|
+
has_accepted_terms: boolean;
|
|
1160
|
+
|
|
1161
|
+
provider: 'bridge-sandbox';
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Status of the KYC verification process.
|
|
1165
|
+
*/
|
|
1166
|
+
status:
|
|
1167
|
+
| 'not_found'
|
|
1168
|
+
| 'active'
|
|
1169
|
+
| 'awaiting_questionnaire'
|
|
1170
|
+
| 'awaiting_ubo'
|
|
1171
|
+
| 'incomplete'
|
|
1172
|
+
| 'not_started'
|
|
1173
|
+
| 'offboarded'
|
|
1174
|
+
| 'paused'
|
|
1175
|
+
| 'rejected'
|
|
1176
|
+
| 'under_review';
|
|
1177
|
+
|
|
1178
|
+
kyc_url?: string;
|
|
1179
|
+
|
|
1180
|
+
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* The response for getting a native onramp provider customer.
|
|
1185
|
+
*/
|
|
1186
|
+
export type FiatCustomerResponse = BridgeFiatCustomerResponse | BridgeSandboxFiatCustomerResponse;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
1190
|
+
*/
|
|
1191
|
+
export type FiatCurrencyCode = string;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
1195
|
+
*/
|
|
1196
|
+
export type CryptoCurrencyCode = string;
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
1200
|
+
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
1201
|
+
*/
|
|
1202
|
+
export type Caip2ChainID = string;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
1206
|
+
*/
|
|
1207
|
+
export type FiatAmount = string;
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Source currency details for a fiat onramp quote request.
|
|
1211
|
+
*/
|
|
1212
|
+
export interface FiatOnrampSource {
|
|
1213
|
+
/**
|
|
1214
|
+
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
1215
|
+
*/
|
|
1216
|
+
amount: FiatAmount;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
1220
|
+
*/
|
|
1221
|
+
asset: FiatCurrencyCode;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
1226
|
+
*/
|
|
1227
|
+
export interface FiatOnrampDestination {
|
|
1228
|
+
address: string;
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
1232
|
+
*/
|
|
1233
|
+
asset: CryptoCurrencyCode;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
1237
|
+
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
1238
|
+
*/
|
|
1239
|
+
chain: Caip2ChainID;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Whether to use the sandbox or production environment for fiat onramp.
|
|
1244
|
+
*/
|
|
1245
|
+
export type FiatOnrampEnvironment = 'sandbox' | 'production';
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* The fiat onramp provider to use.
|
|
1249
|
+
*/
|
|
1250
|
+
export type FiatOnrampProvider =
|
|
1251
|
+
| 'meld'
|
|
1252
|
+
| 'meld-sandbox'
|
|
1253
|
+
| 'moonpay'
|
|
1254
|
+
| 'moonpay-sandbox'
|
|
1255
|
+
| 'coinbase'
|
|
1256
|
+
| 'coinbase-sandbox';
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* The request input for getting fiat onramp quotes.
|
|
1260
|
+
*/
|
|
1261
|
+
export interface GetFiatOnrampQuotesInput {
|
|
1262
|
+
/**
|
|
1263
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
1264
|
+
*/
|
|
1265
|
+
destination: FiatOnrampDestination;
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Whether to use the sandbox or production environment for fiat onramp.
|
|
1269
|
+
*/
|
|
1270
|
+
environment: FiatOnrampEnvironment;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Source currency details for a fiat onramp quote request.
|
|
1274
|
+
*/
|
|
1275
|
+
source: FiatOnrampSource;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* A single fiat onramp quote from a provider.
|
|
1280
|
+
*/
|
|
1281
|
+
export interface FiatOnrampQuote {
|
|
1282
|
+
payment_method: string;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* The fiat onramp provider to use.
|
|
1286
|
+
*/
|
|
1287
|
+
provider: FiatOnrampProvider;
|
|
1288
|
+
|
|
1289
|
+
destination_currency_code?: string | null;
|
|
1290
|
+
|
|
1291
|
+
source_amount?: number | null;
|
|
1292
|
+
|
|
1293
|
+
source_currency_code?: string | null;
|
|
1294
|
+
|
|
1295
|
+
sub_provider?: string | null;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* An error from a specific fiat onramp provider when fetching quotes.
|
|
1300
|
+
*/
|
|
1301
|
+
export interface FiatOnrampProviderError {
|
|
1302
|
+
error: string;
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* The fiat onramp provider to use.
|
|
1306
|
+
*/
|
|
1307
|
+
provider: FiatOnrampProvider;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* The response containing fiat onramp quotes.
|
|
1312
|
+
*/
|
|
1313
|
+
export interface GetFiatOnrampQuotesResponse {
|
|
1314
|
+
quotes: Array<FiatOnrampQuote>;
|
|
1315
|
+
|
|
1316
|
+
provider_errors?: Array<FiatOnrampProviderError>;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* The request input for getting a fiat onramp provider session URL.
|
|
1321
|
+
*/
|
|
1322
|
+
export interface GetFiatOnrampURLInput {
|
|
1323
|
+
/**
|
|
1324
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
1325
|
+
*/
|
|
1326
|
+
destination: FiatOnrampDestination;
|
|
1327
|
+
|
|
1328
|
+
payment_method: string;
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* The fiat onramp provider to use.
|
|
1332
|
+
*/
|
|
1333
|
+
provider: FiatOnrampProvider;
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Source currency details for a fiat onramp quote request.
|
|
1337
|
+
*/
|
|
1338
|
+
source: FiatOnrampSource;
|
|
1339
|
+
|
|
1340
|
+
redirect_url?: string;
|
|
1341
|
+
|
|
1342
|
+
sub_provider?: string;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* The response containing a fiat onramp provider session URL.
|
|
1347
|
+
*/
|
|
1348
|
+
export interface GetFiatOnrampURLResponse {
|
|
1349
|
+
session_id: string;
|
|
1350
|
+
|
|
1351
|
+
url: string;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* Normalized fiat onramp transaction status.
|
|
1356
|
+
*/
|
|
1357
|
+
export type FiatOnrampTransactionStatus =
|
|
1358
|
+
| 'pending'
|
|
1359
|
+
| 'processing'
|
|
1360
|
+
| 'completed'
|
|
1361
|
+
| 'failed'
|
|
1362
|
+
| 'cancelled'
|
|
1363
|
+
| 'refunded'
|
|
1364
|
+
| 'unknown';
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* The request input for checking a fiat onramp session status.
|
|
1368
|
+
*/
|
|
1369
|
+
export interface GetFiatOnrampTransactionStatusInput {
|
|
1370
|
+
/**
|
|
1371
|
+
* The fiat onramp provider to use.
|
|
1372
|
+
*/
|
|
1373
|
+
provider: FiatOnrampProvider;
|
|
1374
|
+
|
|
1375
|
+
session_id: string;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* The response containing the fiat onramp session status.
|
|
1380
|
+
*/
|
|
1381
|
+
export interface GetFiatOnrampTransactionStatusResponse {
|
|
1382
|
+
raw_status: string;
|
|
1383
|
+
|
|
1384
|
+
session_id: string;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Normalized fiat onramp transaction status.
|
|
1388
|
+
*/
|
|
1389
|
+
status: FiatOnrampTransactionStatus;
|
|
1390
|
+
|
|
1391
|
+
transaction_id?: string;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
export type BridgeDestinationAsset = 'usdb' | 'usdc' | 'usdt' | 'dai' | 'pyusd' | 'eurc';
|
|
1395
|
+
|
|
1396
|
+
export type BridgeSourceAsset = 'usd' | 'eur' | 'mxn' | 'brl' | 'gbp';
|
|
1397
|
+
|
|
1398
|
+
export interface BridgeFiatVirtualAccountSource {
|
|
1399
|
+
asset: BridgeSourceAsset;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
export interface BridgeFiatVirtualAccountDestination {
|
|
1403
|
+
address: string;
|
|
1404
|
+
|
|
1405
|
+
asset: BridgeDestinationAsset;
|
|
1406
|
+
|
|
1407
|
+
chain: string;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* The request input for creating virtual account.
|
|
1412
|
+
*/
|
|
1413
|
+
export interface BridgeFiatVirtualAccountRequest {
|
|
1414
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
1415
|
+
|
|
1416
|
+
provider: 'bridge';
|
|
1417
|
+
|
|
1418
|
+
source: BridgeFiatVirtualAccountSource;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* The request input for creating virtual account.
|
|
1423
|
+
*/
|
|
1424
|
+
export interface BridgeSandboxFiatVirtualAccountRequest {
|
|
1425
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
1426
|
+
|
|
1427
|
+
provider: 'bridge-sandbox';
|
|
1428
|
+
|
|
1429
|
+
source: BridgeFiatVirtualAccountSource;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* The request input for creating virtual account.
|
|
1434
|
+
*/
|
|
1435
|
+
export type FiatVirtualAccountRequest =
|
|
1436
|
+
| BridgeFiatVirtualAccountRequest
|
|
1437
|
+
| BridgeSandboxFiatVirtualAccountRequest;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* The deposit instructions for a virtual account.
|
|
1441
|
+
*/
|
|
1442
|
+
export interface BridgeUsdFiatVirtualAccountDepositInstructions {
|
|
1443
|
+
asset: 'usd';
|
|
1116
1444
|
|
|
1117
|
-
|
|
1445
|
+
bank_account_number: string;
|
|
1446
|
+
|
|
1447
|
+
bank_address: string;
|
|
1118
1448
|
|
|
1119
|
-
|
|
1449
|
+
bank_beneficiary_address: string;
|
|
1120
1450
|
|
|
1121
|
-
|
|
1451
|
+
bank_beneficiary_name: string;
|
|
1122
1452
|
|
|
1123
|
-
|
|
1453
|
+
bank_name: string;
|
|
1124
1454
|
|
|
1125
|
-
|
|
1126
|
-
}
|
|
1455
|
+
bank_routing_number: string;
|
|
1127
1456
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1457
|
+
payment_rails: Array<'ach_push' | 'wire'>;
|
|
1458
|
+
}
|
|
1130
1459
|
|
|
1131
|
-
|
|
1460
|
+
/**
|
|
1461
|
+
* The deposit instructions for a virtual account.
|
|
1462
|
+
*/
|
|
1463
|
+
export interface BridgeEurFiatVirtualAccountDepositInstructions {
|
|
1464
|
+
account_holder_name: string;
|
|
1132
1465
|
|
|
1133
|
-
|
|
1466
|
+
asset: 'eur';
|
|
1134
1467
|
|
|
1135
|
-
|
|
1468
|
+
bank_address: string;
|
|
1136
1469
|
|
|
1137
|
-
|
|
1470
|
+
bank_name: string;
|
|
1138
1471
|
|
|
1139
|
-
|
|
1472
|
+
bic: string;
|
|
1140
1473
|
|
|
1141
|
-
|
|
1474
|
+
iban: string;
|
|
1142
1475
|
|
|
1143
|
-
|
|
1144
|
-
}
|
|
1476
|
+
payment_rails: Array<'sepa'>;
|
|
1145
1477
|
}
|
|
1146
1478
|
|
|
1147
1479
|
/**
|
|
1148
|
-
* The
|
|
1480
|
+
* The deposit instructions for a virtual account.
|
|
1149
1481
|
*/
|
|
1150
|
-
export interface
|
|
1151
|
-
|
|
1482
|
+
export interface BridgeMxnFiatVirtualAccountDepositInstructions {
|
|
1483
|
+
account_holder_name: string;
|
|
1484
|
+
|
|
1485
|
+
asset: 'mxn';
|
|
1152
1486
|
|
|
1153
|
-
|
|
1487
|
+
bank_address: string;
|
|
1488
|
+
|
|
1489
|
+
bank_name: string;
|
|
1154
1490
|
|
|
1155
|
-
|
|
1491
|
+
clabe: string;
|
|
1156
1492
|
|
|
1157
|
-
|
|
1493
|
+
payment_rails: Array<'spei'>;
|
|
1158
1494
|
}
|
|
1159
1495
|
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1496
|
+
/**
|
|
1497
|
+
* The deposit instructions for a virtual account.
|
|
1498
|
+
*/
|
|
1499
|
+
export interface BridgeBrlFiatVirtualAccountDepositInstructions {
|
|
1500
|
+
account_holder_name: string;
|
|
1501
|
+
|
|
1502
|
+
asset: 'brl';
|
|
1503
|
+
|
|
1504
|
+
bank_address: string;
|
|
1505
|
+
|
|
1506
|
+
bank_name: string;
|
|
1163
1507
|
|
|
1164
|
-
|
|
1508
|
+
br_code: string;
|
|
1165
1509
|
|
|
1166
|
-
|
|
1510
|
+
payment_rails: Array<'pix'>;
|
|
1511
|
+
}
|
|
1167
1512
|
|
|
1168
|
-
|
|
1513
|
+
/**
|
|
1514
|
+
* The deposit instructions for a virtual account.
|
|
1515
|
+
*/
|
|
1516
|
+
export interface BridgeGbpFiatVirtualAccountDepositInstructions {
|
|
1517
|
+
account_holder_name: string;
|
|
1169
1518
|
|
|
1170
|
-
|
|
1519
|
+
account_number: string;
|
|
1171
1520
|
|
|
1172
|
-
|
|
1521
|
+
asset: 'gbp';
|
|
1173
1522
|
|
|
1174
|
-
|
|
1175
|
-
}
|
|
1523
|
+
bank_address: string;
|
|
1176
1524
|
|
|
1177
|
-
|
|
1178
|
-
auth_date: number | null;
|
|
1525
|
+
bank_name: string;
|
|
1179
1526
|
|
|
1180
|
-
|
|
1527
|
+
payment_rails: Array<'faster_payments'>;
|
|
1181
1528
|
|
|
1182
|
-
|
|
1529
|
+
sort_code: string;
|
|
1530
|
+
}
|
|
1183
1531
|
|
|
1184
|
-
|
|
1532
|
+
/**
|
|
1533
|
+
* The deposit instructions for a virtual account.
|
|
1534
|
+
*/
|
|
1535
|
+
export type BridgeFiatVirtualAccountDepositInstructions =
|
|
1536
|
+
| BridgeUsdFiatVirtualAccountDepositInstructions
|
|
1537
|
+
| BridgeEurFiatVirtualAccountDepositInstructions
|
|
1538
|
+
| BridgeMxnFiatVirtualAccountDepositInstructions
|
|
1539
|
+
| BridgeBrlFiatVirtualAccountDepositInstructions
|
|
1540
|
+
| BridgeGbpFiatVirtualAccountDepositInstructions;
|
|
1185
1541
|
|
|
1186
|
-
|
|
1542
|
+
/**
|
|
1543
|
+
* The response for creating virtual account.
|
|
1544
|
+
*/
|
|
1545
|
+
export interface BridgeFiatVirtualAccountResponse {
|
|
1546
|
+
/**
|
|
1547
|
+
* The deposit instructions for a virtual account.
|
|
1548
|
+
*/
|
|
1549
|
+
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
1187
1550
|
|
|
1188
|
-
|
|
1551
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
1189
1552
|
|
|
1190
|
-
|
|
1553
|
+
provider: 'bridge';
|
|
1191
1554
|
|
|
1192
|
-
|
|
1193
|
-
}
|
|
1555
|
+
status: string;
|
|
1194
1556
|
}
|
|
1195
1557
|
|
|
1196
1558
|
/**
|
|
1197
|
-
* The
|
|
1559
|
+
* The response for creating virtual account.
|
|
1198
1560
|
*/
|
|
1199
|
-
export interface
|
|
1200
|
-
|
|
1561
|
+
export interface BridgeSandboxFiatVirtualAccountResponse {
|
|
1562
|
+
/**
|
|
1563
|
+
* The deposit instructions for a virtual account.
|
|
1564
|
+
*/
|
|
1565
|
+
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
1566
|
+
|
|
1567
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
1568
|
+
|
|
1569
|
+
provider: 'bridge-sandbox';
|
|
1570
|
+
|
|
1571
|
+
status: string;
|
|
1201
1572
|
}
|
|
1202
1573
|
|
|
1203
1574
|
/**
|
|
1204
|
-
* The
|
|
1575
|
+
* The response for creating virtual account.
|
|
1205
1576
|
*/
|
|
1206
|
-
export type
|
|
1207
|
-
|
|
|
1208
|
-
|
|
|
1209
|
-
| 'twitter'
|
|
1210
|
-
| 'github'
|
|
1211
|
-
| 'spotify'
|
|
1212
|
-
| 'instagram'
|
|
1213
|
-
| 'tiktok'
|
|
1214
|
-
| 'linkedin'
|
|
1215
|
-
| 'apple'
|
|
1216
|
-
| 'line'
|
|
1217
|
-
| 'twitch';
|
|
1577
|
+
export type FiatVirtualAccountResponse =
|
|
1578
|
+
| BridgeFiatVirtualAccountResponse
|
|
1579
|
+
| BridgeSandboxFiatVirtualAccountResponse;
|
|
1218
1580
|
|
|
1219
1581
|
/**
|
|
1220
|
-
* The
|
|
1582
|
+
* The type of OAuth authorization code.
|
|
1221
1583
|
*/
|
|
1222
|
-
export type
|
|
1584
|
+
export type OAuthCodeType = 'raw';
|
|
1223
1585
|
|
|
1224
1586
|
/**
|
|
1225
|
-
*
|
|
1226
|
-
* "custom:".
|
|
1587
|
+
* Metadata for an OAuth transfer user info.
|
|
1227
1588
|
*/
|
|
1228
|
-
export
|
|
1589
|
+
export interface OAuthTransferUserInfoMeta {
|
|
1590
|
+
providerAppId?: string;
|
|
1591
|
+
}
|
|
1229
1592
|
|
|
1230
1593
|
/**
|
|
1231
|
-
*
|
|
1594
|
+
* User info for an OAuth transfer.
|
|
1232
1595
|
*/
|
|
1233
|
-
export
|
|
1596
|
+
export interface OAuthTransferUserInfo {
|
|
1597
|
+
subject: string;
|
|
1598
|
+
|
|
1599
|
+
email?: string | null;
|
|
1600
|
+
|
|
1601
|
+
embeddedWalletAddresses?: Array<string>;
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Metadata for an OAuth transfer user info.
|
|
1605
|
+
*/
|
|
1606
|
+
meta?: OAuthTransferUserInfoMeta;
|
|
1607
|
+
|
|
1608
|
+
name?: string;
|
|
1609
|
+
|
|
1610
|
+
profilePictureUrl?: string;
|
|
1611
|
+
|
|
1612
|
+
smartWalletAddresses?: Array<string>;
|
|
1613
|
+
|
|
1614
|
+
username?: string;
|
|
1615
|
+
|
|
1616
|
+
vanityName?: string;
|
|
1617
|
+
}
|
|
1234
1618
|
|
|
1235
1619
|
/**
|
|
1236
|
-
*
|
|
1620
|
+
* The request body for transferring an OAuth account.
|
|
1237
1621
|
*/
|
|
1238
|
-
export
|
|
1622
|
+
export interface OAuthTransferRequestBody {
|
|
1623
|
+
nonce: string;
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* User info for an OAuth transfer.
|
|
1627
|
+
*/
|
|
1628
|
+
userInfo: OAuthTransferUserInfo;
|
|
1629
|
+
}
|
|
1239
1630
|
|
|
1240
1631
|
/**
|
|
1241
|
-
*
|
|
1632
|
+
* Input for a SIWE signing ceremony.
|
|
1242
1633
|
*/
|
|
1243
|
-
export
|
|
1634
|
+
export interface SiweInput {
|
|
1635
|
+
message: string;
|
|
1636
|
+
|
|
1637
|
+
signature: string;
|
|
1638
|
+
|
|
1639
|
+
chainId?: string | null;
|
|
1640
|
+
|
|
1641
|
+
connectorType?: string | null;
|
|
1642
|
+
|
|
1643
|
+
walletClientType?: string | null;
|
|
1644
|
+
}
|
|
1244
1645
|
|
|
1245
1646
|
/**
|
|
1246
|
-
*
|
|
1647
|
+
* Input for a smart wallet SIWE signing ceremony.
|
|
1247
1648
|
*/
|
|
1248
|
-
export interface
|
|
1649
|
+
export interface SmartWalletSiweInput {
|
|
1650
|
+
message: string;
|
|
1651
|
+
|
|
1652
|
+
signature: string;
|
|
1653
|
+
|
|
1249
1654
|
/**
|
|
1250
|
-
*
|
|
1655
|
+
* The supported smart wallet providers.
|
|
1251
1656
|
*/
|
|
1252
|
-
|
|
1657
|
+
smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
|
|
1253
1658
|
|
|
1254
|
-
|
|
1659
|
+
smart_wallet_version?: string;
|
|
1255
1660
|
}
|
|
1256
1661
|
|
|
1257
1662
|
/**
|
|
1258
|
-
*
|
|
1663
|
+
* Input for authenticating a SIWE ceremony.
|
|
1259
1664
|
*/
|
|
1260
|
-
export interface
|
|
1261
|
-
|
|
1665
|
+
export interface AuthenticateSiweInput {
|
|
1666
|
+
message: string;
|
|
1667
|
+
|
|
1668
|
+
signature: string;
|
|
1669
|
+
|
|
1670
|
+
chainId?: string | null;
|
|
1671
|
+
|
|
1672
|
+
connectorType?: string | null;
|
|
1262
1673
|
|
|
1263
1674
|
/**
|
|
1264
|
-
*
|
|
1675
|
+
* Whether to allow sign-up during authentication.
|
|
1265
1676
|
*/
|
|
1266
|
-
|
|
1677
|
+
mode?: AuthenticateModeOption;
|
|
1267
1678
|
|
|
1268
|
-
|
|
1679
|
+
walletClientType?: string | null;
|
|
1269
1680
|
}
|
|
1270
1681
|
|
|
1271
1682
|
/**
|
|
1272
|
-
*
|
|
1683
|
+
* Input containing a SIWE wallet address.
|
|
1273
1684
|
*/
|
|
1274
|
-
export interface
|
|
1275
|
-
|
|
1685
|
+
export interface SiweAddressInput {
|
|
1686
|
+
address: string;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* Input for initiating a SIWE ceremony.
|
|
1691
|
+
*/
|
|
1692
|
+
export interface SiweInitInput {
|
|
1693
|
+
token?: string;
|
|
1694
|
+
|
|
1695
|
+
address?: string;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* A SIWE nonce response.
|
|
1700
|
+
*/
|
|
1701
|
+
export interface SiweNonce {
|
|
1702
|
+
address: string;
|
|
1703
|
+
|
|
1704
|
+
expires_at: string;
|
|
1705
|
+
|
|
1706
|
+
nonce: string;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Input for transferring a SIWE account.
|
|
1711
|
+
*/
|
|
1712
|
+
export interface TransferSiweInput {
|
|
1713
|
+
address: string;
|
|
1714
|
+
|
|
1715
|
+
nonce: string;
|
|
1716
|
+
|
|
1717
|
+
chainId?: string | null;
|
|
1718
|
+
|
|
1719
|
+
connectorType?: string | null;
|
|
1720
|
+
|
|
1721
|
+
walletClientType?: string | null;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Input for a SIWS signing ceremony.
|
|
1726
|
+
*/
|
|
1727
|
+
export interface SiwsInput {
|
|
1728
|
+
message: string;
|
|
1729
|
+
|
|
1730
|
+
signature: string;
|
|
1731
|
+
|
|
1732
|
+
connectorType?: string | null;
|
|
1733
|
+
|
|
1734
|
+
message_type?: 'transaction' | 'plain';
|
|
1735
|
+
|
|
1736
|
+
walletClientType?: string | null;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Input for authenticating a SIWS ceremony.
|
|
1741
|
+
*/
|
|
1742
|
+
export interface AuthenticateSiwsInput {
|
|
1743
|
+
message: string;
|
|
1744
|
+
|
|
1745
|
+
signature: string;
|
|
1746
|
+
|
|
1747
|
+
connectorType?: string | null;
|
|
1748
|
+
|
|
1749
|
+
message_type?: 'transaction' | 'plain';
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Whether to allow sign-up during authentication.
|
|
1753
|
+
*/
|
|
1754
|
+
mode?: AuthenticateModeOption;
|
|
1755
|
+
|
|
1756
|
+
walletClientType?: string | null;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Input containing a SIWS wallet address.
|
|
1761
|
+
*/
|
|
1762
|
+
export interface SiwsAddressInput {
|
|
1763
|
+
address: string;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* Input for initiating a SIWS ceremony.
|
|
1768
|
+
*/
|
|
1769
|
+
export interface SiwsInitInput {
|
|
1770
|
+
address: string;
|
|
1771
|
+
|
|
1772
|
+
token?: string;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* A SIWS nonce response.
|
|
1777
|
+
*/
|
|
1778
|
+
export interface SiwsNonce {
|
|
1779
|
+
address: string;
|
|
1780
|
+
|
|
1781
|
+
expires_at: string;
|
|
1782
|
+
|
|
1783
|
+
nonce: string;
|
|
1276
1784
|
}
|
|
1277
1785
|
|
|
1278
1786
|
/**
|
|
1279
|
-
*
|
|
1787
|
+
* Input for transferring a SIWS account.
|
|
1280
1788
|
*/
|
|
1281
|
-
export interface
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
provider: 'bridge';
|
|
1789
|
+
export interface TransferSiwsInput {
|
|
1790
|
+
address: string;
|
|
1285
1791
|
|
|
1286
|
-
|
|
1287
|
-
| 'not_found'
|
|
1288
|
-
| 'active'
|
|
1289
|
-
| 'awaiting_questionnaire'
|
|
1290
|
-
| 'awaiting_ubo'
|
|
1291
|
-
| 'incomplete'
|
|
1292
|
-
| 'not_started'
|
|
1293
|
-
| 'offboarded'
|
|
1294
|
-
| 'paused'
|
|
1295
|
-
| 'rejected'
|
|
1296
|
-
| 'under_review';
|
|
1792
|
+
nonce: string;
|
|
1297
1793
|
|
|
1298
|
-
|
|
1794
|
+
connectorType?: string | null;
|
|
1299
1795
|
|
|
1300
|
-
|
|
1796
|
+
walletClientType?: string | null;
|
|
1301
1797
|
}
|
|
1302
1798
|
|
|
1303
1799
|
/**
|
|
1304
|
-
*
|
|
1800
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
1801
|
+
* login widget.
|
|
1305
1802
|
*/
|
|
1306
|
-
export interface
|
|
1307
|
-
|
|
1803
|
+
export interface TelegramAuthResult {
|
|
1804
|
+
id: number | null;
|
|
1308
1805
|
|
|
1309
|
-
|
|
1806
|
+
auth_date: number | null;
|
|
1310
1807
|
|
|
1311
|
-
|
|
1312
|
-
| 'not_found'
|
|
1313
|
-
| 'active'
|
|
1314
|
-
| 'awaiting_questionnaire'
|
|
1315
|
-
| 'awaiting_ubo'
|
|
1316
|
-
| 'incomplete'
|
|
1317
|
-
| 'not_started'
|
|
1318
|
-
| 'offboarded'
|
|
1319
|
-
| 'paused'
|
|
1320
|
-
| 'rejected'
|
|
1321
|
-
| 'under_review';
|
|
1808
|
+
first_name: string;
|
|
1322
1809
|
|
|
1323
|
-
|
|
1810
|
+
hash: string;
|
|
1324
1811
|
|
|
1325
|
-
|
|
1812
|
+
last_name?: string;
|
|
1813
|
+
|
|
1814
|
+
photo_url?: string;
|
|
1815
|
+
|
|
1816
|
+
username?: string;
|
|
1326
1817
|
}
|
|
1327
1818
|
|
|
1328
1819
|
/**
|
|
1329
|
-
*
|
|
1820
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1821
|
+
* app.
|
|
1330
1822
|
*/
|
|
1331
|
-
export
|
|
1823
|
+
export interface TelegramWebAppData {
|
|
1824
|
+
auth_date: number | null;
|
|
1332
1825
|
|
|
1333
|
-
|
|
1826
|
+
hash: string;
|
|
1334
1827
|
|
|
1335
|
-
|
|
1828
|
+
user: string;
|
|
1336
1829
|
|
|
1337
|
-
|
|
1338
|
-
asset: BridgeSourceAsset;
|
|
1339
|
-
}
|
|
1830
|
+
chat_instance?: string;
|
|
1340
1831
|
|
|
1341
|
-
|
|
1342
|
-
address: string;
|
|
1832
|
+
chat_type?: string;
|
|
1343
1833
|
|
|
1344
|
-
|
|
1834
|
+
query_id?: string;
|
|
1345
1835
|
|
|
1346
|
-
|
|
1836
|
+
signature?: string;
|
|
1837
|
+
|
|
1838
|
+
start_param?: string;
|
|
1347
1839
|
}
|
|
1348
1840
|
|
|
1349
1841
|
/**
|
|
1350
|
-
*
|
|
1842
|
+
* Input for authenticating with Telegram.
|
|
1351
1843
|
*/
|
|
1352
|
-
export interface
|
|
1353
|
-
|
|
1844
|
+
export interface TelegramAuthenticateInput {
|
|
1845
|
+
captcha_token?: string;
|
|
1354
1846
|
|
|
1355
|
-
|
|
1847
|
+
/**
|
|
1848
|
+
* Whether to allow sign-up during authentication.
|
|
1849
|
+
*/
|
|
1850
|
+
mode?: AuthenticateModeOption;
|
|
1356
1851
|
|
|
1357
|
-
|
|
1852
|
+
/**
|
|
1853
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
1854
|
+
* login widget.
|
|
1855
|
+
*/
|
|
1856
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1860
|
+
* app.
|
|
1861
|
+
*/
|
|
1862
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
1358
1863
|
}
|
|
1359
1864
|
|
|
1360
1865
|
/**
|
|
1361
|
-
*
|
|
1866
|
+
* Input for unlinking a Telegram account.
|
|
1362
1867
|
*/
|
|
1363
|
-
export interface
|
|
1364
|
-
|
|
1868
|
+
export interface TelegramUnlinkInput {
|
|
1869
|
+
telegram_user_id: string;
|
|
1870
|
+
}
|
|
1365
1871
|
|
|
1366
|
-
|
|
1872
|
+
/**
|
|
1873
|
+
* Input for transferring a Telegram account.
|
|
1874
|
+
*/
|
|
1875
|
+
export interface TransferTelegramInput {
|
|
1876
|
+
nonce: string;
|
|
1367
1877
|
|
|
1368
|
-
|
|
1878
|
+
/**
|
|
1879
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
1880
|
+
* login widget.
|
|
1881
|
+
*/
|
|
1882
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1886
|
+
* app.
|
|
1887
|
+
*/
|
|
1888
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
1369
1889
|
}
|
|
1370
1890
|
|
|
1371
1891
|
/**
|
|
1372
|
-
*
|
|
1892
|
+
* Proxy for the Farcaster Connect init response as defined in FIP-11.
|
|
1373
1893
|
*/
|
|
1374
|
-
export
|
|
1375
|
-
|
|
1376
|
-
|
|
1894
|
+
export interface FarcasterConnectInitResponse {
|
|
1895
|
+
channel_token: string;
|
|
1896
|
+
|
|
1897
|
+
connect_uri: string;
|
|
1898
|
+
}
|
|
1377
1899
|
|
|
1378
1900
|
/**
|
|
1379
|
-
*
|
|
1901
|
+
* Proxy for the Farcaster Connect completed status response as defined in FIP-11.
|
|
1380
1902
|
*/
|
|
1381
|
-
export interface
|
|
1382
|
-
|
|
1903
|
+
export interface FarcasterConnectStatusCompletedResponse {
|
|
1904
|
+
bio: string;
|
|
1383
1905
|
|
|
1384
|
-
|
|
1906
|
+
display_name: string;
|
|
1385
1907
|
|
|
1386
|
-
|
|
1908
|
+
fid: number;
|
|
1387
1909
|
|
|
1388
|
-
|
|
1910
|
+
message: string;
|
|
1389
1911
|
|
|
1390
|
-
|
|
1912
|
+
nonce: string;
|
|
1391
1913
|
|
|
1392
|
-
|
|
1914
|
+
pfp_url: string;
|
|
1393
1915
|
|
|
1394
|
-
|
|
1916
|
+
signature: string;
|
|
1395
1917
|
|
|
1396
|
-
|
|
1918
|
+
state: 'completed';
|
|
1919
|
+
|
|
1920
|
+
username: string;
|
|
1397
1921
|
}
|
|
1398
1922
|
|
|
1399
1923
|
/**
|
|
1400
|
-
*
|
|
1924
|
+
* Proxy for the Farcaster Connect pending status response as defined in FIP-11.
|
|
1401
1925
|
*/
|
|
1402
|
-
export interface
|
|
1403
|
-
|
|
1926
|
+
export interface FarcasterConnectStatusPendingResponse {
|
|
1927
|
+
nonce: string;
|
|
1404
1928
|
|
|
1405
|
-
|
|
1929
|
+
state: 'pending';
|
|
1930
|
+
}
|
|
1406
1931
|
|
|
1407
|
-
|
|
1932
|
+
/**
|
|
1933
|
+
* Input for authenticating with Farcaster.
|
|
1934
|
+
*/
|
|
1935
|
+
export interface FarcasterAuthenticateInput {
|
|
1936
|
+
channel_token: string;
|
|
1408
1937
|
|
|
1409
|
-
|
|
1938
|
+
fid: number;
|
|
1410
1939
|
|
|
1411
|
-
|
|
1940
|
+
message: string;
|
|
1412
1941
|
|
|
1413
|
-
|
|
1942
|
+
signature: string;
|
|
1414
1943
|
|
|
1415
|
-
|
|
1944
|
+
/**
|
|
1945
|
+
* Whether to allow sign-up during authentication.
|
|
1946
|
+
*/
|
|
1947
|
+
mode?: AuthenticateModeOption;
|
|
1416
1948
|
}
|
|
1417
1949
|
|
|
1418
1950
|
/**
|
|
1419
|
-
*
|
|
1951
|
+
* Input for linking a Farcaster account.
|
|
1420
1952
|
*/
|
|
1421
|
-
export interface
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
asset: 'mxn';
|
|
1425
|
-
|
|
1426
|
-
bank_address: string;
|
|
1953
|
+
export interface FarcasterLinkInput {
|
|
1954
|
+
channel_token: string;
|
|
1427
1955
|
|
|
1428
|
-
|
|
1956
|
+
fid: number;
|
|
1429
1957
|
|
|
1430
|
-
|
|
1958
|
+
message: string;
|
|
1431
1959
|
|
|
1432
|
-
|
|
1960
|
+
signature: string;
|
|
1433
1961
|
}
|
|
1434
1962
|
|
|
1435
1963
|
/**
|
|
1436
|
-
*
|
|
1964
|
+
* Input for initiating a Farcaster connection.
|
|
1437
1965
|
*/
|
|
1438
|
-
export interface
|
|
1439
|
-
|
|
1966
|
+
export interface FarcasterInitInput {
|
|
1967
|
+
token?: string;
|
|
1440
1968
|
|
|
1441
|
-
|
|
1969
|
+
redirect_url?: string;
|
|
1442
1970
|
|
|
1443
|
-
|
|
1971
|
+
relying_party?: string;
|
|
1972
|
+
}
|
|
1444
1973
|
|
|
1445
|
-
|
|
1974
|
+
/**
|
|
1975
|
+
* Input for unlinking a Farcaster account.
|
|
1976
|
+
*/
|
|
1977
|
+
export interface FarcasterUnlinkInput {
|
|
1978
|
+
fid: number;
|
|
1979
|
+
}
|
|
1446
1980
|
|
|
1447
|
-
|
|
1981
|
+
/**
|
|
1982
|
+
* Input for transferring a Farcaster account.
|
|
1983
|
+
*/
|
|
1984
|
+
export interface TransferFarcasterInput {
|
|
1985
|
+
farcaster_embedded_address: string;
|
|
1448
1986
|
|
|
1449
|
-
|
|
1987
|
+
farcaster_id: string;
|
|
1988
|
+
|
|
1989
|
+
nonce: string;
|
|
1450
1990
|
}
|
|
1451
1991
|
|
|
1452
1992
|
/**
|
|
1453
|
-
*
|
|
1993
|
+
* Input for initiating a Farcaster V2 connection.
|
|
1454
1994
|
*/
|
|
1455
|
-
export
|
|
1456
|
-
account_holder_name: string;
|
|
1995
|
+
export type FarcasterV2InitInput = unknown;
|
|
1457
1996
|
|
|
1458
|
-
|
|
1997
|
+
/**
|
|
1998
|
+
* Response for initiating a Farcaster V2 connection.
|
|
1999
|
+
*/
|
|
2000
|
+
export interface FarcasterV2InitResponse {
|
|
2001
|
+
expires_at: string;
|
|
1459
2002
|
|
|
1460
|
-
|
|
2003
|
+
nonce: string;
|
|
2004
|
+
}
|
|
1461
2005
|
|
|
1462
|
-
|
|
2006
|
+
/**
|
|
2007
|
+
* Input for authenticating a Farcaster V2 account.
|
|
2008
|
+
*/
|
|
2009
|
+
export interface FarcasterV2AuthenticateInput {
|
|
2010
|
+
fid: number;
|
|
1463
2011
|
|
|
1464
|
-
|
|
2012
|
+
message: string;
|
|
1465
2013
|
|
|
1466
|
-
|
|
2014
|
+
signature: string;
|
|
1467
2015
|
|
|
1468
|
-
|
|
2016
|
+
/**
|
|
2017
|
+
* Whether to allow sign-up during authentication.
|
|
2018
|
+
*/
|
|
2019
|
+
mode?: AuthenticateModeOption;
|
|
1469
2020
|
}
|
|
1470
2021
|
|
|
1471
2022
|
/**
|
|
1472
|
-
* The
|
|
2023
|
+
* The request body for initiating a Farcaster V2 connection.
|
|
1473
2024
|
*/
|
|
1474
|
-
export type
|
|
1475
|
-
| BridgeUsdFiatVirtualAccountDepositInstructions
|
|
1476
|
-
| BridgeEurFiatVirtualAccountDepositInstructions
|
|
1477
|
-
| BridgeMxnFiatVirtualAccountDepositInstructions
|
|
1478
|
-
| BridgeBrlFiatVirtualAccountDepositInstructions
|
|
1479
|
-
| BridgeGbpFiatVirtualAccountDepositInstructions;
|
|
2025
|
+
export type FarcasterV2InitRequestBody = unknown;
|
|
1480
2026
|
|
|
1481
2027
|
/**
|
|
1482
|
-
* The response for
|
|
2028
|
+
* The response body for initiating a Farcaster V2 connection.
|
|
1483
2029
|
*/
|
|
1484
|
-
export interface
|
|
2030
|
+
export interface FarcasterV2InitResponseBody {
|
|
2031
|
+
expires_at: string;
|
|
2032
|
+
|
|
2033
|
+
nonce: string;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* The request body for authenticating a Farcaster V2 account.
|
|
2038
|
+
*/
|
|
2039
|
+
export interface FarcasterV2AuthenticateRequestBody {
|
|
2040
|
+
fid: number;
|
|
2041
|
+
|
|
2042
|
+
message: string;
|
|
2043
|
+
|
|
2044
|
+
signature: string;
|
|
2045
|
+
|
|
1485
2046
|
/**
|
|
1486
|
-
*
|
|
2047
|
+
* Whether to allow sign-up during authentication.
|
|
1487
2048
|
*/
|
|
1488
|
-
|
|
2049
|
+
mode?: AuthenticateModeOption;
|
|
2050
|
+
}
|
|
1489
2051
|
|
|
1490
|
-
|
|
2052
|
+
/**
|
|
2053
|
+
* A Farcaster signer init response when the signer is pending approval.
|
|
2054
|
+
*/
|
|
2055
|
+
export interface FarcasterSignerInitPendingApproval {
|
|
2056
|
+
public_key: string;
|
|
1491
2057
|
|
|
1492
|
-
|
|
2058
|
+
signer_approval_url: string;
|
|
1493
2059
|
|
|
1494
|
-
status:
|
|
2060
|
+
status: 'pending_approval';
|
|
1495
2061
|
}
|
|
1496
2062
|
|
|
1497
2063
|
/**
|
|
1498
|
-
*
|
|
2064
|
+
* A Farcaster signer response when the signer has been approved.
|
|
1499
2065
|
*/
|
|
1500
|
-
export interface
|
|
1501
|
-
|
|
1502
|
-
* The deposit instructions for a virtual account.
|
|
1503
|
-
*/
|
|
1504
|
-
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
2066
|
+
export interface FarcasterSignerApproved {
|
|
2067
|
+
fid: string;
|
|
1505
2068
|
|
|
1506
|
-
|
|
2069
|
+
public_key: string;
|
|
1507
2070
|
|
|
1508
|
-
|
|
2071
|
+
status: 'approved';
|
|
2072
|
+
}
|
|
1509
2073
|
|
|
1510
|
-
|
|
2074
|
+
/**
|
|
2075
|
+
* A Farcaster signer response when the signer has been revoked.
|
|
2076
|
+
*/
|
|
2077
|
+
export interface FarcasterSignerRevoked {
|
|
2078
|
+
fid: string;
|
|
2079
|
+
|
|
2080
|
+
public_key: string;
|
|
2081
|
+
|
|
2082
|
+
status: 'revoked';
|
|
1511
2083
|
}
|
|
1512
2084
|
|
|
1513
2085
|
/**
|
|
1514
|
-
*
|
|
2086
|
+
* A Farcaster signer status response when the signer is pending approval.
|
|
1515
2087
|
*/
|
|
1516
|
-
export
|
|
1517
|
-
|
|
1518
|
-
|
|
2088
|
+
export interface FarcasterSignerStatusPendingApproval {
|
|
2089
|
+
public_key: string;
|
|
2090
|
+
|
|
2091
|
+
status: 'pending_approval';
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Input for verifying SMS MFA.
|
|
2096
|
+
*/
|
|
2097
|
+
export interface MfaSMSInitVerifyInput {
|
|
2098
|
+
action: 'verify';
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* Input for enrolling SMS MFA.
|
|
2103
|
+
*/
|
|
2104
|
+
export interface MfaSMSInitEnrollInput {
|
|
2105
|
+
action: 'enroll';
|
|
2106
|
+
|
|
2107
|
+
phoneNumber: string;
|
|
2108
|
+
}
|
|
1519
2109
|
|
|
1520
2110
|
export declare namespace ClientAuth {
|
|
1521
2111
|
export {
|
|
@@ -1532,7 +2122,6 @@ export declare namespace ClientAuth {
|
|
|
1532
2122
|
type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody,
|
|
1533
2123
|
type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody,
|
|
1534
2124
|
type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody,
|
|
1535
|
-
type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody,
|
|
1536
2125
|
type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody,
|
|
1537
2126
|
type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody,
|
|
1538
2127
|
type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody,
|
|
@@ -1555,14 +2144,6 @@ export declare namespace ClientAuth {
|
|
|
1555
2144
|
type OAuthVerifyRequestBody as OAuthVerifyRequestBody,
|
|
1556
2145
|
type OAuthVerifyResponseBody as OAuthVerifyResponseBody,
|
|
1557
2146
|
type OptionalRefreshTokenInput as OptionalRefreshTokenInput,
|
|
1558
|
-
type PasskeyAuthenticateRequestBody as PasskeyAuthenticateRequestBody,
|
|
1559
|
-
type PasskeyInitAuthenticateResponseBody as PasskeyInitAuthenticateResponseBody,
|
|
1560
|
-
type PasskeyInitLinkResponseBody as PasskeyInitLinkResponseBody,
|
|
1561
|
-
type PasskeyInitRegisterResponseBody as PasskeyInitRegisterResponseBody,
|
|
1562
|
-
type PasskeyInitRequestBody as PasskeyInitRequestBody,
|
|
1563
|
-
type PasskeyLinkRequestBody as PasskeyLinkRequestBody,
|
|
1564
|
-
type PasskeyRegisterRequestBody as PasskeyRegisterRequestBody,
|
|
1565
|
-
type PasskeyUnlinkRequestBody as PasskeyUnlinkRequestBody,
|
|
1566
2147
|
type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody,
|
|
1567
2148
|
type PasswordlessInitRequestBody as PasswordlessInitRequestBody,
|
|
1568
2149
|
type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody,
|
|
@@ -1593,12 +2174,58 @@ export declare namespace ClientAuth {
|
|
|
1593
2174
|
type OAuthProviderID as OAuthProviderID,
|
|
1594
2175
|
type BridgeOnrampProvider as BridgeOnrampProvider,
|
|
1595
2176
|
type OnrampProvider as OnrampProvider,
|
|
2177
|
+
type AuthenticateModeOption as AuthenticateModeOption,
|
|
2178
|
+
type AuthenticateMode as AuthenticateMode,
|
|
2179
|
+
type PasskeyCredPropsResult as PasskeyCredPropsResult,
|
|
2180
|
+
type PasskeyClientExtensionResults as PasskeyClientExtensionResults,
|
|
2181
|
+
type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor,
|
|
2182
|
+
type PasskeyRelyingParty as PasskeyRelyingParty,
|
|
2183
|
+
type PasskeyUser as PasskeyUser,
|
|
2184
|
+
type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam,
|
|
2185
|
+
type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection,
|
|
2186
|
+
type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions,
|
|
2187
|
+
type PasskeyAttestationResponse as PasskeyAttestationResponse,
|
|
2188
|
+
type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions,
|
|
2189
|
+
type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse,
|
|
2190
|
+
type ResponsePasskeyInitLink as ResponsePasskeyInitLink,
|
|
2191
|
+
type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister,
|
|
2192
|
+
type PasskeyLinkInput as PasskeyLinkInput,
|
|
2193
|
+
type PasskeyRegisterInput as PasskeyRegisterInput,
|
|
2194
|
+
type PasskeyInitInput as PasskeyInitInput,
|
|
2195
|
+
type UnlinkPasskeyInput as UnlinkPasskeyInput,
|
|
2196
|
+
type PasskeyVerifyExtensions as PasskeyVerifyExtensions,
|
|
2197
|
+
type PasskeyAssertionResponse as PasskeyAssertionResponse,
|
|
2198
|
+
type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions,
|
|
2199
|
+
type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse,
|
|
2200
|
+
type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate,
|
|
2201
|
+
type PasskeyAuthenticateInput as PasskeyAuthenticateInput,
|
|
2202
|
+
type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody,
|
|
2203
|
+
type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody,
|
|
2204
|
+
type AuthenticateJwtInput as AuthenticateJwtInput,
|
|
2205
|
+
type LinkJwtInput as LinkJwtInput,
|
|
1596
2206
|
type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput,
|
|
1597
2207
|
type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput,
|
|
1598
2208
|
type BridgeFiatRejectionReason as BridgeFiatRejectionReason,
|
|
1599
2209
|
type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse,
|
|
1600
2210
|
type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse,
|
|
1601
2211
|
type FiatCustomerResponse as FiatCustomerResponse,
|
|
2212
|
+
type FiatCurrencyCode as FiatCurrencyCode,
|
|
2213
|
+
type CryptoCurrencyCode as CryptoCurrencyCode,
|
|
2214
|
+
type Caip2ChainID as Caip2ChainID,
|
|
2215
|
+
type FiatAmount as FiatAmount,
|
|
2216
|
+
type FiatOnrampSource as FiatOnrampSource,
|
|
2217
|
+
type FiatOnrampDestination as FiatOnrampDestination,
|
|
2218
|
+
type FiatOnrampEnvironment as FiatOnrampEnvironment,
|
|
2219
|
+
type FiatOnrampProvider as FiatOnrampProvider,
|
|
2220
|
+
type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput,
|
|
2221
|
+
type FiatOnrampQuote as FiatOnrampQuote,
|
|
2222
|
+
type FiatOnrampProviderError as FiatOnrampProviderError,
|
|
2223
|
+
type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse,
|
|
2224
|
+
type GetFiatOnrampURLInput as GetFiatOnrampURLInput,
|
|
2225
|
+
type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse,
|
|
2226
|
+
type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus,
|
|
2227
|
+
type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput,
|
|
2228
|
+
type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse,
|
|
1602
2229
|
type BridgeDestinationAsset as BridgeDestinationAsset,
|
|
1603
2230
|
type BridgeSourceAsset as BridgeSourceAsset,
|
|
1604
2231
|
type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource,
|
|
@@ -1615,5 +2242,45 @@ export declare namespace ClientAuth {
|
|
|
1615
2242
|
type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse,
|
|
1616
2243
|
type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
|
|
1617
2244
|
type FiatVirtualAccountResponse as FiatVirtualAccountResponse,
|
|
2245
|
+
type OAuthCodeType as OAuthCodeType,
|
|
2246
|
+
type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta,
|
|
2247
|
+
type OAuthTransferUserInfo as OAuthTransferUserInfo,
|
|
2248
|
+
type OAuthTransferRequestBody as OAuthTransferRequestBody,
|
|
2249
|
+
type SiweInput as SiweInput,
|
|
2250
|
+
type SmartWalletSiweInput as SmartWalletSiweInput,
|
|
2251
|
+
type AuthenticateSiweInput as AuthenticateSiweInput,
|
|
2252
|
+
type SiweAddressInput as SiweAddressInput,
|
|
2253
|
+
type SiweInitInput as SiweInitInput,
|
|
2254
|
+
type SiweNonce as SiweNonce,
|
|
2255
|
+
type TransferSiweInput as TransferSiweInput,
|
|
2256
|
+
type SiwsInput as SiwsInput,
|
|
2257
|
+
type AuthenticateSiwsInput as AuthenticateSiwsInput,
|
|
2258
|
+
type SiwsAddressInput as SiwsAddressInput,
|
|
2259
|
+
type SiwsInitInput as SiwsInitInput,
|
|
2260
|
+
type SiwsNonce as SiwsNonce,
|
|
2261
|
+
type TransferSiwsInput as TransferSiwsInput,
|
|
2262
|
+
type TelegramAuthResult as TelegramAuthResult,
|
|
2263
|
+
type TelegramWebAppData as TelegramWebAppData,
|
|
2264
|
+
type TelegramAuthenticateInput as TelegramAuthenticateInput,
|
|
2265
|
+
type TelegramUnlinkInput as TelegramUnlinkInput,
|
|
2266
|
+
type TransferTelegramInput as TransferTelegramInput,
|
|
2267
|
+
type FarcasterConnectInitResponse as FarcasterConnectInitResponse,
|
|
2268
|
+
type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse,
|
|
2269
|
+
type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse,
|
|
2270
|
+
type FarcasterAuthenticateInput as FarcasterAuthenticateInput,
|
|
2271
|
+
type FarcasterLinkInput as FarcasterLinkInput,
|
|
2272
|
+
type FarcasterInitInput as FarcasterInitInput,
|
|
2273
|
+
type FarcasterUnlinkInput as FarcasterUnlinkInput,
|
|
2274
|
+
type TransferFarcasterInput as TransferFarcasterInput,
|
|
2275
|
+
type FarcasterV2InitInput as FarcasterV2InitInput,
|
|
2276
|
+
type FarcasterV2InitResponse as FarcasterV2InitResponse,
|
|
2277
|
+
type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput,
|
|
2278
|
+
type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody,
|
|
2279
|
+
type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval,
|
|
2280
|
+
type FarcasterSignerApproved as FarcasterSignerApproved,
|
|
2281
|
+
type FarcasterSignerRevoked as FarcasterSignerRevoked,
|
|
2282
|
+
type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval,
|
|
2283
|
+
type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput,
|
|
2284
|
+
type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput,
|
|
1618
2285
|
};
|
|
1619
2286
|
}
|