authhero 9.28.2 → 9.29.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 (68) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +171 -442
  3. package/dist/authhero.d.ts +296 -247
  4. package/dist/authhero.mjs +26866 -54765
  5. package/dist/mfa-attempts-CQiD6hxP.mjs +26774 -0
  6. package/dist/mfa-attempts-DwATCXqC.js +254 -0
  7. package/dist/passkey-enrollment-D_WVyvv2.js +1 -0
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/common.d.ts +4 -0
  10. package/dist/types/authentication-flows/mfa-attempts.d.ts +45 -0
  11. package/dist/types/authentication-flows/mfa.d.ts +20 -5
  12. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  13. package/dist/types/generated/locale-types.d.ts +6 -0
  14. package/dist/types/helpers/client.d.ts +2 -0
  15. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  16. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  17. package/dist/types/helpers/session-mfa.d.ts +29 -0
  18. package/dist/types/hooks/post-user-login.d.ts +13 -0
  19. package/dist/types/index.d.ts +275 -247
  20. package/dist/types/routes/auth-api/account.d.ts +2 -2
  21. package/dist/types/routes/auth-api/device.d.ts +8 -8
  22. package/dist/types/routes/auth-api/index.d.ts +29 -29
  23. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  24. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  25. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  26. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  27. package/dist/types/routes/management-api/action-triggers.d.ts +4 -4
  28. package/dist/types/routes/management-api/actions.d.ts +13 -13
  29. package/dist/types/routes/management-api/branding.d.ts +19 -19
  30. package/dist/types/routes/management-api/clients.d.ts +4 -4
  31. package/dist/types/routes/management-api/connections.d.ts +14 -14
  32. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  33. package/dist/types/routes/management-api/emails.d.ts +6 -6
  34. package/dist/types/routes/management-api/failed-events.d.ts +4 -4
  35. package/dist/types/routes/management-api/flows.d.ts +8 -8
  36. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  37. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  38. package/dist/types/routes/management-api/hooks.d.ts +35 -35
  39. package/dist/types/routes/management-api/index.d.ts +231 -203
  40. package/dist/types/routes/management-api/keys.d.ts +8 -8
  41. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  42. package/dist/types/routes/management-api/logs.d.ts +4 -4
  43. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  44. package/dist/types/routes/management-api/organizations.d.ts +8 -8
  45. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  46. package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
  47. package/dist/types/routes/management-api/roles.d.ts +6 -6
  48. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  49. package/dist/types/routes/management-api/sessions.d.ts +7 -0
  50. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  51. package/dist/types/routes/management-api/tenant-operations.d.ts +9 -9
  52. package/dist/types/routes/management-api/tenants.d.ts +18 -18
  53. package/dist/types/routes/management-api/themes.d.ts +9 -9
  54. package/dist/types/routes/management-api/users.d.ts +30 -9
  55. package/dist/types/routes/saml/index.d.ts +6 -6
  56. package/dist/types/routes/saml/samlp.d.ts +6 -6
  57. package/dist/types/routes/universal-login/common.d.ts +27 -20
  58. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  59. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  60. package/dist/types/routes/universal-login/index.d.ts +4 -4
  61. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  62. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  63. package/dist/types/state-machines/login-session.d.ts +19 -1
  64. package/dist/types/types/AuthHeroConfig.d.ts +9 -0
  65. package/dist/types/types/Hooks.d.ts +10 -0
  66. package/dist/types/utils/totp.d.ts +6 -1
  67. package/package.json +6 -6
  68. package/dist/passkey-enrollment-CB7HjMH_.js +0 -1
