authhero 8.9.0 → 8.9.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 (36) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +85 -85
  3. package/dist/authhero.d.ts +246 -246
  4. package/dist/authhero.mjs +1837 -1770
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/password.d.ts +10 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  9. package/dist/types/index.d.ts +246 -246
  10. package/dist/types/routes/auth-api/index.d.ts +30 -30
  11. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  12. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  13. package/dist/types/routes/auth-api/token.d.ts +10 -10
  14. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  15. package/dist/types/routes/management-api/actions.d.ts +1 -1
  16. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  17. package/dist/types/routes/management-api/branding.d.ts +13 -13
  18. package/dist/types/routes/management-api/clients.d.ts +8 -8
  19. package/dist/types/routes/management-api/connections.d.ts +21 -21
  20. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  21. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  22. package/dist/types/routes/management-api/forms.d.ts +126 -126
  23. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  24. package/dist/types/routes/management-api/index.d.ts +214 -214
  25. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  26. package/dist/types/routes/management-api/logs.d.ts +3 -3
  27. package/dist/types/routes/management-api/organizations.d.ts +4 -4
  28. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  29. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  30. package/dist/types/routes/management-api/themes.d.ts +6 -6
  31. package/dist/types/routes/management-api/users.d.ts +2 -2
  32. package/dist/types/routes/universal-login/common.d.ts +14 -14
  33. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  34. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  35. package/dist/types/routes/universal-login/index.d.ts +2 -2
  36. package/package.json +5 -5
@@ -723,17 +723,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
723
  email: string;
724
724
  send: "code" | "link";
