authhero 8.27.0 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/LICENSE +661 -21
  2. package/dist/assets/u/js/client.js +2 -2
  3. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  4. package/dist/assets/u/widget/index.esm.js +1 -1
  5. package/dist/assets/u/widget/{p-52a70476.entry.js → p-cdfc4555.entry.js} +1 -1
  6. package/dist/assets/u/widget/{p-f6babd26.entry.js → p-eca60302.entry.js} +1 -1
  7. package/dist/authhero.cjs +268 -251
  8. package/dist/authhero.d.ts +186 -95
  9. package/dist/authhero.mjs +26150 -18257
  10. package/dist/client.js +2 -2
  11. package/dist/tsconfig.types.tsbuildinfo +1 -1
  12. package/dist/types/authentication-flows/passwordless.d.ts +4 -3
  13. package/dist/types/client/client-bundle.d.ts +1 -1
  14. package/dist/types/constants.d.ts +2 -0
  15. package/dist/types/generated/locale-types.d.ts +2 -0
  16. package/dist/types/helpers/client.d.ts +2 -2
  17. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  18. package/dist/types/helpers/link-candidates.d.ts +28 -0
  19. package/dist/types/helpers/logging.d.ts +8 -0
  20. package/dist/types/helpers/revoke-user-sessions.d.ts +15 -0
  21. package/dist/types/helpers/scim/default-mapping.d.ts +10 -0
  22. package/dist/types/helpers/scim/discovery.d.ts +49 -0
  23. package/dist/types/helpers/scim/filter.d.ts +58 -0
  24. package/dist/types/helpers/scim/mint-token.d.ts +11 -0
  25. package/dist/types/helpers/scim/patch.d.ts +23 -0
  26. package/dist/types/helpers/scim/responses.d.ts +36 -0
  27. package/dist/types/helpers/scim/user-mapping.d.ts +76 -0
  28. package/dist/types/helpers/scopes-permissions.d.ts +18 -0
  29. package/dist/types/helpers/signing-keys.d.ts +36 -0
  30. package/dist/types/helpers/users.d.ts +116 -1
  31. package/dist/types/hooks/codehooks.d.ts +9 -1
  32. package/dist/types/hooks/helpers/post-login-account-linking.d.ts +52 -0
  33. package/dist/types/hooks/pre-defined/account-linking.d.ts +20 -0
  34. package/dist/types/hooks/user-registration.d.ts +1 -0
  35. package/dist/types/index.d.ts +121 -91
  36. package/dist/types/middlewares/scim-auth.d.ts +19 -0
  37. package/dist/types/routes/auth-api/index.d.ts +34 -34
  38. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  39. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  40. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  41. package/dist/types/routes/auth-api/token.d.ts +10 -10
  42. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  43. package/dist/types/routes/management-api/actions.d.ts +1 -1
  44. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  45. package/dist/types/routes/management-api/branding.d.ts +1 -1
  46. package/dist/types/routes/management-api/clients.d.ts +8 -8
  47. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  48. package/dist/types/routes/management-api/failed-events.d.ts +2 -1
  49. package/dist/types/routes/management-api/forms.d.ts +14 -0
  50. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  51. package/dist/types/routes/management-api/index.d.ts +76 -50
  52. package/dist/types/routes/management-api/logs.d.ts +4 -4
  53. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  54. package/dist/types/routes/management-api/prompts.d.ts +6 -4
  55. package/dist/types/routes/management-api/scim.d.ts +187 -0
  56. package/dist/types/routes/management-api/tenants.d.ts +1 -1
  57. package/dist/types/routes/management-api/users-by-email.d.ts +1 -0
  58. package/dist/types/routes/management-api/users.d.ts +13 -5
  59. package/dist/types/routes/scim/index.d.ts +6 -0
  60. package/dist/types/routes/universal-login/common.d.ts +3 -2
  61. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  62. package/dist/types/routes/universal-login/screens/types.d.ts +9 -0
  63. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  64. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  65. package/dist/types/types/AuthError.d.ts +1 -1
  66. package/dist/types/types/Hooks.d.ts +8 -1
  67. package/dist/types/utils/cookies.d.ts +11 -0
  68. package/package.json +7 -6