@@ -77,13 +77,13 @@ export declare const brandingRoutes: OpenAPIHono<{
77
77
  page_background: {
78
78
  background_color: string;
79
79
  background_image_url: string;
80
- page_layout: "center" | "left" | "right";
80
+ page_layout: "left" | "right" | "center";
81
81
  logo_placement?: "none" | "widget" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
- header_text_alignment: "center" | "left" | "right";
84
+ header_text_alignment: "left" | "right" | "center";
85
85
  logo_height: number;
86
- logo_position: "none" | "center" | "left" | "right";
86
+ logo_position: "none" | "left" | "right" | "center";
87
87
  logo_url: string;
88
88
  social_buttons_layout: "bottom" | "top";
89
89
  };
@@ -167,13 +167,13 @@ export declare const brandingRoutes: OpenAPIHono<{
167
167
  page_background: {
168
168
  background_color: string;
169
169
  background_image_url: string;
170
- page_layout: "center" | "left" | "right";
170
+ page_layout: "left" | "right" | "center";
171
171
  logo_placement?: "none" | "widget" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
- header_text_alignment: "center" | "left" | "right";
174
+ header_text_alignment: "left" | "right" | "center";
175
175
  logo_height: number;
176
- logo_position: "none" | "center" | "left" | "right";
176
+ logo_position: "none" | "left" | "right" | "center";
177
177
  logo_url: string;
178
178
  social_buttons_layout: "bottom" | "top";
179
179
  };
@@ -246,13 +246,13 @@ export declare const brandingRoutes: OpenAPIHono<{
246
246
  page_background: {
247
247
  background_color: string;
248
248
  background_image_url: string;
249
- page_layout: "center" | "left" | "right";
249
+ page_layout: "left" | "right" | "center";
250
250
  logo_placement?: "none" | "widget" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
- header_text_alignment: "center" | "left" | "right";
253
+ header_text_alignment: "left" | "right" | "center";
254
254
  logo_height: number;
255
- logo_position: "none" | "center" | "left" | "right";
255
+ logo_position: "none" | "left" | "right" | "center";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -287,7 +287,7 @@ export declare const brandingRoutes: OpenAPIHono<{
287
287
  url: string;
288
288
  } | undefined;
289
289
  dark_mode?: "dark" | "light" | "auto" | undefined;
290
- scope?: "local" | "shared" | "platform" | undefined;
290
+ scope?: "shared" | "local" | "platform" | undefined;
291
291
  override?: "none" | "secrets" | "fields" | undefined;
292
292
  enforce?: boolean | undefined;
293
293
  };
@@ -320,7 +320,7 @@ export declare const brandingRoutes: OpenAPIHono<{
320
320
  url: string;
321
321
  } | undefined;
322
322
  dark_mode?: "dark" | "light" | "auto" | undefined;
323
- scope?: "local" | "shared" | "platform" | undefined;
323
+ scope?: "shared" | "local" | "platform" | undefined;
324
324
  override?: "none" | "secrets" | "fields" | undefined;
325
325
  enforce?: boolean | undefined;
326
326
  };
@@ -342,7 +342,7 @@ export declare const brandingRoutes: OpenAPIHono<{
342
342
  url: string;
343
343
  } | undefined;
344
344
  dark_mode?: "dark" | "light" | "auto" | undefined;
345
- scope?: "local" | "shared" | "platform" | undefined;
345
+ scope?: "shared" | "local" | "platform" | undefined;
346
346
  override?: "none" | "secrets" | "fields" | undefined;
347
347
  enforce?: boolean | undefined;
348
348
  };
@@ -379,7 +379,7 @@ export declare const brandingRoutes: OpenAPIHono<{
379
379
  };
380
380
  output: {};
381
381
  outputFormat: string;
382
- status: 400;
382
+ status: 204;
383
383
  } | {
384
384
  input: {
385
385
  header: {
@@ -392,7 +392,7 @@ export declare const brandingRoutes: OpenAPIHono<{
392
392
  };
393
393
  output: {};
394
394
  outputFormat: string;
395
- status: 204;
395
+ status: 400;
396
396
  };
397
397
  };
398
398
  } & {
@@ -418,7 +418,7 @@ export declare const brandingRoutes: OpenAPIHono<{
418
418
  } & {
419
419
  json: {
420
420
  body?: string | undefined;
421
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
421
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
422
422
  branding?: {
423
423
  colors?: {
424
424
  primary: string;
@@ -436,7 +436,7 @@ export declare const brandingRoutes: OpenAPIHono<{
436
436
  url: string;
437
437
  } | undefined;
438
438
  dark_mode?: "dark" | "light" | "auto" | undefined;
439
- scope?: "local" | "shared" | "platform" | undefined;
439
+ scope?: "shared" | "local" | "platform" | undefined;
440
440
  override?: "none" | "secrets" | "fields" | undefined;
441
441
  enforce?: boolean | undefined;
442
442
  } | undefined;
@@ -506,13 +506,13 @@ export declare const brandingRoutes: OpenAPIHono<{
506
506
  page_background?: {
507
507
  background_color: string;
508
508
  background_image_url: string;
509
- page_layout: "center" | "left" | "right";
509
+ page_layout: "left" | "right" | "center";
510
510
  logo_placement?: "none" | "widget" | "chip" | undefined;
511
511
  } | undefined;
512
512
  widget?: {
513
- header_text_alignment: "center" | "left" | "right";
513
+ header_text_alignment: "left" | "right" | "center";
514
514
  logo_height: number;
515
- logo_position: "none" | "center" | "left" | "right";
515
+ logo_position: "none" | "left" | "right" | "center";
516
516
  logo_url: string;
517
517
  social_buttons_layout: "bottom" | "top";
518
518
  } | undefined;
@@ -959,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
959
959
  } | undefined;
960
960
  unique?: boolean | undefined;
961
961
  profile_required?: boolean | undefined;
962
- verification_method?: "code" | "link" | undefined;
962
+ verification_method?: "link" | "code" | undefined;
963
963
  } | undefined;
964
964
  username?: {
965
965
  identifier?: {
@@ -1009,7 +1009,7 @@ export declare const clientRoutes: OpenAPIHono<{
1009
1009
  } | undefined;
1010
1010
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1011
1011
  };
1012
- scope?: "local" | "shared" | "platform" | undefined;
1012
+ scope?: "shared" | "local" | "platform" | undefined;
1013
1013
  override?: "none" | "secrets" | "fields" | undefined;
1014
1014
  enforce?: boolean | undefined;
1015
1015
  id?: string | undefined;
@@ -1120,7 +1120,7 @@ export declare const clientRoutes: OpenAPIHono<{
1120
1120
  } | undefined;
1121
1121
  unique?: boolean | undefined;
1122
1122
  profile_required?: boolean | undefined;
1123
- verification_method?: "code" | "link" | undefined;
1123
+ verification_method?: "link" | "code" | undefined;
1124
1124
  } | undefined;
1125
1125
  username?: {
1126
1126
  identifier?: {
@@ -1170,7 +1170,7 @@ export declare const clientRoutes: OpenAPIHono<{
1170
1170
  } | undefined;
1171
1171
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1172
1172
  };
1173
- scope?: "local" | "shared" | "platform" | undefined;
1173
+ scope?: "shared" | "local" | "platform" | undefined;
1174
1174
  override?: "none" | "secrets" | "fields" | undefined;
1175
1175
  enforce?: boolean | undefined;
1176
1176
  id?: string | undefined;
@@ -96,7 +96,7 @@ export declare const connectionRoutes: OpenAPIHono<{
96
96
  } | undefined;
97
97
  unique?: boolean | undefined;
98
98
  profile_required?: boolean | undefined;
99
- verification_method?: "code" | "link" | undefined;
99
+ verification_method?: "link" | "code" | undefined;
100
100
  } | undefined;
101
101
  username?: {
102
102
  identifier?: {
@@ -146,7 +146,7 @@ export declare const connectionRoutes: OpenAPIHono<{
146
146
  } | undefined;
147
147
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
148
148
  };
149
- scope?: "local" | "shared" | "platform" | undefined;
149
+ scope?: "shared" | "local" | "platform" | undefined;
150
150
  override?: "none" | "secrets" | "fields" | undefined;
151
151
  enforce?: boolean | undefined;
152
152
  id?: string | undefined;
@@ -237,7 +237,7 @@ export declare const connectionRoutes: OpenAPIHono<{
237
237
  } | undefined;
238
238
  unique?: boolean | undefined;
239
239
  profile_required?: boolean | undefined;
240
- verification_method?: "code" | "link" | undefined;
240
+ verification_method?: "link" | "code" | undefined;
241
241
  } | undefined;
242
242
  username?: {
243
243
  identifier?: {
@@ -287,7 +287,7 @@ export declare const connectionRoutes: OpenAPIHono<{
287
287
  } | undefined;
288
288
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
289
289
  };
290
- scope?: "local" | "shared" | "platform" | undefined;
290
+ scope?: "shared" | "local" | "platform" | undefined;
291
291
  override?: "none" | "secrets" | "fields" | undefined;
292
292
  enforce?: boolean | undefined;
293
293
  id?: string | undefined;
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
378
378
  } | undefined;
379
379
  unique?: boolean | undefined;
380
380
  profile_required?: boolean | undefined;
381
- verification_method?: "code" | "link" | undefined;
381
+ verification_method?: "link" | "code" | undefined;
382
382
  } | undefined;
383
383
  username?: {
384
384
  identifier?: {
@@ -428,7 +428,7 @@ export declare const connectionRoutes: OpenAPIHono<{
428
428
  } | undefined;
429
429
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
430
430
  };
431
- scope?: "local" | "shared" | "platform" | undefined;
431
+ scope?: "shared" | "local" | "platform" | undefined;
432
432
  override?: "none" | "secrets" | "fields" | undefined;
433
433
  enforce?: boolean | undefined;
434
434
  id?: string | undefined;
@@ -534,7 +534,7 @@ export declare const connectionRoutes: OpenAPIHono<{
534
534
  } | undefined;
535
535
  unique?: boolean | undefined;
536
536
  profile_required?: boolean | undefined;
537
- verification_method?: "code" | "link" | undefined;
537
+ verification_method?: "link" | "code" | undefined;
538
538
  } | undefined;
539
539
  username?: {
540
540
  identifier?: {
@@ -584,7 +584,7 @@ export declare const connectionRoutes: OpenAPIHono<{
584
584
  } | undefined;
585
585
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
586
586
  };
587
- scope?: "local" | "shared" | "platform" | undefined;
587
+ scope?: "shared" | "local" | "platform" | undefined;
588
588
  override?: "none" | "secrets" | "fields" | undefined;
589
589
  enforce?: boolean | undefined;
590
590
  id?: string | undefined;
@@ -646,7 +646,7 @@ export declare const connectionRoutes: OpenAPIHono<{
646
646
  };
647
647
  } & {
648
648
  json: {
649
- scope?: "local" | "shared" | "platform" | undefined;
649
+ scope?: "shared" | "local" | "platform" | undefined;
650
650
  override?: "none" | "secrets" | "fields" | undefined;
651
651
  enforce?: boolean | undefined;
652
652
  id?: string | undefined;
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
736
736
  } | undefined;
737
737
  unique?: boolean | undefined;
738
738
  profile_required?: boolean | undefined;
739
- verification_method?: "code" | "link" | undefined;
739
+ verification_method?: "link" | "code" | undefined;
740
740
  } | undefined;
741
741
  username?: {
742
742
  identifier?: {
@@ -786,7 +786,7 @@ export declare const connectionRoutes: OpenAPIHono<{
786
786
  } | undefined;
787
787
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
788
788
  };
789
- scope?: "local" | "shared" | "platform" | undefined;
789
+ scope?: "shared" | "local" | "platform" | undefined;
790
790
  override?: "none" | "secrets" | "fields" | undefined;
791
791
  enforce?: boolean | undefined;
792
792
  id?: string | undefined;
@@ -816,7 +816,7 @@ export declare const connectionRoutes: OpenAPIHono<{
816
816
  json: {
817
817
  name: string;
818
818
  strategy: string;
819
- scope?: "local" | "shared" | "platform" | undefined;
819
+ scope?: "shared" | "local" | "platform" | undefined;
820
820
  override?: "none" | "secrets" | "fields" | undefined;
821
821
  enforce?: boolean | undefined;
822
822
  id?: string | undefined;
@@ -904,7 +904,7 @@ export declare const connectionRoutes: OpenAPIHono<{
904
904
  } | undefined;
905
905
  unique?: boolean | undefined;
906
906
  profile_required?: boolean | undefined;
907
- verification_method?: "code" | "link" | undefined;
907
+ verification_method?: "link" | "code" | undefined;
908
908
  } | undefined;
909
909
  username?: {
910
910
  identifier?: {
@@ -954,7 +954,7 @@ export declare const connectionRoutes: OpenAPIHono<{
954
954
  } | undefined;
955
955
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
956
956
  };
957
- scope?: "local" | "shared" | "platform" | undefined;
957
+ scope?: "shared" | "local" | "platform" | undefined;
958
958
  override?: "none" | "secrets" | "fields" | undefined;
959
959
  enforce?: boolean | undefined;
960
960
  id?: string | undefined;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
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";
15
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
36
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
48
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
71
+ name: "change_password" | "password_reset" | "verify_email" | "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" | "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";
84
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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";
97
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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";
105
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
124
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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";
132
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
144
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
163
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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;
171
+ template?: "change_password" | "password_reset" | "verify_email" | "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" | "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";
188
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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;
196
+ template?: "change_password" | "password_reset" | "verify_email" | "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" | "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";
208
+ template: "change_password" | "password_reset" | "verify_email" | "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" | "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";
227
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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";
240
+ templateName: "change_password" | "password_reset" | "verify_email" | "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" | "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";
257
+ templateName: "change_password" | "password_reset" | "verify_email" | "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: {
@@ -19,7 +19,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
19
19
  [x: string]: import("hono/utils/types").JSONValue;
20
20
  } | undefined;
21
21
  settings?: {} | undefined;
22
- scope?: "local" | "shared" | "platform" | undefined;
22
+ scope?: "shared" | "local" | "platform" | undefined;
23
23
  override?: "none" | "secrets" | "fields" | undefined;
24
24
  enforce?: boolean | undefined;
25
25
  };
@@ -41,7 +41,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
41
41
  enabled?: boolean | undefined;
42
42
  default_from_address?: string | undefined;
43
43
  settings?: Record<string, never> | undefined;
44
- scope?: "local" | "shared" | "platform" | undefined;
44
+ scope?: "shared" | "local" | "platform" | undefined;
45
45
  override?: "none" | "secrets" | "fields" | undefined;
46
46
  enforce?: boolean | undefined;
47
47
  };
@@ -61,7 +61,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
61
61
  enabled?: boolean | undefined;
62
62
  default_from_address?: string | undefined;
63
63
  settings?: Record<string, never> | undefined;
64
- scope?: "local" | "shared" | "platform" | undefined;
64
+ scope?: "shared" | "local" | "platform" | undefined;
65
65
  override?: "none" | "secrets" | "fields" | undefined;
66
66
  enforce?: boolean | undefined;
67
67
  };
@@ -74,7 +74,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
74
74
  };
