authhero 9.35.0 → 9.37.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 (77) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +144 -141
  3. package/dist/authhero.d.ts +562 -369
  4. package/dist/authhero.mjs +13530 -11568
  5. package/dist/{mfa-fD5vp7ql.mjs → mfa-BpHxTir1.mjs} +25 -25
  6. package/dist/{mfa-XAWdFO9R.js → mfa-DuNbh_YF.js} +1 -1
  7. package/dist/mfa-attempts-D5U1FCSY.js +275 -0
  8. package/dist/{mfa-attempts-CpIqAsQd.mjs → mfa-attempts-DDgCBTDW.mjs} +6022 -5686
  9. package/dist/{passkey-enrollment-BB99mHdQ.js → passkey-enrollment-D6ZZmelw.js} +1 -1
  10. package/dist/tsconfig.types.tsbuildinfo +1 -1
  11. package/dist/types/authentication-flows/email-verification.d.ts +1 -1
  12. package/dist/types/authentication-flows/passwordless.d.ts +5 -2
  13. package/dist/types/errors/management-api-error.d.ts +3 -0
  14. package/dist/types/generated/locale-types.d.ts +87 -0
  15. package/dist/types/helpers/anchor-client.d.ts +16 -0
  16. package/dist/types/helpers/database-connection-scope.d.ts +97 -0
  17. package/dist/types/helpers/dcr/audience-policy.d.ts +13 -0
  18. package/dist/types/helpers/dcr/client-registration.d.ts +81 -0
  19. package/dist/types/helpers/dcr/constraint-enforcement.d.ts +1 -0
  20. package/dist/types/helpers/dcr/metadata-mapping.d.ts +17 -0
  21. package/dist/types/helpers/dcr/mint-iat.d.ts +4 -1
  22. package/dist/types/helpers/dcr/mint-token.d.ts +4 -0
  23. package/dist/types/helpers/dcr/presets.d.ts +34 -0
  24. package/dist/types/helpers/dcr/uri-policy.d.ts +34 -0
  25. package/dist/types/helpers/password-connection.d.ts +3 -1
  26. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  27. package/dist/types/helpers/self-service-tickets.d.ts +34 -0
  28. package/dist/types/helpers/sso-access-tickets.d.ts +18 -0
  29. package/dist/types/helpers/users.d.ts +29 -4
  30. package/dist/types/index.d.ts +502 -310
  31. package/dist/types/routes/auth-api/authenticate.d.ts +1 -1
  32. package/dist/types/routes/auth-api/dbconnections.d.ts +2 -2
  33. package/dist/types/routes/auth-api/device.d.ts +8 -8
  34. package/dist/types/routes/auth-api/index.d.ts +54 -37
  35. package/dist/types/routes/auth-api/passwordless.d.ts +18 -16
  36. package/dist/types/routes/auth-api/register/index.d.ts +15 -0
  37. package/dist/types/routes/auth-api/token.d.ts +10 -10
  38. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  39. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  40. package/dist/types/routes/management-api/branding.d.ts +13 -13
  41. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  42. package/dist/types/routes/management-api/client-registration-tokens.d.ts +149 -0
  43. package/dist/types/routes/management-api/connections.d.ts +1 -1
  44. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  45. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  46. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  47. package/dist/types/routes/management-api/forms.d.ts +144 -144
  48. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  49. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  50. package/dist/types/routes/management-api/index.d.ts +411 -266
  51. package/dist/types/routes/management-api/keys.d.ts +16 -16
  52. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  53. package/dist/types/routes/management-api/logs.d.ts +4 -4
  54. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  55. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  56. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  57. package/dist/types/routes/management-api/roles.d.ts +1 -1
  58. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  59. package/dist/types/routes/management-api/self-service-profiles.d.ts +345 -0
  60. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  61. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
  62. package/dist/types/routes/management-api/tenants.d.ts +17 -17
  63. package/dist/types/routes/management-api/themes.d.ts +9 -9
  64. package/dist/types/routes/management-api/users.d.ts +17 -17
  65. package/dist/types/routes/universal-login/common.d.ts +10 -8
  66. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  67. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  68. package/dist/types/routes/universal-login/index.d.ts +2 -2
  69. package/dist/types/routes/universal-login/screens/connect-authz.d.ts +9 -0
  70. package/dist/types/routes/universal-login/screens/self-service-app.d.ts +46 -0
  71. package/dist/types/routes/universal-login/u2-index.d.ts +35 -5
  72. package/dist/types/routes/universal-login/u2-routes.d.ts +35 -5
  73. package/dist/types/state-machines/login-session.d.ts +19 -1
  74. package/dist/types/types/Bindings.d.ts +2 -0
  75. package/dist/types/utils/username-password-provider.d.ts +14 -3
  76. package/package.json +6 -6
  77. package/dist/mfa-attempts-C7toCIRn.js +0 -275
