authhero 9.24.0 → 9.24.1

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 (65) hide show
  1. package/dist/authhero.cjs +116 -116
  2. package/dist/authhero.d.ts +298 -297
  3. package/dist/authhero.mjs +34211 -33944
  4. package/dist/tsconfig.types.tsbuildinfo +1 -1
  5. package/dist/types/authentication-flows/password.d.ts +6 -0
  6. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  7. package/dist/types/generated/locale-types.d.ts +1 -0
  8. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  9. package/dist/types/helpers/session-notice.d.ts +17 -0
  10. package/dist/types/index.d.ts +298 -297
  11. package/dist/types/routes/auth-api/index.d.ts +29 -29
  12. package/dist/types/routes/auth-api/logout.d.ts +2 -2
  13. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  14. package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
  15. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  16. package/dist/types/routes/auth-api/token.d.ts +10 -10
  17. package/dist/types/routes/management-api/branding.d.ts +3 -3
  18. package/dist/types/routes/management-api/clients.d.ts +8 -8
  19. package/dist/types/routes/management-api/connections.d.ts +7 -7
  20. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  21. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  22. package/dist/types/routes/management-api/failed-events.d.ts +3 -2
  23. package/dist/types/routes/management-api/forms.d.ts +144 -144
  24. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  25. package/dist/types/routes/management-api/helpers.d.ts +26 -4
  26. package/dist/types/routes/management-api/index.d.ts +248 -247
  27. package/dist/types/routes/management-api/keys.d.ts +12 -12
  28. package/dist/types/routes/management-api/logs.d.ts +4 -4
  29. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  30. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  31. package/dist/types/routes/management-api/roles.d.ts +1 -1
  32. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  33. package/dist/types/routes/management-api/tenants.d.ts +3 -3
  34. package/dist/types/routes/management-api/users.d.ts +26 -26
  35. package/dist/types/routes/saml/index.d.ts +6 -6
  36. package/dist/types/routes/saml/samlp.d.ts +6 -6
  37. package/dist/types/routes/universal-login/common.d.ts +10 -10
  38. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  39. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  40. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  41. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  42. package/dist/types/routes/universal-login/index.d.ts +8 -8
  43. package/dist/types/routes/universal-login/screens/account-mfa-phone-enrollment.d.ts +0 -5
  44. package/dist/types/routes/universal-login/screens/account-mfa-totp-enrollment.d.ts +0 -5
  45. package/dist/types/routes/universal-login/screens/account-passkeys.d.ts +0 -5
  46. package/dist/types/routes/universal-login/screens/connect-tenant-select.d.ts +0 -10
  47. package/dist/types/routes/universal-login/screens/identifier.d.ts +0 -5
  48. package/dist/types/routes/universal-login/screens/login.d.ts +0 -8
  49. package/dist/types/routes/universal-login/screens/mfa-login-options.d.ts +0 -5
  50. package/dist/types/routes/universal-login/screens/mfa-phone-challenge.d.ts +0 -5
  51. package/dist/types/routes/universal-login/screens/mfa-phone-enrollment.d.ts +0 -5
  52. package/dist/types/routes/universal-login/screens/mfa-totp-challenge.d.ts +0 -5
  53. package/dist/types/routes/universal-login/screens/mfa-totp-enrollment.d.ts +0 -5
  54. package/dist/types/routes/universal-login/screens/passkey-challenge.d.ts +0 -14
  55. package/dist/types/routes/universal-login/screens/passkey-enrollment-nudge.d.ts +0 -15
  56. package/dist/types/routes/universal-login/screens/passkey-enrollment.d.ts +0 -9
  57. package/dist/types/routes/universal-login/screens/reset-password-code.d.ts +0 -9
  58. package/dist/types/routes/universal-login/screens/reset-password.d.ts +2 -6
  59. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  60. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  61. package/dist/types/state-machines/index.d.ts +3 -1
  62. package/dist/types/state-machines/login-session-data.d.ts +19 -0
  63. package/dist/types/state-machines/login-session.d.ts +67 -3
  64. package/dist/types/state-machines/password-reset.d.ts +46 -0
  65. package/package.json +2 -2
@@ -739,18 +739,18 @@ 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
- state?: string | undefined;
745
- audience?: string | undefined;
746
744
  username?: string | undefined;
745
+ state?: string | undefined;
746
+ scope?: string | undefined;
747
747
  act_as?: string | undefined;
748
748
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
749
749
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
750
750
  redirect_uri?: string | undefined;
