authhero 9.4.1 → 9.6.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 (44) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-c2744f87.entry.js +1 -0
  4. package/dist/authhero.cjs +144 -144
  5. package/dist/authhero.d.ts +241 -241
  6. package/dist/authhero.mjs +13388 -13286
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +7 -7
  9. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  10. package/dist/types/hooks/formhooks.d.ts +1 -1
  11. package/dist/types/i18n/index.d.ts +8 -0
  12. package/dist/types/index.d.ts +241 -241
  13. package/dist/types/routes/auth-api/index.d.ts +36 -36
  14. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  15. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  16. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  17. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  18. package/dist/types/routes/auth-api/token.d.ts +10 -10
  19. package/dist/types/routes/management-api/branding.d.ts +15 -15
  20. package/dist/types/routes/management-api/clients.d.ts +16 -16
  21. package/dist/types/routes/management-api/connections.d.ts +21 -21
  22. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  23. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  24. package/dist/types/routes/management-api/forms.d.ts +126 -126
  25. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  26. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  27. package/dist/types/routes/management-api/index.d.ts +213 -213
  28. package/dist/types/routes/management-api/logs.d.ts +4 -4
  29. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  30. package/dist/types/routes/management-api/roles.d.ts +1 -1
  31. package/dist/types/routes/management-api/tenants.d.ts +28 -28
  32. package/dist/types/routes/management-api/themes.d.ts +6 -6
  33. package/dist/types/routes/management-api/users.d.ts +2 -2
  34. package/dist/types/routes/universal-login/common.d.ts +16 -16
  35. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  36. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  37. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  38. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  39. package/dist/types/routes/universal-login/index.d.ts +8 -8
  40. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  41. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  42. package/dist/types/utils/locale.d.ts +29 -11
  43. package/package.json +6 -6
  44. package/dist/assets/u/widget/p-b5f14fa6.entry.js +0 -1
@@ -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;
@@ -86,7 +86,7 @@ export declare const connectionRoutes: OpenAPIHono<{
86
86
  active?: boolean | undefined;
87
87
  } | undefined;
88
88
  signup?: {
89
- status?: "optional" | "required" | "disabled" | undefined;
89
+ status?: "required" | "optional" | "disabled" | undefined;
90
90
  verification?: {
91
91
  active?: boolean | undefined;
92
92
  } | undefined;
@@ -103,7 +103,7 @@ export declare const connectionRoutes: OpenAPIHono<{
103
103
  active?: boolean | undefined;
104
104
  } | undefined;
105
105
  signup?: {
106
- status?: "optional" | "required" | "disabled" | undefined;
106
+ status?: "required" | "optional" | "disabled" | undefined;
107
107
  } | undefined;
108
108
  validation?: {
109
109
  max_length?: number | undefined;
@@ -120,7 +120,7 @@ export declare const connectionRoutes: OpenAPIHono<{
120
120
  active?: boolean | undefined;
121
121
  } | undefined;
122
122
  signup?: {
123
- status?: "optional" | "required" | "disabled" | undefined;
123
+ status?: "required" | "optional" | "disabled" | undefined;
124
124
  } | undefined;
125
125
  } | undefined;
126
126
  } | undefined;
@@ -133,7 +133,7 @@ export declare const connectionRoutes: OpenAPIHono<{
133
133
  } | undefined;
134
134
  } | undefined;
135
135
  passkey_options?: {
136
- challenge_ui?: "button" | "both" | "autofill" | undefined;
136
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
137
137
  local_enrollment_enabled?: boolean | undefined;
138
138
  progressive_enrollment_enabled?: boolean | undefined;
139
139
  } | undefined;
@@ -224,7 +224,7 @@ export declare const connectionRoutes: OpenAPIHono<{
224
224
  active?: boolean | undefined;
225
225
  } | undefined;
226
226
  signup?: {
227
- status?: "optional" | "required" | "disabled" | undefined;
227
+ status?: "required" | "optional" | "disabled" | undefined;
228
228
  verification?: {
229
229
  active?: boolean | undefined;
230
230
  } | undefined;
@@ -241,7 +241,7 @@ export declare const connectionRoutes: OpenAPIHono<{
241
241
  active?: boolean | undefined;
242
242
  } | undefined;
243
243
  signup?: {
244
- status?: "optional" | "required" | "disabled" | undefined;
244
+ status?: "required" | "optional" | "disabled" | undefined;
245
245
  } | undefined;
246
246
  validation?: {
247
247
  max_length?: number | undefined;
@@ -258,7 +258,7 @@ export declare const connectionRoutes: OpenAPIHono<{
258
258
  active?: boolean | undefined;
259
259
  } | undefined;
260
260
  signup?: {
261
- status?: "optional" | "required" | "disabled" | undefined;
261
+ status?: "required" | "optional" | "disabled" | undefined;
262
262
  } | undefined;
263
263
  } | undefined;
264
264
  } | undefined;
@@ -271,7 +271,7 @@ export declare const connectionRoutes: OpenAPIHono<{
271
271
  } | undefined;
272
272
  } | undefined;
273
273
  passkey_options?: {
274
- challenge_ui?: "button" | "both" | "autofill" | undefined;
274
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
275
275
  local_enrollment_enabled?: boolean | undefined;
276
276
  progressive_enrollment_enabled?: boolean | undefined;
277
277
  } | undefined;
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
378
378
  active?: boolean | undefined;
379
379
  } | undefined;
