authhero 5.19.0 → 5.20.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 (45) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +2701 -107
  3. package/dist/authhero.d.ts +381 -214
  4. package/dist/authhero.mjs +7273 -6982
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/common.d.ts +8 -0
  8. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  9. package/dist/types/authentication-flows/token-exchange.d.ts +19 -0
  10. package/dist/types/emails/defaults/BlockedAccount.d.ts +1 -0
  11. package/dist/types/emails/defaults/ChangePassword.d.ts +6 -0
  12. package/dist/types/emails/defaults/EnrollmentEmail.d.ts +1 -0
  13. package/dist/types/emails/defaults/MfaOobCode.d.ts +1 -0
  14. package/dist/types/emails/defaults/PasswordReset.d.ts +5 -0
  15. package/dist/types/emails/defaults/StolenCredentials.d.ts +1 -0
  16. package/dist/types/emails/index.d.ts +21 -1
  17. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  18. package/dist/types/helpers/scopes-permissions.d.ts +1 -1
  19. package/dist/types/index.d.ts +381 -214
  20. package/dist/types/routes/auth-api/index.d.ts +137 -27
  21. package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
  22. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  23. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  24. package/dist/types/routes/auth-api/token.d.ts +120 -10
  25. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  26. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  27. package/dist/types/routes/management-api/actions.d.ts +4 -4
  28. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  29. package/dist/types/routes/management-api/clients.d.ts +7 -7
  30. package/dist/types/routes/management-api/connections.d.ts +1 -1
  31. package/dist/types/routes/management-api/email-templates.d.ts +88 -31
  32. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  33. package/dist/types/routes/management-api/forms.d.ts +126 -126
  34. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  35. package/dist/types/routes/management-api/index.d.ts +244 -187
  36. package/dist/types/routes/management-api/logs.d.ts +3 -3
  37. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  38. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  39. package/dist/types/routes/management-api/users.d.ts +2 -2
  40. package/dist/types/routes/universal-login/common.d.ts +2 -2
  41. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  42. package/dist/types/types/GrantFlowResult.d.ts +8 -0
  43. package/dist/types/utils/jwks.d.ts +2 -2
  44. package/dist/types/utils/jwt.d.ts +4 -0
  45. package/package.json +5 -5
@@ -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: "email" | "sms" | "otp" | "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: "email" | "sms" | "otp" | "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: "email" | "sms" | "otp" | "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: "email" | "sms" | "otp" | "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: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
204
204
  enabled: boolean;
205
205
  trial_expired?: boolean | undefined;
206
206
  };