authhero 8.11.1 → 8.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/assets/u/js/client.js +1 -1
  2. package/dist/authhero.cjs +82 -82
  3. package/dist/authhero.d.ts +248 -240
  4. package/dist/authhero.mjs +8867 -8854
  5. package/dist/client.js +1 -1
  6. package/dist/stats.html +1 -1
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  9. package/dist/types/client/client-bundle.d.ts +1 -1
  10. package/dist/types/index.d.ts +239 -239
  11. package/dist/types/routes/auth-api/index.d.ts +24 -24
  12. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  13. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  14. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  15. package/dist/types/routes/management-api/action-triggers.d.ts +1 -1
  16. package/dist/types/routes/management-api/actions.d.ts +1 -1
  17. package/dist/types/routes/management-api/client-grants.d.ts +8 -8
  18. package/dist/types/routes/management-api/clients.d.ts +2 -2
  19. package/dist/types/routes/management-api/connections.d.ts +6 -6
  20. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  21. package/dist/types/routes/management-api/emails.d.ts +2 -2
  22. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  23. package/dist/types/routes/management-api/forms.d.ts +126 -126
  24. package/dist/types/routes/management-api/hooks.d.ts +2 -2
  25. package/dist/types/routes/management-api/index.d.ts +210 -210
  26. package/dist/types/routes/management-api/logs.d.ts +3 -3
  27. package/dist/types/routes/management-api/organizations.d.ts +4 -4
  28. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  29. package/dist/types/routes/management-api/users.d.ts +2 -2
  30. package/dist/types/routes/universal-login/common.d.ts +4 -4
  31. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  32. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  33. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  34. package/dist/types/types/Hooks.d.ts +8 -0
  35. package/dist/types/types/IdToken.d.ts +3 -3
  36. package/package.json +2 -2
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
301
301
  scope?: string | undefined;
302
302
  grant_types?: string[] | undefined;
303
303
  response_types?: string[] | undefined;
304
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
304
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
305
305
  jwks_uri?: string | undefined;
306
306
  jwks?: Record<string, unknown> | undefined;
307
307
  software_id?: string | undefined;
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
390
390
  scope?: string | undefined;
391
391
  grant_types?: string[] | undefined;
392
392
  response_types?: string[] | undefined;
393
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
393
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
394
394
  jwks_uri?: string | undefined;
395
395
  jwks?: Record<string, unknown> | undefined;
396
396
  software_id?: string | undefined;
@@ -736,19 +736,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
736
736
  email: string;
737
737
  send: "code" | "link";