@@ -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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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?: "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;
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: "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";
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?: "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;
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: "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";
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: "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";
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: "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";
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: "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";
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" | "client_credentials" | "api_key" | "system" | "admin";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -64,6 +64,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
64
64
  body?: import("hono/utils/types").JSONValue | undefined;
65
65
  user_agent?: string | undefined;
66
66
  correlation_id?: string | undefined;
67
+ redirect_uri?: string | undefined;
67
68
  };
68
69
  hostname: string;
69
70
  timestamp: string;
@@ -520,6 +520,8 @@ export declare const formsRoutes: OpenAPIHono<{
520
520
  display_name?: string | undefined;
521
521
  icon_url?: string | undefined;
522
522
  href?: string | undefined;
523
+ last_used?: boolean | undefined;
524
+ last_used_label?: string | undefined;
523
525
  }[] | undefined;
524
526
  } | undefined;
525
527
  } | {
@@ -1121,6 +1123,8 @@ export declare const formsRoutes: OpenAPIHono<{
1121
1123
  display_name?: string | undefined;
1122
1124
  icon_url?: string | undefined;
1123
1125
  href?: string | undefined;
1126
+ last_used?: boolean | undefined;
1127
+ last_used_label?: string | undefined;
1124
1128
  }[] | undefined;
1125
1129
  } | undefined;
1126
1130
  } | {
@@ -1738,6 +1742,8 @@ export declare const formsRoutes: OpenAPIHono<{
1738
1742
  display_name?: string | undefined;
1739
1743
  icon_url?: string | undefined;
1740
1744
  href?: string | undefined;
1745
+ last_used?: boolean | undefined;
1746
+ last_used_label?: string | undefined;
1741
1747
  }[] | undefined;
1742
1748
  } | undefined;
1743
1749
  } | {
@@ -2356,6 +2362,8 @@ export declare const formsRoutes: OpenAPIHono<{
2356
2362
  display_name?: string | undefined;
2357
2363
  icon_url?: string | undefined;
2358
2364
  href?: string | undefined;
2365
+ last_used?: boolean | undefined;
2366
+ last_used_label?: string | undefined;
2359
2367
  }[] | undefined;
2360
2368
  } | undefined;
2361
2369
  } | {
@@ -2955,6 +2963,8 @@ export declare const formsRoutes: OpenAPIHono<{
2955
2963
  display_name?: string | undefined;
2956
2964
  icon_url?: string | undefined;
2957
2965
  href?: string | undefined;
2966
+ last_used?: boolean | undefined;
2967
+ last_used_label?: string | undefined;
2958
2968
  }[] | undefined;
2959
2969
  } | undefined;
2960
2970
  } | {
@@ -3552,6 +3562,8 @@ export declare const formsRoutes: OpenAPIHono<{
3552
3562
  display_name?: string | undefined;
3553
3563
  icon_url?: string | undefined;
3554
3564
  href?: string | undefined;
3565
+ last_used?: boolean | undefined;
3566
+ last_used_label?: string | undefined;
3555
3567
  }[] | undefined;
3556
3568
  } | undefined;
3557
3569
  } | {
@@ -4151,6 +4163,8 @@ export declare const formsRoutes: OpenAPIHono<{
4151
4163
  display_name?: string | undefined;
4152
4164
  icon_url?: string | undefined;
4153
4165
  href?: string | undefined;
4166
+ last_used?: boolean | undefined;
4167
+ last_used_label?: string | undefined;
4154
4168
  }[] | undefined;
4155
4169
  } | undefined;
4156
4170
  } | {
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
12
12
  };
13
13
  };
14
14
  output: {
15
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
15
+ name: "otp" | "email" | "sms" | "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: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
170
+ factor_name: "otp" | "email" | "sms" | "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: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
178
+ name: "otp" | "email" | "sms" | "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: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
191
+ factor_name: "otp" | "email" | "sms" | "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: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
203
+ name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
204
204
  enabled: boolean;
205
205
  trial_expired?: boolean | undefined;
206
206
  };