380
380
  signup?: {
381
- status?: "optional" | "required" | "disabled" | undefined;
381
+ status?: "required" | "optional" | "disabled" | undefined;
382
382
  verification?: {
383
383
  active?: boolean | undefined;
384
384
  } | undefined;
@@ -395,7 +395,7 @@ export declare const connectionRoutes: OpenAPIHono<{
395
395
  active?: boolean | undefined;
396
396
  } | undefined;
397
397
  signup?: {
398
- status?: "optional" | "required" | "disabled" | undefined;
398
+ status?: "required" | "optional" | "disabled" | undefined;
399
399
  } | undefined;
400
400
  validation?: {
401
401
  max_length?: number | undefined;
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
412
412
  active?: boolean | undefined;
413
413
  } | undefined;
414
414
  signup?: {
415
- status?: "optional" | "required" | "disabled" | undefined;
415
+ status?: "required" | "optional" | "disabled" | undefined;
416
416
  } | undefined;
417
417
  } | undefined;
418
418
  } | undefined;
@@ -425,7 +425,7 @@ export declare const connectionRoutes: OpenAPIHono<{
425
425
  } | undefined;
426
426
  } | undefined;
427
427
  passkey_options?: {
428
- challenge_ui?: "button" | "both" | "autofill" | undefined;
428
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
429
429
  local_enrollment_enabled?: boolean | undefined;
430
430
  progressive_enrollment_enabled?: boolean | undefined;
431
431
  } | undefined;
@@ -561,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
561
561
  active?: boolean | undefined;
562
562
  } | undefined;
563
563
  signup?: {
564
- status?: "optional" | "required" | "disabled" | undefined;
564
+ status?: "required" | "optional" | "disabled" | undefined;
565
565
  verification?: {
566
566
  active?: boolean | undefined;
567
567
  } | undefined;
@@ -578,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
578
578
  active?: boolean | undefined;
579
579
  } | undefined;
580
580
  signup?: {
581
- status?: "optional" | "required" | "disabled" | undefined;
581
+ status?: "required" | "optional" | "disabled" | undefined;
582
582
  } | undefined;
583
583
  validation?: {
584
584
  max_length?: number | undefined;
@@ -595,7 +595,7 @@ export declare const connectionRoutes: OpenAPIHono<{
595
595
  active?: boolean | undefined;
596
596
  } | undefined;
597
597
  signup?: {
598
- status?: "optional" | "required" | "disabled" | undefined;
598
+ status?: "required" | "optional" | "disabled" | undefined;
599
599
  } | undefined;
600
600
  } | undefined;
601
601
  } | undefined;
@@ -608,7 +608,7 @@ export declare const connectionRoutes: OpenAPIHono<{
608
608
  } | undefined;
609
609
  } | undefined;
610
610
  passkey_options?: {
611
- challenge_ui?: "button" | "both" | "autofill" | undefined;
611
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
612
612
  local_enrollment_enabled?: boolean | undefined;
613
613
  progressive_enrollment_enabled?: boolean | undefined;
614
614
  } | undefined;
@@ -723,7 +723,7 @@ export declare const connectionRoutes: OpenAPIHono<{
723
723
  active?: boolean | undefined;
724
724
  } | undefined;
725
725
  signup?: {
726
- status?: "optional" | "required" | "disabled" | undefined;
726
+ status?: "required" | "optional" | "disabled" | undefined;
727
727
  verification?: {
728
728
  active?: boolean | undefined;
729
729
  } | undefined;
@@ -740,7 +740,7 @@ export declare const connectionRoutes: OpenAPIHono<{
740
740
  active?: boolean | undefined;
741
741
  } | undefined;
742
742
  signup?: {
743
- status?: "optional" | "required" | "disabled" | undefined;
743
+ status?: "required" | "optional" | "disabled" | undefined;
744
744
  } | undefined;
745
745
  validation?: {
746
746
  max_length?: number | undefined;
@@ -757,7 +757,7 @@ export declare const connectionRoutes: OpenAPIHono<{
757
757
  active?: boolean | undefined;
758
758
  } | undefined;
759
759
  signup?: {
760
- status?: "optional" | "required" | "disabled" | undefined;
760
+ status?: "required" | "optional" | "disabled" | undefined;
761
761
  } | undefined;
762
762
  } | undefined;
763
763
  } | undefined;
@@ -770,7 +770,7 @@ export declare const connectionRoutes: OpenAPIHono<{
770
770
  } | undefined;
771
771
  } | undefined;
772
772
  passkey_options?: {
773
- challenge_ui?: "button" | "both" | "autofill" | undefined;
773
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
774
774
  local_enrollment_enabled?: boolean | undefined;
775
775
  progressive_enrollment_enabled?: boolean | undefined;
776
776
  } | undefined;
@@ -873,7 +873,7 @@ export declare const connectionRoutes: OpenAPIHono<{
873
873
  };
874
874
  } | {
875
875
  mode: "inline";
876
- status: "error" | "success";
876
+ status: "success" | "error";
877
877
  connection_id: string;
878
878
  connection_name: string;
879
879
  strategy: string;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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?: "verify_email" | "password_reset" | "change_password" | "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?: "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;
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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?: "verify_email" | "password_reset" | "change_password" | "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?: "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;
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
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: "verify_email" | "password_reset" | "change_password" | "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: "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";
228
228
  };
229
229
  } & {
230
230
  header: {
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
237
237
  } | {
238
238
  input: {
239
239
  param: {
240
- templateName: "verify_email" | "password_reset" | "change_password" | "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: "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";
241
241
  };
242
242
  } & {
243
243
  header: {
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
254
254
  $post: {
255
255
  input: {
256
256
  param: {
257
- templateName: "verify_email" | "password_reset" | "change_password" | "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: "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";
258
258
  };
259
259
  } & {
260
260
  header: {
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
30
30
  log_type: string;
31
31
  category: "user_action" | "admin_action" | "system" | "api";
32
32
  actor: {
33
- type: "user" | "api_key" | "client_credentials" | "system" | "admin";
33
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;