authhero 5.20.0 → 5.21.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 (43) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +101 -101
  3. package/dist/authhero.d.ts +168 -102
  4. package/dist/authhero.mjs +8703 -8635
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/common.d.ts +1 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +12 -3
  9. package/dist/types/helpers/client.d.ts +23 -3
  10. package/dist/types/helpers/logging.d.ts +7 -0
  11. package/dist/types/index.d.ts +98 -96
  12. package/dist/types/provisioning/index.d.ts +2 -0
  13. package/dist/types/provisioning/noop-provisioner.d.ts +11 -0
  14. package/dist/types/provisioning/provisioner.d.ts +25 -0
  15. package/dist/types/routes/auth-api/index.d.ts +12 -12
  16. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  17. package/dist/types/routes/auth-api/well-known.d.ts +2 -2
  18. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  19. package/dist/types/routes/management-api/actions.d.ts +3 -3
  20. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  21. package/dist/types/routes/management-api/custom-domains.d.ts +7 -7
  22. package/dist/types/routes/management-api/email-templates.d.ts +35 -35
  23. package/dist/types/routes/management-api/emails.d.ts +2 -2
  24. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  25. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  26. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  27. package/dist/types/routes/management-api/index.d.ts +72 -72
  28. package/dist/types/routes/management-api/logs.d.ts +3 -3
  29. package/dist/types/routes/management-api/organizations.d.ts +4 -4
  30. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  31. package/dist/types/routes/management-api/tenants.d.ts +33 -6
  32. package/dist/types/routes/management-api/users.d.ts +2 -2
  33. package/dist/types/routes/universal-login/common.d.ts +48 -12
  34. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  35. package/dist/types/routes/universal-login/form-node.d.ts +4 -4
  36. package/dist/types/routes/universal-login/index.d.ts +4 -4
  37. package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
  38. package/dist/types/routes/universal-login/u2-index.d.ts +8 -8
  39. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  40. package/dist/types/types/AuthHeroConfig.d.ts +12 -0
  41. package/dist/types/utils/email.d.ts +2 -0
  42. package/dist/types/utils/jwks.d.ts +4 -4
  43. package/package.json +5 -5
@@ -37,7 +37,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "phone" | "passkey" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -177,7 +177,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
177
177
  };
178
178
  };
179
179
  output: {
180
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
180
+ name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
181
181
  enabled: boolean;
182
182
  trial_expired?: boolean | undefined;
183
183
  }[];
@@ -332,7 +332,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
332
332
  $get: {
333
333
  input: {
334
334
  param: {
335
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
335
+ factor_name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
336
336
  };
337
337
  } & {
338
338
  header: {
@@ -340,7 +340,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
340
340
  };
341
341
  };
342
342
  output: {
343
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
343
+ name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
344
344
  enabled: boolean;
345
345
  trial_expired?: boolean | undefined;
346
346
  };
@@ -353,7 +353,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
353
353
  $put: {
354
354
  input: {
355
355
  param: {
356
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
356
+ factor_name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
357
357
  };
358
358
  } & {
359
359
  header: {
@@ -365,7 +365,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
365
365
  };
366
366
  };
367
367
  output: {
368
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
368
+ name: "otp" | "email" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
369
369
  enabled: boolean;
370
370
  trial_expired?: boolean | undefined;
371
371
  };
@@ -1110,10 +1110,10 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1110
1110
  invitee: {
1111
1111
  email?: string | undefined;
1112
1112
  };
1113
+ connection_id?: string | undefined;
1114
+ id?: string | undefined;
1113
1115
  app_metadata?: Record<string, any> | undefined;
1114
1116
  user_metadata?: Record<string, any> | undefined;
1115
- id?: string | undefined;
1116
- connection_id?: string | undefined;
1117
1117
  roles?: string[] | undefined;
1118
1118
  ttl_sec?: number | undefined;
1119
1119
  send_invitation_email?: boolean | undefined;
@@ -1163,7 +1163,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1163
1163
  };
1164
1164
  output: {};
1165
1165
  outputFormat: string;
1166
- status: 204;
1166
+ status: 404;
1167
1167
  } | {
1168
1168
  input: {
1169
1169
  param: {
@@ -1177,7 +1177,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1177
1177
  };
1178
1178
  output: {};
1179
1179
  outputFormat: string;
1180
- status: 404;
1180
+ status: 204;
1181
1181
  };
1182
1182
  };