738
738
  authParams: {
739
- code_challenge?: string | undefined;
740
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
741
- redirect_uri?: string | undefined;
742
- nonce?: string | undefined;
743
- state?: string | undefined;
744
- act_as?: string | undefined;
745
739
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
746
740
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
741
+ scope?: string | undefined;
742
+ username?: string | undefined;
743
+ state?: string | undefined;
747
744
  audience?: string | undefined;
745
+ act_as?: string | undefined;
746
+ redirect_uri?: string | undefined;
748
747
  organization?: string | undefined;
749
- scope?: string | undefined;
748
+ nonce?: string | undefined;
750
749
  prompt?: string | undefined;
751
- username?: string | undefined;
750
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
+ code_challenge?: string | undefined;
752
752
  ui_locales?: string | undefined;
753
753
  max_age?: number | undefined;
754
754
  acr_values?: string | undefined;
@@ -772,19 +772,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
772
772
  phone_number: string;
773
773
  send: "code" | "link";
774
774
  authParams: {
775
- code_challenge?: string | undefined;
776
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
777
- redirect_uri?: string | undefined;
778
- nonce?: string | undefined;
779
- state?: string | undefined;
780
- act_as?: string | undefined;
781
775
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
782
776
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
777
+ scope?: string | undefined;
778
+ username?: string | undefined;
779
+ state?: string | undefined;
783
780
  audience?: string | undefined;
781
+ act_as?: string | undefined;
782
+ redirect_uri?: string | undefined;
784
783
  organization?: string | undefined;
785
- scope?: string | undefined;
784
+ nonce?: string | undefined;
786
785
  prompt?: string | undefined;
787
- username?: string | undefined;
786
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
+ code_challenge?: string | undefined;
788
788
  ui_locales?: string | undefined;
789
789
  max_age?: number | undefined;
790
790
  acr_values?: string | undefined;
@@ -916,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
916
916
  input: {
917
917
  form: {
918
918
  token: string;
919
- token_type_hint?: "access_token" | "refresh_token" | undefined;
919
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
920
920
  client_id?: string | undefined;
921
921
  client_secret?: string | undefined;
922
922
  };
923
923
  } & {
924
924
  json: {
925
925
  token: string;
926
- token_type_hint?: "access_token" | "refresh_token" | undefined;
926
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
927
927
  client_id?: string | undefined;
928
928
  client_secret?: string | undefined;
929
929
  };
@@ -935,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
935
935
  input: {
936
936
  form: {
937
937
  token: string;
938
- token_type_hint?: "access_token" | "refresh_token" | undefined;
938
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
939
939
  client_id?: string | undefined;
940
940
  client_secret?: string | undefined;
941
941
  };
942
942
  } & {
943
943
  json: {
944
944
  token: string;
945
- token_type_hint?: "access_token" | "refresh_token" | undefined;
945
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
946
946
  client_id?: string | undefined;
947
947
  client_secret?: string | undefined;
948
948
  };
@@ -957,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
957
957
  input: {
958
958
  form: {
959
959
  token: string;
960
- token_type_hint?: "access_token" | "refresh_token" | undefined;
960
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
961
961
  client_id?: string | undefined;
962
962
  client_secret?: string | undefined;
963
963
  };
964
964
  } & {
965
965
  json: {
966
966
  token: string;
967
- token_type_hint?: "access_token" | "refresh_token" | undefined;
967
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
968
968
  client_id?: string | undefined;
969
969
  client_secret?: string | undefined;
970
970
  };
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- code_challenge?: string | undefined;
18
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
19
- redirect_uri?: string | undefined;
20
- nonce?: string | undefined;
21
- state?: string | undefined;
22
- act_as?: string | undefined;
23
17
  response_type?: AuthorizationResponseType | undefined;
24
18
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
19
+ scope?: string | undefined;
20
+ username?: string | undefined;
21
+ state?: string | undefined;
25
22
  audience?: string | undefined;
23
+ act_as?: string | undefined;
24
+ redirect_uri?: string | undefined;
26
25
  organization?: string | undefined;
27
- scope?: 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
- code_challenge?: string | undefined;
54
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
55
- redirect_uri?: string | undefined;
56
- nonce?: string | undefined;
57
- state?: string | undefined;
58
- act_as?: string | undefined;
59
53
  response_type?: AuthorizationResponseType | undefined;
60
54
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
55
+ scope?: string | undefined;
56
+ username?: string | undefined;
57
+ state?: string | undefined;
61
58
  audience?: string | undefined;
59
+ act_as?: string | undefined;
60
+ redirect_uri?: string | undefined;
62
61
  organization?: string | undefined;
63
- scope?: 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
  };
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "info" | "log" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -68,7 +68,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
68
68
  json: {
69
69
  bindings: {
70
70
  ref: {
71
- type?: "action_name" | "action_id" | undefined;
71
+ type?: "action_id" | "action_name" | undefined;
72
72
  value?: string | undefined;
73
73
  id?: string | undefined;
74
74
  name?: string | undefined;
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "log" | "error" | "info" | "warn" | "debug";
664
+ level: "error" | "info" | "log" | "warn" | "debug";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
16
16
  audience?: string | undefined;
17
17
  client_id?: string | undefined;
18
18
  allow_any_organization?: string | undefined;
19
- subject_type?: "user" | "client" | undefined;
19
+ subject_type?: "client" | "user" | undefined;
20
20
  };
21
21
  } & {
22
22
  header: {
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
31
31
  organization_usage?: "deny" | "allow" | "require" | undefined;
32
32
  allow_any_organization?: boolean | undefined;
33
33
  is_system?: boolean | undefined;
34
- subject_type?: "user" | "client" | undefined;
34
+ subject_type?: "client" | "user" | undefined;
35
35
  authorization_details_types?: string[] | undefined;
36
36
  created_at?: string | undefined;
37
37
  updated_at?: string | undefined;
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
47
47
  organization_usage?: "deny" | "allow" | "require" | undefined;
48
48
  allow_any_organization?: boolean | undefined;
49
49
  is_system?: boolean | undefined;
50
- subject_type?: "user" | "client" | undefined;
50
+ subject_type?: "client" | "user" | undefined;
51
51
  authorization_details_types?: string[] | undefined;
52
52
  created_at?: string | undefined;
53
53
  updated_at?: string | undefined;
@@ -78,7 +78,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
78
78
  organization_usage?: "deny" | "allow" | "require" | undefined;
79
79
  allow_any_organization?: boolean | undefined;
80
80
  is_system?: boolean | undefined;
81
- subject_type?: "user" | "client" | undefined;
81
+ subject_type?: "client" | "user" | undefined;
82
82
  authorization_details_types?: string[] | undefined;
83
83
  created_at?: string | undefined;
84
84
  updated_at?: string | undefined;
@@ -123,7 +123,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
123
123
  organization_usage?: "deny" | "allow" | "require" | undefined;
124
124
  allow_any_organization?: boolean | undefined;
125
125
  is_system?: boolean | undefined;
126
- subject_type?: "user" | "client" | undefined;
126
+ subject_type?: "client" | "user" | undefined;
127
127
  authorization_details_types?: string[] | undefined;
128
128
  };
129
129
  };
@@ -135,7 +135,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
135
135
  organization_usage?: "deny" | "allow" | "require" | undefined;
136
136
  allow_any_organization?: boolean | undefined;
137
137
  is_system?: boolean | undefined;
138
- subject_type?: "user" | "client" | undefined;
138
+ subject_type?: "client" | "user" | undefined;
139
139
  authorization_details_types?: string[] | undefined;
140
140
  created_at?: string | undefined;
141
141
  updated_at?: string | undefined;
@@ -159,7 +159,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
159
159
  organization_usage?: "deny" | "allow" | "require" | undefined;
160
160
  allow_any_organization?: boolean | undefined;
161
161
  is_system?: boolean | undefined;
162
- subject_type?: "user" | "client" | undefined;
162
+ subject_type?: "client" | "user" | undefined;
163
163
  authorization_details_types?: string[] | undefined;
164
164
  };
165
165
  };
@@ -171,7 +171,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
171
171
  organization_usage?: "deny" | "allow" | "require" | undefined;
172
172
  allow_any_organization?: boolean | undefined;
173
173
  is_system?: boolean | undefined;
174
- subject_type?: "user" | "client" | undefined;
174
+ subject_type?: "client" | "user" | undefined;
175
175
  authorization_details_types?: string[] | undefined;
176
176
  created_at?: string | undefined;
177
177
  updated_at?: string | undefined;
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
807
807
  } | undefined;
808
808
  } | undefined;
809
809
  passkey_options?: {
810
- challenge_ui?: "both" | "autofill" | "button" | undefined;
810
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
811
811
  local_enrollment_enabled?: boolean | undefined;
812
812
  progressive_enrollment_enabled?: boolean | undefined;
813
813
  } | undefined;
@@ -961,7 +961,7 @@ export declare const clientRoutes: OpenAPIHono<{
961
961
  } | undefined;
962
962
  } | undefined;