751
+ audience?: string | undefined;
751
752
  organization?: string | undefined;
752
753
  nonce?: string | undefined;
753
- scope?: string | undefined;
754
754
  prompt?: string | undefined;
755
755
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
756
756
  code_challenge?: string | undefined;
@@ -775,18 +775,18 @@ 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
- state?: string | undefined;
781
- audience?: string | undefined;
782
780
  username?: string | undefined;
781
+ state?: string | undefined;
782
+ scope?: string | undefined;
783
783
  act_as?: string | undefined;
784
784
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
785
785
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
786
786
  redirect_uri?: string | undefined;
787
+ audience?: string | undefined;
787
788
  organization?: string | undefined;
788
789
  nonce?: string | undefined;
789
- scope?: string | undefined;
790
790
  prompt?: string | undefined;
791
791
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
792
792
  code_challenge?: 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?: "refresh_token" | "access_token" | undefined;
924
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
931
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
943
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
950
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
965
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
972
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
973
973
  client_id?: string | undefined;
974
974
  client_secret?: string | undefined;
975
975
  };
@@ -1019,7 +1019,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1019
1019
  client_id: string;
1020
1020
  username: string;
1021
1021
  otp: string;
1022
- realm: "sms" | "email";
1022
+ realm: "email" | "sms";
1023
1023
  scope?: string | undefined;
1024
1024
  audience?: string | undefined;
1025
1025
  } | {
@@ -1079,7 +1079,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1079
1079
  client_id: string;
1080
1080
  username: string;
1081
1081
  otp: string;
1082
- realm: "sms" | "email";
1082
+ realm: "email" | "sms";
1083
1083
  scope?: string | undefined;
1084
1084
  audience?: string | undefined;
1085
1085
  } | {
@@ -1144,7 +1144,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1144
1144
  client_id: string;
1145
1145
  username: string;
1146
1146
  otp: string;
1147
- realm: "sms" | "email";
1147
+ realm: "email" | "sms";
1148
1148
  scope?: string | undefined;
1149
1149
  audience?: string | undefined;
1150
1150
  } | {
@@ -1204,7 +1204,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1204
1204
  client_id: string;
1205
1205
  username: string;
1206
1206
  otp: string;
1207
- realm: "sms" | "email";
1207
+ realm: "email" | "sms";
1208
1208
  scope?: string | undefined;
1209
1209
  audience?: string | undefined;
1210
1210
  } | {
@@ -1277,7 +1277,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1277
1277
  client_id: string;
1278
1278
  username: string;
1279
1279
  otp: string;
1280
- realm: "sms" | "email";
1280
+ realm: "email" | "sms";
1281
1281
  scope?: string | undefined;
1282
1282
  audience?: string | undefined;
1283
1283
  } | {
@@ -1337,7 +1337,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1337
1337
  client_id: string;
1338
1338
  username: string;
1339
1339
  otp: string;
1340
- realm: "sms" | "email";
1340
+ realm: "email" | "sms";
1341
1341
  scope?: string | undefined;
1342
1342
  audience?: string | undefined;
1343
1343
  } | {
@@ -1405,7 +1405,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1405
1405
  client_id: string;
1406
1406
  username: string;
1407
1407
  otp: string;
1408
- realm: "sms" | "email";
1408
+ realm: "email" | "sms";
1409
1409
  scope?: string | undefined;
1410
1410
  audience?: string | undefined;
1411
1411
  } | {
@@ -1465,7 +1465,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1465
1465
  client_id: string;
1466
1466
  username: string;
1467
1467
  otp: string;
1468
- realm: "sms" | "email";
1468
+ realm: "email" | "sms";
1469
1469
  scope?: string | undefined;
1470
1470
  audience?: string | undefined;
1471
1471
  } | {
@@ -1533,7 +1533,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1533
1533
  client_id: string;
1534
1534
  username: string;
1535
1535
  otp: string;
1536
- realm: "sms" | "email";
1536
+ realm: "email" | "sms";
1537
1537
  scope?: string | undefined;
1538
1538
  audience?: string | undefined;
1539
1539
  } | {
@@ -1593,7 +1593,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1593
1593
  client_id: string;
1594
1594
  username: string;
1595
1595
  otp: string;
1596
- realm: "sms" | "email";
1596
+ realm: "email" | "sms";
1597
1597
  scope?: string | undefined;
1598
1598
  audience?: string | undefined;
1599
1599
  } | {
@@ -1829,7 +1829,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1829
1829
  };
