authhero 9.5.0 → 9.6.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 (38) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +138 -138
  3. package/dist/authhero.d.ts +100 -100
  4. package/dist/authhero.mjs +9172 -9053
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/password.d.ts +1 -1
  7. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  8. package/dist/types/hooks/addDataHooks.d.ts +6 -0
  9. package/dist/types/index.d.ts +100 -100
  10. package/dist/types/routes/auth-api/authorize.d.ts +3 -3
  11. package/dist/types/routes/auth-api/index.d.ts +19 -19
  12. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  13. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  14. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  15. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  16. package/dist/types/routes/management-api/branding.d.ts +3 -3
  17. package/dist/types/routes/management-api/clients.d.ts +16 -16
  18. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  19. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  20. package/dist/types/routes/management-api/forms.d.ts +126 -126
  21. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  22. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  23. package/dist/types/routes/management-api/index.d.ts +68 -68
  24. package/dist/types/routes/management-api/logs.d.ts +4 -4
  25. package/dist/types/routes/management-api/organizations.d.ts +3 -3
  26. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  27. package/dist/types/routes/management-api/roles.d.ts +1 -1
  28. package/dist/types/routes/management-api/tenants.d.ts +28 -28
  29. package/dist/types/routes/management-api/themes.d.ts +6 -6
  30. package/dist/types/routes/management-api/users.d.ts +2 -2
  31. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  32. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  33. package/dist/types/routes/universal-login/index.d.ts +6 -6
  34. package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
  35. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  36. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  37. package/dist/types/utils/email.d.ts +14 -0
  38. package/package.json +6 -6
@@ -211,7 +211,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
211
211
  message: string;
212
212
  };
213
213
  outputFormat: "json";
214
- status: 400;
214
+ status: 409;
215
215
  } | {
216
216
  input: {
217
217
  query: {
@@ -222,7 +222,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
222
222
  message: string;
223
223
  };
224
224
  outputFormat: "json";
225
- status: 403;
225
+ status: 400;
226
226
  } | {
227
227
  input: {
228
228
  query: {
@@ -233,7 +233,7 @@ export declare const authorizeRoutes: OpenAPIHono<{
233
233
  message: string;
234
234
  };
235
235
  outputFormat: "json";
236
- status: 409;
236
+ status: 403;
237
237
  };
238
238
  };
239
239
  }, "/">;
@@ -676,7 +676,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
676
676
  message: string;
677
677
  };
678
678
  outputFormat: "json";
