authhero 9.17.0 → 9.19.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/index.esm.js +1 -1
  2. package/dist/authhero.cjs +144 -144
  3. package/dist/authhero.d.ts +362 -233
  4. package/dist/authhero.mjs +13301 -13145
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  7. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  8. package/dist/types/helpers/http-certificate-issuer.d.ts +55 -0
  9. package/dist/types/helpers/logging.d.ts +5 -0
  10. package/dist/types/helpers/outbox-destinations/log-streams.d.ts +3 -0
  11. package/dist/types/helpers/renew-signing-certificates.d.ts +61 -0
  12. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  13. package/dist/types/index.d.ts +250 -231
  14. package/dist/types/routes/auth-api/index.d.ts +14 -14
  15. package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
  16. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  17. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  18. package/dist/types/routes/management-api/action-triggers.d.ts +1 -1
  19. package/dist/types/routes/management-api/actions.d.ts +1 -1
  20. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  21. package/dist/types/routes/management-api/branding.d.ts +1 -1
  22. package/dist/types/routes/management-api/connections.d.ts +1 -1
  23. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  24. package/dist/types/routes/management-api/failed-events.d.ts +3 -1
  25. package/dist/types/routes/management-api/forms.d.ts +126 -126
  26. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  27. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  28. package/dist/types/routes/management-api/index.d.ts +225 -210
  29. package/dist/types/routes/management-api/keys.d.ts +8 -8
  30. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  31. package/dist/types/routes/management-api/organizations.d.ts +6 -6
  32. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  33. package/dist/types/routes/management-api/roles.d.ts +13 -0
  34. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  35. package/dist/types/routes/management-api/tenant-operations.d.ts +4 -4
  36. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  37. package/dist/types/routes/management-api/users.d.ts +24 -24
  38. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  39. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  40. package/dist/types/routes/universal-login/index.d.ts +2 -2
  41. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  42. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  43. package/dist/types/state-machines/login-session.d.ts +1 -1
  44. package/package.json +6 -6
@@ -741,19 +741,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
741
741
  email: string;
742
742
  send: "code" | "link";
