authhero 5.18.0 → 5.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 (48) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +136 -129
  3. package/dist/authhero.d.ts +309 -104
  4. package/dist/authhero.mjs +10431 -9866
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  8. package/dist/types/helpers/consent.d.ts +31 -0
  9. package/dist/types/helpers/control-plane-sync-events.d.ts +67 -0
  10. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  11. package/dist/types/helpers/default-destinations.d.ts +11 -0
  12. package/dist/types/helpers/outbox-destinations/control-plane-sync.d.ts +35 -0
  13. package/dist/types/helpers/outbox-destinations/logs.d.ts +2 -0
  14. package/dist/types/index.d.ts +178 -101
  15. package/dist/types/routes/auth-api/index.d.ts +24 -24
  16. package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
  17. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  18. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  19. package/dist/types/routes/auth-api/token.d.ts +10 -10
  20. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  21. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  22. package/dist/types/routes/management-api/branding.d.ts +9 -9
  23. package/dist/types/routes/management-api/clients.d.ts +9 -9
  24. package/dist/types/routes/management-api/connections.d.ts +5 -5
  25. package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
  26. package/dist/types/routes/management-api/email-templates.d.ts +15 -15
  27. package/dist/types/routes/management-api/grants.d.ts +80 -0
  28. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  29. package/dist/types/routes/management-api/index.d.ts +143 -69
  30. package/dist/types/routes/management-api/logs.d.ts +3 -3
  31. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  32. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  33. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  34. package/dist/types/routes/management-api/proxy-routes.d.ts +1 -0
  35. package/dist/types/routes/management-api/themes.d.ts +6 -6
  36. package/dist/types/routes/management-api/users.d.ts +2 -2
  37. package/dist/types/routes/proxy-control-plane/index.d.ts +34 -1
  38. package/dist/types/routes/universal-login/common.d.ts +10 -10
  39. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  40. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  41. package/dist/types/routes/universal-login/index.d.ts +2 -2
  42. package/dist/types/routes/universal-login/screens/consent.d.ts +9 -0
  43. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  45. package/dist/types/state-machines/login-session.d.ts +12 -1
  46. package/dist/types/types/AuthHeroConfig.d.ts +26 -0
  47. package/dist/types/types/IdToken.d.ts +1 -1
  48. package/package.json +5 -5
@@ -30,7 +30,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
30
30
  primary: boolean;
31
31
  status: "disabled" | "pending" | "pending_verification" | "ready";
32
32
  verification_method?: "txt" | undefined;
33
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
33
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
34
34
  domain_metadata?: {
35
35
  [x: string]: string;
36
36
  } | undefined;
@@ -71,7 +71,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
71
71
  primary: boolean;
72
72
  status: "disabled" | "pending" | "pending_verification" | "ready";
73
73
  verification_method?: "txt" | undefined;
74
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
74
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
75
75
  domain_metadata?: {
76
76
  [x: string]: string;
77
77
  } | undefined;
@@ -126,7 +126,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
126
126
  domain?: string | undefined;
127
127
  type?: "auth0_managed_certs" | "self_managed_certs" | undefined;
128
128
  verification_method?: "txt" | undefined;
129
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
129
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
130
130
  domain_metadata?: Record<string, string> | undefined;
131
131
  custom_domain_id?: string | undefined;
132
132
  primary?: boolean | undefined;
@@ -153,7 +153,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
153
153
  primary: boolean;
154
154
  status: "disabled" | "pending" | "pending_verification" | "ready";
155
155
  verification_method?: "txt" | undefined;
156
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
156
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
157
157
  domain_metadata?: {
158
158
  [x: string]: string;
159
159
  } | undefined;
@@ -189,7 +189,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
189
189
  custom_domain_id?: string | undefined;
190
190
  verification_method?: "txt" | undefined;
191
191
  tls_policy?: "recommended" | undefined;
192
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
192
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
193
193
  domain_metadata?: Record<string, string> | undefined;
194
194
  };
195
195
  };
@@ -200,7 +200,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
200
200
  primary: boolean;
201
201
  status: "disabled" | "pending" | "pending_verification" | "ready";
202
202
  verification_method?: "txt" | undefined;
203
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
203
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
204
204
  domain_metadata?: {
205
205
  [x: string]: string;
206
206
  } | undefined;
@@ -246,7 +246,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
246
246
  primary: boolean;
247
247
  status: "disabled" | "pending" | "pending_verification" | "ready";
248
248
  verification_method?: "txt" | undefined;
249
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
249
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
250
250
  domain_metadata?: {
251
251
  [x: string]: string;
252
252
  } | undefined;
@@ -287,7 +287,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
287
287
  primary: boolean;
288
288
  status: "disabled" | "pending" | "pending_verification" | "ready";
289
289
  verification_method?: "txt" | undefined;
290
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
290
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
291
291
  domain_metadata?: {
292
292
  [x: string]: string;
293
293
  } | undefined;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
15
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16
16
  body: string;
17
17
  from: string;
18
18
  subject: string;
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
33
33
  };
34
34
  } & {
35
35
  json: {
36
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
36
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
37
37
  body: string;
38
38
  from: string;
39
39
  subject: string;
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
45
45
  };
46
46
  };