@@ -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: "left" | "right" | "center";
80
+ page_layout: "center" | "left" | "right";
81
81
  logo_placement?: "none" | "widget" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
- header_text_alignment: "left" | "right" | "center";
84
+ header_text_alignment: "center" | "left" | "right";
85
85
  logo_height: number;
86
- logo_position: "none" | "left" | "right" | "center";
86
+ logo_position: "none" | "center" | "left" | "right";
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: "left" | "right" | "center";
170
+ page_layout: "center" | "left" | "right";
171
171
  logo_placement?: "none" | "widget" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
- header_text_alignment: "left" | "right" | "center";
174
+ header_text_alignment: "center" | "left" | "right";
175
175
  logo_height: number;
176
- logo_position: "none" | "left" | "right" | "center";
176
+ logo_position: "none" | "center" | "left" | "right";
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: "left" | "right" | "center";
249
+ page_layout: "center" | "left" | "right";
250
250
  logo_placement?: "none" | "widget" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
- header_text_alignment: "left" | "right" | "center";
253
+ header_text_alignment: "center" | "left" | "right";
254
254
  logo_height: number;
255
- logo_position: "none" | "left" | "right" | "center";
255
+ logo_position: "none" | "center" | "left" | "right";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -497,7 +497,7 @@ export declare const brandingRoutes: OpenAPIHono<{
497
497
  } & {
498
498
  json: {
499
499
  body?: string | undefined;
500
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
500
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
501
501
  branding?: {
502
502
  colors?: {
503
503
  primary: string;
@@ -585,13 +585,13 @@ export declare const brandingRoutes: OpenAPIHono<{
585
585
  page_background?: {
586
586
  background_color: string;
587
587
  background_image_url: string;
588
- page_layout: "left" | "right" | "center";
588
+ page_layout: "center" | "left" | "right";
589
589
  logo_placement?: "none" | "widget" | "chip" | undefined;
590
590
  } | undefined;
591
591
  widget?: {
592
- header_text_alignment: "left" | "right" | "center";
592
+ header_text_alignment: "center" | "left" | "right";
593
593
  logo_height: number;
594
- logo_position: "none" | "left" | "right" | "center";
594
+ logo_position: "none" | "center" | "left" | "right";
595
595
  logo_url: string;
596
596
  social_buttons_layout: "bottom" | "top";
597
597
  } | 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?: "client" | "user" | undefined;
19
+ subject_type?: "user" | "client" | 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?: "client" | "user" | undefined;
34
+ subject_type?: "user" | "client" | 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?: "client" | "user" | undefined;
50
+ subject_type?: "user" | "client" | undefined;
51
51
  authorization_details_types?: string[] | undefined;
52
52
  created_at?: string | undefined;
53
53
  updated_at?: string | undefined;
@@ -63,7 +63,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
63
63
  organization_usage?: "deny" | "allow" | "require" | undefined;
64
64
  allow_any_organization?: boolean | undefined;
65
65
  is_system?: boolean | undefined;
66
- subject_type?: "client" | "user" | undefined;
66
+ subject_type?: "user" | "client" | undefined;
67
67
  authorization_details_types?: string[] | undefined;
68
68
  created_at?: string | undefined;
69
69
  updated_at?: string | undefined;
@@ -94,7 +94,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
94
94
  organization_usage?: "deny" | "allow" | "require" | undefined;
95
95
  allow_any_organization?: boolean | undefined;
96
96
  is_system?: boolean | undefined;
97
- subject_type?: "client" | "user" | undefined;
97
+ subject_type?: "user" | "client" | undefined;
98
98
  authorization_details_types?: string[] | undefined;
99
99
  created_at?: string | undefined;
100
100
  updated_at?: string | undefined;
@@ -152,7 +152,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
152
152
  organization_usage?: "deny" | "allow" | "require" | undefined;
153
153
  allow_any_organization?: boolean | undefined;
154
154
  is_system?: boolean | undefined;
155
- subject_type?: "client" | "user" | undefined;
155
+ subject_type?: "user" | "client" | undefined;
156
156
  authorization_details_types?: string[] | undefined;
157
157
  };
158
158
  };
@@ -164,7 +164,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
164
164
  organization_usage?: "deny" | "allow" | "require" | undefined;
165
165
  allow_any_organization?: boolean | undefined;
166
166
  is_system?: boolean | undefined;
167
- subject_type?: "client" | "user" | undefined;
167
+ subject_type?: "user" | "client" | undefined;
168
168
  authorization_details_types?: string[] | undefined;
169
169
  created_at?: string | undefined;
170
170
  updated_at?: string | undefined;
@@ -188,7 +188,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
188
188
  organization_usage?: "deny" | "allow" | "require" | undefined;
189
189
  allow_any_organization?: boolean | undefined;
190
190
  is_system?: boolean | undefined;
191
- subject_type?: "client" | "user" | undefined;
191
+ subject_type?: "user" | "client" | undefined;
192
192
  authorization_details_types?: string[] | undefined;
193
193
  };
194
194
  };
@@ -200,7 +200,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
200
200
  organization_usage?: "deny" | "allow" | "require" | undefined;
201
201
  allow_any_organization?: boolean | undefined;
202
202
  is_system?: boolean | undefined;
203
- subject_type?: "client" | "user" | undefined;
203
+ subject_type?: "user" | "client" | undefined;
204
204
  authorization_details_types?: string[] | undefined;
205
205
  created_at?: string | undefined;
206
206
  updated_at?: string | undefined;
@@ -16,6 +16,10 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
16
16
  constraints?: Record<string, unknown> | undefined;
17
17
  expires_in_seconds?: number | undefined;
18
18
  single_use?: boolean | undefined;
19
+ preset?: "native" | "spa" | "regular_web" | undefined;
20
+ name?: string | undefined;
21
+ connections?: string[] | undefined;
22
+ is_first_party?: boolean | undefined;
19
23
  };
