@privy-io/api-types 0.7.0 → 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.
Files changed (169) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/client.d.mts +37 -28
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +37 -28
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +79 -106
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +79 -106
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/accounts.js.map +1 -1
  16. package/resources/accounts.mjs.map +1 -1
  17. package/resources/aggregations.d.mts +18 -392
  18. package/resources/aggregations.d.mts.map +1 -1
  19. package/resources/aggregations.d.ts +18 -392
  20. package/resources/aggregations.d.ts.map +1 -1
  21. package/resources/aggregations.js.map +1 -1
  22. package/resources/aggregations.mjs.map +1 -1
  23. package/resources/apps.d.mts +139 -70
  24. package/resources/apps.d.mts.map +1 -1
  25. package/resources/apps.d.ts +139 -70
  26. package/resources/apps.d.ts.map +1 -1
  27. package/resources/apps.js.map +1 -1
  28. package/resources/apps.mjs.map +1 -1
  29. package/resources/client-auth.d.mts +796 -427
  30. package/resources/client-auth.d.mts.map +1 -1
  31. package/resources/client-auth.d.ts +796 -427
  32. package/resources/client-auth.d.ts.map +1 -1
  33. package/resources/client-auth.js.map +1 -1
  34. package/resources/client-auth.mjs.map +1 -1
  35. package/resources/cross-app.d.mts +14 -13
  36. package/resources/cross-app.d.mts.map +1 -1
  37. package/resources/cross-app.d.ts +14 -13
  38. package/resources/cross-app.d.ts.map +1 -1
  39. package/resources/embedded-wallets.d.mts +165 -81
  40. package/resources/embedded-wallets.d.mts.map +1 -1
  41. package/resources/embedded-wallets.d.ts +165 -81
  42. package/resources/embedded-wallets.d.ts.map +1 -1
  43. package/resources/embedded-wallets.js.map +1 -1
  44. package/resources/embedded-wallets.mjs.map +1 -1
  45. package/resources/funding.d.mts +150 -64
  46. package/resources/funding.d.mts.map +1 -1
  47. package/resources/funding.d.ts +150 -64
  48. package/resources/funding.d.ts.map +1 -1
  49. package/resources/funding.js.map +1 -1
  50. package/resources/funding.mjs.map +1 -1
  51. package/resources/index.d.mts +17 -14
  52. package/resources/index.d.mts.map +1 -1
  53. package/resources/index.d.ts +17 -14
  54. package/resources/index.d.ts.map +1 -1
  55. package/resources/index.js +7 -1
  56. package/resources/index.js.map +1 -1
  57. package/resources/index.mjs +3 -0
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/intents.d.mts +224 -1757
  60. package/resources/intents.d.mts.map +1 -1
  61. package/resources/intents.d.ts +224 -1757
  62. package/resources/intents.d.ts.map +1 -1
  63. package/resources/intents.js.map +1 -1
  64. package/resources/intents.mjs.map +1 -1
  65. package/resources/key-quorums.d.mts +74 -26
  66. package/resources/key-quorums.d.mts.map +1 -1
  67. package/resources/key-quorums.d.ts +74 -26
  68. package/resources/key-quorums.d.ts.map +1 -1
  69. package/resources/key-quorums.js +8 -8
  70. package/resources/key-quorums.js.map +1 -1
  71. package/resources/key-quorums.mjs +8 -8
  72. package/resources/key-quorums.mjs.map +1 -1
  73. package/resources/policies.d.mts +335 -926
  74. package/resources/policies.d.mts.map +1 -1
  75. package/resources/policies.d.ts +335 -926
  76. package/resources/policies.d.ts.map +1 -1
  77. package/resources/policies.js +48 -41
  78. package/resources/policies.js.map +1 -1
  79. package/resources/policies.mjs +48 -41
  80. package/resources/policies.mjs.map +1 -1
  81. package/resources/shared.d.mts +59 -0
  82. package/resources/shared.d.mts.map +1 -0
  83. package/resources/shared.d.ts +59 -0
  84. package/resources/shared.d.ts.map +1 -0
  85. package/resources/shared.js +9 -0
  86. package/resources/shared.js.map +1 -0
  87. package/resources/shared.mjs +5 -0
  88. package/resources/shared.mjs.map +1 -0
  89. package/resources/swaps.d.mts +108 -0
  90. package/resources/swaps.d.mts.map +1 -0
  91. package/resources/swaps.d.ts +108 -0
  92. package/resources/swaps.d.ts.map +1 -0
  93. package/resources/swaps.js +9 -0
  94. package/resources/swaps.js.map +1 -0
  95. package/resources/swaps.mjs +5 -0
  96. package/resources/swaps.mjs.map +1 -0
  97. package/resources/transactions.d.mts +155 -93
  98. package/resources/transactions.d.mts.map +1 -1
  99. package/resources/transactions.d.ts +155 -93
  100. package/resources/transactions.d.ts.map +1 -1
  101. package/resources/users.d.mts +61 -94
  102. package/resources/users.d.mts.map +1 -1
  103. package/resources/users.d.ts +61 -94
  104. package/resources/users.d.ts.map +1 -1
  105. package/resources/users.js.map +1 -1
  106. package/resources/users.mjs.map +1 -1
  107. package/resources/wallet-actions.d.mts +187 -0
  108. package/resources/wallet-actions.d.mts.map +1 -0
  109. package/resources/wallet-actions.d.ts +187 -0
  110. package/resources/wallet-actions.d.ts.map +1 -0
  111. package/resources/wallet-actions.js +9 -0
  112. package/resources/wallet-actions.js.map +1 -0
  113. package/resources/wallet-actions.mjs +5 -0
  114. package/resources/wallet-actions.mjs.map +1 -0
  115. package/resources/wallets/index.d.mts +1 -1
  116. package/resources/wallets/index.d.mts.map +1 -1
  117. package/resources/wallets/index.d.ts +1 -1
  118. package/resources/wallets/index.d.ts.map +1 -1
  119. package/resources/wallets/index.js.map +1 -1
  120. package/resources/wallets/index.mjs.map +1 -1
  121. package/resources/wallets/transactions.d.mts +1 -0
  122. package/resources/wallets/transactions.d.mts.map +1 -1
  123. package/resources/wallets/transactions.d.ts +1 -0
  124. package/resources/wallets/transactions.d.ts.map +1 -1
  125. package/resources/wallets/wallets.d.mts +2377 -971
  126. package/resources/wallets/wallets.d.mts.map +1 -1
  127. package/resources/wallets/wallets.d.ts +2377 -971
  128. package/resources/wallets/wallets.d.ts.map +1 -1
  129. package/resources/wallets/wallets.js +18 -6
  130. package/resources/wallets/wallets.js.map +1 -1
  131. package/resources/wallets/wallets.mjs +18 -6
  132. package/resources/wallets/wallets.mjs.map +1 -1
  133. package/resources/webhooks.d.mts +438 -33
  134. package/resources/webhooks.d.mts.map +1 -1
  135. package/resources/webhooks.d.ts +438 -33
  136. package/resources/webhooks.d.ts.map +1 -1
  137. package/resources/webhooks.js.map +1 -1
  138. package/resources/webhooks.mjs.map +1 -1
  139. package/resources/yield.d.mts +25 -1
  140. package/resources/yield.d.mts.map +1 -1
  141. package/resources/yield.d.ts +25 -1
  142. package/resources/yield.d.ts.map +1 -1
  143. package/src/client.ts +721 -72
  144. package/src/resources/accounts.ts +93 -120
  145. package/src/resources/aggregations.ts +18 -702
  146. package/src/resources/apps.ts +187 -110
  147. package/src/resources/client-auth.ts +1358 -893
  148. package/src/resources/cross-app.ts +19 -15
  149. package/src/resources/embedded-wallets.ts +219 -123
  150. package/src/resources/funding.ts +263 -173
  151. package/src/resources/index.ts +368 -47
  152. package/src/resources/intents.ts +370 -3100
  153. package/src/resources/key-quorums.ts +100 -32
  154. package/src/resources/policies.ts +583 -1558
  155. package/src/resources/shared.ts +79 -0
  156. package/src/resources/swaps.ts +136 -0
  157. package/src/resources/transactions.ts +185 -91
  158. package/src/resources/users.ts +79 -132
  159. package/src/resources/wallet-actions.ts +251 -0
  160. package/src/resources/wallets/index.ts +144 -16
  161. package/src/resources/wallets/transactions.ts +2 -0
  162. package/src/resources/wallets/wallets.ts +2893 -1023
  163. package/src/resources/webhooks.ts +547 -47
  164. package/src/resources/yield.ts +29 -0
  165. package/src/version.ts +1 -1
  166. package/version.d.mts +1 -1
  167. package/version.d.ts +1 -1
  168. package/version.js +1 -1
  169. package/version.mjs +1 -1
