authhero 8.9.1 → 8.10.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 (43) hide show
  1. package/dist/authhero.cjs +106 -106
  2. package/dist/authhero.d.ts +237 -134
  3. package/dist/authhero.mjs +6771 -6588
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  7. package/dist/types/helpers/avatar.d.ts +6 -0
  8. package/dist/types/index.d.ts +162 -132
  9. package/dist/types/routes/auth-api/avatars.d.ts +18 -0
  10. package/dist/types/routes/auth-api/index.d.ts +37 -24
  11. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  12. package/dist/types/routes/auth-api/token.d.ts +10 -10
  13. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  14. package/dist/types/routes/management-api/actions.d.ts +1 -1
  15. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding.d.ts +17 -17
  17. package/dist/types/routes/management-api/clients.d.ts +8 -8
  18. package/dist/types/routes/management-api/connections.d.ts +21 -21
  19. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  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/hook-code.d.ts +2 -2
  25. package/dist/types/routes/management-api/index.d.ts +108 -92
  26. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  27. package/dist/types/routes/management-api/logs.d.ts +3 -3
  28. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  29. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  30. package/dist/types/routes/management-api/tenant-export-import.d.ts +16 -0
  31. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  32. package/dist/types/routes/management-api/themes.d.ts +9 -9
  33. package/dist/types/routes/management-api/users.d.ts +2 -2
  34. package/dist/types/routes/proxy-control-plane/kv-publish.d.ts +75 -0
  35. package/dist/types/routes/proxy-control-plane/kv-publish.test.d.ts +1 -0
  36. package/dist/types/routes/universal-login/common.d.ts +16 -16
  37. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  38. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  39. package/dist/types/routes/universal-login/index.d.ts +2 -2
  40. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  41. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  42. package/dist/types/types/IdToken.d.ts +2 -2
  43. package/package.json +4 -4
@@ -0,0 +1,18 @@
1
+ import { Bindings, Variables } from "../../types";
2
+ export declare const avatarRoutes: import("hono/hono-base").HonoBase<{
3
+ Bindings: Bindings;
4
+ Variables: Variables;
5
+ }, {
6
+ "/:initials": {
7
+ $get: {
8
+ input: {
9
+ param: {
10
+ initials: string;
11
+ };
12
+ };
13
+ output: string;
14
+ outputFormat: "body";
15
+ status: 200;
16
+ };
17
+ };
18
+ }, "/", "/:initials">;
@@ -4,6 +4,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4
4
  Bindings: Bindings;
5
5
  Variables: Variables;
