authhero 5.11.0 → 5.12.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 (32) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +126 -126
  3. package/dist/authhero.d.ts +81 -66
  4. package/dist/authhero.mjs +9177 -8949
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  8. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  9. package/dist/types/helpers/users.d.ts +28 -0
  10. package/dist/types/index.d.ts +66 -66
  11. package/dist/types/routes/auth-api/index.d.ts +18 -18
  12. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  13. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  14. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  15. package/dist/types/routes/management-api/actions.d.ts +1 -1
  16. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  17. package/dist/types/routes/management-api/client-grants.d.ts +8 -8
  18. package/dist/types/routes/management-api/clients.d.ts +7 -7
  19. package/dist/types/routes/management-api/email-templates.d.ts +14 -14
  20. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  21. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  22. package/dist/types/routes/management-api/index.d.ts +48 -48
  23. package/dist/types/routes/management-api/logs.d.ts +3 -3
  24. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  25. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  26. package/dist/types/routes/management-api/proxy-routes.d.ts +221 -0
  27. package/dist/types/routes/management-api/users.d.ts +2 -2
  28. package/dist/types/routes/proxy-control-plane/index.d.ts +22 -0
  29. package/dist/types/routes/universal-login/common.d.ts +2 -2
  30. package/dist/types/types/AuthHeroConfig.d.ts +14 -0
  31. package/dist/types/types/IdToken.d.ts +3 -3
  32. package/package.json +5 -4
@@ -9,6 +9,7 @@ import { CountryCode } from 'libphonenumber-js';
9
9
  import { SamlSigner } from '@authhero/saml/core';
10
10
  export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
11
11
  import { Context, Handler, Next, MiddlewareHandler } from 'hono';
12
+ import * as _authhero_proxy from '@authhero/proxy';
12
13
  import { FC, PropsWithChildren, JSXNode } from 'hono/jsx';
13
14
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
14
15
 