1830
1830
  output: {};
1831
1831
  outputFormat: string;
1832
- status: 400;
1832
+ status: 200;
1833
1833
  } | {
1834
1834
  input: {
1835
1835
  query: {
@@ -1843,7 +1843,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1843
1843
  };
1844
1844
  output: {};
1845
1845
  outputFormat: string;
1846
- status: 200;
1846
+ status: 302;
1847
1847
  } | {
1848
1848
  input: {
1849
1849
  query: {
@@ -1857,7 +1857,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1857
1857
  };
1858
1858
  output: {};
1859
1859
  outputFormat: string;
1860
- status: 302;
1860
+ status: 400;
1861
1861
  };
1862
1862
  };
1863
1863
  }, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
@@ -1871,7 +1871,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1871
1871
  };
1872
1872
  output: {};
1873
1873
  outputFormat: string;
1874
- status: 400;
1874
+ status: 302;
1875
1875
  } | {
1876
1876
  input: {
1877
1877
  query: {
@@ -1881,7 +1881,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1881
1881
  };
1882
1882
  output: {};
1883
1883
  outputFormat: string;
1884
- status: 302;
1884
+ status: 400;
1885
1885
  };
1886
1886
  };
1887
1887
  }, "/v2/logout">, "/">;
@@ -14,7 +14,7 @@ export declare const logoutRoutes: OpenAPIHono<{
14
14
  };
15
15
  output: {};
16
16
  outputFormat: string;
17
- status: 400;
17
+ status: 302;
18
18
  } | {
19
19
  input: {
20
20
  query: {
@@ -24,7 +24,7 @@ export declare const logoutRoutes: OpenAPIHono<{
24
24
  };
25
25
  output: {};
26
26
  outputFormat: string;
27
- status: 302;
27
+ status: 400;
28
28
  };
29
29
  };
30
30
  }, "/">;
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
18
18
  };
19
19
  output: {};
20
20
  outputFormat: string;