1183
1183
  } & {
@@ -6601,7 +6601,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6601
6601
  };
6602
6602
  };
6603
6603
  output: {
6604
- prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6604
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6605
6605
  language: string;
6606
6606
  }[];
6607
6607
  outputFormat: "json";
@@ -6639,7 +6639,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6639
6639
  $get: {
6640
6640
  input: {
6641
6641
  param: {
6642
- prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6642
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6643
6643
  language: string;
6644
6644
  };
6645
6645
  } & {
@@ -6661,7 +6661,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6661
6661
  $put: {
6662
6662
  input: {
6663
6663
  param: {
6664
- prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6664
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6665
6665
  language: string;
6666
6666
  };
6667
6667
  } & {
@@ -6685,7 +6685,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6685
6685
  $delete: {
6686
6686
  input: {
6687
6687
  param: {
6688
- prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6688
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6689
6689
  language: string;
6690
6690
  };
6691
6691
  } & {
@@ -7583,7 +7583,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7583
7583
  tenant_id: string;
7584
7584
  created_at: string;
7585
7585
  updated_at: string;
7586
- deploymentStatus: "deployed" | "failed" | "not_required";
7586
+ deploymentStatus: "failed" | "deployed" | "not_required";
7587
7587
  secrets?: {
7588
7588
  [x: string]: string;
7589
7589
  } | undefined;
@@ -7673,7 +7673,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7673
7673
  tenant_id: string;
7674
7674
  created_at: string;
7675
7675
  updated_at: string;
7676
- deploymentStatus: "deployed" | "failed" | "not_required";
7676
+ deploymentStatus: "failed" | "deployed" | "not_required";
7677
7677
  secrets?: {
7678
7678
  [x: string]: string;
7679
7679
  } | undefined;
@@ -8126,7 +8126,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8126
8126
  log_type: string;
8127
8127
  category: "user_action" | "admin_action" | "system" | "api";
8128
8128
  actor: {
8129
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
8129
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
8130
8130
  id?: string | undefined;
8131
8131
  email?: string | undefined;
8132
8132
  org_id?: string | undefined;
@@ -8774,7 +8774,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8774
8774
  };
8775
8775
  };
8776
8776
  output: {
8777
- type: "s" | "w" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
8777
+ type: "s" | "w" | "i" | "fn" | "f" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
8778
8778
  date: string;
8779
8779
  isMobile: boolean;
8780
8780
  log_id: string;
@@ -8813,7 +8813,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8813
8813
  limit: number;
8814
8814
  length: number;
8815
8815
  logs: {
8816
- type: "s" | "w" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
8816
+ type: "s" | "w" | "i" | "fn" | "f" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
8817
8817
  date: string;
8818
8818
  isMobile: boolean;
8819
8819
  log_id: string;
@@ -8867,7 +8867,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8867
8867
  };
8868
8868
  };
8869
8869
  output: {
8870
- type: "s" | "w" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
8870
+ type: "s" | "w" | "i" | "fn" | "f" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
8871
8871
  date: string;
8872
8872
  isMobile: boolean;
8873
8873
  log_id: string;
@@ -11085,7 +11085,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11085
11085
  };
11086
11086
  };
11087
11087
  output: {
11088
- type: "s" | "w" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11088
+ type: "s" | "w" | "i" | "fn" | "f" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11089
11089
  date: string;
11090
11090
  isMobile: boolean;
11091
11091
  log_id: string;
@@ -11124,7 +11124,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11124
11124
  limit: number;
11125
11125
  length: number;
11126
11126
  logs: {
11127
- type: "s" | "w" | "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11127
+ type: "s" | "w" | "i" | "fn" | "f" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11128
11128
  date: string;
11129
11129
  isMobile: boolean;
11130
11130
  log_id: string;
@@ -11439,7 +11439,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11439
11439
  };
11440
11440
  } & {
11441
11441
  json: {
11442
- 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";
11442
+ 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";
11443
11443
  body: string;
11444
11444
  from: string;
11445
11445
  subject: string;
@@ -11450,19 +11450,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11450
11450
  enabled?: boolean | undefined;
11451
11451
  };
11452
11452
  };
11453
- output: {
11454
- 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";
11455
- body: string;
11456
- from: string;
11457
- subject: string;
11458
- syntax: "liquid";
11459
- includeEmailInRedirect: boolean;
11460
- enabled: boolean;
11461
- resultUrl?: string | undefined;
11462
- urlLifetimeInSeconds?: number | undefined;
11463
- };
11464
- outputFormat: "json";
11465
- status: 201;
11453
+ output: {};
11454
+ outputFormat: string;
11455
+ status: 409;
11466
11456
  } | {
11467
11457
  input: {
11468
11458
  header: {
@@ -11470,7 +11460,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11470
11460
  };
11471
11461
  } & {
11472
11462
  json: {
11473
- 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";
11463
+ 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";
11474
11464
  body: string;
11475
11465
  from: string;
11476
11466
  subject: string;
@@ -11481,9 +11471,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11481
11471
  enabled?: boolean | undefined;
11482
11472
  };
11483
11473
  };
11484
- output: {};
11485
- outputFormat: string;
11486
- status: 409;
11474
+ output: {
11475
+ 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";
11476
+ body: string;
11477
+ from: string;
11478
+ subject: string;
11479
+ syntax: "liquid";
11480
+ includeEmailInRedirect: boolean;
11481
+ enabled: boolean;
11482
+ resultUrl?: string | undefined;
11483
+ urlLifetimeInSeconds?: number | undefined;
11484
+ };
11485
+ outputFormat: "json";
11486
+ status: 201;
11487
11487
  };
11488
11488
  };
11489
11489
  } & {
@@ -11495,7 +11495,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11495
11495
  };
11496
11496
  };