725
725
  authParams: {
726
- audience?: string | undefined;
726
+ state?: string | undefined;
727
+ username?: string | undefined;
728
+ act_as?: string | undefined;
727
729
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
728
730
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
729
- scope?: string | undefined;
730
- username?: string | undefined;
731
- prompt?: string | undefined;
732
- state?: string | undefined;
731
+ redirect_uri?: string | undefined;
732
+ audience?: string | undefined;
733
733
  organization?: string | undefined;
734
734
  nonce?: string | undefined;
735
- redirect_uri?: string | undefined;
736
- act_as?: string | undefined;
735
+ scope?: string | undefined;
736
+ prompt?: string | undefined;
737
737
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
738
738
  code_challenge?: string | undefined;
739
739
  ui_locales?: string | undefined;
@@ -759,17 +759,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
759
759
  phone_number: string;
760
760
  send: "code" | "link";
761
761
  authParams: {
762
- audience?: string | undefined;
762
+ state?: string | undefined;
763
+ username?: string | undefined;
764
+ act_as?: string | undefined;
763
765
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
764
766
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
765
- scope?: string | undefined;
766
- username?: string | undefined;
767
- prompt?: string | undefined;
768
- state?: string | undefined;
767
+ redirect_uri?: string | undefined;
768
+ audience?: string | undefined;
769
769
  organization?: string | undefined;
770
770
  nonce?: string | undefined;
771
- redirect_uri?: string | undefined;
772
- act_as?: string | undefined;
771
+ scope?: string | undefined;
772
+ prompt?: string | undefined;
773
773
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
774
774
  code_challenge?: string | undefined;
775
775
  ui_locales?: string | undefined;
@@ -903,14 +903,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
903
903
  input: {
904
904
  form: {
905
905
  token: string;
906
- token_type_hint?: "refresh_token" | "access_token" | undefined;
906
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
907
907
  client_id?: string | undefined;
908
908
  client_secret?: string | undefined;
909
909
  };
910
910
  } & {
911
911
  json: {
912
912
  token: string;
913
- token_type_hint?: "refresh_token" | "access_token" | undefined;
913
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
914
914
  client_id?: string | undefined;
915
915
  client_secret?: string | undefined;
916
916
  };
@@ -922,14 +922,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
922
922
  input: {
923
923
  form: {
924
924
  token: string;
925
- token_type_hint?: "refresh_token" | "access_token" | undefined;
925
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
926
926
  client_id?: string | undefined;
927
927
  client_secret?: string | undefined;
928
928
  };
929
929
  } & {
930
930
  json: {
931
931
  token: string;
932
- token_type_hint?: "refresh_token" | "access_token" | undefined;
932
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
933
933
  client_id?: string | undefined;
934
934
  client_secret?: string | undefined;
935
935
  };
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
944
944
  input: {
945
945
  form: {
946
946
  token: string;
947
- token_type_hint?: "refresh_token" | "access_token" | undefined;
947
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
948
948
  client_id?: string | undefined;
949
949
  client_secret?: string | undefined;
950
950
  };
951
951
  } & {
952
952
  json: {
953
953
  token: string;
954
- token_type_hint?: "refresh_token" | "access_token" | undefined;
954
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
955
955
  client_id?: string | undefined;
956
956
  client_secret?: string | undefined;
957
957
  };
@@ -1001,7 +1001,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1001
1001
  client_id: string;
1002
1002
  username: string;
1003
1003
  otp: string;
1004
- realm: "sms" | "email";
1004
+ realm: "email" | "sms";
1005
1005
  } | {
1006
1006
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1007
1007
  subject_token: string;
@@ -1048,7 +1048,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1048
1048
  client_id: string;
1049
1049
  username: string;
1050
1050
  otp: string;
1051
- realm: "sms" | "email";
1051
+ realm: "email" | "sms";
1052
1052
  } | {
1053
1053
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1054
1054
  subject_token: string;
@@ -1100,7 +1100,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1100
1100
  client_id: string;
1101
1101
  username: string;
1102
1102
  otp: string;
1103
- realm: "sms" | "email";
1103
+ realm: "email" | "sms";
1104
1104
  } | {
1105
1105
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1106
1106
  subject_token: string;
@@ -1147,7 +1147,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1147
1147
  client_id: string;
1148
1148
  username: string;
1149
1149
  otp: string;
1150
- realm: "sms" | "email";
1150
+ realm: "email" | "sms";
1151
1151
  } | {
1152
1152
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1153
1153
  subject_token: string;
@@ -1207,7 +1207,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1207
1207
  client_id: string;
1208
1208
  username: string;
1209
1209
  otp: string;
1210
- realm: "sms" | "email";
1210
+ realm: "email" | "sms";
1211
1211
  } | {
1212
1212
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1213
1213
  subject_token: string;
@@ -1254,7 +1254,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1254
1254
  client_id: string;
1255
1255
  username: string;
1256
1256
  otp: string;
1257
- realm: "sms" | "email";
1257
+ realm: "email" | "sms";
1258
1258
  } | {
1259
1259
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1260
1260
  subject_token: string;
@@ -1309,7 +1309,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1309
1309
  client_id: string;
1310
1310
  username: string;
1311
1311
  otp: string;
1312
- realm: "sms" | "email";
1312
+ realm: "email" | "sms";
1313
1313
  } | {
1314
1314
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1315
1315
  subject_token: string;
@@ -1356,7 +1356,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1356
1356
  client_id: string;
1357
1357
  username: string;
1358
1358
  otp: string;
1359
- realm: "sms" | "email";
1359
+ realm: "email" | "sms";
1360
1360
  } | {
1361
1361
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1362
1362
  subject_token: string;
@@ -1411,7 +1411,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1411
1411
  client_id: string;
1412
1412
  username: string;
1413
1413
  otp: string;
1414
- realm: "sms" | "email";
1414
+ realm: "email" | "sms";
1415
1415
  } | {
1416
1416
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1417
1417
  subject_token: string;
@@ -1458,7 +1458,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1458
1458
  client_id: string;
1459
1459
  username: string;
1460
1460
  otp: string;
1461
- realm: "sms" | "email";
1461
+ realm: "email" | "sms";
1462
1462
  } | {
1463
1463
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1464
1464
  subject_token: string;
@@ -14,17 +14,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- audience?: string | undefined;
17
+ state?: string | undefined;
18
+ username?: string | undefined;
19
+ act_as?: string | undefined;
18
20
  response_type?: AuthorizationResponseType | undefined;
19
21
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
- scope?: string | undefined;
21
- username?: string | undefined;
22
- prompt?: string | undefined;
23
- state?: string | undefined;
22
+ redirect_uri?: string | undefined;
23
+ audience?: string | undefined;
24
24
  organization?: string | undefined;
25
25
  nonce?: string | undefined;
26
- redirect_uri?: string | undefined;
27
- act_as?: string | undefined;
26
+ scope?: string | undefined;
27
+ prompt?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
29
  code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
@@ -50,17 +50,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- audience?: string | undefined;
53
+ state?: string | undefined;
54
+ username?: string | undefined;
55
+ act_as?: string | undefined;
54
56
  response_type?: AuthorizationResponseType | undefined;
55
57
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
- scope?: string | undefined;
57
- username?: string | undefined;
58
- prompt?: string | undefined;
59
- state?: string | undefined;
58
+ redirect_uri?: string | undefined;
59
+ audience?: string | undefined;
60
60
  organization?: string | undefined;
61
61
  nonce?: string | undefined;
62
- redirect_uri?: string | undefined;
63
- act_as?: string | undefined;
62
+ scope?: string | undefined;
63
+ prompt?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
65
  code_challenge?: string | undefined;
66
66
  ui_locales?: 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
  } | {
45
45
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
46
46
  subject_token: string;
@@ -87,7 +87,7 @@ export declare const tokenRoutes: OpenAPIHono<{
87
87
  client_id: string;
88
88
  username: string;
89
89
  otp: string;
90
- realm: "sms" | "email";
90
+ realm: "email" | "sms";
91
91
  } | {
92
92
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
93
93
  subject_token: string;
@@ -139,7 +139,7 @@ export declare const tokenRoutes: OpenAPIHono<{
139
139
  client_id: string;
140
140
  username: string;
141
141
  otp: string;
142
- realm: "sms" | "email";
142
+ realm: "email" | "sms";
143
143
  } | {
144
144
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
145
145
  subject_token: string;
@@ -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
  } | {
191
191
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
192
192
  subject_token: string;
@@ -246,7 +246,7 @@ export declare const tokenRoutes: OpenAPIHono<{
246
246
  client_id: string;
247
247
  username: string;
248
248
  otp: string;
249
- realm: "sms" | "email";
249
+ realm: "email" | "sms";
250
250
  } | {
251
251
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
252
252
  subject_token: string;
@@ -293,7 +293,7 @@ export declare const tokenRoutes: OpenAPIHono<{
293
293
  client_id: string;
294
294
  username: string;
295
295
  otp: string;
296
- realm: "sms" | "email";
296
+ realm: "email" | "sms";
297
297
  } | {
298
298
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
299
299
  subject_token: string;
@@ -348,7 +348,7 @@ export declare const tokenRoutes: OpenAPIHono<{
348
348
  client_id: string;
349
349
  username: string;
350
350
  otp: string;
351
- realm: "sms" | "email";
351
+ realm: "email" | "sms";
352
352
  } | {
353
353
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
354
354
  subject_token: string;
@@ -395,7 +395,7 @@ export declare const tokenRoutes: OpenAPIHono<{
395
395
  client_id: string;
396
396
  username: string;
397
397
  otp: string;
398
- realm: "sms" | "email";
398
+ realm: "email" | "sms";
399
399
  } | {
400
400
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
401
401
  subject_token: string;
@@ -450,7 +450,7 @@ export declare const tokenRoutes: OpenAPIHono<{
450
450
  client_id: string;
451
451
  username: string;
452
452
  otp: string;
453
- realm: "sms" | "email";
453
+ realm: "email" | "sms";
454
454
  } | {
455
455
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
456
456
  subject_token: string;
@@ -497,7 +497,7 @@ export declare const tokenRoutes: OpenAPIHono<{
497
497
  client_id: string;
498
498
  username: string;
499
499
  otp: string;
500
- realm: "sms" | "email";
500
+ realm: "email" | "sms";
501
501
  } | {
502
502
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
503
503
  subject_token: string;
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "error" | "info" | "log" | "warn" | "debug";
81
+ level: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "error" | "info" | "log" | "warn" | "debug";
664
+ level: "log" | "error" | "info" | "warn" | "debug";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -27,7 +27,7 @@ export declare const brandingRoutes: OpenAPIHono<{
27
27
  base_focus_color: string;
28
28
  base_hover_color: string;
29
29
  body_text: string;
30
- captcha_widget_theme: "dark" | "light" | "auto";
30
+ captcha_widget_theme: "auto" | "light" | "dark";
31
31
  error: string;
32
32
  header: string;
33
33
  icons: string;
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
78
78
  background_color: string;
79
79
  background_image_url: string;
80
80
  page_layout: "center" | "left" | "right";
81
- logo_placement?: "widget" | "none" | "chip" | undefined;
81
+ logo_placement?: "widget" | "chip" | "none" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
117
117
  base_focus_color: string;
118
118
  base_hover_color: string;
119
119
  body_text: string;
120
- captcha_widget_theme: "dark" | "light" | "auto";
120
+ captcha_widget_theme: "auto" | "light" | "dark";
121
121
  error: string;
122
122
  header: string;
123
123
  icons: string;
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
168
168
  background_color: string;
169
169
  background_image_url: string;
170
170
  page_layout: "center" | "left" | "right";
171
- logo_placement?: "widget" | "none" | "chip" | undefined;
171
+ logo_placement?: "widget" | "chip" | "none" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
196
196
  base_focus_color: string;
197
197
  base_hover_color: string;
198
198
  body_text: string;
199
- captcha_widget_theme: "dark" | "light" | "auto";
199
+ captcha_widget_theme: "auto" | "light" | "dark";
200
200
  error: string;
201
201
  header: string;
202
202
  icons: string;
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
247
247
  background_color: string;
248
248
  background_image_url: string;
249
249
  page_layout: "center" | "left" | "right";
250
- logo_placement?: "widget" | "none" | "chip" | undefined;
250
+ logo_placement?: "widget" | "chip" | "none" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
286
286
  font?: {
287
287
  url: string;
288
288
  } | undefined;
289
- dark_mode?: "dark" | "light" | "auto" | undefined;
289
+ dark_mode?: "auto" | "light" | "dark" | undefined;
290
290
  };
291
291
  outputFormat: "json";
292
292
  status: 200;
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
316
316
  font?: {
317
317
  url: string;
318
318
  } | undefined;
319
- dark_mode?: "dark" | "light" | "auto" | undefined;
319
+ dark_mode?: "auto" | "light" | "dark" | undefined;
320
320
  };
321
321
  };
322
322
  output: {
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
335
335
  font?: {
336
336
  url: string;
337
337
  } | undefined;
338
- dark_mode?: "dark" | "light" | "auto" | undefined;
338
+ dark_mode?: "auto" | "light" | "dark" | undefined;
339
339
  };
340
340
  outputFormat: "json";
341
341
  status: 200;
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "password" | "signup" | "login" | "identifier" | undefined;
412
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -426,7 +426,7 @@ export declare const brandingRoutes: OpenAPIHono<{
426
426
  font?: {
427
427
  url: string;
428
428
  } | undefined;
429
- dark_mode?: "dark" | "light" | "auto" | undefined;
429
+ dark_mode?: "auto" | "light" | "dark" | undefined;
430
430
  } | undefined;
431
431
  theme?: {
432
432
  borders?: {
@@ -444,7 +444,7 @@ export declare const brandingRoutes: OpenAPIHono<{
444
444
  base_focus_color: string;
445
445
  base_hover_color: string;
446
446
  body_text: string;
447
- captcha_widget_theme: "dark" | "light" | "auto";
447
+ captcha_widget_theme: "auto" | "light" | "dark";
448
448
  error: string;
449
449
  header: string;
450
450
  icons: string;
@@ -495,7 +495,7 @@ export declare const brandingRoutes: OpenAPIHono<{
495
495
  background_color: string;
496
496
  background_image_url: string;
497
497
  page_layout: "center" | "left" | "right";
498
- logo_placement?: "widget" | "none" | "chip" | undefined;
498
+ logo_placement?: "widget" | "chip" | "none" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";
@@ -760,7 +760,7 @@ export declare const clientRoutes: OpenAPIHono<{
760
760
  active?: boolean | undefined;
761
761
  } | undefined;
762
762
  signup?: {
763
- status?: "optional" | "disabled" | "required" | undefined;
763
+ status?: "optional" | "required" | "disabled" | undefined;
764
764
  verification?: {
765
765
  active?: boolean | undefined;
766
766
  } | undefined;
@@ -777,7 +777,7 @@ export declare const clientRoutes: OpenAPIHono<{
777
777
  active?: boolean | undefined;
778
778
  } | undefined;
779
779
  signup?: {
780
- status?: "optional" | "disabled" | "required" | undefined;
780
+ status?: "optional" | "required" | "disabled" | undefined;
781
781
  } | undefined;
782
782
  validation?: {
783
783
  max_length?: number | undefined;
@@ -794,7 +794,7 @@ export declare const clientRoutes: OpenAPIHono<{
794
794
  active?: boolean | undefined;
795
795
  } | undefined;
796
796
  signup?: {
797
- status?: "optional" | "disabled" | "required" | undefined;
797
+ status?: "optional" | "required" | "disabled" | undefined;
798
798
  } | undefined;
799
799
  } | undefined;
800
800
  } | undefined;
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
807
807
  } | undefined;
808
808
  } | undefined;
809
809
  passkey_options?: {
810
- challenge_ui?: "both" | "autofill" | "button" | undefined;
810
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
811
811
  local_enrollment_enabled?: boolean | undefined;
812
812
  progressive_enrollment_enabled?: boolean | undefined;
813
813
  } | undefined;
@@ -914,7 +914,7 @@ export declare const clientRoutes: OpenAPIHono<{
914
914
  active?: boolean | undefined;
915
915
  } | undefined;
916
916
  signup?: {
917
- status?: "optional" | "disabled" | "required" | undefined;
917
+ status?: "optional" | "required" | "disabled" | undefined;
918
918
  verification?: {
919
919
  active?: boolean | undefined;
920
920
  } | undefined;
@@ -931,7 +931,7 @@ export declare const clientRoutes: OpenAPIHono<{
931
931
  active?: boolean | undefined;
932
932
  } | undefined;
933
933
  signup?: {
934
- status?: "optional" | "disabled" | "required" | undefined;
934
+ status?: "optional" | "required" | "disabled" | undefined;
935
935
  } | undefined;
936
936
  validation?: {
937
937
  max_length?: number | undefined;
@@ -948,7 +948,7 @@ export declare const clientRoutes: OpenAPIHono<{
948
948
  active?: boolean | undefined;
949
949
  } | undefined;
950
950
  signup?: {
951
- status?: "optional" | "disabled" | "required" | undefined;
951
+ status?: "optional" | "required" | "disabled" | undefined;
952
952
  } | undefined;
953
953
  } | undefined;
954
954
  } | undefined;
@@ -961,7 +961,7 @@ export declare const clientRoutes: OpenAPIHono<{
961
961
  } | undefined;
962
962
  } | undefined;
963
963
  passkey_options?: {
964
- challenge_ui?: "both" | "autofill" | "button" | undefined;
964
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
965
965
  local_enrollment_enabled?: boolean | undefined;
966
966
  progressive_enrollment_enabled?: boolean | undefined;
967
967
  } | undefined;