21
- status: 400;
21
+ status: 200;
22
22
  } | {
23
23
  input: {
24
24
  query: {
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 200;
35
+ status: 302;
36
36
  } | {
37
37
  input: {
38
38
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 302;
49
+ status: 400;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -12,18 +12,18 @@ 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
- state?: string | undefined;
18
- audience?: string | undefined;
19
17
  username?: string | undefined;
18
+ state?: string | undefined;
19
+ scope?: string | undefined;
20
20
  act_as?: string | undefined;
21
21
  response_type?: AuthorizationResponseType | undefined;
22
22
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
23
23
  redirect_uri?: string | undefined;
24
+ audience?: string | undefined;
24
25
  organization?: string | undefined;
25
26
  nonce?: string | undefined;
26
- scope?: string | undefined;
27
27
  prompt?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
29
  code_challenge?: string | undefined;
@@ -48,18 +48,18 @@ 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
- state?: string | undefined;
54
- audience?: string | undefined;
55
53
  username?: string | undefined;
54
+ state?: string | undefined;
55
+ scope?: string | undefined;
56
56
  act_as?: string | undefined;
57
57
  response_type?: AuthorizationResponseType | undefined;
58
58
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
59
59
  redirect_uri?: string | undefined;
60
+ audience?: string | undefined;
60
61
  organization?: string | undefined;
61
62
  nonce?: string | undefined;
62
- scope?: string | undefined;
63
63
  prompt?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
65
  code_challenge?: 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?: "refresh_token" | "access_token" | undefined;
12
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
19
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
31
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
38
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
53
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
60
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
61
61
  client_id?: string | undefined;
62
62
  client_secret?: string | undefined;
63
63
  };
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
40
40
  client_id: string;
41
41
  username: string;
42
42
  otp: string;
43
- realm: "sms" | "email";
43
+ realm: "email" | "sms";
44
44
  scope?: string | undefined;
45
45
  audience?: string | undefined;
46
46
  } | {
@@ -100,7 +100,7 @@ export declare const tokenRoutes: OpenAPIHono<{
100
100
  client_id: string;
101
101
  username: string;
102
102
  otp: string;
103
- realm: "sms" | "email";
103
+ realm: "email" | "sms";
104
104
  scope?: string | undefined;
105
105
  audience?: string | undefined;
106
106
  } | {
@@ -165,7 +165,7 @@ export declare const tokenRoutes: OpenAPIHono<{
165
165
  client_id: string;
166
166
  username: string;
167
167
  otp: string;
168
- realm: "sms" | "email";
168
+ realm: "email" | "sms";
169
169
  scope?: string | undefined;
170
170
  audience?: string | undefined;
171
171
  } | {
@@ -225,7 +225,7 @@ export declare const tokenRoutes: OpenAPIHono<{
225
225
  client_id: string;
226
226
  username: string;
227
227
  otp: string;
228
- realm: "sms" | "email";
228
+ realm: "email" | "sms";
229
229
  scope?: string | undefined;
230
230
  audience?: string | undefined;
231
231
  } | {
@@ -298,7 +298,7 @@ export declare const tokenRoutes: OpenAPIHono<{
298
298
  client_id: string;
299
299
  username: string;
300
300
  otp: string;
301
- realm: "sms" | "email";
301
+ realm: "email" | "sms";
302
302
  scope?: string | undefined;
303
303
  audience?: string | undefined;
304
304
  } | {
@@ -358,7 +358,7 @@ export declare const tokenRoutes: OpenAPIHono<{
358
358
  client_id: string;
359
359
  username: string;
360
360
  otp: string;
361
- realm: "sms" | "email";
361
+ realm: "email" | "sms";
362
362
  scope?: string | undefined;
363
363
  audience?: string | undefined;
364
364
  } | {
@@ -426,7 +426,7 @@ export declare const tokenRoutes: OpenAPIHono<{
426
426
  client_id: string;
427
427
  username: string;
428
428
  otp: string;
429
- realm: "sms" | "email";
429
+ realm: "email" | "sms";
430
430
  scope?: string | undefined;
431
431
  audience?: string | undefined;
432
432
  } | {
@@ -486,7 +486,7 @@ export declare const tokenRoutes: OpenAPIHono<{
486
486
  client_id: string;
487
487
  username: string;
488
488
  otp: string;
489
- realm: "sms" | "email";
489
+ realm: "email" | "sms";
490
490
  scope?: string | undefined;
491
491
  audience?: string | undefined;
492
492
  } | {
@@ -554,7 +554,7 @@ export declare const tokenRoutes: OpenAPIHono<{
554
554
  client_id: string;
555
555
  username: string;
556
556
  otp: string;
557
- realm: "sms" | "email";
557
+ realm: "email" | "sms";
558
558
  scope?: string | undefined;
559
559
  audience?: string | undefined;
560
560
  } | {
@@ -614,7 +614,7 @@ export declare const tokenRoutes: OpenAPIHono<{
614
614
  client_id: string;
615
615
  username: string;
616
616
  otp: string;
617
- realm: "sms" | "email";
617
+ realm: "email" | "sms";
618
618
  scope?: string | undefined;
619
619
  audience?: string | undefined;
620
620
  } | {
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
370
370
  };
371
371
  output: {};
372
372
  outputFormat: string;
373
- status: 400;
373
+ status: 204;
374
374
  } | {
375
375
  input: {
376
376
  header: {
@@ -383,7 +383,7 @@ export declare const brandingRoutes: OpenAPIHono<{
383
383
  };
384
384
  output: {};
385
385
  outputFormat: string;
386
- status: 204;
386
+ status: 400;
387
387
  };
388
388
  };
389
389
  } & {
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
412
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -936,7 +936,7 @@ export declare const clientRoutes: OpenAPIHono<{
936
936
  active?: boolean | undefined;
937
937
  } | undefined;
938
938
  signup?: {
939
- status?: "optional" | "required" | "disabled" | undefined;
939
+ status?: "required" | "optional" | "disabled" | undefined;
940
940
  verification?: {
941
941
  active?: boolean | undefined;
942
942
  } | undefined;
@@ -946,14 +946,14 @@ export declare const clientRoutes: OpenAPIHono<{
946
946
  } | undefined;
947
947
  unique?: boolean | undefined;
948
948
  profile_required?: boolean | undefined;
949
- verification_method?: "code" | "link" | undefined;
949
+ verification_method?: "link" | "code" | undefined;
950
950
  } | undefined;
951
951
  username?: {
952
952
  identifier?: {
953
953
  active?: boolean | undefined;
954
954
  } | undefined;
955
955
  signup?: {
956
- status?: "optional" | "required" | "disabled" | undefined;
956
+ status?: "required" | "optional" | "disabled" | undefined;
957
957
  } | undefined;
958
958
  validation?: {
959
959
  max_length?: number | undefined;
@@ -970,7 +970,7 @@ export declare const clientRoutes: OpenAPIHono<{
970
970
  active?: boolean | undefined;
971
971
  } | undefined;
972
972
  signup?: {
973
- status?: "optional" | "required" | "disabled" | undefined;
973
+ status?: "required" | "optional" | "disabled" | undefined;
974
974
  } | undefined;
975
975
  } | undefined;
976
976
  } | undefined;
@@ -1094,7 +1094,7 @@ export declare const clientRoutes: OpenAPIHono<{
1094
1094
  active?: boolean | undefined;
1095
1095
  } | undefined;
1096
1096
  signup?: {
1097
- status?: "optional" | "required" | "disabled" | undefined;
1097
+ status?: "required" | "optional" | "disabled" | undefined;
1098
1098
  verification?: {
1099
1099
  active?: boolean | undefined;
1100
1100
  } | undefined;
@@ -1104,14 +1104,14 @@ export declare const clientRoutes: OpenAPIHono<{
1104
1104
  } | undefined;
1105
1105
  unique?: boolean | undefined;
1106
1106
  profile_required?: boolean | undefined;
1107
- verification_method?: "code" | "link" | undefined;
1107
+ verification_method?: "link" | "code" | undefined;
1108
1108
  } | undefined;
1109
1109
  username?: {
1110
1110
  identifier?: {
1111
1111
  active?: boolean | undefined;
1112
1112
  } | undefined;
1113
1113
  signup?: {
1114
- status?: "optional" | "required" | "disabled" | undefined;
1114
+ status?: "required" | "optional" | "disabled" | undefined;
1115
1115
  } | undefined;
1116
1116
  validation?: {
1117
1117
  max_length?: number | undefined;
@@ -1128,7 +1128,7 @@ export declare const clientRoutes: OpenAPIHono<{
1128
1128
  active?: boolean | undefined;
1129
1129
  } | undefined;
1130
1130
  signup?: {
1131
- status?: "optional" | "required" | "disabled" | undefined;
1131
+ status?: "required" | "optional" | "disabled" | undefined;
1132
1132
  } | undefined;
1133
1133
  } | undefined;
1134
1134
  } | undefined;
@@ -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?: {
@@ -234,7 +234,7 @@ export declare const connectionRoutes: OpenAPIHono<{
234
234
  } | undefined;
235
235
  unique?: boolean | undefined;
236
236
  profile_required?: boolean | undefined;
237
- verification_method?: "code" | "link" | undefined;
237
+ verification_method?: "link" | "code" | undefined;
238
238
  } | undefined;
239
239
  username?: {
240
240
  identifier?: {
@@ -372,7 +372,7 @@ export declare const connectionRoutes: OpenAPIHono<{
372
372
  } | undefined;
373
373
  unique?: boolean | undefined;
374
374
  profile_required?: boolean | undefined;
375
- verification_method?: "code" | "link" | undefined;
375
+ verification_method?: "link" | "code" | undefined;
376
376
  } | undefined;
377
377
  username?: {
378
378
  identifier?: {
@@ -525,7 +525,7 @@ export declare const connectionRoutes: OpenAPIHono<{
525
525
  } | undefined;
526
526
  unique?: boolean | undefined;
527
527
  profile_required?: boolean | undefined;
528
- verification_method?: "code" | "link" | undefined;
528
+ verification_method?: "link" | "code" | undefined;
529
529
  } | undefined;
530
530
  username?: {
531
531
  identifier?: {
@@ -708,7 +708,7 @@ export declare const connectionRoutes: OpenAPIHono<{
708
708
  } | undefined;
709
709
  unique?: boolean | undefined;
710
710
  profile_required?: boolean | undefined;
711
- verification_method?: "code" | "link" | undefined;
711
+ verification_method?: "link" | "code" | undefined;
712
712
  } | undefined;
713
713
  username?: {
714
714
  identifier?: {
@@ -870,7 +870,7 @@ export declare const connectionRoutes: OpenAPIHono<{
870
870
  } | undefined;
871
871
  unique?: boolean | undefined;
872
872
  profile_required?: boolean | undefined;
873
- verification_method?: "code" | "link" | undefined;
873
+ verification_method?: "link" | "code" | undefined;
874
874
  } | undefined;
875
875
  username?: {
876
876
  identifier?: {
@@ -1010,7 +1010,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1010
1010
  };
1011
1011
  } | {
1012
1012
  mode: "inline";
1013
- status: "success" | "error";
1013
+ status: "error" | "success";
1014
1014
  connection_id: string;
1015
1015
  connection_name: string;
1016
1016
  strategy: string;