@@ -1,16 +1,20 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
+ import * as EmbeddedWalletsAPI from "./embedded-wallets.mjs";
2
3
  import * as UsersAPI from "./users.mjs";
3
4
  export declare class ClientAuth extends APIResource {
4
5
  }
5
6
  /**
6
- * The request body for authenticating with a custom JWT
7
+ * The request body for authenticating with a custom JWT.
7
8
  */
8
9
  export interface CustomJwtAuthenticateRequestBody {
9
10
  token?: string;
10
- mode?: 'no-signup' | 'login-or-sign-up';
11
+ /**
12
+ * Whether to allow sign-up during authentication.
13
+ */
14
+ mode?: AuthenticateModeOption;
11
15
  }
12
16
  /**
13
- * The request body for linking a custom JWT account
17
+ * The request body for linking a custom JWT account.
14
18
  */
15
19
  export interface CustomJwtLinkRequestBody {
16
20
  token?: string;
@@ -23,7 +27,10 @@ export interface FarcasterAuthenticateRequestBody {
23
27
  fid: number;
24
28
  message: string;
25
29
  signature: string;
26
- mode?: 'no-signup' | 'login-or-sign-up';
30
+ /**
31
+ * Whether to allow sign-up during authentication.
32
+ */
33
+ mode?: AuthenticateModeOption;
27
34
  }
28
35
  /**
29
36
  * The response body for initiating a Farcaster connection.
@@ -75,44 +82,16 @@ export interface FarcasterLinkRequestBody {
75
82
  */
76
83
  export interface FarcasterSignerInitRequestBody {
77
84
  ed25519_public_key: string;
85
+ deadline?: string;
78
86
  }
79
87
  /**
80
88
  * The response body from initiating a Farcaster signer connection.
81
89
  */
82
- export type FarcasterSignerInitResponseBody = FarcasterSignerInitResponseBody.UnionMember0 | FarcasterSignerInitResponseBody.UnionMember1 | FarcasterSignerInitResponseBody.UnionMember2;
83
- export declare namespace FarcasterSignerInitResponseBody {
84
- interface UnionMember0 {
85
- public_key: string;
86
- signer_approval_url: string;
87
- status: 'pending_approval';
88
- }
89
- interface UnionMember1 {
90
- public_key: string;
91
- status: 'approved';
92
- }
93
- interface UnionMember2 {
94
- public_key: string;
95
- status: 'revoked';
96
- }
97
- }
90
+ export type FarcasterSignerInitResponseBody = FarcasterSignerInitPendingApproval | FarcasterSignerApproved | FarcasterSignerRevoked;
98
91
  /**
99
92
  * The response body from checking the status of a Farcaster signer connection.
100
93
  */
101
- export type FarcasterSignerStatusResponseBody = FarcasterSignerStatusResponseBody.UnionMember0 | FarcasterSignerStatusResponseBody.UnionMember1 | FarcasterSignerStatusResponseBody.UnionMember2;
102
- export declare namespace FarcasterSignerStatusResponseBody {
103
- interface UnionMember0 {
104
- public_key: string;
105
- status: 'pending_approval';
106
- }
107
- interface UnionMember1 {
108
- public_key: string;
109
- status: 'approved';
110
- }
111
- interface UnionMember2 {
112
- public_key: string;
113
- status: 'revoked';
114
- }
115
- }
94
+ export type FarcasterSignerStatusResponseBody = FarcasterSignerStatusPendingApproval | FarcasterSignerApproved | FarcasterSignerRevoked;
116
95
  /**
117
96
  * The request body for unlinking a Farcaster account.
118
97
  */
@@ -126,12 +105,11 @@ export interface FarcasterV2AuthenticateRequestBody {
126
105
  fid: number;
127
106
  message: string;
128
107
  signature: string;
129
- mode?: 'no-signup' | 'login-or-sign-up';
108
+ /**
109
+ * Whether to allow sign-up during authentication.
110
+ */
111
+ mode?: AuthenticateModeOption;
130
112
  }
131
- /**
132
- * The request body for initiating a Farcaster V2 connection.
133
- */
134
- export type FarcasterV2InitRequestBody = unknown;
135
113
  /**
136
114
  * The response body for initiating a Farcaster V2 connection.
137
115
  */
@@ -162,66 +140,24 @@ export interface MfaPasskeyInitRequestBody {
162
140
  * The response body for initializing a passkey MFA flow.
163
141
  */
164
142
  export interface MfaPasskeyInitResponseBody {
165
- options: MfaPasskeyInitResponseBody.Options;
143
+ /**
144
+ * WebAuthn authentication options as defined by the Web Authentication
145
+ * specification.
146
+ */
147
+ options: PasskeyAuthenticatorVerifyOptions;
166
148
  relying_party?: string;
167
149
  }
168
- export declare namespace MfaPasskeyInitResponseBody {
169
- interface Options {
170
- challenge: string;
171
- allow_credentials?: Array<Options.AllowCredential>;
172
- extensions?: Options.Extensions;
173
- rp_id?: string;
174
- timeout?: number;
175
- user_verification?: string;
176
- }
177
- namespace Options {
178
- interface AllowCredential {
179
- id: string;
180
- type: string;
181
- transports?: Array<string>;
182
- }
183
- interface Extensions {
184
- app_id?: string;
185
- cred_props?: boolean;
186
- hmac_create_secret?: boolean;
187
- }
188
- }
189
- }
190
150
  /**
191
151
  * The request body for verifying a passkey MFA flow.
192
152
  */
193
153
  export interface MfaPasskeyVerifyRequestBody {
194
- authenticator_response: MfaPasskeyVerifyRequestBody.AuthenticatorResponse;
154
+ /**
155
+ * WebAuthn authentication response as defined by the Web Authentication
156
+ * specification.
157
+ */
158
+ authenticator_response: PasskeyAuthenticatorVerifyResponse;
195
159
  relying_party?: string;
196
160
  }
197
- export declare namespace MfaPasskeyVerifyRequestBody {
198
- interface AuthenticatorResponse {
199
- id: string;
200
- client_extension_results: AuthenticatorResponse.ClientExtensionResults;
201
- raw_id: string;
202
- response: AuthenticatorResponse.Response;
203
- type: 'public-key';
204
- authenticator_attachment?: string;
205
- }
206
- namespace AuthenticatorResponse {
207
- interface ClientExtensionResults {
208
- app_id?: boolean;
209
- cred_props?: ClientExtensionResults.CredProps;
210
- hmac_create_secret?: boolean;
211
- }
212
- namespace ClientExtensionResults {
213
- interface CredProps {
214
- rk?: boolean;
215
- }
216
- }
217
- interface Response {
218
- authenticator_data: string;
219
- client_data_json: string;
220
- signature: string;
221
- user_handle?: string;
222
- }
223
- }
224
- }
225
161
  /**
226
162
  * The request body for enrolling a SMS MFA code.
227
163
  */
@@ -232,16 +168,7 @@ export interface MfaSMSEnrollRequestBody {
232
168
  /**
233
169
  * The request body for initiating a SMS MFA flow.
234
170
  */
235
- export type MfaSMSInitRequestBody = MfaSMSInitRequestBody.Action | MfaSMSInitRequestBody.UnionMember1;
236
- export declare namespace MfaSMSInitRequestBody {
237
- interface Action {
238
- action: 'verify';
239
- }
240
- interface UnionMember1 {
241
- action: 'enroll';
242
- phoneNumber: string;
243
- }
244
- }
171
+ export type MfaSMSInitRequestBody = MfaSMSInitVerifyInput | MfaSMSInitEnrollInput;
245
172
  /**
246
173
  * The request body for verifying a SMS MFA code.
247
174
  */
@@ -273,9 +200,15 @@ export interface MfaVerifyResponseBody {
273
200
  export interface OAuthAuthenticateRequestBody {
274
201
  authorization_code: string;
275
202
  state_code: string;
276
- code_type?: 'raw';
203
+ /**
204
+ * The type of OAuth authorization code.
205
+ */
206
+ code_type?: OAuthCodeType;
277
207
  code_verifier?: string;
278
- mode?: 'no-signup' | 'login-or-sign-up';
208
+ /**
209
+ * Whether to allow sign-up during authentication.
210
+ */
211
+ mode?: AuthenticateModeOption;
279
212
  }
280
213
  /**
281
214
  * The request body for getting an OAuth authorization code.
@@ -286,7 +219,7 @@ export interface OAuthAuthorizationCodeRequestBody {
286
219
  state: string;
287
220
  }
288
221
  /**
289
- * The request body for initiating an OAuth account.
222
+ * The request body for initiating an OAuth ceremony.
290
223
  */
291
224
  export interface OAuthInitRequestBody {
292
225
  /**
@@ -310,7 +243,10 @@ export interface OAuthInitResponseBody {
310
243
  export interface OAuthLinkRequestBody {
311
244
  authorization_code: string;
312
245
  state_code: string;
313
- code_type?: 'raw';
246
+ /**
247
+ * The type of OAuth authorization code.
248
+ */
249
+ code_type?: OAuthCodeType;
314
250
  code_verifier?: string;
315
251
  }
316
252
  /**
@@ -350,278 +286,16 @@ export interface OAuthVerifyResponseBody {
350
286
  export interface OptionalRefreshTokenInput {
351
287
  refresh_token?: string;
352
288
  }
353
- /**
354
- * The request body for authenticating a passkey.
355
- */
356
- export interface PasskeyAuthenticateRequestBody {
357
- authenticator_response: PasskeyAuthenticateRequestBody.AuthenticatorResponse;
358
- challenge: string;
359
- relying_party?: string;
360
- }
361
- export declare namespace PasskeyAuthenticateRequestBody {
362
- interface AuthenticatorResponse {
363
- id: string;
364
- client_extension_results: AuthenticatorResponse.ClientExtensionResults;
365
- raw_id: string;
366
- response: AuthenticatorResponse.Response;
367
- type: 'public-key';
368
- authenticator_attachment?: string;
369
- }
370
- namespace AuthenticatorResponse {
371
- interface ClientExtensionResults {
372
- app_id?: boolean;
373
- cred_props?: ClientExtensionResults.CredProps;
374
- hmac_create_secret?: boolean;
375
- }
376
- namespace ClientExtensionResults {
377
- interface CredProps {
378
- rk?: boolean;
379
- }
380
- }
381
- interface Response {
382
- authenticator_data: string;
383
- client_data_json: string;
384
- signature: string;
385
- user_handle?: string;
386
- }
387
- }
388
- }
389
- /**
390
- * The response body for initiating a passkey authenticate ceremony.
391
- */
392
- export interface PasskeyInitAuthenticateResponseBody {
393
- options: PasskeyInitAuthenticateResponseBody.Options;
394
- relying_party?: string;
395
- }
396
- export declare namespace PasskeyInitAuthenticateResponseBody {
397
- interface Options {
398
- challenge: string;
399
- allow_credentials?: Array<Options.AllowCredential>;
400
- extensions?: Options.Extensions;
401
- rp_id?: string;
402
- timeout?: number;
403
- user_verification?: string;
404
- }
405
- namespace Options {
406
- interface AllowCredential {
407
- id: string;
408
- type: string;
409
- transports?: Array<string>;
410
- }
411
- interface Extensions {
412
- app_id?: string;
413
- cred_props?: boolean;
414
- hmac_create_secret?: boolean;
415
- }
416
- }
417
- }
418
- /**
419
- * The response body for initiating a passkey link ceremony.
420
- */
421
- export interface PasskeyInitLinkResponseBody {
422
- options: PasskeyInitLinkResponseBody.Options;
423
- relying_party?: string;
424
- }
425
- export declare namespace PasskeyInitLinkResponseBody {
426
- interface Options {
427
- challenge: string;
428
- pub_key_cred_params: Array<Options.PubKeyCredParam>;
429
- rp: Options.Rp;
430
- user: Options.User;
431
- attestation?: string;
432
- authenticator_selection?: Options.AuthenticatorSelection;
433
- exclude_credentials?: Array<Options.ExcludeCredential>;
434
- extensions?: Options.Extensions;
435
- timeout?: number;
436
- }
437
- namespace Options {
438
- interface PubKeyCredParam {
439
- alg: number;
440
- type: 'public-key';
441
- }
442
- interface Rp {
443
- name: string;
444
- id?: string;
445
- }
446
- interface User {
447
- id: string;
448
- display_name: string;
449
- name: string;
450
- }
451
- interface AuthenticatorSelection {
452
- authenticator_attachment?: string;
453
- require_resident_key?: boolean;
454
- resident_key?: string;
455
- user_verification?: string;
456
- }
457
- interface ExcludeCredential {
458
- id: string;
459
- type: string;
460
- transports?: Array<string>;
461
- }
462
- interface Extensions {
463
- app_id?: string;
464
- cred_props?: Extensions.CredProps;
465
- hmac_create_secret?: boolean;
466
- }
467
- namespace Extensions {
468
- interface CredProps {
469
- rk?: boolean;
470
- }
471
- }
472
- }
473
- }
474
- /**
475
- * The response body for initiating a passkey register ceremony.
476
- */
477
- export interface PasskeyInitRegisterResponseBody {
478
- options: PasskeyInitRegisterResponseBody.Options;
479
- relying_party?: string;
480
- }
481
- export declare namespace PasskeyInitRegisterResponseBody {
482
- interface Options {
483
- challenge: string;
484
- pub_key_cred_params: Array<Options.PubKeyCredParam>;
485
- rp: Options.Rp;
486
- user: Options.User;
487
- attestation?: string;
488
- authenticator_selection?: Options.AuthenticatorSelection;
489
- exclude_credentials?: Array<Options.ExcludeCredential>;
490
- extensions?: Options.Extensions;
491
- timeout?: number;
492
- }
493
- namespace Options {
494
- interface PubKeyCredParam {
495
- alg: number;
496
- type: 'public-key';
497
- }
498
- interface Rp {
499
- name: string;
500
- id?: string;
501
- }
502
- interface User {
503
- id: string;
504
- display_name: string;
505
- name: string;
506
- }
507
- interface AuthenticatorSelection {
508
- authenticator_attachment?: string;
509
- require_resident_key?: boolean;
510
- resident_key?: string;
511
- user_verification?: string;
512
- }
513
- interface ExcludeCredential {
514
- id: string;
515
- type: string;
516
- transports?: Array<string>;
517
- }
518
- interface Extensions {
519
- app_id?: string;
520
- cred_props?: Extensions.CredProps;
521
- hmac_create_secret?: boolean;
522
- }
523
- namespace Extensions {
524
- interface CredProps {
525
- rk?: boolean;
526
- }
527
- }
528
- }
529
- }
530
- /**
531
- * The request body for initiating a passkey ceremony.
532
- */
533
- export interface PasskeyInitRequestBody {
534
- token?: string;
535
- relying_party?: string;
536
- }
537
- /**
538
- * The request body for linking a passkey.
539
- */
540
- export interface PasskeyLinkRequestBody {
541
- authenticator_response: PasskeyLinkRequestBody.AuthenticatorResponse;
542
- relying_party?: string;
543
- }
544
- export declare namespace PasskeyLinkRequestBody {
545
- interface AuthenticatorResponse {
546
- id: string;
547
- client_extension_results: AuthenticatorResponse.ClientExtensionResults;
548
- raw_id: string;
549
- response: AuthenticatorResponse.Response;
550
- type: 'public-key';
551
- authenticator_attachment?: string;
552
- }
553
- namespace AuthenticatorResponse {
554
- interface ClientExtensionResults {
555
- app_id?: boolean;
556
- cred_props?: ClientExtensionResults.CredProps;
557
- hmac_create_secret?: boolean;
558
- }
559
- namespace ClientExtensionResults {
560
- interface CredProps {
561
- rk?: boolean;
562
- }
563
- }
564
- interface Response {
565
- attestation_object: string;
566
- client_data_json: string;
567
- authenticator_data?: string;
568
- public_key?: string;
569
- public_key_algorithm?: number;
570
- transports?: Array<unknown>;
571
- }
572
- }
573
- }
574
- /**
575
- * The request body for registering a passkey.
576
- */
577
- export interface PasskeyRegisterRequestBody {
578
- authenticator_response: PasskeyRegisterRequestBody.AuthenticatorResponse;
579
- relying_party?: string;
580
- }
581
- export declare namespace PasskeyRegisterRequestBody {
582
- interface AuthenticatorResponse {
583
- id: string;
584
- client_extension_results: AuthenticatorResponse.ClientExtensionResults;
585
- raw_id: string;
586
- response: AuthenticatorResponse.Response;
587
- type: 'public-key';
588
- authenticator_attachment?: string;
589
- }
590
- namespace AuthenticatorResponse {
591
- interface ClientExtensionResults {
592
- app_id?: boolean;
593
- cred_props?: ClientExtensionResults.CredProps;
594
- hmac_create_secret?: boolean;
595
- }
596
- namespace ClientExtensionResults {
597
- interface CredProps {
598
- rk?: boolean;
599
- }
600
- }
601
- interface Response {
602
- attestation_object: string;
603
- client_data_json: string;
604
- authenticator_data?: string;
605
- public_key?: string;
606
- public_key_algorithm?: number;
607
- transports?: Array<unknown>;
608
- }
609
- }
610
- }
611
- /**
612
- * The request body for unlinking a passkey.
613
- */
614
- export interface PasskeyUnlinkRequestBody {
615
- credential_id: string;
616
- remove_as_mfa?: boolean;
617
- }
618
289
  /**
619
290
  * The request body for authenticating a passwordless account.
620
291
  */
621
292
  export interface PasswordlessAuthenticateRequestBody {
622
293
  code: string;
623
294
  email: string;
624
- mode?: 'no-signup' | 'login-or-sign-up';
295
+ /**
296
+ * Whether to allow sign-up during authentication.
297
+ */
298
+ mode?: AuthenticateModeOption;
625
299
  }
626
300
  /**
627
301
  * The request body for initiating a passwordless ceremony.
@@ -643,7 +317,10 @@ export interface PasswordlessLinkRequestBody {
643
317
  export interface PasswordlessSMSAuthenticateRequestBody {
644
318
  code: string;
645
319
  phoneNumber: string;
646
- mode?: 'no-signup' | 'login-or-sign-up';
320
+ /**
321
+ * Whether to allow sign-up during authentication.
322
+ */
323
+ mode?: AuthenticateModeOption;
647
324
  }
648
325
  /**
649
326
  * The request body for initiating a passwordless sms ceremony.
@@ -695,7 +372,10 @@ export interface SiweAuthenticateRequestBody {
695
372
  signature: string;
696
373
  chainId?: string | null;
697
374
  connectorType?: string | null;
698
- mode?: 'no-signup' | 'login-or-sign-up';
375
+ /**
376
+ * Whether to allow sign-up during authentication.
377
+ */
378
+ mode?: AuthenticateModeOption;
699
379
  walletClientType?: string | null;
700
380
  }
701
381
  /**
@@ -728,7 +408,10 @@ export interface SiweLinkRequestBody {
728
408
  export interface SiweLinkSmartWalletRequestBody {
729
409
  message: string;
730
410
  signature: string;
731
- smart_wallet_type: 'safe' | 'kernel' | 'light_account' | 'biconomy' | 'coinbase_smart_wallet' | 'thirdweb';
411
+ /**
412
+ * The supported smart wallet providers.
413
+ */
414
+ smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
732
415
  smart_wallet_version?: string;
733
416
  }
734
417
  /**
@@ -745,7 +428,10 @@ export interface SiwsAuthenticateRequestBody {
745
428
  signature: string;
746
429
  connectorType?: string | null;
747
430
  message_type?: 'transaction' | 'plain';
748
- mode?: 'no-signup' | 'login-or-sign-up';
431
+ /**
432
+ * Whether to allow sign-up during authentication.
433
+ */
434
+ mode?: AuthenticateModeOption;
749
435
  walletClientType?: string | null;
750
436
  }