963
963
  passkey_options?: {
964
- challenge_ui?: "both" | "autofill" | "button" | undefined;
964
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
965
965
  local_enrollment_enabled?: boolean | undefined;
966
966
  progressive_enrollment_enabled?: boolean | undefined;
967
967
  } | undefined;
@@ -129,7 +129,7 @@ export declare const connectionRoutes: OpenAPIHono<{
129
129
  } | undefined;
130
130
  } | undefined;
131
131
  passkey_options?: {
132
- challenge_ui?: "both" | "autofill" | "button" | undefined;
132
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
133
133
  local_enrollment_enabled?: boolean | undefined;
134
134
  progressive_enrollment_enabled?: boolean | undefined;
135
135
  } | undefined;
@@ -263,7 +263,7 @@ export declare const connectionRoutes: OpenAPIHono<{
263
263
  } | undefined;
264
264
  } | undefined;
265
265
  passkey_options?: {
266
- challenge_ui?: "both" | "autofill" | "button" | undefined;
266
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
267
267
  local_enrollment_enabled?: boolean | undefined;
268
268
  progressive_enrollment_enabled?: boolean | undefined;
269
269
  } | undefined;
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
412
412
  } | undefined;
413
413
  } | undefined;
414
414
  passkey_options?: {
415
- challenge_ui?: "both" | "autofill" | "button" | undefined;
415
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
416
416
  local_enrollment_enabled?: boolean | undefined;
417
417
  progressive_enrollment_enabled?: boolean | undefined;
418
418
  } | undefined;
