authhero 8.27.0 → 9.0.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 (41) hide show
  1. package/LICENSE +661 -21
  2. package/dist/assets/u/js/client.js +2 -2
  3. package/dist/assets/u/widget/index.esm.js +1 -1
  4. package/dist/authhero.cjs +265 -251
  5. package/dist/authhero.d.ts +125 -63
  6. package/dist/authhero.mjs +24322 -17681
  7. package/dist/client.js +2 -2
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  10. package/dist/types/client/client-bundle.d.ts +1 -1
  11. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  12. package/dist/types/helpers/link-candidates.d.ts +28 -0
  13. package/dist/types/helpers/logging.d.ts +8 -0
  14. package/dist/types/helpers/scopes-permissions.d.ts +18 -0
  15. package/dist/types/helpers/signing-keys.d.ts +36 -0
  16. package/dist/types/helpers/users.d.ts +43 -0
  17. package/dist/types/hooks/codehooks.d.ts +9 -1
  18. package/dist/types/hooks/helpers/post-login-account-linking.d.ts +52 -0
  19. package/dist/types/hooks/pre-defined/account-linking.d.ts +20 -0
  20. package/dist/types/index.d.ts +62 -61
  21. package/dist/types/routes/auth-api/index.d.ts +28 -28
  22. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  23. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  24. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  25. package/dist/types/routes/auth-api/token.d.ts +10 -10
  26. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  27. package/dist/types/routes/management-api/actions.d.ts +1 -1
  28. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  29. package/dist/types/routes/management-api/clients.d.ts +8 -8
  30. package/dist/types/routes/management-api/failed-events.d.ts +2 -1
  31. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  32. package/dist/types/routes/management-api/index.d.ts +32 -31
  33. package/dist/types/routes/management-api/logs.d.ts +4 -4
  34. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  35. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  36. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  37. package/dist/types/routes/management-api/users.d.ts +5 -5
  38. package/dist/types/routes/universal-login/common.d.ts +2 -2
  39. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  40. package/dist/types/types/Hooks.d.ts +8 -1
  41. package/package.json +7 -6
@@ -1,6 +1,6 @@
1
1
  import * as hono_utils_types from 'hono/utils/types';
2
2
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
3
- import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, roleSchema, inviteSchema, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, TenantOperationKind, TenantOperation, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, CodesAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
3
+ import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, roleSchema, inviteSchema, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, TenantOperationKind, TenantOperation, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
4
4
  export * from '@authhero/adapter-interfaces';
5
5
  import * as hono_types from 'hono/types';
6
6
  import * as hono_utils_http_status from 'hono/utils/http-status';
@@ -10,7 +10,7 @@ import { SamlSigner } from '@authhero/saml/core';
10
10
  export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
11
11
  import { Context, Hono, Next, Handler, MiddlewareHandler } from 'hono';
12
12
  import * as _authhero_proxy from '@authhero/proxy';
13
- import { ResolvedHost, KvNamespaceWriter } from '@authhero/proxy';
13
+ import { KvNamespaceWriter, ResolvedHost } from '@authhero/proxy';
14
14
  export { PROXY_RESOLVE_HOST_SCOPE, ServiceBindingFetcher, createServiceBindingFetch } from '@authhero/proxy';
15
15
  import { FC, PropsWithChildren, JSXNode } from 'hono/jsx';
16
16
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
@@ -691,6 +691,13 @@ type HookEvent = {
691
691
  ja3?: string;
692
692
  ja4?: string;
693
693
  };
694
+ /**
695
+ * Candidate primary accounts the built-in email-linking policy would consider,
696
+ * exposed only to `post-user-login` code hooks that opt in via
697
+ * `metadata.resolve_link_candidates`. Absent on the event for every other hook
698
+ * (and trigger).
699
+ */
700
+ link_candidates?: LinkCandidate[];
694
701
  };