751
437
  /**
@@ -773,7 +459,7 @@ export interface SiwsLinkRequestBody {
773
459
  walletClientType?: string | null;
774
460
  }
775
461
  /**
776
- * The request body for unlinking a Siws ceremony.
462
+ * The request body for unlinking a SIWS ceremony.
777
463
  */
778
464
  export interface SiwsUnlinkRequestBody {
779
465
  address: string;
@@ -783,60 +469,40 @@ export interface SiwsUnlinkRequestBody {
783
469
  */
784
470
  export interface TelegramAuthenticateRequestBody {
785
471
  captcha_token?: string;
786
- mode?: 'no-signup' | 'login-or-sign-up';
787
- telegram_auth_result?: TelegramAuthenticateRequestBody.TelegramAuthResult;
788
- telegram_web_app_data?: TelegramAuthenticateRequestBody.TelegramWebAppData;
789
- }
790
- export declare namespace TelegramAuthenticateRequestBody {
791
- interface TelegramAuthResult {
792
- id: number | null;
793
- auth_date: number | null;
794
- first_name: string;
795
- hash: string;
796
- last_name?: string;
797
- photo_url?: string;
798
- username?: string;
799
- }
800
- interface TelegramWebAppData {
801
- auth_date: number | null;
802
- hash: string;
803
- user: string;
804
- chat_instance?: string;
805
- chat_type?: string;
806
- query_id?: string;
807
- signature?: string;
808
- start_param?: string;
809
- }
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;
810
486
  }
811
487
  /**
812
488
  * The request body for linking a Telegram account.
813
489
  */
814
490
  export interface TelegramLinkRequestBody {
815
491
  captcha_token?: string;
816
- mode?: 'no-signup' | 'login-or-sign-up';
817
- telegram_auth_result?: TelegramLinkRequestBody.TelegramAuthResult;
818
- telegram_web_app_data?: TelegramLinkRequestBody.TelegramWebAppData;
819
- }
820
- export declare namespace TelegramLinkRequestBody {
821
- interface TelegramAuthResult {
822
- id: number | null;
823
- auth_date: number | null;
824
- first_name: string;
825
- hash: string;
826
- last_name?: string;
827
- photo_url?: string;
828
- username?: string;
829
- }
830
- interface TelegramWebAppData {
831
- auth_date: number | null;
832
- hash: string;
833
- user: string;
834
- chat_instance?: string;
835
- chat_type?: string;
836
- query_id?: string;
837
- signature?: string;
838
- start_param?: string;
839
- }
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;
840
506
  }
841
507
  /**
842
508
  * The request body for unlinking a Telegram account.
@@ -869,6 +535,303 @@ export type BridgeOnrampProvider = 'bridge' | 'bridge-sandbox';
869
535
  * Valid set of onramp providers
870
536
  */
871
537
  export type OnrampProvider = 'bridge' | 'bridge-sandbox';
538
+ /**
539
+ * Whether to allow sign-up during authentication.
540
+ */
541
+ export type AuthenticateModeOption = 'no-signup' | 'login-or-sign-up';
542
+ /**
543
+ * The authentication mode settings for the ceremony.
544
+ */
545
+ export interface AuthenticateMode {
546
+ /**
547
+ * Whether to allow sign-up during authentication.
548
+ */
549
+ mode?: AuthenticateModeOption;
550
+ }
551
+ /**
552
+ * The result of the WebAuthn credProps extension.
553
+ */
554
+ export interface PasskeyCredPropsResult {
555
+ rk?: boolean;
556
+ }
557
+ /**
558
+ * Client extension results returned by the WebAuthn authenticator.
559
+ */
560
+ export interface PasskeyClientExtensionResults {
561
+ app_id?: boolean;
562
+ /**
563
+ * The result of the WebAuthn credProps extension.
564
+ */
565
+ cred_props?: PasskeyCredPropsResult;
566
+ hmac_create_secret?: boolean;
567
+ }
568
+ /**
569
+ * A WebAuthn credential descriptor identifying a specific public key credential.
570
+ */
571
+ export interface PasskeyCredentialDescriptor {
572
+ id: string;
573
+ type: string;
574
+ transports?: Array<string>;
575
+ }
576
+ /**
577
+ * Relying party information for a WebAuthn ceremony.
578
+ */
579
+ export interface PasskeyRelyingParty {
580
+ name: string;
581
+ id?: string;
582
+ }
583
+ /**
584
+ * User entity for a WebAuthn registration ceremony.
585
+ */
586
+ export interface PasskeyUser {
587
+ id: string;
588
+ display_name: string;
589
+ name: string;
590
+ }
591
+ /**
592
+ * A public key credential parameter specifying the algorithm and credential type.
593
+ */
594
+ export interface PasskeyPubKeyCredParam {
595
+ alg: number;
596
+ type: 'public-key';
597
+ }
598
+ /**
599
+ * Authenticator selection criteria for a WebAuthn registration ceremony.
600
+ */
601
+ export interface PasskeyAuthenticatorSelection {
602
+ authenticator_attachment?: string;
603
+ require_resident_key?: boolean;
604
+ resident_key?: string;
605
+ user_verification?: string;
606
+ }
607
+ /**
608
+ * Extensions for a WebAuthn registration ceremony.
609
+ */
610
+ export interface PasskeyEnrollmentExtensions {
611
+ app_id?: string;
612
+ /**
613
+ * The result of the WebAuthn credProps extension.
614
+ */
615
+ cred_props?: PasskeyCredPropsResult;
616
+ hmac_create_secret?: boolean;
617
+ }
618
+ /**
619
+ * The authenticator attestation response from a WebAuthn registration ceremony.
620
+ */
621
+ export interface PasskeyAttestationResponse {
622
+ attestation_object: string;
623
+ client_data_json: string;
624
+ authenticator_data?: string;
625
+ public_key?: string;
626
+ public_key_algorithm?: number;
627
+ transports?: Array<unknown>;
628
+ }
629
+ /**
630
+ * WebAuthn registration options as defined by the Web Authentication
631
+ * specification.
632
+ */
633
+ export interface PasskeyAuthenticatorEnrollmentOptions {
634
+ challenge: string;
635
+ pub_key_cred_params: Array<PasskeyPubKeyCredParam>;
636
+ /**
637
+ * Relying party information for a WebAuthn ceremony.
638
+ */
639
+ rp: PasskeyRelyingParty;
640
+ /**
641
+ * User entity for a WebAuthn registration ceremony.
642
+ */
643
+ user: PasskeyUser;
644
+ attestation?: string;
645
+ /**
646
+ * Authenticator selection criteria for a WebAuthn registration ceremony.
647
+ */
648
+ authenticator_selection?: PasskeyAuthenticatorSelection;
649
+ exclude_credentials?: Array<PasskeyCredentialDescriptor>;
650
+ /**
651
+ * Extensions for a WebAuthn registration ceremony.
652
+ */
653
+ extensions?: PasskeyEnrollmentExtensions;
654
+ timeout?: number;
655
+ }
656
+ /**
657
+ * WebAuthn registration response as defined by the Web Authentication
658
+ * specification.
659
+ */
660
+ export interface PasskeyAuthenticatorEnrollmentResponse {
661
+ id: string;
662
+ /**
663
+ * Client extension results returned by the WebAuthn authenticator.
664
+ */
665
+ client_extension_results: PasskeyClientExtensionResults;
666
+ raw_id: string;
667
+ /**
668
+ * The authenticator attestation response from a WebAuthn registration ceremony.
669
+ */
670
+ response: PasskeyAttestationResponse;
671
+ type: 'public-key';
672
+ authenticator_attachment?: string;
673
+ }
674
+ /**
675
+ * Response for initiating a passkey link ceremony.
676
+ */
677
+ export interface ResponsePasskeyInitLink {
678
+ /**
679
+ * WebAuthn registration options as defined by the Web Authentication
680
+ * specification.
681
+ */
682
+ options: PasskeyAuthenticatorEnrollmentOptions;
683
+ relying_party?: string;
684
+ }
685
+ /**
686
+ * Response for initiating a passkey registration ceremony.
687
+ */
688
+ export interface ResponsePasskeyInitRegister {
689
+ /**
690
+ * WebAuthn registration options as defined by the Web Authentication
691
+ * specification.
692
+ */
693
+ options: PasskeyAuthenticatorEnrollmentOptions;
694
+ relying_party?: string;
695
+ }
696
+ /**
697
+ * Input for linking a passkey credential.
698
+ */
699
+ export interface PasskeyLinkInput {
700
+ /**
701
+ * WebAuthn registration response as defined by the Web Authentication
702
+ * specification.
703
+ */
704
+ authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
705
+ relying_party?: string;
706
+ }
707
+ /**
708
+ * Input for registering a passkey credential.
709
+ */
710
+ export interface PasskeyRegisterInput {
711
+ /**
712
+ * WebAuthn registration response as defined by the Web Authentication
713
+ * specification.
714
+ */
715
+ authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
716
+ relying_party?: string;
717
+ }
718
+ /**
719
+ * Input for initiating a passkey ceremony.
720
+ */
721
+ export interface PasskeyInitInput {
722
+ token?: string;
723
+ relying_party?: string;
724
+ }
725
+ /**
726
+ * Input for unlinking a passkey credential.
727
+ */
728
+ export interface UnlinkPasskeyInput {
729
+ credential_id: string;
730
+ remove_as_mfa?: boolean;
731
+ }
732
+ /**
733
+ * Extensions for a WebAuthn authentication ceremony.
734
+ */
735
+ export interface PasskeyVerifyExtensions {
736
+ app_id?: string;
737
+ cred_props?: boolean;
738
+ hmac_create_secret?: boolean;
739
+ }
740
+ /**
741
+ * The authenticator assertion response from a WebAuthn authentication ceremony.
742
+ */
743
+ export interface PasskeyAssertionResponse {
744
+ authenticator_data: string;
745
+ client_data_json: string;
746
+ signature: string;
747
+ user_handle?: string;
748
+ }
749
+ /**
750
+ * WebAuthn authentication options as defined by the Web Authentication
751
+ * specification.
752
+ */
753
+ export interface PasskeyAuthenticatorVerifyOptions {
754
+ challenge: string;
755
+ allow_credentials?: Array<PasskeyCredentialDescriptor>;
756
+ /**
757
+ * Extensions for a WebAuthn authentication ceremony.
758
+ */
759
+ extensions?: PasskeyVerifyExtensions;
760
+ rp_id?: string;
761
+ timeout?: number;
762
+ user_verification?: string;
763
+ }
764
+ /**
765
+ * WebAuthn authentication response as defined by the Web Authentication
766
+ * specification.
767
+ */
768
+ export interface PasskeyAuthenticatorVerifyResponse {
769
+ id: string;
770
+ /**
771
+ * Client extension results returned by the WebAuthn authenticator.
772
+ */
773
+ client_extension_results: PasskeyClientExtensionResults;
774
+ raw_id: string;
775
+ /**
776
+ * The authenticator assertion response from a WebAuthn authentication ceremony.
777
+ */
778
+ response: PasskeyAssertionResponse;
779
+ type: 'public-key';
780
+ authenticator_attachment?: string;
781
+ }
782
+ /**
783
+ * Response for initiating a passkey authentication ceremony.
784
+ */
785
+ export interface ResponsePasskeyInitAuthenticate {
786
+ /**
787
+ * WebAuthn authentication options as defined by the Web Authentication
788
+ * specification.
789
+ */
790
+ options: PasskeyAuthenticatorVerifyOptions;
791
+ relying_party?: string;
792
+ }
793
+ /**
794
+ * Input for authenticating with a passkey.
795
+ */
796
+ export interface PasskeyAuthenticateInput {
797
+ /**
798
+ * WebAuthn authentication response as defined by the Web Authentication
799
+ * specification.
800
+ */
801
+ authenticator_response: PasskeyAuthenticatorVerifyResponse;
802
+ challenge: string;
803
+ relying_party?: string;
804
+ }
805
+ /**
806
+ * The request body for transferring a passwordless account.
807
+ */
808
+ export interface PasswordlessTransferRequestBody {
809
+ email: string;
810
+ nonce: string;
811
+ }
812
+ /**
813
+ * The request body for transferring a passwordless sms account.
814
+ */
815
+ export interface PasswordlessSMSTransferRequestBody {
816
+ nonce: string;
817
+ phoneNumber: string;
818
+ }
819
+ /**
820
+ * Input for authenticating with a custom JWT.
821
+ */
822
+ export interface AuthenticateJwtInput {
823
+ token?: string;
824
+ /**
825
+ * Whether to allow sign-up during authentication.
826
+ */
827
+ mode?: AuthenticateModeOption;
828
+ }
829
+ /**
830
+ * Input for linking a custom JWT account.
831
+ */
832
+ export interface LinkJwtInput {
833
+ token?: string;
834
+ }
872
835
  /**
873
836
  * The request input for getting a native onramp provider customer.
874
837
  */
@@ -902,6 +865,9 @@ export interface BridgeFiatRejectionReason {
902
865
  export interface BridgeFiatCustomerResponse {
903
866
  has_accepted_terms: boolean;
904
867
  provider: 'bridge';
868
+ /**
869
+ * Status of the KYC verification process.
870
+ */
905
871
  status: 'not_found' | 'active' | 'awaiting_questionnaire' | 'awaiting_ubo' | 'incomplete' | 'not_started' | 'offboarded' | 'paused' | 'rejected' | 'under_review';
906
872
  kyc_url?: string;
907
873
  rejection_reasons?: Array<BridgeFiatRejectionReason>;
@@ -912,6 +878,9 @@ export interface BridgeFiatCustomerResponse {
912
878
  export interface BridgeSandboxFiatCustomerResponse {
913
879
  has_accepted_terms: boolean;
914
880
  provider: 'bridge-sandbox';
881
+ /**
882
+ * Status of the KYC verification process.
883
+ */
915
884
  status: 'not_found' | 'active' | 'awaiting_questionnaire' | 'awaiting_ubo' | 'incomplete' | 'not_started' | 'offboarded' | 'paused' | 'rejected' | 'under_review';
916
885
  kyc_url?: string;
917
886
  rejection_reasons?: Array<BridgeFiatRejectionReason>;
@@ -972,7 +941,7 @@ export type FiatOnrampEnvironment = 'sandbox' | 'production';
972
941
  /**
973
942
  * The fiat onramp provider to use.
974
943
  */
975
- export type FiatOnrampProvider = 'meld' | 'meld-sandbox';
944
+ export type FiatOnrampProvider = 'meld' | 'meld-sandbox' | 'moonpay' | 'moonpay-sandbox' | 'coinbase' | 'coinbase-sandbox';
976
945
  /**
977
946
  * The request input for getting fiat onramp quotes.
978
947
  */
@@ -1004,11 +973,22 @@ export interface FiatOnrampQuote {
1004
973
  source_currency_code?: string | null;
1005
974
  sub_provider?: string | null;
1006
975
  }
976
+ /**
977
+ * An error from a specific fiat onramp provider when fetching quotes.
978
+ */
979
+ export interface FiatOnrampProviderError {
980
+ error: string;
981
+ /**
982
+ * The fiat onramp provider to use.
983
+ */
984
+ provider: FiatOnrampProvider;
985
+ }
1007
986
  /**
1008
987
  * The response containing fiat onramp quotes.
1009
988
  */
1010
989
  export interface GetFiatOnrampQuotesResponse {
1011
990
  quotes: Array<FiatOnrampQuote>;
991
+ provider_errors?: Array<FiatOnrampProviderError>;
1012
992
  }
1013
993
  /**
1014
994
  * The request input for getting a fiat onramp provider session URL.
@@ -1184,7 +1164,396 @@ export interface BridgeSandboxFiatVirtualAccountResponse {
1184
1164
  * The response for creating virtual account.
1185
1165
  */
1186
1166
  export type FiatVirtualAccountResponse = BridgeFiatVirtualAccountResponse | BridgeSandboxFiatVirtualAccountResponse;
1167
+ /**
1168
+ * The type of OAuth authorization code.
1169
+ */
1170
+ export type OAuthCodeType = 'raw';
1171
+ /**
1172
+ * Metadata for an OAuth transfer user info.
1173
+ */
1174
+ export interface OAuthTransferUserInfoMeta {
1175
+ providerAppId?: string;
1176
+ }
1177
+ /**
1178
+ * User info for an OAuth transfer.
1179
+ */
1180
+ export interface OAuthTransferUserInfo {
1181
+ subject: string;
1182
+ email?: string | null;
1183
+ embeddedWalletAddresses?: Array<string>;
1184
+ /**
1185
+ * Metadata for an OAuth transfer user info.
1186
+ */
1187
+ meta?: OAuthTransferUserInfoMeta;
1188
+ name?: string;
1189
+ profilePictureUrl?: string;
1190
+ smartWalletAddresses?: Array<string>;
1191
+ username?: string;
1192
+ vanityName?: string;
1193
+ }
1194
+ /**
1195
+ * The request body for transferring an OAuth account.
1196
+ */
1197
+ export interface OAuthTransferRequestBody {
1198
+ nonce: string;
1199
+ /**
1200
+ * User info for an OAuth transfer.
1201
+ */
1202
+ userInfo: OAuthTransferUserInfo;
1203
+ }
1204
+ /**
1205
+ * Input for a SIWE signing ceremony.
1206
+ */
1207
+ export interface SiweInput {
1208
+ message: string;
1209
+ signature: string;
1210
+ chainId?: string | null;
1211
+ connectorType?: string | null;
1212
+ walletClientType?: string | null;
1213
+ }
1214
+ /**
1215
+ * Input for a smart wallet SIWE signing ceremony.
1216
+ */
1217
+ export interface SmartWalletSiweInput {
1218
+ message: string;
1219
+ signature: string;
1220
+ /**
1221
+ * The supported smart wallet providers.
1222
+ */
1223
+ smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
1224
+ smart_wallet_version?: string;
1225
+ }
1226
+ /**
1227
+ * Input for authenticating a SIWE ceremony.
1228
+ */
1229
+ export interface AuthenticateSiweInput {
1230
+ message: string;
1231
+ signature: string;
1232
+ chainId?: string | null;
1233
+ connectorType?: string | null;
1234
+ /**
1235
+ * Whether to allow sign-up during authentication.
1236
+ */
1237
+ mode?: AuthenticateModeOption;
1238
+ walletClientType?: string | null;
1239
+ }
1240
+ /**
1241
+ * Input containing a SIWE wallet address.
1242
+ */
1243
+ export interface SiweAddressInput {
1244
+ address: string;
1245
+ }
1246
+ /**
1247
+ * Input for initiating a SIWE ceremony.
1248
+ */
1249
+ export interface SiweInitInput {
1250
+ token?: string;
1251
+ address?: string;
1252
+ }
1253
+ /**
1254
+ * A SIWE nonce response.
1255
+ */
1256
+ export interface SiweNonce {
1257
+ address: string;
1258
+ expires_at: string;
1259
+ nonce: string;
1260
+ }
1261
+ /**
1262
+ * Input for transferring a SIWE account.
1263
+ */
1264
+ export interface TransferSiweInput {
1265
+ address: string;
1266
+ nonce: string;
1267
+ chainId?: string | null;
1268
+ connectorType?: string | null;
1269
+ walletClientType?: string | null;
1270
+ }
1271
+ /**
1272
+ * Input for a SIWS signing ceremony.
1273
+ */
1274
+ export interface SiwsInput {
1275
+ message: string;
1276
+ signature: string;
1277
+ connectorType?: string | null;
1278
+ message_type?: 'transaction' | 'plain';
1279
+ walletClientType?: string | null;
1280
+ }
1281
+ /**
1282
+ * Input for authenticating a SIWS ceremony.
1283
+ */
1284
+ export interface AuthenticateSiwsInput {
1285
+ message: string;
1286
+ signature: string;
1287
+ connectorType?: string | null;
1288
+ message_type?: 'transaction' | 'plain';
1289
+ /**
1290
+ * Whether to allow sign-up during authentication.
1291
+ */
1292
+ mode?: AuthenticateModeOption;
1293
+ walletClientType?: string | null;
1294
+ }
1295
+ /**
1296
+ * Input containing a SIWS wallet address.
1297
+ */
1298
+ export interface SiwsAddressInput {
1299
+ address: string;
1300
+ }
1301
+ /**
1302
+ * Input for initiating a SIWS ceremony.
1303
+ */
1304
+ export interface SiwsInitInput {
1305
+ address: string;
1306
+ token?: string;
1307
+ }
1308
+ /**
1309
+ * A SIWS nonce response.
1310
+ */
1311
+ export interface SiwsNonce {
1312
+ address: string;
1313
+ expires_at: string;
1314
+ nonce: string;
1315
+ }
1316
+ /**
1317
+ * Input for transferring a SIWS account.
1318
+ */
1319
+ export interface TransferSiwsInput {
1320
+ address: string;
1321
+ nonce: string;
1322
+ connectorType?: string | null;
1323
+ walletClientType?: string | null;
1324
+ }
1325
+ /**
1326
+ * Auth result object returned by Telegram when a user authenticates using the
1327
+ * login widget.
1328
+ */
1329
+ export interface TelegramAuthResult {
1330
+ id: number | null;
1331
+ auth_date: number | null;
1332
+ first_name: string;
1333
+ hash: string;
1334
+ last_name?: string;
1335
+ photo_url?: string;
1336
+ username?: string;
1337
+ }
1338
+ /**
1339
+ * Auth result object returned by Telegram when a user authenticates using a mini
1340
+ * app.
1341
+ */
1342
+ export interface TelegramWebAppData {
1343
+ auth_date: number | null;
1344
+ hash: string;
1345
+ user: string;
1346
+ chat_instance?: string;
1347
+ chat_type?: string;
1348
+ query_id?: string;
1349
+ signature?: string;
1350
+ start_param?: string;
1351
+ }
1352
+ /**
1353
+ * Input for authenticating with Telegram.
1354
+ */
1355
+ export interface TelegramAuthenticateInput {
1356
+ captcha_token?: string;
1357
+ /**
1358
+ * Whether to allow sign-up during authentication.
1359
+ */
1360
+ mode?: AuthenticateModeOption;
1361
+ /**
1362
+ * Auth result object returned by Telegram when a user authenticates using the
1363
+ * login widget.
1364
+ */
1365
+ telegram_auth_result?: TelegramAuthResult;
1366
+ /**
1367
+ * Auth result object returned by Telegram when a user authenticates using a mini
1368
+ * app.
1369
+ */
1370
+ telegram_web_app_data?: TelegramWebAppData;
1371
+ }
1372
+ /**
1373
+ * Input for unlinking a Telegram account.
1374
+ */
1375
+ export interface TelegramUnlinkInput {
1376
+ telegram_user_id: string;
1377
+ }
1378
+ /**
1379
+ * Input for transferring a Telegram account.
1380
+ */
1381
+ export interface TransferTelegramInput {
1382
+ nonce: string;
1383
+ /**
1384
+ * Auth result object returned by Telegram when a user authenticates using the
1385
+ * login widget.
1386
+ */
1387
+ telegram_auth_result?: TelegramAuthResult;
1388
+ /**
1389
+ * Auth result object returned by Telegram when a user authenticates using a mini
1390
+ * app.
1391
+ */
1392
+ telegram_web_app_data?: TelegramWebAppData;
1393
+ }
1394
+ /**
1395
+ * Proxy for the Farcaster Connect init response as defined in FIP-11.
1396
+ */
1397
+ export interface FarcasterConnectInitResponse {
1398
+ channel_token: string;
1399
+ connect_uri: string;
1400
+ }
1401
+ /**
1402
+ * Proxy for the Farcaster Connect completed status response as defined in FIP-11.
1403
+ */
1404
+ export interface FarcasterConnectStatusCompletedResponse {
1405
+ bio: string;
1406
+ display_name: string;
1407
+ fid: number;
1408
+ message: string;
1409
+ nonce: string;
1410
+ pfp_url: string;
1411
+ signature: string;
1412
+ state: 'completed';
1413
+ username: string;
1414
+ }
1415
+ /**
1416
+ * Proxy for the Farcaster Connect pending status response as defined in FIP-11.
1417
+ */
1418
+ export interface FarcasterConnectStatusPendingResponse {
1419
+ nonce: string;
1420
+ state: 'pending';
1421
+ }
1422
+ /**
1423
+ * Input for authenticating with Farcaster.
1424
+ */
1425
+ export interface FarcasterAuthenticateInput {
1426
+ channel_token: string;
1427
+ fid: number;
1428
+ message: string;
1429
+ signature: string;
1430
+ /**
1431
+ * Whether to allow sign-up during authentication.
1432
+ */
1433
+ mode?: AuthenticateModeOption;
1434
+ }
1435
+ /**
1436
+ * Input for linking a Farcaster account.
1437
+ */
1438
+ export interface FarcasterLinkInput {
1439
+ channel_token: string;
1440
+ fid: number;
1441
+ message: string;
1442
+ signature: string;
1443
+ }
1444
+ /**
1445
+ * Input for initiating a Farcaster connection.
1446
+ */
1447
+ export interface FarcasterInitInput {
1448
+ token?: string;
1449
+ redirect_url?: string;
1450
+ relying_party?: string;
1451
+ }
1452
+ /**
1453
+ * Input for unlinking a Farcaster account.
1454
+ */
1455
+ export interface FarcasterUnlinkInput {
1456
+ fid: number;
1457
+ }
1458
+ /**
1459
+ * Input for transferring a Farcaster account.
1460
+ */
1461
+ export interface TransferFarcasterInput {
1462
+ farcaster_embedded_address: string;
1463
+ farcaster_id: string;
1464
+ nonce: string;
1465
+ }
1466
+ /**
1467
+ * Input for initiating a Farcaster V2 connection.
1468
+ */
1469
+ export type FarcasterV2InitInput = unknown;
1470
+ /**
1471
+ * Response for initiating a Farcaster V2 connection.
1472
+ */
1473
+ export interface FarcasterV2InitResponse {
1474
+ expires_at: string;
1475
+ nonce: string;
1476
+ }
1477
+ /**
1478
+ * Input for authenticating a Farcaster V2 account.
1479
+ */
1480
+ export interface FarcasterV2AuthenticateInput {
1481
+ fid: number;
1482
+ message: string;
1483
+ signature: string;
1484
+ /**
1485
+ * Whether to allow sign-up during authentication.
1486
+ */
1487
+ mode?: AuthenticateModeOption;
1488
+ }
1489
+ /**
1490
+ * The request body for initiating a Farcaster V2 connection.
1491
+ */
1492
+ export type FarcasterV2InitRequestBody = unknown;
1493
+ /**
1494
+ * The response body for initiating a Farcaster V2 connection.
1495
+ */
1496
+ export interface FarcasterV2InitResponseBody {
1497
+ expires_at: string;
1498
+ nonce: string;
1499
+ }
1500
+ /**
1501
+ * The request body for authenticating a Farcaster V2 account.
1502
+ */
1503
+ export interface FarcasterV2AuthenticateRequestBody {
1504
+ fid: number;
1505
+ message: string;
1506
+ signature: string;
1507
+ /**
1508
+ * Whether to allow sign-up during authentication.
1509
+ */
1510
+ mode?: AuthenticateModeOption;
1511
+ }
1512
+ /**
1513
+ * A Farcaster signer init response when the signer is pending approval.
1514
+ */
1515
+ export interface FarcasterSignerInitPendingApproval {
1516
+ public_key: string;
1517
+ signer_approval_url: string;
1518
+ status: 'pending_approval';
1519
+ }
1520
+ /**
1521
+ * A Farcaster signer response when the signer has been approved.
1522
+ */
1523
+ export interface FarcasterSignerApproved {
1524
+ fid: string;
1525
+ public_key: string;
1526
+ status: 'approved';
1527
+ }
1528
+ /**
1529
+ * A Farcaster signer response when the signer has been revoked.
1530
+ */
1531
+ export interface FarcasterSignerRevoked {
1532
+ fid: string;
1533
+ public_key: string;
1534
+ status: 'revoked';
1535
+ }
1536
+ /**
1537
+ * A Farcaster signer status response when the signer is pending approval.
1538
+ */
1539
+ export interface FarcasterSignerStatusPendingApproval {
1540
+ public_key: string;
1541
+ status: 'pending_approval';
1542
+ }
1543
+ /**
1544
+ * Input for verifying SMS MFA.
1545
+ */
1546
+ export interface MfaSMSInitVerifyInput {
1547
+ action: 'verify';
1548
+ }
1549
+ /**
1550
+ * Input for enrolling SMS MFA.
1551
+ */
1552
+ export interface MfaSMSInitEnrollInput {
1553
+ action: 'enroll';
1554
+ phoneNumber: string;
1555
+ }
1187
1556
  export declare namespace ClientAuth {
1188
- 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 FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, 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 PasskeyAuthenticateRequestBody as PasskeyAuthenticateRequestBody, type PasskeyInitAuthenticateResponseBody as PasskeyInitAuthenticateResponseBody, type PasskeyInitLinkResponseBody as PasskeyInitLinkResponseBody, type PasskeyInitRegisterResponseBody as PasskeyInitRegisterResponseBody, type PasskeyInitRequestBody as PasskeyInitRequestBody, type PasskeyLinkRequestBody as PasskeyLinkRequestBody, type PasskeyRegisterRequestBody as PasskeyRegisterRequestBody, type PasskeyUnlinkRequestBody as PasskeyUnlinkRequestBody, 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 ExternalOAuthProviderID as ExternalOAuthProviderID, type PrivyOAuthProviderID as PrivyOAuthProviderID, type CustomOAuthProviderID as CustomOAuthProviderID, type OAuthProviderID as OAuthProviderID, type BridgeOnrampProvider as BridgeOnrampProvider, type OnrampProvider as OnrampProvider, type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput, type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput, type BridgeFiatRejectionReason as BridgeFiatRejectionReason, type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse, type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse, type FiatCustomerResponse as FiatCustomerResponse, type FiatCurrencyCode as FiatCurrencyCode, type CryptoCurrencyCode as CryptoCurrencyCode, type Caip2ChainID as Caip2ChainID, type FiatAmount as FiatAmount, type FiatOnrampSource as FiatOnrampSource, type FiatOnrampDestination as FiatOnrampDestination, type FiatOnrampEnvironment as FiatOnrampEnvironment, type FiatOnrampProvider as FiatOnrampProvider, type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput, type FiatOnrampQuote as FiatOnrampQuote, type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse, type GetFiatOnrampURLInput as GetFiatOnrampURLInput, type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse, type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus, type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput, type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeSourceAsset as BridgeSourceAsset, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, };
1557
+ 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 ExternalOAuthProviderID as ExternalOAuthProviderID, type PrivyOAuthProviderID as PrivyOAuthProviderID, type CustomOAuthProviderID as CustomOAuthProviderID, type OAuthProviderID as OAuthProviderID, type BridgeOnrampProvider as BridgeOnrampProvider, type OnrampProvider as OnrampProvider, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateMode as AuthenticateMode, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyInitInput as PasskeyInitInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type AuthenticateJwtInput as AuthenticateJwtInput, type LinkJwtInput as LinkJwtInput, type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput, type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput, type BridgeFiatRejectionReason as BridgeFiatRejectionReason, type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse, type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse, type FiatCustomerResponse as FiatCustomerResponse, type FiatCurrencyCode as FiatCurrencyCode, type CryptoCurrencyCode as CryptoCurrencyCode, type Caip2ChainID as Caip2ChainID, type FiatAmount as FiatAmount, type FiatOnrampSource as FiatOnrampSource, type FiatOnrampDestination as FiatOnrampDestination, type FiatOnrampEnvironment as FiatOnrampEnvironment, type FiatOnrampProvider as FiatOnrampProvider, type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput, type FiatOnrampQuote as FiatOnrampQuote, type FiatOnrampProviderError as FiatOnrampProviderError, type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse, type GetFiatOnrampURLInput as GetFiatOnrampURLInput, type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse, type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus, type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput, type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeSourceAsset as BridgeSourceAsset, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type OAuthCodeType as OAuthCodeType, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferRequestBody as OAuthTransferRequestBody, type SiweInput as SiweInput, type SmartWalletSiweInput as SmartWalletSiweInput, type AuthenticateSiweInput as AuthenticateSiweInput, type SiweAddressInput as SiweAddressInput, type SiweInitInput as SiweInitInput, type SiweNonce as SiweNonce, type TransferSiweInput as TransferSiweInput, type SiwsInput as SiwsInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type SiwsAddressInput as SiwsAddressInput, type SiwsInitInput as SiwsInitInput, type SiwsNonce as SiwsNonce, type TransferSiwsInput as TransferSiwsInput, type TelegramAuthResult as TelegramAuthResult, type TelegramWebAppData as TelegramWebAppData, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramUnlinkInput as TelegramUnlinkInput, type TransferTelegramInput as TransferTelegramInput, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterInitInput as FarcasterInitInput, type FarcasterUnlinkInput as FarcasterUnlinkInput, type TransferFarcasterInput as TransferFarcasterInput, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, };
1189
1558
  }
1190
1559
  //# sourceMappingURL=client-auth.d.mts.map