@@ -591,7 +591,7 @@ export declare const connectionRoutes: OpenAPIHono<{
591
591
  } | undefined;
592
592
  } | undefined;
593
593
  passkey_options?: {
594
- challenge_ui?: "both" | "autofill" | "button" | undefined;
594
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
595
595
  local_enrollment_enabled?: boolean | undefined;
596
596
  progressive_enrollment_enabled?: boolean | undefined;
597
597
  } | undefined;
@@ -749,7 +749,7 @@ export declare const connectionRoutes: OpenAPIHono<{
749
749
  } | undefined;
750
750
  } | undefined;
751
751
  passkey_options?: {
752
- challenge_ui?: "both" | "autofill" | "button" | undefined;
752
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
753
753
  local_enrollment_enabled?: boolean | undefined;
754
754
  progressive_enrollment_enabled?: boolean | undefined;
755
755
  } | undefined;
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
852
852
  };
853
853
  } | {
854
854
  mode: "inline";
855
- status: "success" | "error";
855
+ status: "error" | "success";
856
856
  connection_id: string;
857
857
  connection_name: string;
858
858
  strategy: string;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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?: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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?: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: "password_reset" | "verify_email" | "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: {
@@ -233,11 +233,11 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
233
233
  };
234
234
  output: {};
235
235
  outputFormat: string;
236
- status: 204;
236
+ status: 404;
237
237
  } | {
238
238
  input: {
239
239
  param: {
240
- templateName: "password_reset" | "verify_email" | "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: {
@@ -246,7 +246,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
246
246
  };
247
247
  output: {};
248
248
  outputFormat: string;
249
- status: 404;
249
+ status: 204;
250
250
  };
251
251
  };
252
252
  } & {
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
254
254
  $post: {
255
255
  input: {
256
256
  param: {
257
- templateName: "password_reset" | "verify_email" | "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: {
@@ -109,7 +109,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
109
109
  };
110
110
  output: {};
111
111
  outputFormat: string;
112
- status: 204;
112
+ status: 404;
113
113
  } | {
114
114
  input: {
115
115
  header: {
@@ -118,7 +118,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
118
118
  };
119
119
  output: {};
120
120
  outputFormat: string;
121
- status: 404;
121
+ status: 204;
122
122
  };
123
123
  };
124
124
  }, "/">;
@@ -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" | "system" | "admin" | "api_key";
33
+ type: "api_key" | "client_credentials" | "user" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;