20
24
  };
21
25
  output: {
@@ -27,6 +31,151 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
27
31
  constraints?: {
28
32
  [x: string]: import("hono/utils/types").JSONValue;
29
33
  } | undefined;
34
+ name?: string | undefined;
35
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
36
+ ticket?: string | undefined;
37
+ };
38
+ outputFormat: "json";
39
+ status: 201;
40
+ };
41
+ };
42
+ } & {
43
+ "/": {
44
+ $get: {
45
+ input: {
46
+ query: {
47
+ type?: "iat" | "rat" | undefined;
48
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
49
+ client_id?: string | undefined;
50
+ page?: string | undefined;
51
+ per_page?: string | undefined;
52
+ include_totals?: string | undefined;
53
+ };
54
+ } & {
55
+ header: {
56
+ "tenant-id"?: string | undefined;
57
+ };
58
+ };
59
+ output: {
60
+ id: string;
61
+ type: "iat" | "rat";
62
+ status: "active" | "expired" | "used" | "revoked";
63
+ single_use: boolean;
64
+ created_at: string;
65
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
66
+ name?: string | undefined;
67
+ client_id?: string | undefined;
68
+ sub?: string | undefined;
69
+ created_by?: string | undefined;
70
+ constraints?: {
71
+ [x: string]: import("hono/utils/types").JSONValue;
72
+ } | undefined;
73
+ expires_at?: string | undefined;
74
+ used_at?: string | undefined;
75
+ revoked_at?: string | undefined;
76
+ }[] | {
77
+ client_registration_tokens: {
78
+ id: string;
79
+ type: "iat" | "rat";
80
+ status: "active" | "expired" | "used" | "revoked";
81
+ single_use: boolean;
82
+ created_at: string;
83
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
84
+ name?: string | undefined;
85
+ client_id?: string | undefined;
86
+ sub?: string | undefined;
87
+ created_by?: string | undefined;
88
+ constraints?: {
89
+ [x: string]: import("hono/utils/types").JSONValue;
90
+ } | undefined;
91
+ expires_at?: string | undefined;
92
+ used_at?: string | undefined;
93
+ revoked_at?: string | undefined;
94
+ }[];
95
+ start: number;
96
+ limit: number;
97
+ length: number;
98
+ total: number;
99
+ };
100
+ outputFormat: "json";
101
+ status: 200;
102
+ };
103
+ };
104
+ } & {
105
+ "/:id": {
106
+ $get: {
107
+ input: {
108
+ param: {
109
+ id: string;
110
+ };
111
+ } & {
112
+ header: {
113
+ "tenant-id"?: string | undefined;
114
+ };
115
+ };
116
+ output: {
117
+ id: string;
118
+ type: "iat" | "rat";
119
+ status: "active" | "expired" | "used" | "revoked";
120
+ single_use: boolean;
121
+ created_at: string;
122
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
123
+ name?: string | undefined;
124
+ client_id?: string | undefined;
125
+ sub?: string | undefined;
126
+ created_by?: string | undefined;
127
+ constraints?: {
128
+ [x: string]: import("hono/utils/types").JSONValue;
129
+ } | undefined;
130
+ expires_at?: string | undefined;
131
+ used_at?: string | undefined;
132
+ revoked_at?: string | undefined;
133
+ };
134
+ outputFormat: "json";
135
+ status: 200;
136
+ };
137
+ };
138
+ } & {
139
+ "/:id/revoke": {
140
+ $post: {
141
+ input: {
142
+ param: {
143
+ id: string;
144
+ };
145
+ } & {
146
+ header: {
147
+ "tenant-id"?: string | undefined;
148
+ };
149
+ };
150
+ output: {};
151
+ outputFormat: string;
152
+ status: 202;
153
+ };
154
+ };
155
+ }, "/">;
156
+ export declare const clientRegistrationTicketRoutes: OpenAPIHono<{
157
+ Bindings: Bindings;
158
+ Variables: Variables;
159
+ }, {
160
+ "/:id/registration-ticket": {
161
+ $post: {
162
+ input: {
163
+ param: {
164
+ id: string;
165
+ };
166
+ } & {
167
+ header: {
168
+ "tenant-id"?: string | undefined;
169
+ };
170
+ } & {
171
+ json: {
172
+ ttl_sec?: number | undefined;
173
+ };
174
+ };
175
+ output: {
176
+ id: string;
177
+ ticket: string;
178
+ expires_at: string;
30
179
  };
31
180
  outputFormat: "json";
32
181
  status: 201;
@@ -1047,7 +1047,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1047
1047
  };
1048
1048
  } | {
1049
1049
  mode: "inline";
1050
- status: "error" | "success";
1050
+ status: "success" | "error";
1051
1051
  connection_id: string;
1052
1052
  connection_name: string;
1053
1053
  strategy: string;
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
28
28
  type: "auth0_managed_certs" | "self_managed_certs";
29
29
  custom_domain_id: string;
30
30
  primary: boolean;
31
- status: "pending" | "ready" | "disabled" | "pending_verification";
31
+ status: "pending" | "disabled" | "ready" | "pending_verification";
32
32
  verification_method?: "txt" | undefined;
33
33
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
34
34
  domain_metadata?: {
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
69
69
  type: "auth0_managed_certs" | "self_managed_certs";
70
70
  custom_domain_id: string;
71
71
  primary: boolean;
72
- status: "pending" | "ready" | "disabled" | "pending_verification";
72
+ status: "pending" | "disabled" | "ready" | "pending_verification";
73
73
  verification_method?: "txt" | undefined;
74
74
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
75
75
  domain_metadata?: {
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
133
133
  type: "auth0_managed_certs" | "self_managed_certs";
134
134
  custom_domain_id: string;
135
135
  primary: boolean;
136
- status: "pending" | "ready" | "disabled" | "pending_verification";
136
+ status: "pending" | "disabled" | "ready" | "pending_verification";
137
137
  verification_method?: "txt" | undefined;
138
138
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
139
139
  domain_metadata?: {
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
180
180
  type: "auth0_managed_certs" | "self_managed_certs";
181
181
  custom_domain_id: string;
182
182
  primary: boolean;
183
- status: "pending" | "ready" | "disabled" | "pending_verification";
183
+ status: "pending" | "disabled" | "ready" | "pending_verification";
184
184
  verification_method?: "txt" | undefined;
185
185
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
186
186
  domain_metadata?: {
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
226
226
  type: "auth0_managed_certs" | "self_managed_certs";
227
227
  custom_domain_id: string;
228
228
  primary: boolean;
229
- status: "pending" | "ready" | "disabled" | "pending_verification";
229
+ status: "pending" | "disabled" | "ready" | "pending_verification";
230
230
  verification_method?: "txt" | undefined;
231
231
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
232
232
  domain_metadata?: {
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
267
267
  type: "auth0_managed_certs" | "self_managed_certs";
268
268
  custom_domain_id: string;
269
269
  primary: boolean;
270
- status: "pending" | "ready" | "disabled" | "pending_verification";
270
+ status: "pending" | "disabled" | "ready" | "pending_verification";
271
271
  verification_method?: "txt" | undefined;
272
272
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
273
273
  domain_metadata?: {
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16
16
  body: string;
17
17
  from: string;
18
18
  subject: string;
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
33
33
  };
34
34
  } & {
35
35
  json: {
36
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
36
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
37
37
  body: string;
38
38
  from: string;
39
39
  subject: string;
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
45
45
  };
46
46
  };
47
47
  output: {
48
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
48
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
49
49
  body: string;
50
50
  from: string;
51
51
  subject: string;
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
68
68
  };
69
69
  };
70
70
  output: {
71
- name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
71
+ name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
72
72
  body: string;
73
73
  subject: string;
74
74
  }[];
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
81
81
  $get: {
82
82
  input: {
83
83
  param: {
84
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
84
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
85
85
  };
86
86
  } & {
87
87
  header: {
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
94
94
  } | {
95
95
  input: {
96
96
  param: {
97
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
97
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
98
98
  };
99
99
  } & {
100
100
  header: {
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
102
102
  };
103
103
  };
104
104
  output: {
105
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
105
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
106
106
  body: string;
107
107
  from: string;
108
108
  subject: string;
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
121
121
  $put: {
122
122
  input: {
123
123
  param: {
124
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
124
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
125
125
  };
126
126
  } & {
127
127
  header: {
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
129
129
  };
130
130
  } & {
131
131
  json: {
132
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
132
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
133
133
  body: string;
134
134
  subject: string;
135
135
  syntax?: "liquid" | undefined;
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
141
141
  };
142
142
  };
143
143
  output: {
144
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
144
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
145
145
  body: string;
146
146
  from: string;
147
147
  subject: string;
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
160
160
  $patch: {
161
161
  input: {
162
162
  param: {
163
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
163
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
164
164
  };
165
165
  } & {
166
166
  header: {
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
168
168
  };
169
169
  } & {
170
170
  json: {
171
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
171
+ template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
172
172
  body?: string | undefined;
173
173
  from?: string | undefined;
174
174
  subject?: string | undefined;
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
185
185
  } | {
186
186
  input: {
187
187
  param: {
188
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
188
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
189
189
  };
190
190
  } & {
191
191
  header: {
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
193
193
  };
194
194
  } & {
195
195
  json: {
196
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
196
+ template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
197
197
  body?: string | undefined;
198
198
  from?: string | undefined;
199
199
  subject?: string | undefined;
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
205
205
  };
206
206
  };
207
207
  output: {
208
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
208
+ template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
209
209
  body: string;
210
210
  from: string;
211
211
  subject: string;
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
224
224
  $delete: {
225
225
  input: {
226
226
  param: {
227
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
227
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
228
228
  };
229
229
  } & {
230
230
  header: {
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
237
237
  } | {
238
238
  input: {
239
239
  param: {
240
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
240
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
241
241
  };
242
242
  } & {
243
243
  header: {
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
254
254
  $post: {
255
255
  input: {
256
256
  param: {
257
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
257
+ templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
258
258
  };
259
259
  } & {
260
260
  header: {
@@ -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: "user" | "system" | "admin" | "api_key" | "client_credentials";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -134,7 +134,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
134
134
  log_type: string;
135
135
  category: "user_action" | "admin_action" | "system" | "api";
136
136
  actor: {
137
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
137
+ type: "user" | "system" | "admin" | "api_key" | "client_credentials";
138
138
  id?: string | undefined;
139
139
  email?: string | undefined;
140
140
  org_id?: string | undefined;