@@ -1037,6 +1038,20 @@ interface AuthHeroConfig {
1037
1038
  * ```
1038
1039
  */
1039
1040
  managementApiExtensions?: ManagementApiExtension[];
1041
+ /**
1042
+ * Optional privileged control-plane endpoint for the `@authhero/proxy`
1043
+ * data plane. When set, mounts `GET /api/v2/proxy/control-plane/hosts/:host`
1044
+ * which returns the cross-tenant `ResolvedHost` for the given hostname.
1045
+ *
1046
+ * This endpoint is read by remote proxy deployments via
1047
+ * `createHttpProxyAdapter`. It is **cross-tenant** — gate it with a
1048
+ * dedicated credential (shared secret, mTLS, or a JWT scoped to
1049
+ * `proxy:resolve_host`), never with a tenant token.
1050
+ */
1051
+ proxyControlPlane?: {
1052
+ resolveHost: (host: string) => Promise<_authhero_proxy.ResolvedHost | null>;
1053
+ authenticate: (request: Request) => Promise<boolean> | boolean;
1054
+ };
1040
1055
  /**
1041
1056
  * Optional powered-by logo to display at the bottom left of the login widget.
1042
1057
  * This is only configurable in code, not stored in the database.
@@ -2408,7 +2423,7 @@ declare function init(config: AuthHeroConfig): {
2408
2423
  };
2409
2424
  } & {
2410
2425
  json: {
2411
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2426
+ type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2412
2427
  phone_number?: string | undefined;
2413
2428
  totp_secret?: string | undefined;
2414
2429
  credential_id?: string | undefined;
@@ -2548,7 +2563,7 @@ declare function init(config: AuthHeroConfig): {
2548
2563
  };
2549
2564
  };
2550
2565
  output: {
2551
- name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
2566
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2552
2567
  enabled: boolean;
2553
2568
  trial_expired?: boolean | undefined;
2554
2569
  }[];
@@ -2703,7 +2718,7 @@ declare function init(config: AuthHeroConfig): {
2703
2718
  $get: {
2704
2719
  input: {
2705
2720
  param: {
2706
- factor_name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
2721
+ factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2707
2722
  };
2708
2723
  } & {
2709
2724
  header: {
@@ -2711,7 +2726,7 @@ declare function init(config: AuthHeroConfig): {
2711
2726
  };
2712
2727
  };
2713
2728
  output: {
2714
- name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
2729
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2715
2730
  enabled: boolean;
2716
2731
  trial_expired?: boolean | undefined;
2717
2732
  };
@@ -2724,7 +2739,7 @@ declare function init(config: AuthHeroConfig): {
2724
2739
  $put: {
2725
2740
  input: {
2726
2741
  param: {
2727
- factor_name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
2742
+ factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2728
2743
  };
2729
2744
  } & {
2730
2745
  header: {
@@ -2736,7 +2751,7 @@ declare function init(config: AuthHeroConfig): {
2736
2751
  };
2737
2752
  };
2738
2753
  output: {
2739
- name: "email" | "webauthn-roaming" | "webauthn-platform" | "sms" | "otp" | "duo" | "push-notification" | "recovery-code";
2754
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2740
2755
  enabled: boolean;
2741
2756
  trial_expired?: boolean | undefined;
2742
2757
  };
@@ -3482,10 +3497,10 @@ declare function init(config: AuthHeroConfig): {
3482
3497
  email?: string | undefined;
3483
3498
  };
3484
3499
  id?: string | undefined;
3485
- connection_id?: string | undefined;
3486
3500
  app_metadata?: Record<string, any> | undefined;
3487
3501
  user_metadata?: Record<string, any> | undefined;
3488
3502
  roles?: string[] | undefined;
3503
+ connection_id?: string | undefined;
3489
3504
  ttl_sec?: number | undefined;
3490
3505
  send_invitation_email?: boolean | undefined;
3491
3506
  };
@@ -8972,7 +8987,7 @@ declare function init(config: AuthHeroConfig): {
8972
8987
  };
8973
8988
  };
8974
8989
  output: {
8975
- prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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";
8990
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
8976
8991
  language: string;
8977
8992
  }[];
8978
8993
  outputFormat: "json";
@@ -9010,7 +9025,7 @@ declare function init(config: AuthHeroConfig): {
9010
9025
  $get: {
9011
9026
  input: {
9012
9027
  param: {
9013
- prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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";
9028
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9014
9029
  language: string;
9015
9030
  };
9016
9031
  } & {
@@ -9032,7 +9047,7 @@ declare function init(config: AuthHeroConfig): {
9032
9047
  $put: {
9033
9048
  input: {
9034
9049
  param: {
9035
- prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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";
9050
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9036
9051
  language: string;
9037
9052
  };
9038
9053
  } & {
@@ -9056,7 +9071,7 @@ declare function init(config: AuthHeroConfig): {
9056
9071
  $delete: {
9057
9072
  input: {
9058
9073
  param: {
9059
- prompt: "mfa" | "organizations" | "signup" | "status" | "invitation" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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";
9074
+ prompt: "signup" | "status" | "mfa" | "organizations" | "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";
9060
9075
  language: string;
9061
9076
  };
9062
9077
  } & {
@@ -10497,7 +10512,7 @@ declare function init(config: AuthHeroConfig): {
10497
10512
  log_type: string;
10498
10513
  category: "user_action" | "admin_action" | "system" | "api";
10499
10514
  actor: {
10500
- type: "client_credentials" | "user" | "api_key" | "system" | "admin";
10515
+ type: "client_credentials" | "user" | "system" | "admin" | "api_key";
10501
10516
  id?: string | undefined;
10502
10517
  email?: string | undefined;
10503
10518
  org_id?: string | undefined;
@@ -11145,7 +11160,7 @@ declare function init(config: AuthHeroConfig): {
11145
11160
  };
11146
11161
  };
11147
11162
  output: {
11148
- type: "gd_send_sms" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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_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" | "s" | "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" | "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" | "w" | "wn" | "wum";
11163
+ type: "fn" | "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" | "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" | "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" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "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" | "w" | "wn" | "wum";
11149
11164
  date: string;
11150
11165
  isMobile: boolean;
11151
11166
  log_id: string;
@@ -11184,7 +11199,7 @@ declare function init(config: AuthHeroConfig): {
11184
11199
  limit: number;
11185
11200
  length: number;
11186
11201
  logs: {
11187
- type: "gd_send_sms" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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_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" | "s" | "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" | "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" | "w" | "wn" | "wum";
11202
+ type: "fn" | "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" | "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" | "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" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "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" | "w" | "wn" | "wum";
11188
11203
  date: string;
11189
11204
  isMobile: boolean;
11190
11205
  log_id: string;
@@ -11238,7 +11253,7 @@ declare function init(config: AuthHeroConfig): {
11238
11253
  };
11239
11254
  };
11240
11255
  output: {
11241
- type: "gd_send_sms" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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_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" | "s" | "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" | "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" | "w" | "wn" | "wum";
11256
+ type: "fn" | "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" | "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" | "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" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "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" | "w" | "wn" | "wum";
11242
11257
  date: string;
11243
11258
  isMobile: boolean;
11244
11259
  log_id: string;
@@ -11319,7 +11334,7 @@ declare function init(config: AuthHeroConfig): {
11319
11334
  audience?: string | undefined;
11320
11335
  client_id?: string | undefined;
11321
11336
  allow_any_organization?: string | undefined;
11322
- subject_type?: "user" | "client" | undefined;
11337
+ subject_type?: "client" | "user" | undefined;
11323
11338
  };
11324
11339
  } & {
11325
11340
  header: {
@@ -11334,7 +11349,7 @@ declare function init(config: AuthHeroConfig): {
11334
11349
  organization_usage?: "deny" | "allow" | "require" | undefined;
11335
11350
  allow_any_organization?: boolean | undefined;
11336
11351
  is_system?: boolean | undefined;
11337
- subject_type?: "user" | "client" | undefined;
11352
+ subject_type?: "client" | "user" | undefined;
11338
11353
  authorization_details_types?: string[] | undefined;
11339
11354
  created_at?: string | undefined;
11340
11355
  updated_at?: string | undefined;
@@ -11350,7 +11365,7 @@ declare function init(config: AuthHeroConfig): {
11350
11365
  organization_usage?: "deny" | "allow" | "require" | undefined;
11351
11366
  allow_any_organization?: boolean | undefined;
11352
11367
  is_system?: boolean | undefined;
11353
- subject_type?: "user" | "client" | undefined;
11368
+ subject_type?: "client" | "user" | undefined;
11354
11369
  authorization_details_types?: string[] | undefined;
11355
11370
  created_at?: string | undefined;
11356
11371
  updated_at?: string | undefined;
@@ -11381,7 +11396,7 @@ declare function init(config: AuthHeroConfig): {
11381
11396
  organization_usage?: "deny" | "allow" | "require" | undefined;
11382
11397
  allow_any_organization?: boolean | undefined;
11383
11398
  is_system?: boolean | undefined;
11384
- subject_type?: "user" | "client" | undefined;
11399
+ subject_type?: "client" | "user" | undefined;
11385
11400
  authorization_details_types?: string[] | undefined;
11386
11401
  created_at?: string | undefined;
11387
11402
  updated_at?: string | undefined;
@@ -11426,7 +11441,7 @@ declare function init(config: AuthHeroConfig): {
11426
11441
  organization_usage?: "deny" | "allow" | "require" | undefined;
11427
11442
  allow_any_organization?: boolean | undefined;
11428
11443
  is_system?: boolean | undefined;
11429
- subject_type?: "user" | "client" | undefined;
11444
+ subject_type?: "client" | "user" | undefined;
11430
11445
  authorization_details_types?: string[] | undefined;
11431
11446
  };
11432
11447
  };
@@ -11438,7 +11453,7 @@ declare function init(config: AuthHeroConfig): {
11438
11453
  organization_usage?: "deny" | "allow" | "require" | undefined;
11439
11454
  allow_any_organization?: boolean | undefined;
11440
11455
  is_system?: boolean | undefined;
11441
- subject_type?: "user" | "client" | undefined;
11456
+ subject_type?: "client" | "user" | undefined;
11442
11457
  authorization_details_types?: string[] | undefined;
11443
11458
  created_at?: string | undefined;
11444
11459
  updated_at?: string | undefined;
@@ -11462,7 +11477,7 @@ declare function init(config: AuthHeroConfig): {
11462
11477
  organization_usage?: "deny" | "allow" | "require" | undefined;
11463
11478
  allow_any_organization?: boolean | undefined;
11464
11479
  is_system?: boolean | undefined;
11465
- subject_type?: "user" | "client" | undefined;
11480
+ subject_type?: "client" | "user" | undefined;
11466
11481
  authorization_details_types?: string[] | undefined;
11467
11482
  };
11468
11483
  };
@@ -11474,7 +11489,7 @@ declare function init(config: AuthHeroConfig): {
11474
11489
  organization_usage?: "deny" | "allow" | "require" | undefined;
11475
11490
  allow_any_organization?: boolean | undefined;
11476
11491
  is_system?: boolean | undefined;
11477
- subject_type?: "user" | "client" | undefined;
11492
+ subject_type?: "client" | "user" | undefined;
11478
11493
  authorization_details_types?: string[] | undefined;
11479
11494
  created_at?: string | undefined;
11480
11495
  updated_at?: string | undefined;
@@ -11552,7 +11567,7 @@ declare function init(config: AuthHeroConfig): {
11552
11567
  addons?: {
11553
11568
  [x: string]: any;
11554
11569
  } | undefined;
11555
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11570
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11556
11571
  client_metadata?: {
11557
11572
  [x: string]: string;
11558
11573
  } | undefined;
@@ -11648,7 +11663,7 @@ declare function init(config: AuthHeroConfig): {
11648
11663
  addons?: {
11649
11664
  [x: string]: any;
11650
11665
  } | undefined;
11651
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11666
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11652
11667
  client_metadata?: {
11653
11668
  [x: string]: string;
11654
11669
  } | undefined;
@@ -11759,7 +11774,7 @@ declare function init(config: AuthHeroConfig): {
11759
11774
  addons?: {
11760
11775
  [x: string]: any;
11761
11776
  } | undefined;
11762
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11777
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11763
11778
  client_metadata?: {
11764
11779
  [x: string]: string;
11765
11780
  } | undefined;
@@ -11869,7 +11884,7 @@ declare function init(config: AuthHeroConfig): {
11869
11884
  custom_login_page_preview?: string | undefined;
11870
11885
  form_template?: string | undefined;
11871
11886
  addons?: Record<string, any> | undefined;
11872
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11887
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11873
11888
  client_metadata?: Record<string, string> | undefined;
11874
11889
  hide_sign_up_disabled_error?: boolean | undefined;
11875
11890
  mobile?: Record<string, any> | undefined;
@@ -11949,7 +11964,7 @@ declare function init(config: AuthHeroConfig): {
11949
11964
  addons?: {
11950
11965
  [x: string]: any;
11951
11966
  } | undefined;
11952
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11967
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
11953
11968
  client_metadata?: {
11954
11969
  [x: string]: string;
11955
11970
  } | undefined;
@@ -12038,7 +12053,7 @@ declare function init(config: AuthHeroConfig): {
12038
12053
  custom_login_page_preview?: string | undefined;
12039
12054
  form_template?: string | undefined;
12040
12055
  addons?: Record<string, any> | undefined;
12041
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12056
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12042
12057
  client_metadata?: Record<string, string> | undefined;
12043
12058
  hide_sign_up_disabled_error?: boolean | undefined;
12044
12059
  mobile?: Record<string, any> | undefined;
@@ -12118,7 +12133,7 @@ declare function init(config: AuthHeroConfig): {
12118
12133
  addons?: {
12119
12134
  [x: string]: any;
12120
12135
  } | undefined;
12121
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12136
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12122
12137
  client_metadata?: {
12123
12138
  [x: string]: string;
12124
12139
  } | undefined;
@@ -13382,7 +13397,7 @@ declare function init(config: AuthHeroConfig): {
13382
13397
  };
13383
13398
  };
13384
13399
  output: {
13385
- type: "gd_send_sms" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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_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" | "s" | "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" | "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" | "w" | "wn" | "wum";
13400
+ type: "fn" | "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" | "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" | "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" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "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" | "w" | "wn" | "wum";
13386
13401
  date: string;
13387
13402
  isMobile: boolean;
13388
13403
  log_id: string;
@@ -13421,7 +13436,7 @@ declare function init(config: AuthHeroConfig): {
13421
13436
  limit: number;
13422
13437
  length: number;
13423
13438
  logs: {
13424
- type: "gd_send_sms" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "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_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" | "s" | "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" | "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" | "w" | "wn" | "wum";
13439
+ type: "fn" | "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" | "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" | "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" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "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" | "w" | "wn" | "wum";
13425
13440
  date: string;
13426
13441
  isMobile: boolean;
13427
13442
  log_id: string;
@@ -13736,7 +13751,7 @@ declare function init(config: AuthHeroConfig): {
13736
13751
  };
13737
13752
  } & {
13738
13753
  json: {
13739
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13754
+ 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";
13740
13755
  body: string;
13741
13756
  from: string;
13742
13757
  subject: string;
@@ -13757,7 +13772,7 @@ declare function init(config: AuthHeroConfig): {
13757
13772
  };
13758
13773
  } & {
13759
13774
  json: {
13760
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13775
+ 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";
13761
13776
  body: string;
13762
13777
  from: string;
13763
13778
  subject: string;
@@ -13769,7 +13784,7 @@ declare function init(config: AuthHeroConfig): {
13769
13784
  };
13770
13785
  };
13771
13786
  output: {
13772
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13787
+ 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";
13773
13788
  body: string;
13774
13789
  from: string;
13775
13790
  subject: string;
@@ -13788,7 +13803,7 @@ declare function init(config: AuthHeroConfig): {
13788
13803
  $get: {
13789
13804
  input: {
13790
13805
  param: {
13791
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13806
+ 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";
13792
13807
  };
13793
13808
  } & {
13794
13809
  header: {
@@ -13801,7 +13816,7 @@ declare function init(config: AuthHeroConfig): {
13801
13816
  } | {
13802
13817
  input: {
13803
13818
  param: {
13804
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13819
+ 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";
13805
13820
  };
13806
13821
  } & {
13807
13822
  header: {
@@ -13809,7 +13824,7 @@ declare function init(config: AuthHeroConfig): {
13809
13824
  };
13810
13825
  };
13811
13826
  output: {
13812
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13827
+ 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";
13813
13828
  body: string;
13814
13829
  from: string;
13815
13830
  subject: string;
@@ -13828,7 +13843,7 @@ declare function init(config: AuthHeroConfig): {
13828
13843
  $put: {
13829
13844
  input: {
13830
13845
  param: {
13831
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13846
+ 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";
13832
13847
  };
13833
13848
  } & {
13834
13849
  header: {
@@ -13836,7 +13851,7 @@ declare function init(config: AuthHeroConfig): {
13836
13851
  };
13837
13852
  } & {
13838
13853
  json: {
13839
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13854
+ 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";
13840
13855
  body: string;
13841
13856
  from: string;
13842
13857
  subject: string;
@@ -13848,7 +13863,7 @@ declare function init(config: AuthHeroConfig): {
13848
13863
  };
13849
13864
  };
13850
13865
  output: {
13851
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13866
+ 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";
13852
13867
  body: string;
13853
13868
  from: string;
13854
13869
  subject: string;
@@ -13867,7 +13882,7 @@ declare function init(config: AuthHeroConfig): {
13867
13882
  $patch: {
13868
13883
  input: {
13869
13884
  param: {
13870
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13885
+ 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";
13871
13886
  };
13872
13887
  } & {
13873
13888
  header: {
@@ -13875,7 +13890,7 @@ declare function init(config: AuthHeroConfig): {
13875
13890
  };
13876
13891
  } & {
13877
13892
  json: {
13878
- template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
13893
+ 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;
13879
13894
  body?: string | undefined;
13880
13895
  from?: string | undefined;
13881
13896
  subject?: string | undefined;
@@ -13892,7 +13907,7 @@ declare function init(config: AuthHeroConfig): {
13892
13907
  } | {
13893
13908
  input: {
13894
13909
  param: {
13895
- templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13910
+ 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";
13896
13911
  };
13897
13912
  } & {
13898
13913
  header: {
@@ -13900,7 +13915,7 @@ declare function init(config: AuthHeroConfig): {
13900
13915
  };
13901
13916
  } & {
13902
13917
  json: {
13903
- template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
13918
+ 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;
13904
13919
  body?: string | undefined;
13905
13920
  from?: string | undefined;
13906
13921
  subject?: string | undefined;
@@ -13912,7 +13927,7 @@ declare function init(config: AuthHeroConfig): {
13912
13927
  };
13913
13928
  };
13914
13929
  output: {
13915
- template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13930
+ 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";
13916
13931
  body: string;
13917
13932
  from: string;
13918
13933
  subject: string;
@@ -15005,7 +15020,7 @@ declare function init(config: AuthHeroConfig): {
15005
15020
  logs: {
15006
15021
  action_name: string;
15007
15022
  lines: {
15008
- level: "error" | "log" | "info" | "warn" | "debug";
15023
+ level: "log" | "error" | "info" | "warn" | "debug";
15009
15024
  message: string;
15010
15025
  }[];
15011
15026
  }[];
@@ -15672,7 +15687,7 @@ declare function init(config: AuthHeroConfig): {
15672
15687
  args: hono_utils_types.JSONValue[];
15673
15688
  }[];
15674
15689
  logs: {
15675
- level: "error" | "log" | "info" | "warn" | "debug";
15690
+ level: "log" | "error" | "info" | "warn" | "debug";
15676
15691
  message: string;
15677
15692
  }[];
15678
15693
  error?: string | undefined;
@@ -15970,7 +15985,7 @@ declare function init(config: AuthHeroConfig): {
15970
15985
  scope?: string | undefined;
15971
15986
  grant_types?: string[] | undefined;
15972
15987
  response_types?: string[] | undefined;
15973
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
15988
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
15974
15989
  jwks_uri?: string | undefined;
15975
15990
  jwks?: Record<string, unknown> | undefined;
15976
15991
  software_id?: string | undefined;
@@ -16059,7 +16074,7 @@ declare function init(config: AuthHeroConfig): {
16059
16074
  scope?: string | undefined;
16060
16075
  grant_types?: string[] | undefined;
16061
16076
  response_types?: string[] | undefined;
16062
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
16077
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
16063
16078
  jwks_uri?: string | undefined;
16064
16079
  jwks?: Record<string, unknown> | undefined;
16065
16080
  software_id?: string | undefined;
@@ -16405,19 +16420,19 @@ declare function init(config: AuthHeroConfig): {
16405
16420
  email: string;
16406
16421
  send: "code" | "link";
16407
16422
  authParams: {
16408
- scope?: string | undefined;
16409
- state?: string | undefined;
16410
- audience?: string | undefined;
16411
- code_challenge?: string | undefined;
16412
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16413
- redirect_uri?: string | undefined;
16414
- nonce?: string | undefined;
16415
16423
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16416
16424
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16425
+ scope?: string | undefined;
16417
16426
  username?: string | undefined;
16418
- act_as?: string | undefined;
16427
+ audience?: string | undefined;
16428
+ state?: string | undefined;
16419
16429
  organization?: string | undefined;
16430
+ nonce?: string | undefined;
16431
+ redirect_uri?: string | undefined;
16432
+ act_as?: string | undefined;
16420
16433
  prompt?: string | undefined;
16434
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16435
+ code_challenge?: string | undefined;
16421
16436
  ui_locales?: string | undefined;
16422
16437
  max_age?: number | undefined;
16423
16438
  acr_values?: string | undefined;
@@ -16441,19 +16456,19 @@ declare function init(config: AuthHeroConfig): {
16441
16456
  phone_number: string;
16442
16457
  send: "code" | "link";
16443
16458
  authParams: {
16444
- scope?: string | undefined;
16445
- state?: string | undefined;
16446
- audience?: string | undefined;
16447
- code_challenge?: string | undefined;
16448
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16449
- redirect_uri?: string | undefined;
16450
- nonce?: string | undefined;
16451
16459
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16452
16460
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16461
+ scope?: string | undefined;
16453
16462
  username?: string | undefined;
16454
- act_as?: string | undefined;
16463
+ audience?: string | undefined;
16464
+ state?: string | undefined;
16455
16465
  organization?: string | undefined;
16466
+ nonce?: string | undefined;
16467
+ redirect_uri?: string | undefined;
16468
+ act_as?: string | undefined;
16456
16469
  prompt?: string | undefined;
16470
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16471
+ code_challenge?: string | undefined;
16457
16472
  ui_locales?: string | undefined;
16458
16473
  max_age?: number | undefined;
16459
16474
  acr_values?: string | undefined;