authhero 9.28.3 → 9.29.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 (48) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +166 -405
  3. package/dist/authhero.d.ts +161 -112
  4. package/dist/authhero.mjs +28766 -55112
  5. package/dist/mfa-attempts-CQiD6hxP.mjs +26774 -0
  6. package/dist/mfa-attempts-DwATCXqC.js +254 -0
  7. package/dist/passkey-enrollment-D_WVyvv2.js +1 -0
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/common.d.ts +4 -0
  10. package/dist/types/authentication-flows/mfa-attempts.d.ts +45 -0
  11. package/dist/types/authentication-flows/mfa.d.ts +20 -5
  12. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  13. package/dist/types/generated/locale-types.d.ts +6 -0
  14. package/dist/types/helpers/client.d.ts +2 -0
  15. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  16. package/dist/types/helpers/session-mfa.d.ts +29 -0
  17. package/dist/types/hooks/post-user-login.d.ts +13 -0
  18. package/dist/types/index.d.ts +140 -112
  19. package/dist/types/routes/auth-api/index.d.ts +32 -32
  20. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  21. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  22. package/dist/types/routes/auth-api/token.d.ts +10 -10
  23. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  24. package/dist/types/routes/management-api/actions.d.ts +1 -1
  25. package/dist/types/routes/management-api/branding.d.ts +1 -1
  26. package/dist/types/routes/management-api/clients.d.ts +2 -2
  27. package/dist/types/routes/management-api/connections.d.ts +6 -6
  28. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  29. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  30. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  31. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  32. package/dist/types/routes/management-api/index.d.ts +108 -80
  33. package/dist/types/routes/management-api/keys.d.ts +4 -4
  34. package/dist/types/routes/management-api/logs.d.ts +4 -4
  35. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  36. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  37. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  38. package/dist/types/routes/management-api/roles.d.ts +1 -1
  39. package/dist/types/routes/management-api/sessions.d.ts +7 -0
  40. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  41. package/dist/types/routes/management-api/users.d.ts +45 -24
  42. package/dist/types/routes/universal-login/common.d.ts +13 -6
  43. package/dist/types/state-machines/login-session.d.ts +18 -0
  44. package/dist/types/types/AuthHeroConfig.d.ts +9 -0
  45. package/dist/types/types/Hooks.d.ts +10 -0
  46. package/dist/types/utils/totp.d.ts +6 -1
  47. package/package.json +6 -6
  48. package/dist/passkey-enrollment-CB7HjMH_.js +0 -1
@@ -739,21 +739,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
739
  connection: "email";
740
740
  client_id: string;
741
741
  email: string;