47
47
  output: {
48
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
48
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
49
49
  body: string;
50
50
  from: string;
51
51
  subject: string;
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
68
68
  };
69
69
  };
70
70
  output: {
71
- name: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
71
+ name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
72
72
  body: string;
73
73
  subject: string;
74
74
  }[];
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
81
81
  $get: {
82
82
  input: {
83
83
  param: {
84
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
84
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
85
85
  };
86
86
  } & {
87
87
  header: {
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
94
94
  } | {
95
95
  input: {
96
96
  param: {
97
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
97
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
98
98
  };
99
99
  } & {
100
100
  header: {
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
102
102
  };
103
103
  };
104
104
  output: {
105
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
105
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
106
106
  body: string;
107
107
  from: string;
108
108
  subject: string;
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
121
121
  $put: {
122
122
  input: {
123
123
  param: {
124
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
124
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
125
125
  };
126
126
  } & {
127
127
  header: {
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
129
129
  };
130
130
  } & {
131
131
  json: {
132
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
132
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
133
133
  body: string;
134
134
  from: string;
135
135
  subject: string;
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
141
141
  };
142
142
  };
143
143
  output: {
144
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
144
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
145
145
  body: string;
146
146
  from: string;
147
147
  subject: string;
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
160
160
  $patch: {
161
161
  input: {
162
162
  param: {
163
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
163
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
164
164
  };
165
165
  } & {
166
166
  header: {
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
168
168
  };
169
169
  } & {
170
170
  json: {
171
- template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
171
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
172
172
  body?: string | undefined;
173
173
  from?: string | undefined;
174
174
  subject?: string | undefined;
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
185
185
  } | {
186
186
  input: {
187
187
  param: {
188
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
188
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
189
189
  };
190
190
  } & {
191
191
  header: {
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
193
193
  };
194
194
  } & {
195
195
  json: {
196
- template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
196
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
197
197
  body?: string | undefined;
198
198
  from?: string | undefined;
199
199
  subject?: string | undefined;
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
205
205
  };
206
206
  };
207
207
  output: {
208
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
208
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
209
209
  body: string;
210
210
  from: string;
211
211
  subject: string;
@@ -0,0 +1,80 @@
1
+ import { OpenAPIHono } from "@hono/zod-openapi";
2
+ import { Bindings, Variables } from "../../types";
3
+ export declare const grantRoutes: OpenAPIHono<{
4
+ Bindings: Bindings;
5
+ Variables: Variables;
6
+ }, {
7
+ "/": {
8
+ $get: {
9
+ input: {
10
+ query: {
11
+ per_page?: string | undefined;
12
+ page?: string | undefined;
13
+ include_totals?: string | undefined;
14
+ user_id?: string | undefined;
15
+ client_id?: string | undefined;
16
+ audience?: string | undefined;
17
+ };
18
+ } & {
19
+ header: {
20
+ "tenant-id"?: string | undefined;
21
+ };
22
+ };
23
+ output: {
24
+ user_id: string;
25
+ clientID: string;
26
+ scope: string[];
27
+ id: string;
28
+ audience?: string | undefined;
29
+ }[] | {
30
+ start: number;
31
+ limit: number;
32
+ length: number;
33
+ grants: {
34
+ user_id: string;
35
+ clientID: string;
36
+ scope: string[];
37
+ id: string;
38
+ audience?: string | undefined;
39
+ }[];
40
+ total?: number | undefined;
41
+ };
42
+ outputFormat: "json";
43
+ status: 200;
44
+ };
45
+ };
46
+ } & {
47
+ "/:id": {
48
+ $delete: {
49
+ input: {
50
+ param: {
51
+ id: string;
52
+ };
53
+ } & {
54
+ header: {
55
+ "tenant-id"?: string | undefined;
56
+ };
57
+ };
58
+ output: {};
59
+ outputFormat: string;
60
+ status: 204;
61
+ };
62
+ };
63
+ } & {
64
+ "/": {
65
+ $delete: {
66
+ input: {
67
+ query: {
68
+ user_id: string;
69
+ };
70
+ } & {
71
+ header: {
72
+ "tenant-id"?: string | undefined;
73
+ };
74
+ };
75
+ output: {};
76
+ outputFormat: string;
77
+ status: 204;
78
+ };
79
+ };
80
+ }, "/">;
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
12
12
  };
13
13
  };
14
14
  output: {
15
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
15
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
16
16
  enabled: boolean;
17
17
  trial_expired?: boolean | undefined;
18
18
  }[];
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
167
167
  $get: {
168
168
  input: {
169
169
  param: {
170
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
170
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
171
171
  };
172
172
  } & {
173
173
  header: {
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
175
175
  };
176
176
  };
177
177
  output: {
178
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
178
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
179
179
  enabled: boolean;
180
180
  trial_expired?: boolean | undefined;
181
181
  };
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
188
188
  $put: {
189
189
  input: {
190
190
  param: {
191
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
191
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
192
192
  };
193
193
  } & {
194
194
  header: {
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
200
200
  };
201
201
  };
202
202
  output: {
203
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
203
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
204
204
  enabled: boolean;
205
205
  trial_expired?: boolean | undefined;
206
206
  };