6
6
  }, import("hono/types").MergeSchemaPath<{
7
+ "/:initials": {
8
+ $get: {
9
+ input: {
10
+ param: {
11
+ initials: string;
12
+ };
13
+ };
14
+ output: string;
15
+ outputFormat: "body";
16
+ status: 200;
17
+ };
18
+ };
19
+ }, "/avatars"> & import("hono/types").MergeSchemaPath<{
7
20
  "/": {
8
21
  $get: {
9
22
  input: {
@@ -723,20 +736,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
736
  email: string;
724
737
  send: "code" | "link";
725
738
  authParams: {
726
- state?: string | undefined;
727
739
  username?: string | undefined;
728
- act_as?: string | undefined;
740
+ audience?: string | undefined;
741
+ scope?: string | undefined;
729
742
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
730
743
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
731
- redirect_uri?: string | undefined;
732
- audience?: string | undefined;
744
+ state?: string | undefined;
745
+ prompt?: string | undefined;
746
+ ui_locales?: string | undefined;
733
747
  organization?: string | undefined;
748
+ redirect_uri?: string | undefined;
749
+ act_as?: string | undefined;
734
750
  nonce?: string | undefined;
735
- scope?: string | undefined;
736
- prompt?: string | undefined;
737
751
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
738
752
  code_challenge?: string | undefined;
739
- ui_locales?: string | undefined;
740
753
  max_age?: number | undefined;
741
754
  acr_values?: string | undefined;
742
755
  claims?: {
@@ -759,20 +772,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
759
772
  phone_number: string;
760
773
  send: "code" | "link";
761
774
  authParams: {
762
- state?: string | undefined;
763
775
  username?: string | undefined;
764
- act_as?: string | undefined;
776
+ audience?: string | undefined;
777
+ scope?: string | undefined;
765
778
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
766
779
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
767
- redirect_uri?: string | undefined;
768
- audience?: string | undefined;
780
+ state?: string | undefined;
781
+ prompt?: string | undefined;
782
+ ui_locales?: string | undefined;
769
783
  organization?: string | undefined;
784
+ redirect_uri?: string | undefined;
785
+ act_as?: string | undefined;
770
786
  nonce?: string | undefined;
771
- scope?: string | undefined;
772
- prompt?: string | undefined;
773
787
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
774
788
  code_challenge?: string | undefined;
775
- ui_locales?: string | undefined;
776
789
  max_age?: number | undefined;
777
790
  acr_values?: string | undefined;
778
791
  claims?: {
@@ -1001,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1001
1014
  client_id: string;
1002
1015
  username: string;
1003
1016
  otp: string;
1004
- realm: "email" | "sms";
1017
+ realm: "sms" | "email";
1005
1018
  } | {
1006
1019
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1007
1020
  subject_token: string;
@@ -1048,7 +1061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1048
1061
  client_id: string;
1049
1062
  username: string;
1050
1063
  otp: string;
1051
- realm: "email" | "sms";
1064
+ realm: "sms" | "email";
1052
1065
  } | {
1053
1066
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1054
1067
  subject_token: string;
@@ -1100,7 +1113,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1100
1113
  client_id: string;
1101
1114
  username: string;
1102
1115
  otp: string;
1103
- realm: "email" | "sms";
1116
+ realm: "sms" | "email";
1104
1117
  } | {
1105
1118
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1106
1119
  subject_token: string;
@@ -1147,7 +1160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1147
1160
  client_id: string;
1148
1161
  username: string;
1149
1162
  otp: string;
1150
- realm: "email" | "sms";
1163
+ realm: "sms" | "email";
1151
1164
  } | {
1152
1165
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1153
1166
  subject_token: string;
@@ -1207,7 +1220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1207
1220
  client_id: string;
1208
1221
  username: string;
1209
1222
  otp: string;
1210
- realm: "email" | "sms";
1223
+ realm: "sms" | "email";
1211
1224
  } | {
1212
1225
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1213
1226
  subject_token: string;
@@ -1254,7 +1267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1254
1267
  client_id: string;
1255
1268
  username: string;
1256
1269
  otp: string;
1257
- realm: "email" | "sms";
1270
+ realm: "sms" | "email";
1258
1271
  } | {
1259
1272
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1260
1273
  subject_token: string;
@@ -1309,7 +1322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1309
1322
  client_id: string;
1310
1323
  username: string;
1311
1324
  otp: string;
1312
- realm: "email" | "sms";
1325
+ realm: "sms" | "email";
1313
1326
  } | {
1314
1327
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1315
1328
  subject_token: string;
@@ -1356,7 +1369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1356
1369
  client_id: string;
1357
1370
  username: string;
1358
1371
  otp: string;
1359
- realm: "email" | "sms";
1372
+ realm: "sms" | "email";
1360
1373
  } | {
1361
1374
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1362
1375
  subject_token: string;
@@ -1411,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1411
1424
  client_id: string;
1412
1425
  username: string;
1413
1426
  otp: string;
1414
- realm: "email" | "sms";
1427
+ realm: "sms" | "email";
1415
1428
  } | {
1416
1429
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1417
1430
  subject_token: string;
@@ -1458,7 +1471,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1458
1471
  client_id: string;
1459
1472
  username: string;
1460
1473
  otp: string;
1461
- realm: "email" | "sms";
1474
+ realm: "sms" | "email";
1462
1475
  } | {
1463
1476
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1464
1477
  subject_token: string;
@@ -14,20 +14,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- state?: string | undefined;
18
17
  username?: string | undefined;
19
- act_as?: string | undefined;
18
+ audience?: string | undefined;
19
+ scope?: string | undefined;
20
20
  response_type?: AuthorizationResponseType | undefined;
21
21
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
22
- redirect_uri?: string | undefined;
23
- audience?: string | undefined;
22
+ state?: string | undefined;
23
+ prompt?: string | undefined;
24
+ ui_locales?: string | undefined;
24
25
  organization?: string | undefined;
26
+ redirect_uri?: string | undefined;
27
+ act_as?: string | undefined;
25
28
  nonce?: string | undefined;
26
- scope?: string | undefined;
27
- prompt?: string | undefined;
28
29
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
30
  code_challenge?: string | undefined;
30
- ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
33
33
  claims?: {
@@ -50,20 +50,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- state?: string | undefined;
54
53
  username?: string | undefined;
55
- act_as?: string | undefined;
54
+ audience?: string | undefined;
55
+ scope?: string | undefined;
56
56
  response_type?: AuthorizationResponseType | undefined;
57
57
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
58
- redirect_uri?: string | undefined;
59
- audience?: string | undefined;
58
+ state?: string | undefined;
59
+ prompt?: string | undefined;
60
+ ui_locales?: string | undefined;
60
61
  organization?: string | undefined;
62
+ redirect_uri?: string | undefined;
63
+ act_as?: string | undefined;
61
64
  nonce?: string | undefined;
62
- scope?: string | undefined;
63
- prompt?: string | undefined;
64
65
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
66
  code_challenge?: string | undefined;
66
- ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
69
69
  claims?: {
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
40
40
  client_id: string;
41
41
  username: string;
42
42
  otp: string;
43
- realm: "email" | "sms";
43
+ realm: "sms" | "email";
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: "email" | "sms";
90
+ realm: "sms" | "email";
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: "email" | "sms";
142
+ realm: "sms" | "email";
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: "email" | "sms";
189
+ realm: "sms" | "email";
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: "email" | "sms";
249
+ realm: "sms" | "email";
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: "email" | "sms";
296
+ realm: "sms" | "email";
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: "email" | "sms";
351
+ realm: "sms" | "email";
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: "email" | "sms";
398
+ realm: "sms" | "email";
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: "email" | "sms";
453
+ realm: "sms" | "email";
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: "email" | "sms";
500
+ realm: "sms" | "email";
501
501
  } | {
502
502
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
503
503
  subject_token: string;
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
34
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "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: "log" | "error" | "info" | "warn" | "debug";
664
+ level: "error" | "log" | "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: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
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: "auto" | "light" | "dark";
30
+ captcha_widget_theme: "dark" | "light" | "auto";
31
31
  error: string;
32
32
  header: string;
33
33
  icons: string;
@@ -78,12 +78,12 @@ 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" | "chip" | "none" | undefined;
81
+ logo_placement?: "widget" | "none" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
85
85
  logo_height: number;
86
- logo_position: "none" | "center" | "left" | "right";
86
+ logo_position: "center" | "left" | "right" | "none";
87
87
  logo_url: string;
88
88
  social_buttons_layout: "bottom" | "top";
89
89
  };
@@ -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: "auto" | "light" | "dark";
120
+ captcha_widget_theme: "dark" | "light" | "auto";
121
121
  error: string;
122
122
  header: string;
123
123
  icons: string;
@@ -168,12 +168,12 @@ 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" | "chip" | "none" | undefined;
171
+ logo_placement?: "widget" | "none" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
175
175
  logo_height: number;
176
- logo_position: "none" | "center" | "left" | "right";
176
+ logo_position: "center" | "left" | "right" | "none";
177
177
  logo_url: string;
178
178
  social_buttons_layout: "bottom" | "top";
179
179
  };
@@ -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: "auto" | "light" | "dark";
199
+ captcha_widget_theme: "dark" | "light" | "auto";
200
200
  error: string;
201
201
  header: string;
202
202
  icons: string;
@@ -247,12 +247,12 @@ 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" | "chip" | "none" | undefined;
250
+ logo_placement?: "widget" | "none" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
254
254
  logo_height: number;
255
- logo_position: "none" | "center" | "left" | "right";
255
+ logo_position: "center" | "left" | "right" | "none";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
286
286
  font?: {
287
287
  url: string;
288
288
  } | undefined;
289
- dark_mode?: "auto" | "light" | "dark" | undefined;
289
+ dark_mode?: "dark" | "light" | "auto" | 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?: "auto" | "light" | "dark" | undefined;
319
+ dark_mode?: "dark" | "light" | "auto" | 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?: "auto" | "light" | "dark" | undefined;
338
+ dark_mode?: "dark" | "light" | "auto" | 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?: "identifier" | "signup" | "password" | "login" | undefined;
412
+ screen?: "password" | "login" | "identifier" | "signup" | 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?: "auto" | "light" | "dark" | undefined;
429
+ dark_mode?: "dark" | "light" | "auto" | 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: "auto" | "light" | "dark";
447
+ captcha_widget_theme: "dark" | "light" | "auto";
448
448
  error: string;
449
449
  header: string;
450
450
  icons: string;
@@ -495,12 +495,12 @@ 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" | "chip" | "none" | undefined;
498
+ logo_placement?: "widget" | "none" | "chip" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";
502
502
  logo_height: number;
503
- logo_position: "none" | "center" | "left" | "right";
503
+ logo_position: "center" | "left" | "right" | "none";
504
504
  logo_url: string;
505
505
  social_buttons_layout: "bottom" | "top";
506
506
  } | undefined;
@@ -760,7 +760,7 @@ export declare const clientRoutes: OpenAPIHono<{
760
760
  active?: boolean | undefined;
761
761
  } | undefined;
762
762
  signup?: {
763
- status?: "optional" | "required" | "disabled" | undefined;
763
+ status?: "optional" | "disabled" | "required" | 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" | "required" | "disabled" | undefined;
780
+ status?: "optional" | "disabled" | "required" | 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" | "required" | "disabled" | undefined;
797
+ status?: "optional" | "disabled" | "required" | 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?: "button" | "both" | "autofill" | undefined;
810
+ challenge_ui?: "both" | "autofill" | "button" | 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" | "required" | "disabled" | undefined;
917
+ status?: "optional" | "disabled" | "required" | 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" | "required" | "disabled" | undefined;
934
+ status?: "optional" | "disabled" | "required" | 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" | "required" | "disabled" | undefined;
951
+ status?: "optional" | "disabled" | "required" | 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?: "button" | "both" | "autofill" | undefined;
964
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
965
965
  local_enrollment_enabled?: boolean | undefined;
966
966
  progressive_enrollment_enabled?: boolean | undefined;
967
967
  } | undefined;