743
743
  authParams: {
744
+ username?: string | undefined;
744
745
  audience?: string | undefined;
745
746
  scope?: string | undefined;
746
- code_challenge?: string | undefined;
747
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
748
747
  redirect_uri?: string | undefined;
749
- nonce?: string | undefined;
750
748
  state?: string | undefined;
751
749
  act_as?: string | undefined;
752
750
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
753
751
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
754
752
  organization?: string | undefined;
753
+ nonce?: string | undefined;
755
754
  prompt?: string | undefined;
756
- username?: string | undefined;
755
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
756
+ code_challenge?: string | undefined;
757
757
  ui_locales?: string | undefined;
758
758
  max_age?: number | undefined;
759
759
  acr_values?: string | undefined;
@@ -777,19 +777,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
777
777
  phone_number: string;
778
778
  send: "code" | "link";
779
779
  authParams: {
780
+ username?: string | undefined;
780
781
  audience?: string | undefined;
781
782
  scope?: string | undefined;
782
- code_challenge?: string | undefined;
783
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
784
783
  redirect_uri?: string | undefined;
785
- nonce?: string | undefined;
786
784
  state?: string | undefined;
787
785
  act_as?: string | undefined;
788
786
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
789
787
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
790
788
  organization?: string | undefined;
789
+ nonce?: string | undefined;
791
790
  prompt?: string | undefined;
792
- username?: string | undefined;
791
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
792
+ code_challenge?: string | undefined;
793
793
  ui_locales?: string | undefined;
794
794
  max_age?: number | undefined;
795
795
  acr_values?: string | undefined;
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
921
921
  input: {
922
922
  form: {
923
923
  token: string;
924
- token_type_hint?: "access_token" | "refresh_token" | undefined;
924
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
925
925
  client_id?: string | undefined;
926
926
  client_secret?: string | undefined;
927
927
  };
928
928
  } & {
929
929
  json: {
930
930
  token: string;
931
- token_type_hint?: "access_token" | "refresh_token" | undefined;
931
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
932
932
  client_id?: string | undefined;
933
933
  client_secret?: string | undefined;
934
934
  };
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
940
940
  input: {
941
941
  form: {
942
942
  token: string;
943
- token_type_hint?: "access_token" | "refresh_token" | undefined;
943
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
944
944
  client_id?: string | undefined;
945
945
  client_secret?: string | undefined;
946
946
  };
947
947
  } & {
948
948
  json: {
949
949
  token: string;
950
- token_type_hint?: "access_token" | "refresh_token" | undefined;
950
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
951
951
  client_id?: string | undefined;
952
952
  client_secret?: string | undefined;
953
953
  };
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
962
962
  input: {
963
963
  form: {
964
964
  token: string;
965
- token_type_hint?: "access_token" | "refresh_token" | undefined;
965
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
966
966
  client_id?: string | undefined;
967
967
  client_secret?: string | undefined;
968
968
  };
969
969
  } & {
970
970
  json: {
971
971
  token: string;
972
- token_type_hint?: "access_token" | "refresh_token" | undefined;
972
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
973
973
  client_id?: string | undefined;
974
974
  client_secret?: string | undefined;
975
975
  };
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
+ username?: string | undefined;
17
18
  audience?: string | undefined;
18
19
  scope?: string | undefined;
19
- code_challenge?: string | undefined;
20
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
21
20
  redirect_uri?: string | undefined;
22
- nonce?: string | undefined;
23
21
  state?: string | undefined;
24
22
  act_as?: string | undefined;
25
23
  response_type?: AuthorizationResponseType | undefined;
26
24
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
27
25
  organization?: string | undefined;
26
+ nonce?: string | undefined;
28
27
  prompt?: string | undefined;
29
- username?: string | undefined;
28
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
+ code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
+ username?: string | undefined;
53
54
  audience?: string | undefined;
54
55
  scope?: string | undefined;
55
- code_challenge?: string | undefined;
56
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
57
56
  redirect_uri?: string | undefined;
58
- nonce?: string | undefined;
59
57
  state?: string | undefined;
60
58
  act_as?: string | undefined;
61
59
  response_type?: AuthorizationResponseType | undefined;
62
60
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
63
61
  organization?: string | undefined;
62
+ nonce?: string | undefined;
64
63
  prompt?: string | undefined;
65
- username?: string | undefined;
64
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
+ code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: 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
  };
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "suspended" | "pending" | "unspecified" | "final" | "partial" | "canceled";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "error" | "log" | "info" | "debug" | "warn";
81
+ level: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -67,7 +67,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
67
67
  json: {
68
68
  bindings: {
69
69
  ref: {
70
- type?: "action_id" | "action_name" | undefined;
70
+ type?: "action_name" | "action_id" | undefined;
71
71
  value?: string | undefined;
72
72
  id?: string | undefined;
73
73
  name?: string | undefined;
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
656
656
  args: import("hono/utils/types").JSONValue[];
657
657
  }[];
658
658
  logs: {
659
- level: "error" | "log" | "info" | "debug" | "warn";
659
+ level: "log" | "error" | "info" | "warn" | "debug";
660
660
  message: string;
661
661
  }[];
662
662
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "phone" | "passkey" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "identifier" | "login" | "password" | "signup" | undefined;
412
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -1010,7 +1010,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1010
1010
  };
1011
1011
  } | {
1012
1012
  mode: "inline";
1013
- status: "error" | "success";
1013
+ status: "success" | "error";
1014
1014
  connection_id: string;
1015
1015
  connection_name: string;
1016
1016
  strategy: string;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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";
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" | "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;
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" | "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";
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" | "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;
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" | "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";
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" | "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";
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: {
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
237
237
  } | {
238
238
  input: {
239
239
  param: {
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";
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: {
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
254
254
  $post: {
255
255
  input: {
256
256
  param: {
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";
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: {
@@ -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" | "client_credentials" | "api_key" | "system" | "admin";
33
+ type: "user" | "system" | "admin" | "api_key" | "client_credentials";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -65,6 +65,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
65
65
  user_agent?: string | undefined;
66
66
  correlation_id?: string | undefined;
67
67
  redirect_uri?: string | undefined;
68
+ authorization_url?: string | undefined;
68
69
  };
69
70
  hostname: string;
70
71
  timestamp: string;
@@ -102,6 +103,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
102
103
  } | undefined;
103
104
  } | undefined;
104
105
  is_mobile?: boolean | undefined;
106
+ execution_id?: string | undefined;
105
107
  dead_lettered_at?: string | null | undefined;
106
108
  final_error?: string | null | undefined;
107
109
  }[];