authhero 7.2.2 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/authhero.cjs +102 -102
  2. package/dist/authhero.d.ts +148 -134
  3. package/dist/authhero.mjs +10893 -10466
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  7. package/dist/types/helpers/bundle-write-purge.d.ts +16 -0
  8. package/dist/types/helpers/client-bundle.d.ts +65 -0
  9. package/dist/types/helpers/compose-auth-data.d.ts +44 -0
  10. package/dist/types/helpers/prefetch-client-bundle.d.ts +33 -0
  11. package/dist/types/helpers/request-scoped-dedup.d.ts +8 -0
  12. package/dist/types/helpers/with-client-bundle.d.ts +31 -0
  13. package/dist/types/hooks/webhooks.d.ts +14 -0
  14. package/dist/types/index.d.ts +145 -87
  15. package/dist/types/routes/auth-api/account.d.ts +2 -2
  16. package/dist/types/routes/auth-api/index.d.ts +35 -35
  17. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  18. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  19. package/dist/types/routes/auth-api/token.d.ts +10 -10
  20. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  21. package/dist/types/routes/management-api/action-triggers.d.ts +1 -1
  22. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  23. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  24. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  25. package/dist/types/routes/management-api/flows.d.ts +7 -7
  26. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  27. package/dist/types/routes/management-api/hooks.d.ts +60 -0
  28. package/dist/types/routes/management-api/index.d.ts +104 -44
  29. package/dist/types/routes/management-api/logs.d.ts +3 -3
  30. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  31. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  32. package/dist/types/routes/management-api/users.d.ts +2 -2
  33. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  34. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  35. package/dist/types/types/AuthHeroConfig.d.ts +0 -12
  36. package/dist/types/utils/jwks.d.ts +2 -2
  37. package/package.json +5 -4