695
702
  type TokenAPI = {
696
703
  createServiceToken: (params: {
@@ -3941,6 +3948,40 @@ interface ResolveSigningKeysOptions {
3941
3948
  type?: string;
3942
3949
  }
3943
3950
  declare function resolveSigningKeys(keys: KeysAdapter, tenantId: string, modeOption: SigningKeyModeOption | undefined, opts: ResolveSigningKeysOptions): Promise<SigningKey[]>;
3951
+ interface EnsureSigningKeyOptions {
3952
+ /**
3953
+ * When set, the key is created tenant-scoped (`tenant_id` stamped) and the
3954
+ * existence check is scoped to that tenant. Omit for a control-plane key
3955
+ * (no `tenant_id`), which `resolveSigningKeys` resolves in both modes — as
3956
+ * the primary key in `"control-plane"` mode and as the fallback in
3957
+ * `"tenant"` mode. Control-plane scope is the right default for a freshly
3958
+ * provisioned WFP tenant.
3959
+ */
3960
+ tenantId?: string;
3961
+ /** Cert CN. Falls back to the tenant id, then to `"authhero"`. */
3962
+ name?: string;
3963
+ /** Defaults to `"jwt_signing"`. */
3964
+ type?: SigningKey["type"];
3965
+ }
3966
+ interface EnsureSigningKeyResult {
3967
+ /** True when a new key was minted; false when a signable key already existed. */
3968
+ created: boolean;
3969
+ key: SigningKey;
3970
+ }
3971
+ /**
3972
+ * Guarantees the target scope holds at least one *signable* key — one carrying
3973
+ * private material (`pkcs7` + `cert`), not merely a projected public verify key.
3974
+ *
3975
+ * A freshly provisioned WFP tenant inherits only the control plane's public
3976
+ * keys (private material stripped at the boundary), so it can serve JWKS and
3977
+ * `/authorize` but 500s at `/oauth/token` with nothing to sign — issue #1181.
3978
+ * Calling this at provision time closes that gap by minting the tenant's own
3979
+ * RS256 key locally (private material never crosses the control-plane boundary).
3980
+ *
3981
+ * Create-if-missing and idempotent: a scope that already has a signable key is
3982
+ * left untouched, so it is safe to call on every provision and re-sync.
3983
+ */
3984
+ declare function ensureSigningKey(keys: KeysAdapter, opts?: EnsureSigningKeyOptions): Promise<EnsureSigningKeyResult>;
3944
3985
 
3945
3986
  declare const USERNAME_PASSWORD_PROVIDER = "auth0";
3946
3987
 
@@ -4050,6 +4091,26 @@ interface AccountLinkingOptions {
4050
4091
  * @default false
4051
4092
  */
4052
4093
  copyUserMetadata?: boolean;
4094
+ /**
4095
+ * When the link is performed, fill in *absent* root profile fields on the
4096
+ * primary from the secondary — e.g. a secondary that has a `birthdate` the
4097
+ * primary lacks, or a phone number an email primary doesn't carry.
4098
+ *
4099
+ * Fill-if-absent only: a field already set on the primary is never
4100
+ * overwritten (primary stays authoritative), matching `copyUserMetadata`.
4101
+ * Identifier and verification fields are never touched — `email`,
4102
+ * `email_verified`, `phone_verified`, `username`, `provider`, `connection`
4103
+ * are excluded — so this can't rewrite a login identifier. In particular an
4104
+ * sms primary already carries a `phone_number`, so its identifier is never
4105
+ * filled over; the promotion only reaches a primary that has no phone yet.
4106
+ *
4107
+ * Off by default to match Auth0, which keeps a linked identity's own
4108
+ * attributes under `identities[].profileData` rather than promoting them to
4109
+ * the merged user's root profile.
4110
+ *
4111
+ * @default false
4112
+ */
4113
+ copyProfileFields?: boolean;
4053
4114
  }
4054
4115
  /**
4055
4116
  * Trigger-agnostic event handler used by all `account-linking` template
@@ -4245,7 +4306,7 @@ declare function init(config: AuthHeroConfig): {
4245
4306
  };
4246
4307
  } & {
4247
4308
  json: {
4248
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
4309
+ type: "email" | "phone" | "push" | "passkey" | "totp" | "webauthn-roaming" | "webauthn-platform";
4249
4310
  phone_number?: string | undefined;
4250
4311
  totp_secret?: string | undefined;
4251
4312
  credential_id?: string | undefined;
@@ -4385,7 +4446,7 @@ declare function init(config: AuthHeroConfig): {
4385
4446
  };
4386
4447
  };
4387
4448
  output: {
4388
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4449
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4389
4450
  enabled: boolean;
4390
4451
  trial_expired?: boolean | undefined;
4391
4452
  }[];
@@ -4540,7 +4601,7 @@ declare function init(config: AuthHeroConfig): {
4540
4601
  $get: {
4541
4602
  input: {
4542
4603
  param: {
4543
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4604
+ factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4544
4605
  };
4545
4606
  } & {
4546
4607
  header: {
@@ -4548,7 +4609,7 @@ declare function init(config: AuthHeroConfig): {
4548
4609
  };
4549
4610
  };
4550
4611
  output: {
4551
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4612
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4552
4613
  enabled: boolean;
4553
4614
  trial_expired?: boolean | undefined;
4554
4615
  };
@@ -4561,7 +4622,7 @@ declare function init(config: AuthHeroConfig): {
4561
4622
  $put: {
4562
4623
  input: {
4563
4624
  param: {
4564
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4625
+ factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4565
4626
  };
4566
4627
  } & {
4567
4628
  header: {
@@ -4573,7 +4634,7 @@ declare function init(config: AuthHeroConfig): {
4573
4634
  };
4574
4635
  };
4575
4636
  output: {
4576
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4637
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4577
4638
  enabled: boolean;
4578
4639
  trial_expired?: boolean | undefined;
4579
4640
  };
@@ -5540,8 +5601,8 @@ declare function init(config: AuthHeroConfig): {
5540
5601
  };
5541
5602
  } & {
5542
5603
  json: {
5543
- show_as_button?: boolean | undefined;
5544
5604
  assign_membership_on_login?: boolean | undefined;
5605
+ show_as_button?: boolean | undefined;
5545
5606
  is_signup_enabled?: boolean | undefined;
5546
5607
  };
5547
5608
  };
@@ -11066,7 +11127,7 @@ declare function init(config: AuthHeroConfig): {
11066
11127
  };
11067
11128
  };
11068
11129
  output: {
11069
- prompt: "status" | "mfa" | "organizations" | "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";
11130
+ prompt: "mfa" | "organizations" | "signup" | "status" | "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";
11070
11131
  language: string;
11071
11132
  }[];
11072
11133
  outputFormat: "json";
@@ -11104,7 +11165,7 @@ declare function init(config: AuthHeroConfig): {
11104
11165
  $get: {
11105
11166
  input: {
11106
11167
  param: {
11107
- prompt: "status" | "mfa" | "organizations" | "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";
11168
+ prompt: "mfa" | "organizations" | "signup" | "status" | "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";
11108
11169
  language: string;
11109
11170
  };
11110
11171
  } & {
@@ -11126,7 +11187,7 @@ declare function init(config: AuthHeroConfig): {
11126
11187
  $put: {
11127
11188
  input: {
11128
11189
  param: {
11129
- prompt: "status" | "mfa" | "organizations" | "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";
11190
+ prompt: "mfa" | "organizations" | "signup" | "status" | "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";
11130
11191
  language: string;
11131
11192
  };
11132
11193
  } & {
@@ -11150,7 +11211,7 @@ declare function init(config: AuthHeroConfig): {
11150
11211
  $delete: {
11151
11212
  input: {
11152
11213
  param: {
11153
- prompt: "status" | "mfa" | "organizations" | "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";
11214
+ prompt: "mfa" | "organizations" | "signup" | "status" | "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";
11154
11215
  language: string;
11155
11216
  };
11156
11217
  } & {
@@ -12653,7 +12714,7 @@ declare function init(config: AuthHeroConfig): {
12653
12714
  log_type: string;
12654
12715
  category: "user_action" | "admin_action" | "system" | "api";
12655
12716
  actor: {
12656
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
12717
+ type: "client_credentials" | "user" | "system" | "admin" | "api_key";
12657
12718
  id?: string | undefined;
12658
12719
  email?: string | undefined;
12659
12720
  org_id?: string | undefined;
@@ -12687,6 +12748,7 @@ declare function init(config: AuthHeroConfig): {
12687
12748
  body?: hono_utils_types.JSONValue | undefined;
12688
12749
  user_agent?: string | undefined;
12689
12750
  correlation_id?: string | undefined;
12751
+ redirect_uri?: string | undefined;
12690
12752
  };
12691
12753
  hostname: string;
12692
12754
  timestamp: string;
@@ -13303,7 +13365,7 @@ declare function init(config: AuthHeroConfig): {
13303
13365
  };
13304
13366
  };
13305
13367
  output: {
13306
- type: "fc" | "fd" | "fn" | "i" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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" | "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" | "w" | "wn" | "wum";
13368
+ type: "fertft" | "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" | "festft" | "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" | "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" | "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" | "w" | "wn" | "wum";
13307
13369
  date: string;
13308
13370
  isMobile: boolean;
13309
13371
  log_id: string;
@@ -13342,7 +13404,7 @@ declare function init(config: AuthHeroConfig): {
13342
13404
  limit: number;
13343
13405
  length: number;
13344
13406
  logs: {
13345
- type: "fc" | "fd" | "fn" | "i" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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" | "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" | "w" | "wn" | "wum";
13407
+ type: "fertft" | "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" | "festft" | "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" | "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" | "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" | "w" | "wn" | "wum";
13346
13408
  date: string;
13347
13409
  isMobile: boolean;
13348
13410
  log_id: string;
@@ -13381,7 +13443,7 @@ declare function init(config: AuthHeroConfig): {
13381
13443
  next?: string | undefined;
13382
13444
  } | {
13383
13445
  logs: {
13384
- type: "fc" | "fd" | "fn" | "i" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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" | "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" | "w" | "wn" | "wum";
13446
+ type: "fertft" | "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" | "festft" | "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" | "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" | "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" | "w" | "wn" | "wum";
13385
13447
  date: string;
13386
13448
  isMobile: boolean;
13387
13449
  log_id: string;
@@ -13435,7 +13497,7 @@ declare function init(config: AuthHeroConfig): {
13435
13497
  };
13436
13498
  };
13437
13499
  output: {
13438
- type: "fc" | "fd" | "fn" | "i" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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" | "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" | "w" | "wn" | "wum";
13500
+ type: "fertft" | "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" | "festft" | "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" | "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" | "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" | "w" | "wn" | "wum";
13439
13501
  date: string;
13440
13502
  isMobile: boolean;
13441
13503
  log_id: string;
@@ -13846,7 +13908,7 @@ declare function init(config: AuthHeroConfig): {
13846
13908
  addons?: {
13847
13909
  [x: string]: any;
13848
13910
  } | undefined;
13849
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13911
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13850
13912
  client_metadata?: {
13851
13913
  [x: string]: string;
13852
13914
  } | undefined;
@@ -13948,7 +14010,7 @@ declare function init(config: AuthHeroConfig): {
13948
14010
  addons?: {
13949
14011
  [x: string]: any;
13950
14012
  } | undefined;
13951
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14013
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13952
14014
  client_metadata?: {
13953
14015
  [x: string]: string;
13954
14016
  } | undefined;
@@ -14050,7 +14112,7 @@ declare function init(config: AuthHeroConfig): {
14050
14112
  addons?: {
14051
14113
  [x: string]: any;
14052
14114
  } | undefined;
14053
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14115
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
14054
14116
  client_metadata?: {
14055
14117
  [x: string]: string;
14056
14118
  } | undefined;
@@ -14167,7 +14229,7 @@ declare function init(config: AuthHeroConfig): {
14167
14229
  addons?: {
14168
14230
  [x: string]: any;
14169
14231
  } | undefined;
14170
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14232
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
14171
14233
  client_metadata?: {
14172
14234
  [x: string]: string;
14173
14235
  } | undefined;
@@ -14285,7 +14347,7 @@ declare function init(config: AuthHeroConfig): {
14285
14347
  custom_login_page_preview?: string | undefined;
14286
14348
  form_template?: string | undefined;
14287
14349
  addons?: Record<string, any> | undefined;
14288
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14350
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
14289
14351
  client_metadata?: Record<string, string> | undefined;
14290
14352
  hide_sign_up_disabled_error?: boolean | undefined;
14291
14353
  mobile?: Record<string, any> | undefined;
@@ -14371,7 +14433,7 @@ declare function init(config: AuthHeroConfig): {
14371
14433
  addons?: {
14372
14434
  [x: string]: any;
14373
14435
  } | undefined;
14374
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14436
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
14375
14437
  client_metadata?: {
14376
14438
  [x: string]: string;
14377
14439
  } | undefined;
@@ -14468,7 +14530,7 @@ declare function init(config: AuthHeroConfig): {
14468
14530
  custom_login_page_preview?: string | undefined;
14469
14531
  form_template?: string | undefined;
14470
14532
  addons?: Record<string, any> | undefined;
14471
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14533
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
14472
14534
  client_metadata?: Record<string, string> | undefined;
14473
14535
  hide_sign_up_disabled_error?: boolean | undefined;
14474
14536
  mobile?: Record<string, any> | undefined;
@@ -14554,7 +14616,7 @@ declare function init(config: AuthHeroConfig): {
14554
14616
  addons?: {
14555
14617
  [x: string]: any;
14556
14618
  } | undefined;
14557
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14619
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
14558
14620
  client_metadata?: {
14559
14621
  [x: string]: string;
14560
14622
  } | undefined;
@@ -15563,8 +15625,6 @@ declare function init(config: AuthHeroConfig): {
15563
15625
  locale?: string | undefined;
15564
15626
  linked_to?: string | undefined;
15565
15627
  profileData?: string | undefined;
15566
- app_metadata?: any;
15567
- user_metadata?: any;
15568
15628
  middle_name?: string | undefined;
15569
15629
  preferred_username?: string | undefined;
15570
15630
  profile?: string | undefined;
@@ -15580,7 +15640,6 @@ declare function init(config: AuthHeroConfig): {
15580
15640
  postal_code?: string | undefined;
15581
15641
  country?: string | undefined;
15582
15642
  } | undefined;
15583
- email_verified?: boolean | undefined;
15584
15643
  last_ip?: string | undefined;
15585
15644
  last_login?: string | undefined;
15586
15645
  user_id?: string | undefined;
@@ -15590,6 +15649,9 @@ declare function init(config: AuthHeroConfig): {
15590
15649
  registration_completed_at?: string | undefined;
15591
15650
  verify_email?: boolean | undefined;
15592
15651
  password?: string | undefined;
15652
+ email_verified?: boolean | undefined;
15653
+ app_metadata?: any;
15654
+ user_metadata?: any;
15593
15655
  };
15594
15656
  };
15595
15657
  output: {};
@@ -15890,7 +15952,7 @@ declare function init(config: AuthHeroConfig): {
15890
15952
  };
15891
15953
  };
15892
15954
  output: {
15893
- type: "fc" | "fd" | "fn" | "i" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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" | "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" | "w" | "wn" | "wum";
15955
+ type: "fertft" | "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" | "festft" | "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" | "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" | "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" | "w" | "wn" | "wum";
15894
15956
  date: string;
15895
15957
  isMobile: boolean;
15896
15958
  log_id: string;
@@ -15929,7 +15991,7 @@ declare function init(config: AuthHeroConfig): {
15929
15991
  limit: number;
15930
15992
  length: number;
15931
15993
  logs: {
15932
- type: "fc" | "fd" | "fn" | "i" | "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" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "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" | "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" | "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" | "w" | "wn" | "wum";
15994
+ type: "fertft" | "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" | "festft" | "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" | "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" | "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" | "w" | "wn" | "wum";
15933
15995
  date: string;
15934
15996
  isMobile: boolean;
15935
15997
  log_id: string;
@@ -17733,7 +17795,7 @@ declare function init(config: AuthHeroConfig): {
17733
17795
  logs: {
17734
17796
  action_name: string;
17735
17797
  lines: {
17736
- level: "log" | "error" | "info" | "warn" | "debug";
17798
+ level: "error" | "log" | "info" | "warn" | "debug";
17737
17799
  message: string;
17738
17800
  }[];
17739
17801
  }[];
@@ -18402,7 +18464,7 @@ declare function init(config: AuthHeroConfig): {
18402
18464
  args: hono_utils_types.JSONValue[];
18403
18465
  }[];
18404
18466
  logs: {
18405
- level: "log" | "error" | "info" | "warn" | "debug";
18467
+ level: "error" | "log" | "info" | "warn" | "debug";
18406
18468
  message: string;
18407
18469
  }[];
18408
18470
  error?: string | undefined;
@@ -18713,7 +18775,7 @@ declare function init(config: AuthHeroConfig): {
18713
18775
  scope?: string | undefined;
18714
18776
  grant_types?: string[] | undefined;
18715
18777
  response_types?: string[] | undefined;
18716
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
18778
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
18717
18779
  jwks_uri?: string | undefined;
18718
18780
  jwks?: Record<string, unknown> | undefined;
18719
18781
  software_id?: string | undefined;
@@ -18802,7 +18864,7 @@ declare function init(config: AuthHeroConfig): {
18802
18864
  scope?: string | undefined;
18803
18865
  grant_types?: string[] | undefined;
18804
18866
  response_types?: string[] | undefined;
18805
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
18867
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
18806
18868
  jwks_uri?: string | undefined;
18807
18869
  jwks?: Record<string, unknown> | undefined;
18808
18870
  software_id?: string | undefined;
@@ -19148,16 +19210,16 @@ declare function init(config: AuthHeroConfig): {
19148
19210
  email: string;
19149
19211
  send: "code" | "link";
19150
19212
  authParams: {
19213
+ audience?: string | undefined;
19214
+ scope?: string | undefined;
19215
+ redirect_uri?: string | undefined;
19216
+ organization?: string | undefined;
19151
19217
  username?: string | undefined;
19152
19218
  state?: string | undefined;
19153
- audience?: string | undefined;
19219
+ act_as?: string | undefined;
19154
19220
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19155
19221
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19156
- scope?: string | undefined;
19157
- organization?: string | undefined;
19158
19222
  nonce?: string | undefined;
19159
- redirect_uri?: string | undefined;
19160
- act_as?: string | undefined;
19161
19223
  prompt?: string | undefined;
19162
19224
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19163
19225
  code_challenge?: string | undefined;
@@ -19184,16 +19246,16 @@ declare function init(config: AuthHeroConfig): {
19184
19246
  phone_number: string;
19185
19247
  send: "code" | "link";
19186
19248
  authParams: {
19249
+ audience?: string | undefined;
19250
+ scope?: string | undefined;
19251
+ redirect_uri?: string | undefined;
19252
+ organization?: string | undefined;
19187
19253
  username?: string | undefined;
19188
19254
  state?: string | undefined;
19189
- audience?: string | undefined;
19255
+ act_as?: string | undefined;
19190
19256
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19191
19257
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19192
- scope?: string | undefined;
19193
- organization?: string | undefined;
19194
19258
  nonce?: string | undefined;
19195
- redirect_uri?: string | undefined;
19196
- act_as?: string | undefined;
19197
19259
  prompt?: string | undefined;
19198
19260
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19199
19261
  code_challenge?: string | undefined;
@@ -19328,14 +19390,14 @@ declare function init(config: AuthHeroConfig): {
19328
19390
  input: {
19329
19391
  form: {
19330
19392
  token: string;
19331
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19393
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
19332
19394
  client_id?: string | undefined;
19333
19395
  client_secret?: string | undefined;
19334
19396
  };
19335
19397
  } & {
19336
19398
  json: {
19337
19399
  token: string;
19338
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19400
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
19339
19401
  client_id?: string | undefined;
19340
19402
  client_secret?: string | undefined;
19341
19403
  };
@@ -19347,14 +19409,14 @@ declare function init(config: AuthHeroConfig): {
19347
19409
  input: {
19348
19410
  form: {
19349
19411
  token: string;
19350
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19412
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
19351
19413
  client_id?: string | undefined;
19352
19414
  client_secret?: string | undefined;
19353
19415
  };
19354
19416
  } & {
19355
19417
  json: {
19356
19418
  token: string;
19357
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19419
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
19358
19420
  client_id?: string | undefined;
19359
19421
  client_secret?: string | undefined;
19360
19422
  };
@@ -19369,14 +19431,14 @@ declare function init(config: AuthHeroConfig): {
19369
19431
  input: {
19370
19432
  form: {
19371
19433
  token: string;
19372
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19434
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
19373
19435
  client_id?: string | undefined;
19374
19436
  client_secret?: string | undefined;
19375
19437
  };
19376
19438
  } & {
19377
19439
  json: {
19378
19440
  token: string;
19379
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19441
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
19380
19442
  client_id?: string | undefined;
19381
19443
  client_secret?: string | undefined;
19382
19444
  };
@@ -19426,7 +19488,7 @@ declare function init(config: AuthHeroConfig): {
19426
19488
  client_id: string;
19427
19489
  username: string;
19428
19490
  otp: string;
19429
- realm: "sms" | "email";
19491
+ realm: "email" | "sms";
19430
19492
  } | {
19431
19493
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19432
19494
  subject_token: string;
@@ -19473,7 +19535,7 @@ declare function init(config: AuthHeroConfig): {
19473
19535
  client_id: string;
19474
19536
  username: string;
19475
19537
  otp: string;
19476
- realm: "sms" | "email";
19538
+ realm: "email" | "sms";
19477
19539
  } | {
19478
19540
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19479
19541
  subject_token: string;
@@ -19525,7 +19587,7 @@ declare function init(config: AuthHeroConfig): {
19525
19587
  client_id: string;
19526
19588
  username: string;
19527
19589
  otp: string;
19528
- realm: "sms" | "email";
19590
+ realm: "email" | "sms";
19529
19591
  } | {
19530
19592
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19531
19593
  subject_token: string;
@@ -19572,7 +19634,7 @@ declare function init(config: AuthHeroConfig): {
19572
19634
  client_id: string;
19573
19635
  username: string;
19574
19636
  otp: string;
19575
- realm: "sms" | "email";
19637
+ realm: "email" | "sms";
19576
19638
  } | {
19577
19639
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19578
19640
  subject_token: string;
@@ -19632,7 +19694,7 @@ declare function init(config: AuthHeroConfig): {
19632
19694
  client_id: string;
19633
19695
  username: string;
19634
19696
  otp: string;
19635
- realm: "sms" | "email";
19697
+ realm: "email" | "sms";
19636
19698
  } | {
19637
19699
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19638
19700
  subject_token: string;
@@ -19679,7 +19741,7 @@ declare function init(config: AuthHeroConfig): {
19679
19741
  client_id: string;
19680
19742
  username: string;
19681
19743
  otp: string;
19682
- realm: "sms" | "email";
19744
+ realm: "email" | "sms";
19683
19745
  } | {
19684
19746
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19685
19747
  subject_token: string;
@@ -19734,7 +19796,7 @@ declare function init(config: AuthHeroConfig): {
19734
19796
  client_id: string;
19735
19797
  username: string;
19736
19798
  otp: string;
19737
- realm: "sms" | "email";
19799
+ realm: "email" | "sms";
19738
19800
  } | {
19739
19801
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19740
19802
  subject_token: string;
@@ -19781,7 +19843,7 @@ declare function init(config: AuthHeroConfig): {
19781
19843
  client_id: string;
19782
19844
  username: string;
19783
19845
  otp: string;
19784
- realm: "sms" | "email";
19846
+ realm: "email" | "sms";
19785
19847
  } | {
19786
19848
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19787
19849
  subject_token: string;
@@ -19836,7 +19898,7 @@ declare function init(config: AuthHeroConfig): {
19836
19898
  client_id: string;
19837
19899
  username: string;
19838
19900
  otp: string;
19839
- realm: "sms" | "email";
19901
+ realm: "email" | "sms";
19840
19902
  } | {
19841
19903
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19842
19904
  subject_token: string;
@@ -19883,7 +19945,7 @@ declare function init(config: AuthHeroConfig): {
19883
19945
  client_id: string;
19884
19946
  username: string;
19885
19947
  otp: string;
19886
- realm: "sms" | "email";
19948
+ realm: "email" | "sms";
19887
19949
  } | {
19888
19950
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19889
19951
  subject_token: string;
@@ -21275,5 +21337,5 @@ declare function init(config: AuthHeroConfig): {
21275
21337
  createX509Certificate: typeof createX509Certificate;
21276
21338
  };
21277
21339
 
21278
- export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_CUSTOM_DOMAINS_PATH, CONTROL_PLANE_CUSTOM_DOMAINS_SCOPE, CONTROL_PLANE_SYNC_EVENT_PREFIX, CONTROL_PLANE_SYNC_SCOPE, CONTROL_PLANE_TENANT_MEMBERS_PATH, CONTROL_PLANE_TENANT_MEMBERS_SCOPE, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, ControlPlaneSyncDestination, DEFAULT_WFP_DISPATCH_BINDING, DEFAULT_WFP_SCRIPT_NAME_TEMPLATE, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, RetentionSweepError, SignupPage as SignUpPage, SocialButton, Spinner, TenantInvitationNotFoundError, TenantMembersNotFoundError, TenantOrganizationNotFoundError, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupCodes, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, composeHostResolvers, createApplySyncEvents, createAuthMiddleware, createControlPlaneClient, createControlPlaneCustomDomainsAdapter, createControlPlaneTenantMembersAdapter, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, createLocalTenantMembersBackend, createServiceTokenCore, createTenantMembersControlPlaneApp, createTenantMembersRoutes, createWfpTenantHostResolver, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, isWfpSubdomainSafeTenantId, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, runRetention, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wfpTenantHost, wrapProxyAdaptersWithKvPublish, wrapTenantsAdapterWithWfpKvPublish };
21279
- export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, CodesCleanupParams, ControlPlaneClient, ControlPlaneClientOptions, ControlPlaneCustomDomainsOptions, ControlPlaneRequest, ControlPlaneResponse, ControlPlaneSyncDestinationOptions, ControlPlaneTenantMembersOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, CreateServiceTokenCoreParams, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetControlPlaneToken, GetServiceToken, GetTenantMembersBackend, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, LocalTenantMembersBackendOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RetentionSweep, RetentionSweepFailed, RetentionSweepSkipped, RetentionSweepStatus, RetentionSweepSwept, RolePermissionHooks, RunOutboxRelayConfig, RunRetentionConfig, RunRetentionResult, SeedOptions, SeedResult, ServiceTokenResponse, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantInvitation, TenantInvitationInput, TenantMember, TenantMembersBackend, TenantMembersControlPlaneOptions, TenantMembersListResult, TenantMembersPageParams, TenantOperationExecutorBinding, TenantRole, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WfpTenantHostResolverOptions, WfpTenantsKvPublishOptions, WrappedProxyAdapters };
21340
+ export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_CUSTOM_DOMAINS_PATH, CONTROL_PLANE_CUSTOM_DOMAINS_SCOPE, CONTROL_PLANE_SYNC_EVENT_PREFIX, CONTROL_PLANE_SYNC_SCOPE, CONTROL_PLANE_TENANT_MEMBERS_PATH, CONTROL_PLANE_TENANT_MEMBERS_SCOPE, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, ControlPlaneSyncDestination, DEFAULT_WFP_DISPATCH_BINDING, DEFAULT_WFP_SCRIPT_NAME_TEMPLATE, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, RetentionSweepError, SignupPage as SignUpPage, SocialButton, Spinner, TenantInvitationNotFoundError, TenantMembersNotFoundError, TenantOrganizationNotFoundError, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupCodes, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, composeHostResolvers, createApplySyncEvents, createAuthMiddleware, createControlPlaneClient, createControlPlaneCustomDomainsAdapter, createControlPlaneTenantMembersAdapter, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, createLocalTenantMembersBackend, createServiceTokenCore, createTenantMembersControlPlaneApp, createTenantMembersRoutes, createWfpTenantHostResolver, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, ensureSigningKey, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, isWfpSubdomainSafeTenantId, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, runRetention, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wfpTenantHost, wrapProxyAdaptersWithKvPublish, wrapTenantsAdapterWithWfpKvPublish };
21341
+ export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, CodesCleanupParams, ControlPlaneClient, ControlPlaneClientOptions, ControlPlaneCustomDomainsOptions, ControlPlaneRequest, ControlPlaneResponse, ControlPlaneSyncDestinationOptions, ControlPlaneTenantMembersOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, CreateServiceTokenCoreParams, EncryptKeyIdResolver, EnsureSigningKeyOptions, EnsureSigningKeyResult, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetControlPlaneToken, GetServiceToken, GetTenantMembersBackend, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, LocalTenantMembersBackendOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RetentionSweep, RetentionSweepFailed, RetentionSweepSkipped, RetentionSweepStatus, RetentionSweepSwept, RolePermissionHooks, RunOutboxRelayConfig, RunRetentionConfig, RunRetentionResult, SeedOptions, SeedResult, ServiceTokenResponse, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantInvitation, TenantInvitationInput, TenantMember, TenantMembersBackend, TenantMembersControlPlaneOptions, TenantMembersListResult, TenantMembersPageParams, TenantOperationExecutorBinding, TenantRole, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WfpTenantHostResolverOptions, WfpTenantsKvPublishOptions, WrappedProxyAdapters };