742
- send: "code" | "link";
742
+ send: "link" | "code";
743
743
  authParams: {
744
744
  audience?: string | undefined;
745
- username?: string | undefined;
746
- scope?: string | undefined;
747
745
  state?: string | undefined;
748
- act_as?: string | undefined;
746
+ code_challenge?: string | undefined;
747
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
748
+ redirect_uri?: string | undefined;
749
+ nonce?: string | undefined;
750
+ scope?: string | undefined;
749
751
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
750
752
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
751
- redirect_uri?: string | undefined;
753
+ username?: string | undefined;
754
+ act_as?: string | undefined;
752
755
  organization?: string | undefined;
753
- nonce?: string | undefined;
754
756
  prompt?: string | undefined;
755
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
756
- code_challenge?: string | undefined;
757
757
  ui_locales?: string | undefined;
758
758
  max_age?: number | undefined;
759
759
  acr_values?: string | undefined;
@@ -775,21 +775,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
775
  client_id: string;
776
776
  connection: "sms";
777
777
  phone_number: string;
778
- send: "code" | "link";
778
+ send: "link" | "code";
779
779
  authParams: {
780
780
  audience?: string | undefined;
781
- username?: string | undefined;
782
- scope?: string | undefined;
783
781
  state?: string | undefined;
784
- act_as?: string | undefined;
782
+ code_challenge?: string | undefined;
783
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
784
+ redirect_uri?: string | undefined;
785
+ nonce?: string | undefined;
786
+ scope?: string | undefined;
785
787
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
786
788
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
787
- redirect_uri?: string | undefined;
789
+ username?: string | undefined;
790
+ act_as?: string | undefined;
788
791
  organization?: string | undefined;
789
- nonce?: string | undefined;
790
792
  prompt?: string | undefined;
791
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
792
- code_challenge?: string | undefined;
793
793
  ui_locales?: string | undefined;
794
794
  max_age?: number | undefined;
795
795
  acr_values?: string | undefined;
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
921
921
  input: {
922
922
  form: {
923
923
  token: string;
924
- token_type_hint?: "access_token" | "refresh_token" | undefined;
924
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
925
925
  client_id?: string | undefined;
926
926
  client_secret?: string | undefined;
927
927
  };
928
928
  } & {
929
929
  json: {
930
930
  token: string;
931
- token_type_hint?: "access_token" | "refresh_token" | undefined;
931
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
932
932
  client_id?: string | undefined;
933
933
  client_secret?: string | undefined;
934
934
  };
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
940
940
  input: {
941
941
  form: {
942
942
  token: string;
943
- token_type_hint?: "access_token" | "refresh_token" | undefined;
943
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
944
944
  client_id?: string | undefined;
945
945
  client_secret?: string | undefined;
946
946
  };
947
947
  } & {
948
948
  json: {
949
949
  token: string;
950
- token_type_hint?: "access_token" | "refresh_token" | undefined;
950
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
951
951
  client_id?: string | undefined;
952
952
  client_secret?: string | undefined;
953
953
  };
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
962
962
  input: {
963
963
  form: {
964
964
  token: string;
965
- token_type_hint?: "access_token" | "refresh_token" | undefined;
965
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
966
966
  client_id?: string | undefined;
967
967
  client_secret?: string | undefined;
968
968
  };
969
969
  } & {
970
970
  json: {
971
971
  token: string;
972
- token_type_hint?: "access_token" | "refresh_token" | undefined;
972
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
973
973
  client_id?: string | undefined;
974
974
  client_secret?: string | undefined;
975
975
  };
@@ -1155,7 +1155,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1155
1155
  client_id: string;
1156
1156
  username: string;
1157
1157
  otp: string;
1158
- realm: "sms" | "email";
1158
+ realm: "email" | "sms";
1159
1159
  scope?: string | undefined;
1160
1160
  audience?: string | undefined;
1161
1161
  } | {
@@ -1222,7 +1222,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1222
1222
  client_id: string;
1223
1223
  username: string;
1224
1224
  otp: string;
1225
- realm: "sms" | "email";
1225
+ realm: "email" | "sms";
1226
1226
  scope?: string | undefined;
1227
1227
  audience?: string | undefined;
1228
1228
  } | {
@@ -1294,7 +1294,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1294
1294
  client_id: string;
1295
1295
  username: string;
1296
1296
  otp: string;
1297
- realm: "sms" | "email";
1297
+ realm: "email" | "sms";
1298
1298
  scope?: string | undefined;
1299
1299
  audience?: string | undefined;
1300
1300
  } | {
@@ -1361,7 +1361,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1361
1361
  client_id: string;
1362
1362
  username: string;
1363
1363
  otp: string;
1364
- realm: "sms" | "email";
1364
+ realm: "email" | "sms";
1365
1365
  scope?: string | undefined;
1366
1366
  audience?: string | undefined;
1367
1367
  } | {
@@ -1441,7 +1441,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1441
1441
  client_id: string;
1442
1442
  username: string;
1443
1443
  otp: string;
1444
- realm: "sms" | "email";
1444
+ realm: "email" | "sms";
1445
1445
  scope?: string | undefined;
1446
1446
  audience?: string | undefined;
1447
1447
  } | {
@@ -1508,7 +1508,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1508
1508
  client_id: string;
1509
1509
  username: string;
1510
1510
  otp: string;
1511
- realm: "sms" | "email";
1511
+ realm: "email" | "sms";
1512
1512
  scope?: string | undefined;
1513
1513
  audience?: string | undefined;
1514
1514
  } | {
@@ -1583,7 +1583,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1583
1583
  client_id: string;
1584
1584
  username: string;
1585
1585
  otp: string;
1586
- realm: "sms" | "email";
1586
+ realm: "email" | "sms";
1587
1587
  scope?: string | undefined;
1588
1588
  audience?: string | undefined;
1589
1589
  } | {
@@ -1650,7 +1650,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1650
1650
  client_id: string;
1651
1651
  username: string;
1652
1652
  otp: string;
1653
- realm: "sms" | "email";
1653
+ realm: "email" | "sms";
1654
1654
  scope?: string | undefined;
1655
1655
  audience?: string | undefined;
1656
1656
  } | {
@@ -1725,7 +1725,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1725
1725
  client_id: string;
1726
1726
  username: string;
1727
1727
  otp: string;
1728
- realm: "sms" | "email";
1728
+ realm: "email" | "sms";
1729
1729
  scope?: string | undefined;
1730
1730
  audience?: string | undefined;
1731
1731
  } | {
@@ -1792,7 +1792,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1792
1792
  client_id: string;
1793
1793
  username: string;
1794
1794
  otp: string;
1795
- realm: "sms" | "email";
1795
+ realm: "email" | "sms";
1796
1796
  scope?: string | undefined;
1797
1797
  audience?: string | undefined;
1798
1798
  } | {
@@ -12,21 +12,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "code" | "link";
15
+ send: "link" | "code";
16
16
  authParams: {
17
17
  audience?: string | undefined;
18
- username?: string | undefined;
19
- scope?: string | undefined;
20
18
  state?: string | undefined;
21
- act_as?: string | undefined;
19
+ code_challenge?: string | undefined;
20
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
21
+ redirect_uri?: string | undefined;
22
+ nonce?: string | undefined;
23
+ scope?: string | undefined;
22
24
  response_type?: AuthorizationResponseType | undefined;
23
25
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
24
- redirect_uri?: string | undefined;
26
+ username?: string | undefined;
27
+ act_as?: string | undefined;
25
28
  organization?: string | undefined;
26
- nonce?: string | undefined;
27
29
  prompt?: string | undefined;
28
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
- code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -48,21 +48,21 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "code" | "link";
51
+ send: "link" | "code";
52
52
  authParams: {
53
53
  audience?: string | undefined;
54
- username?: string | undefined;
55
- scope?: string | undefined;
56
54
  state?: string | undefined;
57
- act_as?: string | undefined;
55
+ code_challenge?: string | undefined;
56
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
57
+ redirect_uri?: string | undefined;
58
+ nonce?: string | undefined;
59
+ scope?: string | undefined;
58
60
  response_type?: AuthorizationResponseType | undefined;
59
61
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
60
- redirect_uri?: string | undefined;
62
+ username?: string | undefined;
63
+ act_as?: string | undefined;
61
64
  organization?: string | undefined;
62
- nonce?: string | undefined;
63
65
  prompt?: string | undefined;
64
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
- code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  form: {
11
11
  token: string;
12
- token_type_hint?: "access_token" | "refresh_token" | undefined;
12
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
13
13
  client_id?: string | undefined;
14
14
  client_secret?: string | undefined;
15
15
  };
16
16
  } & {
17
17
  json: {
18
18
  token: string;
19
- token_type_hint?: "access_token" | "refresh_token" | undefined;
19
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
20
20
  client_id?: string | undefined;
21
21
  client_secret?: string | undefined;
22
22
  };
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
28
28
  input: {
29
29
  form: {
30
30
  token: string;
31
- token_type_hint?: "access_token" | "refresh_token" | undefined;
31
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
32
32
  client_id?: string | undefined;
33
33
  client_secret?: string | undefined;
34
34
  };
35
35
  } & {
36
36
  json: {
37
37
  token: string;
38
- token_type_hint?: "access_token" | "refresh_token" | undefined;
38
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
39
39
  client_id?: string | undefined;
40
40
  client_secret?: string | undefined;
41
41
  };
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
50
50
  input: {
51
51
  form: {
52
52
  token: string;
53
- token_type_hint?: "access_token" | "refresh_token" | undefined;
53
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
54
54
  client_id?: string | undefined;
55
55
  client_secret?: string | undefined;
56
56
  };
57
57
  } & {
58
58
  json: {
59
59
  token: string;
60
- token_type_hint?: "access_token" | "refresh_token" | undefined;
60
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
61
61
  client_id?: string | undefined;
62
62
  client_secret?: string | undefined;
63
63
  };
@@ -47,7 +47,7 @@ export declare const tokenRoutes: OpenAPIHono<{
47
47
  client_id: string;
48
48
  username: string;
49
49
  otp: string;
50
- realm: "sms" | "email";
50
+ realm: "email" | "sms";
51
51
  scope?: string | undefined;
52
52
  audience?: string | undefined;
53
53
  } | {
@@ -114,7 +114,7 @@ export declare const tokenRoutes: OpenAPIHono<{
114
114
  client_id: string;
115
115
  username: string;
116
116
  otp: string;
117
- realm: "sms" | "email";
117
+ realm: "email" | "sms";
118
118
  scope?: string | undefined;
119
119
  audience?: string | undefined;
120
120
  } | {
@@ -186,7 +186,7 @@ export declare const tokenRoutes: OpenAPIHono<{
186
186
  client_id: string;
187
187
  username: string;
188
188
  otp: string;
189
- realm: "sms" | "email";
189
+ realm: "email" | "sms";
190
190
  scope?: string | undefined;
191
191
  audience?: string | undefined;
192
192
  } | {
@@ -253,7 +253,7 @@ export declare const tokenRoutes: OpenAPIHono<{
253
253
  client_id: string;
254
254
  username: string;
255
255
  otp: string;
256
- realm: "sms" | "email";
256
+ realm: "email" | "sms";
257
257
  scope?: string | undefined;
258
258
  audience?: string | undefined;
259
259
  } | {
@@ -333,7 +333,7 @@ export declare const tokenRoutes: OpenAPIHono<{
333
333
  client_id: string;
334
334
  username: string;
335
335
  otp: string;
336
- realm: "sms" | "email";
336
+ realm: "email" | "sms";
337
337
  scope?: string | undefined;
338
338
  audience?: string | undefined;
339
339
  } | {
@@ -400,7 +400,7 @@ export declare const tokenRoutes: OpenAPIHono<{
400
400
  client_id: string;
401
401
  username: string;
402
402
  otp: string;
403
- realm: "sms" | "email";
403
+ realm: "email" | "sms";
404
404
  scope?: string | undefined;
405
405
  audience?: string | undefined;
406
406
  } | {
@@ -475,7 +475,7 @@ export declare const tokenRoutes: OpenAPIHono<{
475
475
  client_id: string;
476
476
  username: string;
477
477
  otp: string;
478
- realm: "sms" | "email";
478
+ realm: "email" | "sms";
479
479
  scope?: string | undefined;
480
480
  audience?: string | undefined;
481
481
  } | {
@@ -542,7 +542,7 @@ export declare const tokenRoutes: OpenAPIHono<{
542
542
  client_id: string;
543
543
  username: string;
544
544
  otp: string;
545
- realm: "sms" | "email";
545
+ realm: "email" | "sms";
546
546
  scope?: string | undefined;
547
547
  audience?: string | undefined;
548
548
  } | {
@@ -617,7 +617,7 @@ export declare const tokenRoutes: OpenAPIHono<{
617
617
  client_id: string;
618
618
  username: string;
619
619
  otp: string;
620
- realm: "sms" | "email";
620
+ realm: "email" | "sms";
621
621
  scope?: string | undefined;
622
622
  audience?: string | undefined;
623
623
  } | {
@@ -684,7 +684,7 @@ export declare const tokenRoutes: OpenAPIHono<{
684
684
  client_id: string;
685
685
  username: string;
686
686
  otp: string;
687
- realm: "sms" | "email";
687
+ realm: "email" | "sms";
688
688
  scope?: string | undefined;
689
689
  audience?: string | undefined;
690
690
  } | {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "error" | "log" | "info" | "warn" | "debug";
81
+ level: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
919
919
  args: import("hono/utils/types").JSONValue[];
920
920
  }[];
921
921
  logs: {
922
- level: "error" | "log" | "info" | "warn" | "debug";
922
+ level: "log" | "error" | "info" | "warn" | "debug";
923
923
  message: string;
924
924
  }[];
925
925
  error?: string | undefined;
@@ -418,7 +418,7 @@ export declare const brandingRoutes: OpenAPIHono<{
418
418
  } & {
419
419
  json: {
420
420
  body?: string | undefined;
421
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
421
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
422
422
  branding?: {
423
423
  colors?: {
424
424
  primary: string;
@@ -959,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
959
959
  } | undefined;
960
960
  unique?: boolean | undefined;
961
961
  profile_required?: boolean | undefined;
962
- verification_method?: "code" | "link" | undefined;
962
+ verification_method?: "link" | "code" | undefined;
963
963
  } | undefined;
964
964
  username?: {
965
965
  identifier?: {
@@ -1120,7 +1120,7 @@ export declare const clientRoutes: OpenAPIHono<{
1120
1120
  } | undefined;
1121
1121
  unique?: boolean | undefined;
1122
1122
  profile_required?: boolean | undefined;
1123
- verification_method?: "code" | "link" | undefined;
1123
+ verification_method?: "link" | "code" | undefined;
1124
1124
  } | undefined;
1125
1125
  username?: {
1126
1126
  identifier?: {
@@ -96,7 +96,7 @@ export declare const connectionRoutes: OpenAPIHono<{
96
96
  } | undefined;
97
97
  unique?: boolean | undefined;
98
98
  profile_required?: boolean | undefined;
99
- verification_method?: "code" | "link" | undefined;
99
+ verification_method?: "link" | "code" | undefined;
100
100
  } | undefined;
101
101
  username?: {
102
102
  identifier?: {
@@ -237,7 +237,7 @@ export declare const connectionRoutes: OpenAPIHono<{
237
237
  } | undefined;
238
238
  unique?: boolean | undefined;
239
239
  profile_required?: boolean | undefined;
240
- verification_method?: "code" | "link" | undefined;
240
+ verification_method?: "link" | "code" | undefined;
241
241
  } | undefined;
242
242
  username?: {
243
243
  identifier?: {
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
378
378
  } | undefined;
379
379
  unique?: boolean | undefined;
380
380
  profile_required?: boolean | undefined;
381
- verification_method?: "code" | "link" | undefined;
381
+ verification_method?: "link" | "code" | undefined;
382
382
  } | undefined;
383
383
  username?: {
384
384
  identifier?: {
@@ -534,7 +534,7 @@ export declare const connectionRoutes: OpenAPIHono<{
534
534
  } | undefined;
535
535
  unique?: boolean | undefined;
536
536
  profile_required?: boolean | undefined;
537
- verification_method?: "code" | "link" | undefined;
537
+ verification_method?: "link" | "code" | undefined;
538
538
  } | undefined;
539
539
  username?: {
540
540
  identifier?: {
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
736
736
  } | undefined;
737
737
  unique?: boolean | undefined;
738
738
  profile_required?: boolean | undefined;
739
- verification_method?: "code" | "link" | undefined;
739
+ verification_method?: "link" | "code" | undefined;
740
740
  } | undefined;
741
741
  username?: {
742
742
  identifier?: {
@@ -904,7 +904,7 @@ export declare const connectionRoutes: OpenAPIHono<{
904
904
  } | undefined;
905
905
  unique?: boolean | undefined;
906
906
  profile_required?: boolean | undefined;
907
- verification_method?: "code" | "link" | undefined;
907
+ verification_method?: "link" | "code" | undefined;
908
908
  } | undefined;
909
909
  username?: {
910
910
  identifier?: {