@@ -29,8 +29,6 @@ export { PROXY_RESOLVE_HOST_SCOPE, verifyControlPlaneToken, isAllowedIssuer, typ
29
29
  export { addEntityHooks } from "./helpers/entity-hooks-wrapper";
30
30
  export { seed, MANAGEMENT_API_SCOPES } from "./seed";
31
31
  export type { SeedOptions, SeedResult } from "./seed";
32
- export { NoopTenantProvisioner } from "./provisioning";
33
- export type { TenantProvisioner, TenantProvisionerContext, } from "./provisioning";
34
32
  export { createAuthMiddleware, MANAGEMENT_API_AUDIENCE, } from "./middlewares/authentication";
35
33
  export type { ManagementAudienceResolver } from "./middlewares/authentication";
36
34
  export { tenantMiddleware } from "./middlewares/tenant";
@@ -86,7 +84,7 @@ export declare function init(config: AuthHeroConfig): {
86
84
  };
87
85
  } & {
88
86
  json: {
89
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
87
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
90
88
  phone_number?: string | undefined;
91
89
  totp_secret?: string | undefined;
92
90
  credential_id?: string | undefined;
@@ -226,7 +224,7 @@ export declare function init(config: AuthHeroConfig): {
226
224
  };
227
225
  };
228
226
  output: {
229
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
227
+ name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
230
228
  enabled: boolean;
231
229
  trial_expired?: boolean | undefined;
232
230
  }[];
@@ -381,7 +379,7 @@ export declare function init(config: AuthHeroConfig): {
381
379
  $get: {
382
380
  input: {
383
381
  param: {
384
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
382
+ factor_name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
385
383
  };
386
384
  } & {
387
385
  header: {
@@ -389,7 +387,7 @@ export declare function init(config: AuthHeroConfig): {
389
387
  };
390
388
  };
391
389
  output: {
392
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
390
+ name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
393
391
  enabled: boolean;
394
392
  trial_expired?: boolean | undefined;
395
393
  };
@@ -402,7 +400,7 @@ export declare function init(config: AuthHeroConfig): {
402
400
  $put: {
403
401
  input: {
404
402
  param: {
405
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
403
+ factor_name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
406
404
  };
407
405
  } & {
408
406
  header: {
@@ -414,7 +412,7 @@ export declare function init(config: AuthHeroConfig): {
414
412
  };
415
413
  };
416
414
  output: {
417
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
415
+ name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
418
416
  enabled: boolean;
419
417
  trial_expired?: boolean | undefined;
420
418
  };
@@ -1159,11 +1157,11 @@ export declare function init(config: AuthHeroConfig): {
1159
1157
  invitee: {
1160
1158
  email?: string | undefined;
1161
1159
  };
1162
- roles?: string[] | undefined;
1163
- id?: string | undefined;
1164
1160
  app_metadata?: Record<string, any> | undefined;
1165
1161
  user_metadata?: Record<string, any> | undefined;
1162
+ id?: string | undefined;
1166
1163
  connection_id?: string | undefined;
1164
+ roles?: string[] | undefined;
1167
1165
  ttl_sec?: number | undefined;
1168
1166
  send_invitation_email?: boolean | undefined;
1169
1167
  };
@@ -2014,7 +2012,7 @@ export declare function init(config: AuthHeroConfig): {
2014
2012
  type: "REDIRECT";
2015
2013
  action: "REDIRECT_USER";
2016
2014
  params: {
2017
- target: "custom" | "change-email" | "account";
2015
+ target: "custom" | "account" | "change-email";
2018
2016
  custom_url?: string | undefined;
2019
2017
  };
2020
2018
  alias?: string | undefined;
@@ -2067,7 +2065,7 @@ export declare function init(config: AuthHeroConfig): {
2067
2065
  type: "REDIRECT";
2068
2066
  action: "REDIRECT_USER";
2069
2067
  params: {
2070
- target: "custom" | "change-email" | "account";
2068
+ target: "custom" | "account" | "change-email";
2071
2069
  custom_url?: string | undefined;
2072
2070
  };
2073
2071
  alias?: string | undefined;
@@ -2135,7 +2133,7 @@ export declare function init(config: AuthHeroConfig): {
2135
2133
  type: "REDIRECT";
2136
2134
  action: "REDIRECT_USER";
2137
2135
  params: {
2138
- target: "custom" | "change-email" | "account";
2136
+ target: "custom" | "account" | "change-email";
2139
2137
  custom_url?: string | undefined;
2140
2138
  };
2141
2139
  alias?: string | undefined;
@@ -2216,7 +2214,7 @@ export declare function init(config: AuthHeroConfig): {
2216
2214
  type: "REDIRECT";
2217
2215
  action: "REDIRECT_USER";
2218
2216
  params: {
2219
- target: "custom" | "change-email" | "account";
2217
+ target: "custom" | "account" | "change-email";
2220
2218
  custom_url?: string | undefined;
2221
2219
  };
2222
2220
  alias?: string | undefined;
@@ -2264,7 +2262,7 @@ export declare function init(config: AuthHeroConfig): {
2264
2262
  type: "REDIRECT";
2265
2263
  action: "REDIRECT_USER";
2266
2264
  params: {
2267
- target: "custom" | "change-email" | "account";
2265
+ target: "custom" | "account" | "change-email";
2268
2266
  custom_url?: string | undefined;
2269
2267
  };
2270
2268
  alias?: string | undefined;
@@ -2324,7 +2322,7 @@ export declare function init(config: AuthHeroConfig): {
2324
2322
  type: "REDIRECT";
2325
2323
  action: "REDIRECT_USER";
2326
2324
  params: {
2327
- target: "custom" | "change-email" | "account";
2325
+ target: "custom" | "account" | "change-email";
2328
2326
  custom_url?: string | undefined;
2329
2327
  };
2330
2328
  alias?: string | undefined;
@@ -2372,7 +2370,7 @@ export declare function init(config: AuthHeroConfig): {
2372
2370
  type: "REDIRECT";
2373
2371
  action: "REDIRECT_USER";
2374
2372
  params: {
2375
- target: "custom" | "change-email" | "account";
2373
+ target: "custom" | "account" | "change-email";
2376
2374
  custom_url?: string | undefined;
2377
2375
  };
2378
2376
  alias?: string | undefined;
@@ -6650,7 +6648,7 @@ export declare function init(config: AuthHeroConfig): {
6650
6648
  };
6651
6649
  };
6652
6650
  output: {
6653
- prompt: "organizations" | "mfa" | "signup" | "status" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6651
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "email-otp-challenge" | "invitation" | "reset-password" | "mfa-login-options" | "consent" | "email-verification" | "login-id" | "login-password" | "signup-id" | "signup-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless";
6654
6652
  language: string;
6655
6653
  }[];
6656
6654
  outputFormat: "json";
@@ -6688,7 +6686,7 @@ export declare function init(config: AuthHeroConfig): {
6688
6686
  $get: {
6689
6687
  input: {
6690
6688
  param: {
6691
- prompt: "organizations" | "mfa" | "signup" | "status" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6689
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "email-otp-challenge" | "invitation" | "reset-password" | "mfa-login-options" | "consent" | "email-verification" | "login-id" | "login-password" | "signup-id" | "signup-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless";
6692
6690
  language: string;
6693
6691
  };
6694
6692
  } & {
@@ -6710,7 +6708,7 @@ export declare function init(config: AuthHeroConfig): {
6710
6708
  $put: {
6711
6709
  input: {
6712
6710
  param: {
6713
- prompt: "organizations" | "mfa" | "signup" | "status" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6711
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "email-otp-challenge" | "invitation" | "reset-password" | "mfa-login-options" | "consent" | "email-verification" | "login-id" | "login-password" | "signup-id" | "signup-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless";
6714
6712
  language: string;
6715
6713
  };
6716
6714
  } & {
@@ -6734,7 +6732,7 @@ export declare function init(config: AuthHeroConfig): {
6734
6732
  $delete: {
6735
6733
  input: {
6736
6734
  param: {
6737
- prompt: "organizations" | "mfa" | "signup" | "status" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
6735
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "email-otp-challenge" | "invitation" | "reset-password" | "mfa-login-options" | "consent" | "email-verification" | "login-id" | "login-password" | "signup-id" | "signup-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless";
6738
6736
  language: string;
6739
6737
  };
6740
6738
  } & {
@@ -8148,6 +8146,66 @@ export declare function init(config: AuthHeroConfig): {
8148
8146
  status: 200;
8149
8147
  };
8150
8148
  };
8149
+ } & {
8150
+ "/:hook_id/try": {
8151
+ $post: {
8152
+ input: {
8153
+ param: {
8154
+ hook_id: string;
8155
+ };
8156
+ } & {
8157
+ header: {
8158
+ "tenant-id"?: string | undefined;
8159
+ };
8160
+ } & {
8161
+ json: {
8162
+ user_id: string;
8163
+ };
8164
+ };
8165
+ output: {};
8166
+ outputFormat: string;
8167
+ status: 400;
8168
+ } | {
8169
+ input: {
8170
+ param: {
8171
+ hook_id: string;
8172
+ };
8173
+ } & {
8174
+ header: {
8175
+ "tenant-id"?: string | undefined;
8176
+ };
8177
+ } & {
8178
+ json: {
8179
+ user_id: string;
8180
+ };
8181
+ };
8182
+ output: {};
8183
+ outputFormat: string;
8184
+ status: 404;
8185
+ } | {
8186
+ input: {
8187
+ param: {
8188
+ hook_id: string;
8189
+ };
8190
+ } & {
8191
+ header: {
8192
+ "tenant-id"?: string | undefined;
8193
+ };
8194
+ } & {
8195
+ json: {
8196
+ user_id: string;
8197
+ };
8198
+ };
8199
+ output: {
8200
+ ok: boolean;
8201
+ status?: number | undefined;
8202
+ body?: string | undefined;
8203
+ error?: string | undefined;
8204
+ };
8205
+ outputFormat: "json";
8206
+ status: 200;
8207
+ };
8208
+ };
8151
8209
  }, "/hooks"> & import("hono/types").MergeSchemaPath<{
8152
8210
  "/": {
8153
8211
  $get: {
@@ -8175,7 +8233,7 @@ export declare function init(config: AuthHeroConfig): {
8175
8233
  log_type: string;
8176
8234
  category: "user_action" | "admin_action" | "system" | "api";
8177
8235
  actor: {
8178
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
8236
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
8179
8237
  id?: string | undefined;
8180
8238
  email?: string | undefined;
8181
8239
  org_id?: string | undefined;
@@ -8823,7 +8881,7 @@ export declare function init(config: AuthHeroConfig): {
8823
8881
  };
8824
8882
  };
8825
8883
  output: {
8826
- type: "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" | "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" | "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";
8884
+ type: "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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";
8827
8885
  date: string;
8828
8886
  isMobile: boolean;
8829
8887
  log_id: string;
@@ -8862,7 +8920,7 @@ export declare function init(config: AuthHeroConfig): {
8862
8920
  limit: number;
8863
8921
  length: number;
8864
8922
  logs: {
8865
- type: "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" | "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" | "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";
8923
+ type: "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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";
8866
8924
  date: string;
8867
8925
  isMobile: boolean;
8868
8926
  log_id: string;
@@ -8916,7 +8974,7 @@ export declare function init(config: AuthHeroConfig): {
8916
8974
  };
8917
8975
  };
8918
8976
  output: {
8919
- type: "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" | "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" | "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";
8977
+ type: "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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";
8920
8978
  date: string;
8921
8979
  isMobile: boolean;
8922
8980
  log_id: string;
@@ -11134,7 +11192,7 @@ export declare function init(config: AuthHeroConfig): {
11134
11192
  };
11135
11193
  };
11136
11194
  output: {
11137
- type: "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" | "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" | "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";
11195
+ type: "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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";
11138
11196
  date: string;
11139
11197
  isMobile: boolean;
11140
11198
  log_id: string;
@@ -11173,7 +11231,7 @@ export declare function init(config: AuthHeroConfig): {
11173
11231
  limit: number;
11174
11232
  length: number;
11175
11233
  logs: {
11176
- type: "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" | "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" | "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";
11234
+ type: "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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";
11177
11235
  date: string;
11178
11236
  isMobile: boolean;
11179
11237
  log_id: string;
@@ -11488,7 +11546,7 @@ export declare function init(config: AuthHeroConfig): {
11488
11546
  };
11489
11547
  } & {
11490
11548
  json: {
11491
- 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";
11549
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11492
11550
  body: string;
11493
11551
  from: string;
11494
11552
  subject: string;
@@ -11509,7 +11567,7 @@ export declare function init(config: AuthHeroConfig): {
11509
11567
  };
11510
11568
  } & {
11511
11569
  json: {
11512
- 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";
11570
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11513
11571
  body: string;
11514
11572
  from: string;
11515
11573
  subject: string;
@@ -11521,7 +11579,7 @@ export declare function init(config: AuthHeroConfig): {
11521
11579
  };
11522
11580
  };
11523
11581
  output: {
11524
- 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";
11582
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11525
11583
  body: string;
11526
11584
  from: string;
11527
11585
  subject: string;
@@ -11544,7 +11602,7 @@ export declare function init(config: AuthHeroConfig): {
11544
11602
  };
11545
11603
  };
11546
11604
  output: {
11547
- name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11605
+ name: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11548
11606
  body: string;
11549
11607
  subject: string;
11550
11608
  }[];
@@ -11557,7 +11615,7 @@ export declare function init(config: AuthHeroConfig): {
11557
11615
  $get: {
11558
11616
  input: {
11559
11617
  param: {
11560
- 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";
11618
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11561
11619
  };
11562
11620
  } & {
11563
11621
  header: {
@@ -11570,7 +11628,7 @@ export declare function init(config: AuthHeroConfig): {
11570
11628
  } | {
11571
11629
  input: {
11572
11630
  param: {
11573
- 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";
11631
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11574
11632
  };
11575
11633
  } & {
11576
11634
  header: {
@@ -11578,7 +11636,7 @@ export declare function init(config: AuthHeroConfig): {
11578
11636
  };
11579
11637
  };
11580
11638
  output: {
11581
- 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";
11639
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11582
11640
  body: string;
11583
11641
  from: string;
11584
11642
  subject: string;
@@ -11597,7 +11655,7 @@ export declare function init(config: AuthHeroConfig): {
11597
11655
  $put: {
11598
11656
  input: {
11599
11657
  param: {
11600
- 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";
11658
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11601
11659
  };
11602
11660
  } & {
11603
11661
  header: {
@@ -11605,7 +11663,7 @@ export declare function init(config: AuthHeroConfig): {
11605
11663
  };
11606
11664
  } & {
11607
11665
  json: {
11608
- 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";
11666
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11609
11667
  body: string;
11610
11668
  subject: string;
11611
11669
  syntax?: "liquid" | undefined;
@@ -11617,7 +11675,7 @@ export declare function init(config: AuthHeroConfig): {
11617
11675
  };
11618
11676
  };
11619
11677
  output: {
11620
- 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";
11678
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11621
11679
  body: string;
11622
11680
  from: string;
11623
11681
  subject: string;
@@ -11636,7 +11694,7 @@ export declare function init(config: AuthHeroConfig): {
11636
11694
  $patch: {
11637
11695
  input: {
11638
11696
  param: {
11639
- 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";
11697
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11640
11698
  };
11641
11699
  } & {
11642
11700
  header: {
@@ -11644,7 +11702,7 @@ export declare function init(config: AuthHeroConfig): {
11644
11702
  };
11645
11703
  } & {
11646
11704
  json: {
11647
- 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;
11705
+ template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
11648
11706
  body?: string | undefined;
11649
11707
  from?: string | undefined;
11650
11708
  subject?: string | undefined;
@@ -11661,7 +11719,7 @@ export declare function init(config: AuthHeroConfig): {
11661
11719
  } | {
11662
11720
  input: {
11663
11721
  param: {
11664
- 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";
11722
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11665
11723
  };
11666
11724
  } & {
11667
11725
  header: {
@@ -11669,7 +11727,7 @@ export declare function init(config: AuthHeroConfig): {
11669
11727
  };
11670
11728
  } & {
11671
11729
  json: {
11672
- 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;
11730
+ template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
11673
11731
  body?: string | undefined;
11674
11732
  from?: string | undefined;
11675
11733
  subject?: string | undefined;
@@ -11681,7 +11739,7 @@ export declare function init(config: AuthHeroConfig): {
11681
11739
  };
11682
11740
  };
11683
11741
  output: {
11684
- 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";
11742
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11685
11743
  body: string;
11686
11744
  from: string;
11687
11745
  subject: string;
@@ -11700,7 +11758,7 @@ export declare function init(config: AuthHeroConfig): {
11700
11758
  $delete: {
11701
11759
  input: {
11702
11760
  param: {
11703
- 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";
11761
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11704
11762
  };
11705
11763
  } & {
11706
11764
  header: {
@@ -11713,7 +11771,7 @@ export declare function init(config: AuthHeroConfig): {
11713
11771
  } | {
11714
11772
  input: {
11715
11773
  param: {
11716
- 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";
11774
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11717
11775
  };
11718
11776
  } & {
11719
11777
  header: {
@@ -11730,7 +11788,7 @@ export declare function init(config: AuthHeroConfig): {
11730
11788
  $post: {
11731
11789
  input: {
11732
11790
  param: {
11733
- 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";
11791
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
11734
11792
  };
11735
11793
  } & {
11736
11794
  header: {
@@ -12737,7 +12795,7 @@ export declare function init(config: AuthHeroConfig): {
12737
12795
  json: {
12738
12796
  bindings: {
12739
12797
  ref: {
12740
- type?: "action_id" | "action_name" | undefined;
12798
+ type?: "action_name" | "action_id" | undefined;
12741
12799
  value?: string | undefined;
12742
12800
  id?: string | undefined;
12743
12801
  name?: string | undefined;
@@ -13970,7 +14028,7 @@ export declare function init(config: AuthHeroConfig): {
13970
14028
  client_id: string;
13971
14029
  redirect_url?: string | undefined;
13972
14030
  login_hint?: string | undefined;
13973
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
14031
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
13974
14032
  };
13975
14033
  };
13976
14034
  output: {};
@@ -13982,7 +14040,7 @@ export declare function init(config: AuthHeroConfig): {
13982
14040
  client_id: string;
13983
14041
  redirect_url?: string | undefined;
13984
14042
  login_hint?: string | undefined;
13985
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
14043
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
13986
14044
  };
13987
14045
  };
13988
14046
  output: {
@@ -14259,19 +14317,19 @@ export declare function init(config: AuthHeroConfig): {
14259
14317
  email: string;
14260
14318
  send: "code" | "link";
14261
14319
  authParams: {
14262
- audience?: string | undefined;
14263
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
14264
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
14265
- scope?: string | undefined;
14266
14320
  username?: string | undefined;
14267
- organization?: string | undefined;
14268
14321
  state?: string | undefined;
14322
+ scope?: string | undefined;
14323
+ code_challenge?: string | undefined;
14324
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
14325
+ redirect_uri?: string | undefined;
14269
14326
  nonce?: string | undefined;
14270
14327
  act_as?: string | undefined;
14271
- redirect_uri?: string | undefined;
14328
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
14329
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
14330
+ audience?: string | undefined;
14331
+ organization?: string | undefined;
14272
14332
  prompt?: string | undefined;
14273
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
14274
- code_challenge?: string | undefined;
14275
14333
  ui_locales?: string | undefined;
14276
14334
  max_age?: number | undefined;
14277
14335
  acr_values?: string | undefined;
@@ -14295,19 +14353,19 @@ export declare function init(config: AuthHeroConfig): {
14295
14353
  phone_number: string;
14296
14354
  send: "code" | "link";
14297
14355
  authParams: {
14298
- audience?: string | undefined;
14299
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
14300
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
14301
- scope?: string | undefined;
14302
14356
  username?: string | undefined;
14303
- organization?: string | undefined;
14304
14357
  state?: string | undefined;
14358
+ scope?: string | undefined;
14359
+ code_challenge?: string | undefined;
14360
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
14361
+ redirect_uri?: string | undefined;
14305
14362
  nonce?: string | undefined;
14306
14363
  act_as?: string | undefined;
14307
- redirect_uri?: string | undefined;
14364
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
14365
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
14366
+ audience?: string | undefined;
14367
+ organization?: string | undefined;
14308
14368
  prompt?: string | undefined;
14309
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
14310
- code_challenge?: string | undefined;
14311
14369
  ui_locales?: string | undefined;
14312
14370
  max_age?: number | undefined;
14313
14371
  acr_values?: string | undefined;
@@ -14439,14 +14497,14 @@ export declare function init(config: AuthHeroConfig): {
14439
14497
  input: {
14440
14498
  form: {
14441
14499
  token: string;
14442
- token_type_hint?: "refresh_token" | "access_token" | undefined;
14500
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
14443
14501
  client_id?: string | undefined;
14444
14502
  client_secret?: string | undefined;
14445
14503
  };
14446
14504
  } & {
14447
14505
  json: {
14448
14506
  token: string;
14449
- token_type_hint?: "refresh_token" | "access_token" | undefined;
14507
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
14450
14508
  client_id?: string | undefined;
14451
14509
  client_secret?: string | undefined;
14452
14510
  };
@@ -14458,14 +14516,14 @@ export declare function init(config: AuthHeroConfig): {
14458
14516
  input: {
14459
14517
  form: {
14460
14518
  token: string;
14461
- token_type_hint?: "refresh_token" | "access_token" | undefined;
14519
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
14462
14520
  client_id?: string | undefined;
14463
14521
  client_secret?: string | undefined;
14464
14522
  };
14465
14523
  } & {
14466
14524
  json: {
14467
14525
  token: string;
14468
- token_type_hint?: "refresh_token" | "access_token" | undefined;
14526
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
14469
14527
  client_id?: string | undefined;
14470
14528
  client_secret?: string | undefined;
14471
14529
  };
@@ -14480,14 +14538,14 @@ export declare function init(config: AuthHeroConfig): {
14480
14538
  input: {
14481
14539
  form: {
14482
14540
  token: string;
14483
- token_type_hint?: "refresh_token" | "access_token" | undefined;
14541
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
14484
14542
  client_id?: string | undefined;
14485
14543
  client_secret?: string | undefined;
14486
14544
  };
14487
14545
  } & {
14488
14546
  json: {
14489
14547
  token: string;
14490
- token_type_hint?: "refresh_token" | "access_token" | undefined;
14548
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
14491
14549
  client_id?: string | undefined;
14492
14550
  client_secret?: string | undefined;
14493
14551
  };
@@ -14537,7 +14595,7 @@ export declare function init(config: AuthHeroConfig): {
14537
14595
  client_id: string;
14538
14596
  username: string;
14539
14597
  otp: string;
14540
- realm: "sms" | "email";
14598
+ realm: "email" | "sms";
14541
14599
  } | {
14542
14600
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14543
14601
  subject_token: string;
@@ -14584,7 +14642,7 @@ export declare function init(config: AuthHeroConfig): {
14584
14642
  client_id: string;
14585
14643
  username: string;
14586
14644
  otp: string;
14587
- realm: "sms" | "email";
14645
+ realm: "email" | "sms";
14588
14646
  } | {
14589
14647
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14590
14648
  subject_token: string;
@@ -14636,7 +14694,7 @@ export declare function init(config: AuthHeroConfig): {
14636
14694
  client_id: string;
14637
14695
  username: string;
14638
14696
  otp: string;
14639
- realm: "sms" | "email";
14697
+ realm: "email" | "sms";
14640
14698
  } | {
14641
14699
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14642
14700
  subject_token: string;
@@ -14683,7 +14741,7 @@ export declare function init(config: AuthHeroConfig): {
14683
14741
  client_id: string;
14684
14742
  username: string;
14685
14743
  otp: string;
14686
- realm: "sms" | "email";
14744
+ realm: "email" | "sms";
14687
14745
  } | {
14688
14746
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14689
14747
  subject_token: string;
@@ -14743,7 +14801,7 @@ export declare function init(config: AuthHeroConfig): {
14743
14801
  client_id: string;
14744
14802
  username: string;
14745
14803
  otp: string;
14746
- realm: "sms" | "email";
14804
+ realm: "email" | "sms";
14747
14805
  } | {
14748
14806
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14749
14807
  subject_token: string;
@@ -14790,7 +14848,7 @@ export declare function init(config: AuthHeroConfig): {
14790
14848
  client_id: string;
14791
14849
  username: string;
14792
14850
  otp: string;
14793
- realm: "sms" | "email";
14851
+ realm: "email" | "sms";
14794
14852
  } | {
14795
14853
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14796
14854
  subject_token: string;
@@ -14845,7 +14903,7 @@ export declare function init(config: AuthHeroConfig): {
14845
14903
  client_id: string;
14846
14904
  username: string;
14847
14905
  otp: string;
14848
- realm: "sms" | "email";
14906
+ realm: "email" | "sms";
14849
14907
  } | {
14850
14908
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14851
14909
  subject_token: string;
@@ -14892,7 +14950,7 @@ export declare function init(config: AuthHeroConfig): {
14892
14950
  client_id: string;
14893
14951
  username: string;
14894
14952
  otp: string;
14895
- realm: "sms" | "email";
14953
+ realm: "email" | "sms";
14896
14954
  } | {
14897
14955
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14898
14956
  subject_token: string;
@@ -14947,7 +15005,7 @@ export declare function init(config: AuthHeroConfig): {
14947
15005
  client_id: string;
14948
15006
  username: string;
14949
15007
  otp: string;
14950
- realm: "sms" | "email";
15008
+ realm: "email" | "sms";
14951
15009
  } | {
14952
15010
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
14953
15011
  subject_token: string;
@@ -14994,7 +15052,7 @@ export declare function init(config: AuthHeroConfig): {
14994
15052
  client_id: string;
14995
15053
  username: string;
14996
15054
  otp: string;
14997
- realm: "sms" | "email";
15055
+ realm: "email" | "sms";
14998
15056
  } | {
14999
15057
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15000
15058
  subject_token: string;
@@ -15023,7 +15081,7 @@ export declare function init(config: AuthHeroConfig): {
15023
15081
  output: {
15024
15082
  keys: {
15025
15083
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
15026
- kty: "RSA" | "EC" | "oct";
15084
+ kty: "EC" | "RSA" | "oct";
15027
15085
  kid?: string | undefined;
15028
15086
  use?: "sig" | "enc" | undefined;
15029
15087
  n?: string | undefined;
@@ -16214,7 +16272,7 @@ export declare function init(config: AuthHeroConfig): {
16214
16272
  $get: {
16215
16273
  input: {
16216
16274
  param: {
16217
- screen: "signup" | "account" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16275
+ screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16218
16276
  };
16219
16277
  } & {
16220
16278
  query: {
@@ -16230,7 +16288,7 @@ export declare function init(config: AuthHeroConfig): {
16230
16288
  } | {
16231
16289
  input: {
16232
16290
  param: {
16233
- screen: "signup" | "account" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16291
+ screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16234
16292
  };
16235
16293
  } & {
16236
16294
  query: {
@@ -16246,7 +16304,7 @@ export declare function init(config: AuthHeroConfig): {
16246
16304
  } | {
16247
16305
  input: {
16248
16306
  param: {
16249
- screen: "signup" | "account" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16307
+ screen: "signup" | "account" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16250
16308
  };
16251
16309
  } & {
16252
16310
  query: {
@@ -16266,7 +16324,7 @@ export declare function init(config: AuthHeroConfig): {
16266
16324
  $post: {
16267
16325
  input: {
16268
16326
  param: {
16269
- screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16327
+ screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16270
16328
  };
16271
16329
  } & {
16272
16330
  query: {
@@ -16284,7 +16342,7 @@ export declare function init(config: AuthHeroConfig): {
16284
16342
  } | {
16285
16343
  input: {
16286
16344
  param: {
16287
- screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16345
+ screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16288
16346
  };
16289
16347
  } & {
16290
16348
  query: {
@@ -16302,7 +16360,7 @@ export declare function init(config: AuthHeroConfig): {
16302
16360
  } | {
16303
16361
  input: {
16304
16362
  param: {
16305
- screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16363
+ screen: "signup" | "login" | "enter-password" | "reset-password" | "impersonate" | "consent" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
16306
16364
  };
16307
16365
  } & {
16308
16366
  query: {