679
- status: 400;
679
+ status: 409;
680
680
  } | {
681
681
  input: {
682
682
  query: {
@@ -687,7 +687,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
687
687
  message: string;
688
688
  };
689
689
  outputFormat: "json";
690
- status: 403;
690
+ status: 400;
691
691
  } | {
692
692
  input: {
693
693
  query: {
@@ -698,7 +698,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
698
698
  message: string;
699
699
  };
700
700
  outputFormat: "json";
701
- status: 409;
701
+ status: 403;
702
702
  };
703
703
  };
704
704
  }, "/authorize"> & import("hono/types").MergeSchemaPath<{
@@ -736,17 +736,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
736
736
  email: string;
737
737
  send: "code" | "link";
738
738
  authParams: {
739
- prompt?: string | undefined;
740
739
  username?: string | undefined;
741
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
742
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
743
- scope?: string | undefined;
744
740
  audience?: string | undefined;
741
+ state?: string | undefined;
742
+ scope?: string | undefined;
745
743
  act_as?: string | undefined;
744
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
745
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
746
746
  redirect_uri?: string | undefined;
747
747
  organization?: string | undefined;
748
- state?: string | undefined;
749
748
  nonce?: string | undefined;
749
+ prompt?: string | undefined;
750
750
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
751
  code_challenge?: string | undefined;
752
752
  ui_locales?: string | undefined;
@@ -772,17 +772,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
772
772
  phone_number: string;
773
773
  send: "code" | "link";
774
774
  authParams: {
775
- prompt?: string | undefined;
776
775
  username?: string | undefined;
777
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
778
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
779
- scope?: string | undefined;
780
776
  audience?: string | undefined;
777
+ state?: string | undefined;
778
+ scope?: string | undefined;
781
779
  act_as?: string | undefined;
780
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
781
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
782
782
  redirect_uri?: string | undefined;
783
783
  organization?: string | undefined;
784
- state?: string | undefined;
785
784
  nonce?: string | undefined;
785
+ prompt?: string | undefined;
786
786
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
787
  code_challenge?: string | undefined;
788
788
  ui_locales?: string | undefined;
@@ -916,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
916
916
  input: {
917
917
  form: {
918
918
  token: string;
919
- token_type_hint?: "refresh_token" | "access_token" | undefined;
919
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
920
920
  client_id?: string | undefined;
921
921
  client_secret?: string | undefined;
922
922
  };
923
923
  } & {
924
924
  json: {
925
925
  token: string;
926
- token_type_hint?: "refresh_token" | "access_token" | undefined;
926
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
927
927
  client_id?: string | undefined;
928
928
  client_secret?: string | undefined;
929
929
  };
@@ -935,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
935
935
  input: {
936
936
  form: {
937
937
  token: string;
938
- token_type_hint?: "refresh_token" | "access_token" | undefined;
938
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
939
939
  client_id?: string | undefined;
940
940
  client_secret?: string | undefined;
941
941
  };
942
942
  } & {
943
943
  json: {
944
944
  token: string;
945
- token_type_hint?: "refresh_token" | "access_token" | undefined;
945
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
946
946
  client_id?: string | undefined;
947
947
  client_secret?: string | undefined;
948
948
  };
@@ -957,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
957
957
  input: {
958
958
  form: {
959
959
  token: string;
960
- token_type_hint?: "refresh_token" | "access_token" | undefined;
960
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
961
961
  client_id?: string | undefined;
962
962
  client_secret?: string | undefined;
963
963
  };
964
964
  } & {
965
965
  json: {
966
966
  token: string;
967
- token_type_hint?: "refresh_token" | "access_token" | undefined;
967
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
968
968
  client_id?: string | undefined;
969
969
  client_secret?: string | undefined;
970
970
  };
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 302;
35
+ status: 400;
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: 400;
49
+ status: 302;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -14,17 +14,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- prompt?: string | undefined;
18
17
  username?: string | undefined;
19
- response_type?: AuthorizationResponseType | undefined;
20
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
21
- scope?: string | undefined;
22
18
  audience?: string | undefined;
19
+ state?: string | undefined;
20
+ scope?: string | undefined;
23
21
  act_as?: string | undefined;
22
+ response_type?: AuthorizationResponseType | undefined;
23
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
24
24
  redirect_uri?: string | undefined;
25
25
  organization?: string | undefined;
26
- state?: string | undefined;
27
26
  nonce?: 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
- prompt?: string | undefined;
54
53
  username?: string | undefined;
55
- response_type?: AuthorizationResponseType | undefined;
56
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
57
- scope?: string | undefined;
58
54
  audience?: string | undefined;
55
+ state?: string | undefined;
56
+ scope?: string | undefined;
59
57
  act_as?: string | undefined;
58
+ response_type?: AuthorizationResponseType | undefined;
59
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
60
60
  redirect_uri?: string | undefined;
61
61
  organization?: string | undefined;
62
- state?: string | undefined;
63
62
  nonce?: 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;
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
18
18
  scope?: string | undefined;
19
19
  grant_types?: string[] | undefined;
20
20
  response_types?: string[] | undefined;
21
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
21
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
22
22
  jwks_uri?: string | undefined;
23
23
  jwks?: Record<string, unknown> | undefined;
24
24
  software_id?: string | undefined;
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
107
107
  scope?: string | undefined;
108
108
  grant_types?: string[] | undefined;
109
109
  response_types?: string[] | undefined;
110
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
110
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: 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
  };
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
370
370
  };
371
371
  output: {};
372
372
  outputFormat: string;
373
- status: 204;
373
+ status: 400;
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: 400;
386
+ status: 204;
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?: "login" | "signup" | "identifier" | "password" | undefined;
412
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -78,7 +78,7 @@ export declare const clientRoutes: OpenAPIHono<{
78
78
  addons?: {
79
79
  [x: string]: any;
80
80
  } | undefined;
81
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
81
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
82
82
  client_metadata?: {
83
83
  [x: string]: string;
84
84
  } | undefined;
@@ -180,7 +180,7 @@ export declare const clientRoutes: OpenAPIHono<{
180
180
  addons?: {
181
181
  [x: string]: any;
182
182
  } | undefined;
183
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
183
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
184
184
  client_metadata?: {
185
185
  [x: string]: string;
186
186
  } | undefined;
@@ -282,7 +282,7 @@ export declare const clientRoutes: OpenAPIHono<{
282
282
  addons?: {
283
283
  [x: string]: any;
284
284
  } | undefined;
285
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
285
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
286
286
  client_metadata?: {
287
287
  [x: string]: string;
288
288
  } | undefined;
@@ -399,7 +399,7 @@ export declare const clientRoutes: OpenAPIHono<{
399
399
  addons?: {
400
400
  [x: string]: any;
401
401
  } | undefined;
402
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
402
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
403
403
  client_metadata?: {
404
404
  [x: string]: string;
405
405
  } | undefined;
@@ -517,7 +517,7 @@ export declare const clientRoutes: OpenAPIHono<{
517
517
  custom_login_page_preview?: string | undefined;
518
518
  form_template?: string | undefined;
519
519
  addons?: Record<string, any> | undefined;
520
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
520
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
521
521
  client_metadata?: Record<string, string> | undefined;
522
522
  hide_sign_up_disabled_error?: boolean | undefined;
523
523
  mobile?: Record<string, any> | undefined;
@@ -603,7 +603,7 @@ export declare const clientRoutes: OpenAPIHono<{
603
603
  addons?: {
604
604
  [x: string]: any;
605
605
  } | undefined;
606
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
606
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
607
607
  client_metadata?: {
608
608
  [x: string]: string;
609
609
  } | undefined;
@@ -700,7 +700,7 @@ export declare const clientRoutes: OpenAPIHono<{
700
700
  custom_login_page_preview?: string | undefined;
701
701
  form_template?: string | undefined;
702
702
  addons?: Record<string, any> | undefined;
703
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
703
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
704
704
  client_metadata?: Record<string, string> | undefined;
705
705
  hide_sign_up_disabled_error?: boolean | undefined;
706
706
  mobile?: Record<string, any> | undefined;
@@ -786,7 +786,7 @@ export declare const clientRoutes: OpenAPIHono<{
786
786
  addons?: {
787
787
  [x: string]: any;
788
788
  } | undefined;
789
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
789
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
790
790
  client_metadata?: {
791
791
  [x: string]: string;
792
792
  } | undefined;
@@ -912,7 +912,7 @@ export declare const clientRoutes: OpenAPIHono<{
912
912
  active?: boolean | undefined;
913
913
  } | undefined;
914
914
  signup?: {
915
- status?: "optional" | "required" | "disabled" | undefined;
915
+ status?: "required" | "optional" | "disabled" | undefined;
916
916
  verification?: {
917
917
  active?: boolean | undefined;
918
918
  } | undefined;
@@ -929,7 +929,7 @@ export declare const clientRoutes: OpenAPIHono<{
929
929
  active?: boolean | undefined;
930
930
  } | undefined;
931
931
  signup?: {
932
- status?: "optional" | "required" | "disabled" | undefined;
932
+ status?: "required" | "optional" | "disabled" | undefined;
933
933
  } | undefined;
934
934
  validation?: {
935
935
  max_length?: number | undefined;
@@ -946,7 +946,7 @@ export declare const clientRoutes: OpenAPIHono<{
946
946
  active?: boolean | undefined;
947
947
  } | undefined;
948
948
  signup?: {
949
- status?: "optional" | "required" | "disabled" | undefined;
949
+ status?: "required" | "optional" | "disabled" | undefined;
950
950
  } | undefined;
951
951
  } | undefined;
952
952
  } | undefined;
@@ -959,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
959
959
  } | undefined;
960
960
  } | undefined;
961
961
  passkey_options?: {
962
- challenge_ui?: "button" | "both" | "autofill" | undefined;
962
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
963
963
  local_enrollment_enabled?: boolean | undefined;
964
964
  progressive_enrollment_enabled?: boolean | undefined;
965
965
  } | undefined;
@@ -1070,7 +1070,7 @@ export declare const clientRoutes: OpenAPIHono<{
1070
1070
  active?: boolean | undefined;
1071
1071
  } | undefined;
1072
1072
  signup?: {
1073
- status?: "optional" | "required" | "disabled" | undefined;
1073
+ status?: "required" | "optional" | "disabled" | undefined;
1074
1074
  verification?: {
1075
1075
  active?: boolean | undefined;
1076
1076
  } | undefined;
@@ -1087,7 +1087,7 @@ export declare const clientRoutes: OpenAPIHono<{
1087
1087
  active?: boolean | undefined;
1088
1088
  } | undefined;
1089
1089
  signup?: {
1090
- status?: "optional" | "required" | "disabled" | undefined;
1090
+ status?: "required" | "optional" | "disabled" | undefined;
1091
1091
  } | undefined;
1092
1092
  validation?: {
1093
1093
  max_length?: number | undefined;
@@ -1104,7 +1104,7 @@ export declare const clientRoutes: OpenAPIHono<{
1104
1104
  active?: boolean | undefined;
1105
1105
  } | undefined;
1106
1106
  signup?: {
1107
- status?: "optional" | "required" | "disabled" | undefined;
1107
+ status?: "required" | "optional" | "disabled" | undefined;
1108
1108
  } | undefined;
1109
1109
  } | undefined;
1110
1110
  } | undefined;
@@ -1117,7 +1117,7 @@ export declare const clientRoutes: OpenAPIHono<{
1117
1117
  } | undefined;
1118
1118
  } | undefined;
1119
1119
  passkey_options?: {
1120
- challenge_ui?: "button" | "both" | "autofill" | undefined;
1120
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
1121
1121
  local_enrollment_enabled?: boolean | undefined;
1122
1122
  progressive_enrollment_enabled?: boolean | undefined;
1123
1123
  } | undefined;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16
16
  body: string;
17
17
  from: string;
18
18
  subject: string;
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
33
33
  };
34
34
  } & {
35
35
  json: {
36
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
36
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
37
37
  body: string;
38
38
  from: string;
39
39
  subject: string;
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
45
45
  };
46
46
  };
47
47
  output: {
48
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
48
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
49
49
  body: string;
50
50
  from: string;
51
51
  subject: string;
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
68
68
  };
69
69
  };
70
70
  output: {
71
- name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
71
+ name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
72
72
  body: string;
73
73
  subject: string;
74
74
  }[];
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
81
81
  $get: {
82
82
  input: {
83
83
  param: {
84
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
84
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
85
85
  };
86
86
  } & {
87
87
  header: {
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
94
94
  } | {
95
95
  input: {
96
96
  param: {
97
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
97
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
98
98
  };
99
99
  } & {
100
100
  header: {
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
102
102
  };
103
103
  };
104
104
  output: {
105
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
105
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
106
106
  body: string;
107
107
  from: string;
108
108
  subject: string;
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
121
121
  $put: {
122
122
  input: {
123
123
  param: {
124
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
124
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
125
125
  };
126
126
  } & {
127
127
  header: {
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
129
129
  };
130
130
  } & {
131
131
  json: {
132
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
132
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
133
133
  body: string;
134
134
  subject: string;
135
135
  syntax?: "liquid" | undefined;
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
141
141
  };
142
142
  };
143
143
  output: {
144
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
144
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
145
145
  body: string;
146
146
  from: string;
147
147
  subject: string;
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
160
160
  $patch: {
161
161
  input: {
162
162
  param: {
163
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
163
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
164
164
  };
165
165
  } & {
166
166
  header: {
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
168
168
  };
169
169
  } & {
170
170
  json: {
171
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
171
+ template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
172
172
  body?: string | undefined;
173
173
  from?: string | undefined;
174
174
  subject?: string | undefined;
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
185
185
  } | {
186
186
  input: {
187
187
  param: {
188
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
188
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
189
189
  };
190
190
  } & {
191
191
  header: {
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
193
193
  };
194
194
  } & {
195
195
  json: {
196
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
196
+ template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
197
197
  body?: string | undefined;
198
198
  from?: string | undefined;
199
199
  subject?: string | undefined;
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
205
205
  };
206
206
  };
207
207
  output: {
208
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
208
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
209
209
  body: string;
210
210
  from: string;
211
211
  subject: string;
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
224
224
  $delete: {
225
225
  input: {
226
226
  param: {
227
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
227
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
228
228
  };
229
229
  } & {
230
230
  header: {
@@ -233,11 +233,11 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
233
233
  };
234
234
  output: {};
235
235
  outputFormat: string;
236
- status: 404;
236
+ status: 204;
237
237
  } | {
238
238
  input: {
239
239
  param: {
240
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
240
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
241
241
  };
242
242
  } & {
243
243
  header: {
@@ -246,7 +246,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
246
246
  };
247
247
  output: {};
248
248
  outputFormat: string;
249
- status: 204;
249
+ status: 404;
250
250
  };
251
251
  };
252
252
  } & {
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
254
254
  $post: {
255
255
  input: {
256
256
  param: {
257
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
257
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
258
258
  };
259
259
  } & {
260
260
  header: {