75
75
  default_from_address?: string | undefined;
76
76
  settings?: {} | undefined;
77
- scope?: "local" | "shared" | "platform" | undefined;
77
+ scope?: "shared" | "local" | "platform" | undefined;
78
78
  override?: "none" | "secrets" | "fields" | undefined;
79
79
  enforce?: boolean | undefined;
80
80
  };
@@ -96,7 +96,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
96
96
  default_from_address?: string | undefined;
97
97
  credentials?: Record<string, unknown> | undefined;
98
98
  settings?: Record<string, never> | undefined;
99
- scope?: "local" | "shared" | "platform" | undefined;
99
+ scope?: "shared" | "local" | "platform" | undefined;
100
100
  override?: "none" | "secrets" | "fields" | undefined;
101
101
  enforce?: boolean | undefined;
102
102
  };
@@ -109,7 +109,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
109
109
  };
110
110
  default_from_address?: string | undefined;
111
111
  settings?: {} | undefined;
112
- scope?: "local" | "shared" | "platform" | undefined;
112
+ scope?: "shared" | "local" | "platform" | undefined;
113
113
  override?: "none" | "secrets" | "fields" | undefined;
114
114
  enforce?: boolean | undefined;
115
115
  };
@@ -28,9 +28,9 @@ export declare const failedEventsRoutes: OpenAPIHono<{
28
28
  tenant_id: string;
29
29
  event_type: string;
30
30
  log_type: string;
31
- category: "api" | "user_action" | "admin_action" | "system";
31
+ category: "user_action" | "admin_action" | "system" | "api";
32
32
  actor: {
33
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
33
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -132,9 +132,9 @@ export declare const failedEventsRoutes: OpenAPIHono<{
132
132
  tenant_id: string;
133
133
  event_type: string;
134
134
  log_type: string;
135
- category: "api" | "user_action" | "admin_action" | "system";
135
+ category: "user_action" | "admin_action" | "system" | "api";
136
136
  actor: {
137
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
137
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
138
138
  id?: string | undefined;
139
139
  email?: string | undefined;
140
140
  org_id?: string | undefined;
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
62
62
  type: "REDIRECT";
63
63
  action: "REDIRECT_USER";
64
64
  params: {
65
- target: "custom" | "change-email" | "account";
65
+ target: "custom" | "account" | "change-email";
66
66
  custom_url?: string | undefined;
67
67
  };
68
68
  alias?: string | undefined;
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
115
115
  type: "REDIRECT";
116
116
  action: "REDIRECT_USER";
117
117
  params: {
118
- target: "custom" | "change-email" | "account";
118
+ target: "custom" | "account" | "change-email";
119
119
  custom_url?: string | undefined;
120
120
  };
121
121
  alias?: string | undefined;
@@ -168,7 +168,7 @@ export declare const flowsRoutes: OpenAPIHono<{
168
168
  type: "REDIRECT";
169
169
  action: "REDIRECT_USER";
170
170
  params: {
171
- target: "custom" | "change-email" | "account";
171
+ target: "custom" | "account" | "change-email";
172
172
  custom_url?: string | undefined;
173
173
  };
174
174
  alias?: string | undefined;
@@ -236,7 +236,7 @@ export declare const flowsRoutes: OpenAPIHono<{
236
236
  type: "REDIRECT";
237
237
  action: "REDIRECT_USER";
238
238
  params: {
239
- target: "custom" | "change-email" | "account";
239
+ target: "custom" | "account" | "change-email";
240
240
  custom_url?: string | undefined;
241
241
  };
242
242
  alias?: string | undefined;
@@ -317,7 +317,7 @@ export declare const flowsRoutes: OpenAPIHono<{
317
317
  type: "REDIRECT";
318
318
  action: "REDIRECT_USER";
319
319
  params: {
320
- target: "custom" | "change-email" | "account";
320
+ target: "custom" | "account" | "change-email";
321
321
  custom_url?: string | undefined;
322
322
  };
323
323
  alias?: string | undefined;
@@ -365,7 +365,7 @@ export declare const flowsRoutes: OpenAPIHono<{
365
365
  type: "REDIRECT";
366
366
  action: "REDIRECT_USER";
367
367
  params: {
368
- target: "custom" | "change-email" | "account";
368
+ target: "custom" | "account" | "change-email";
369
369
  custom_url?: string | undefined;
370
370
  };
371
371
  alias?: string | undefined;
@@ -425,7 +425,7 @@ export declare const flowsRoutes: OpenAPIHono<{
425
425
  type: "REDIRECT";
426
426
  action: "REDIRECT_USER";
427
427
  params: {
428
- target: "custom" | "change-email" | "account";
428
+ target: "custom" | "account" | "change-email";
429
429
  custom_url?: string | undefined;
430
430
  };
431
431
  alias?: string | undefined;
@@ -473,7 +473,7 @@ export declare const flowsRoutes: OpenAPIHono<{
473
473
  type: "REDIRECT";
474
474
  action: "REDIRECT_USER";
475
475
  params: {
476
- target: "custom" | "change-email" | "account";
476
+ target: "custom" | "account" | "change-email";
477
477
  custom_url?: string | undefined;
478
478
  };
479
479
  alias?: string | undefined;