11497
11497
  output: {
11498
- 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";
11498
+ 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";
11499
11499
  body: string;
11500
11500
  subject: string;
11501
11501
  }[];
@@ -11508,7 +11508,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11508
11508
  $get: {
11509
11509
  input: {
11510
11510
  param: {
11511
- 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";
11511
+ 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";
11512
11512
  };
11513
11513
  } & {
11514
11514
  header: {
@@ -11521,7 +11521,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11521
11521
  } | {
11522
11522
  input: {
11523
11523
  param: {
11524
- 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";
11524
+ 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";
11525
11525
  };
11526
11526
  } & {
11527
11527
  header: {
@@ -11529,7 +11529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11529
11529
  };
11530
11530
  };
11531
11531
  output: {
11532
- 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";
11532
+ 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";
11533
11533
  body: string;
11534
11534
  from: string;
11535
11535
  subject: string;
@@ -11548,7 +11548,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11548
11548
  $put: {
11549
11549
  input: {
11550
11550
  param: {
11551
- 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";
11551
+ 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";
11552
11552
  };
11553
11553
  } & {
11554
11554
  header: {
@@ -11556,7 +11556,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11556
11556
  };
11557
11557
  } & {
11558
11558
  json: {
11559
- 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";
11559
+ 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";
11560
11560
  body: string;
11561
11561
  subject: string;
11562
11562
  syntax?: "liquid" | undefined;
@@ -11568,7 +11568,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11568
11568
  };
11569
11569
  };
11570
11570
  output: {
11571
- 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";
11571
+ 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";
11572
11572
  body: string;
11573
11573
  from: string;
11574
11574
  subject: string;
@@ -11587,7 +11587,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11587
11587
  $patch: {
11588
11588
  input: {
11589
11589
  param: {
11590
- 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";
11590
+ 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";
11591
11591
  };
11592
11592
  } & {
11593
11593
  header: {
@@ -11595,7 +11595,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11595
11595
  };
11596
11596
  } & {
11597
11597
  json: {
11598
- 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;
11598
+ 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;
11599
11599
  body?: string | undefined;
11600
11600
  from?: string | undefined;
11601
11601
  subject?: string | undefined;
@@ -11612,7 +11612,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11612
11612
  } | {
11613
11613
  input: {
11614
11614
  param: {
11615
- 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";
11615
+ 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";
11616
11616
  };
11617
11617
  } & {
11618
11618
  header: {
@@ -11620,7 +11620,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11620
11620
  };
11621
11621
  } & {
11622
11622
  json: {
11623
- 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;
11623
+ 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;
11624
11624
  body?: string | undefined;
11625
11625
  from?: string | undefined;
11626
11626
  subject?: string | undefined;
@@ -11632,7 +11632,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11632
11632
  };
11633
11633
  };
11634
11634
  output: {
11635
- 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";
11635
+ 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";
11636
11636
  body: string;
11637
11637
  from: string;
11638
11638
  subject: string;
@@ -11651,7 +11651,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11651
11651
  $delete: {
11652
11652
  input: {
11653
11653
  param: {
11654
- 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";
11654
+ 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";
11655
11655
  };
11656
11656
  } & {
11657
11657
  header: {
@@ -11660,11 +11660,11 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11660
11660
  };
11661
11661
  output: {};
11662
11662
  outputFormat: string;
11663
- status: 204;
11663
+ status: 404;
11664
11664
  } | {
11665
11665
  input: {
11666
11666
  param: {
11667
- 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";
11667
+ 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";
11668
11668
  };
11669
11669
  } & {
11670
11670
  header: {
@@ -11673,7 +11673,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11673
11673
  };
11674
11674
  output: {};
11675
11675
  outputFormat: string;
11676
- status: 404;
11676
+ status: 204;
11677
11677
  };
11678
11678
  };
11679
11679
  } & {
@@ -11681,7 +11681,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11681
11681
  $post: {
11682
11682
  input: {
11683
11683
  param: {
11684
- 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";
11684
+ 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";
11685
11685
  };
11686
11686
  } & {
11687
11687
  header: {
@@ -11809,7 +11809,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11809
11809
  };
11810
11810
  output: {};
11811
11811
  outputFormat: string;
11812
- status: 204;
11812
+ status: 404;
11813
11813
  } | {
11814
11814
  input: {
11815
11815
  header: {
@@ -11818,7 +11818,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11818
11818
  };
11819
11819
  output: {};
11820
11820
  outputFormat: string;
11821
- status: 404;
11821
+ status: 204;
11822
11822
  };
11823
11823
  };
11824
11824
  }, "/emails/provider"> & import("hono/types").MergeSchemaPath<{
@@ -11927,7 +11927,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11927
11927
  };
11928
11928
  output: {};
11929
11929
  outputFormat: string;
11930
- status: 204;
11930
+ status: 404;
11931
11931
  } | {
11932
11932
  input: {
11933
11933
  header: {
@@ -11936,7 +11936,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11936
11936
  };
11937
11937
  output: {};
11938
11938
  outputFormat: string;
11939
- status: 404;
11939
+ status: 204;
11940
11940
  };
11941
11941
  };
11942
11942
  }, "/email/providers"> & import("hono/types").MergeSchemaPath<{
@@ -11964,7 +11964,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
11964
11964
  type: "auth0_managed_certs" | "self_managed_certs";
11965
11965
  custom_domain_id: string;
11966
11966
  primary: boolean;
11967
- status: "disabled" | "pending" | "pending_verification" | "ready";
11967
+ status: "pending" | "ready" | "disabled" | "pending_verification";
11968
11968
  verification_method?: "txt" | undefined;
11969
11969
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
11970
11970
  domain_metadata?: {
@@ -12005,7 +12005,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12005
12005
  type: "auth0_managed_certs" | "self_managed_certs";
12006
12006
  custom_domain_id: string;
12007
12007
  primary: boolean;
12008
- status: "disabled" | "pending" | "pending_verification" | "ready";
12008
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12009
12009
  verification_method?: "txt" | undefined;
12010
12010
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12011
12011
  domain_metadata?: {
@@ -12066,7 +12066,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12066
12066
  domain_metadata?: Record<string, string> | undefined;
12067
12067
  custom_domain_id?: string | undefined;
12068
12068
  primary?: boolean | undefined;
12069
- status?: "disabled" | "pending" | "pending_verification" | "ready" | undefined;
12069
+ status?: "pending" | "ready" | "disabled" | "pending_verification" | undefined;
12070
12070
  origin_domain_name?: string | undefined;
12071
12071
  verification?: {
12072
12072
  methods: ({
@@ -12087,7 +12087,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12087
12087
  type: "auth0_managed_certs" | "self_managed_certs";
12088
12088
  custom_domain_id: string;
12089
12089
  primary: boolean;
12090
- status: "disabled" | "pending" | "pending_verification" | "ready";
12090
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12091
12091
  verification_method?: "txt" | undefined;
12092
12092
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12093
12093
  domain_metadata?: {
@@ -12134,7 +12134,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12134
12134
  type: "auth0_managed_certs" | "self_managed_certs";
12135
12135
  custom_domain_id: string;
12136
12136
  primary: boolean;
12137
- status: "disabled" | "pending" | "pending_verification" | "ready";
12137
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12138
12138
  verification_method?: "txt" | undefined;
12139
12139
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12140
12140
  domain_metadata?: {
@@ -12180,7 +12180,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12180
12180
  type: "auth0_managed_certs" | "self_managed_certs";
12181
12181
  custom_domain_id: string;
12182
12182
  primary: boolean;
12183
- status: "disabled" | "pending" | "pending_verification" | "ready";
12183
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12184
12184
  verification_method?: "txt" | undefined;
12185
12185
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12186
12186
  domain_metadata?: {
@@ -12221,7 +12221,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12221
12221
  type: "auth0_managed_certs" | "self_managed_certs";
12222
12222
  custom_domain_id: string;
12223
12223
  primary: boolean;
12224
- status: "disabled" | "pending" | "pending_verification" | "ready";
12224
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12225
12225
  verification_method?: "txt" | undefined;
12226
12226
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12227
12227
  domain_metadata?: {
@@ -12828,7 +12828,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12828
12828
  logs: {
12829
12829
  action_name: string;
12830
12830
  lines: {
12831
- level: "error" | "log" | "info" | "warn" | "debug";
12831
+ level: "log" | "error" | "info" | "warn" | "debug";
12832
12832
  message: string;
12833
12833
  }[];
12834
12834
  }[];
@@ -13135,7 +13135,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13135
13135
  };
13136
13136
  output: {};
13137
13137
  outputFormat: string;
13138
- status: 409;
13138
+ status: 404;
13139
13139
  } | {
13140
13140
  input: {
13141
13141
  param: {
@@ -13161,7 +13161,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13161
13161
  };
13162
13162
  output: {};
13163
13163
  outputFormat: string;
13164
- status: 404;
13164
+ status: 409;
13165
13165
  };
13166
13166
  };
13167
13167
  } & {
@@ -13495,7 +13495,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13495
13495
  args: import("hono/utils/types").JSONValue[];
13496
13496
  }[];
13497
13497
  logs: {
13498
- level: "error" | "log" | "info" | "warn" | "debug";
13498
+ level: "log" | "error" | "info" | "warn" | "debug";
13499
13499
  message: string;
13500
13500
  }[];
13501
13501
  error?: string | undefined;