authhero 8.9.1 → 8.10.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 (43) hide show
  1. package/dist/authhero.cjs +106 -106
  2. package/dist/authhero.d.ts +237 -134
  3. package/dist/authhero.mjs +6771 -6588
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  7. package/dist/types/helpers/avatar.d.ts +6 -0
  8. package/dist/types/index.d.ts +162 -132
  9. package/dist/types/routes/auth-api/avatars.d.ts +18 -0
  10. package/dist/types/routes/auth-api/index.d.ts +37 -24
  11. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  12. package/dist/types/routes/auth-api/token.d.ts +10 -10
  13. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  14. package/dist/types/routes/management-api/actions.d.ts +1 -1
  15. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding.d.ts +17 -17
  17. package/dist/types/routes/management-api/clients.d.ts +8 -8
  18. package/dist/types/routes/management-api/connections.d.ts +21 -21
  19. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  20. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  21. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  22. package/dist/types/routes/management-api/forms.d.ts +126 -126
  23. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  24. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  25. package/dist/types/routes/management-api/index.d.ts +108 -92
  26. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  27. package/dist/types/routes/management-api/logs.d.ts +3 -3
  28. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  29. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  30. package/dist/types/routes/management-api/tenant-export-import.d.ts +16 -0
  31. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  32. package/dist/types/routes/management-api/themes.d.ts +9 -9
  33. package/dist/types/routes/management-api/users.d.ts +2 -2
  34. package/dist/types/routes/proxy-control-plane/kv-publish.d.ts +75 -0
  35. package/dist/types/routes/proxy-control-plane/kv-publish.test.d.ts +1 -0
  36. package/dist/types/routes/universal-login/common.d.ts +16 -16
  37. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  38. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  39. package/dist/types/routes/universal-login/index.d.ts +2 -2
  40. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  41. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  42. package/dist/types/types/IdToken.d.ts +2 -2
  43. package/package.json +4 -4
@@ -10,6 +10,7 @@ import { SamlSigner } from '@authhero/saml/core';
10
10
  export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
11
11
  import { Context, Next, Handler, MiddlewareHandler } from 'hono';
12
12
  import * as _authhero_proxy from '@authhero/proxy';
13
+ import { ResolvedHost, KvNamespaceWriter } from '@authhero/proxy';
13
14
  export { PROXY_RESOLVE_HOST_SCOPE } from '@authhero/proxy';
14
15
  import { FC, PropsWithChildren, JSXNode } from 'hono/jsx';
15
16
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
@@ -2440,6 +2441,79 @@ interface CreateApplySyncEventsOptions {
2440
2441
  */
2441
2442
  declare function createApplySyncEvents(options: CreateApplySyncEventsOptions): (events: SyncEvent[]) => Promise<void>;
2442
2443
 
2444
+ interface KvPublishOptions {
2445
+ /** Custom-domains adapter whose writes should be mirrored to KV. */
2446
+ customDomains: CustomDomainsAdapter;
2447
+ /** Proxy-routes adapter whose writes should be mirrored to KV. */
2448
+ proxyRoutes: ProxyRoutesAdapter;
2449
+ /** KV namespace the resolved host blobs are published to. */
2450
+ kv: KvNamespaceWriter;
2451
+ /**
2452
+ * Cross-tenant host resolver — the same function passed to
2453
+ * `createProxyControlPlaneApp`. Used to recompute the full `ResolvedHost`
2454
+ * blob for a host after any write.
2455
+ */
2456
+ resolveHost: (host: string) => Promise<ResolvedHost | null>;
2457
+ /** Key prefix; must match the proxy reader. Defaults to the shared default. */
2458
+ keyPrefix?: string;
2459
+ /**
2460
+ * Optional `ctx.waitUntil` so the fire-and-forget KV publish runs to
2461
+ * completion without blocking (or failing) the originating write. When
2462
+ * omitted, the publish is detached with its rejection swallowed.
2463
+ */
2464
+ waitUntil?: (promise: Promise<unknown>) => void;
2465
+ /** Optional hook invoked when a publish fails. */
2466
+ onError?: (err: unknown, ctx: {
2467
+ host: string;
2468
+ op: string;
2469
+ }) => void;
2470
+ }
2471
+ interface WrappedProxyAdapters {
2472
+ customDomains: CustomDomainsAdapter;
2473
+ proxyRoutes: ProxyRoutesAdapter;
2474
+ }
2475
+ /**
2476
+ * Wrap a control plane's `customDomains` + `proxyRoutes` adapters so every
2477
+ * mutation recomputes the affected host's full `ResolvedHost` blob and
2478
+ * publishes it to a Cloudflare KV namespace (fire-and-forget). The proxy reads
2479
+ * that blob via `createKvProxyAdapter` instead of the two-hop HTTP control
2480
+ * plane.
2481
+ *
2482
+ * The wrapped pair is the single choke-point: pass it to BOTH the management-api
2483
+ * app (direct control-plane writes) AND `createApplySyncEvents` (WFP
2484
+ * `/sync`-applied writes) so KV stays in sync regardless of write origin.
2485
+ *
2486
+ * Publishing never blocks or fails the underlying write — a dropped `KV.put`
2487
+ * causes at-most transient drift, mitigated by the proxy's HTTP fallback on KV
2488
+ * miss and a periodic reconcile (`backfillProxyHostsToKv`).
2489
+ */
2490
+ declare function wrapProxyAdaptersWithKvPublish(options: KvPublishOptions): WrappedProxyAdapters;
2491
+ interface BackfillProxyHostsOptions {
2492
+ /**
2493
+ * Hosts to (re)publish. The adapter interface exposes no cross-tenant domain
2494
+ * list, so the caller supplies these — typically from a direct DB query over
2495
+ * all custom domains.
2496
+ */
2497
+ hosts: string[];
2498
+ /** Cross-tenant host resolver (same as `createProxyControlPlaneApp`). */
2499
+ resolveHost: (host: string) => Promise<ResolvedHost | null>;
2500
+ /** KV namespace to publish into. */
2501
+ kv: KvNamespaceWriter;
2502
+ /** Key prefix; must match the proxy reader. Defaults to the shared default. */
2503
+ keyPrefix?: string;
2504
+ }
2505
+ interface BackfillResult {
2506
+ published: number;
2507
+ deleted: number;
2508
+ failed: string[];
2509
+ }
2510
+ /**
2511
+ * Publish (or delete, for hosts that no longer resolve) the resolved blob for
2512
+ * each supplied host into KV. Used for the one-time migration backfill and as
2513
+ * the primitive a periodic reconcile cron calls to correct silent drift.
2514
+ */
2515
+ declare function backfillProxyHostsToKv(options: BackfillProxyHostsOptions): Promise<BackfillResult>;
2516
+
2443
2517
  /**
2444
2518
  * Strict issuer equality: parse both `iss` and `expected` as URLs and compare
2445
2519
  * the resulting hrefs after stripping any single trailing slash. No host-only
@@ -2944,6 +3018,22 @@ declare function init(config: AuthHeroConfig): {
2944
3018
  output: Response;
2945
3019
  outputFormat: "json";
2946
3020
  status: hono_utils_http_status.StatusCode;
3021
+ } | {
3022
+ input: {
3023
+ query: {
3024
+ include_password_hashes?: "true" | "false" | undefined;
3025
+ gzip?: "true" | "false" | undefined;
3026
+ };
3027
+ } & {
3028
+ header: {
3029
+ "tenant-id"?: string | undefined;
3030
+ };
3031
+ };
3032
+ output: {
3033
+ message: string;
3034
+ };
3035
+ outputFormat: "json";
3036
+ status: 500;
2947
3037
  };
2948
3038
  };
2949
3039
  } & {
@@ -3005,7 +3095,7 @@ declare function init(config: AuthHeroConfig): {
3005
3095
  };
3006
3096
  } & {
3007
3097
  json: {
3008
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
3098
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
3009
3099
  phone_number?: string | undefined;
3010
3100
  totp_secret?: string | undefined;
3011
3101
  credential_id?: string | undefined;
@@ -3145,7 +3235,7 @@ declare function init(config: AuthHeroConfig): {
3145
3235
  };
3146
3236
  };
3147
3237
  output: {
3148
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3238
+ name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3149
3239
  enabled: boolean;
3150
3240
  trial_expired?: boolean | undefined;
3151
3241
  }[];
@@ -3300,7 +3390,7 @@ declare function init(config: AuthHeroConfig): {
3300
3390
  $get: {
3301
3391
  input: {
3302
3392
  param: {
3303
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3393
+ factor_name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3304
3394
  };
3305
3395
  } & {
3306
3396
  header: {
@@ -3308,7 +3398,7 @@ declare function init(config: AuthHeroConfig): {
3308
3398
  };
3309
3399
  };
3310
3400
  output: {
3311
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3401
+ name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3312
3402
  enabled: boolean;
3313
3403
  trial_expired?: boolean | undefined;
3314
3404
  };
@@ -3321,7 +3411,7 @@ declare function init(config: AuthHeroConfig): {
3321
3411
  $put: {
3322
3412
  input: {
3323
3413
  param: {
3324
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3414
+ factor_name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3325
3415
  };
3326
3416
  } & {
3327
3417
  header: {
@@ -3333,7 +3423,7 @@ declare function init(config: AuthHeroConfig): {
3333
3423
  };
3334
3424
  };
3335
3425
  output: {
3336
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3426
+ name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3337
3427
  enabled: boolean;
3338
3428
  trial_expired?: boolean | undefined;
3339
3429
  };
@@ -4078,9 +4168,9 @@ declare function init(config: AuthHeroConfig): {
4078
4168
  invitee: {
4079
4169
  email?: string | undefined;
4080
4170
  };
4171
+ id?: string | undefined;
4081
4172
  app_metadata?: Record<string, any> | undefined;
4082
4173
  user_metadata?: Record<string, any> | undefined;
4083
- id?: string | undefined;
4084
4174
  connection_id?: string | undefined;
4085
4175
  roles?: string[] | undefined;
4086
4176
  ttl_sec?: number | undefined;
@@ -4266,8 +4356,8 @@ declare function init(config: AuthHeroConfig): {
4266
4356
  };
4267
4357
  } & {
4268
4358
  json: {
4269
- show_as_button?: boolean | undefined;
4270
4359
  assign_membership_on_login?: boolean | undefined;
4360
+ show_as_button?: boolean | undefined;
4271
4361
  is_signup_enabled?: boolean | undefined;
4272
4362
  };
4273
4363
  };
@@ -9737,7 +9827,7 @@ declare function init(config: AuthHeroConfig): {
9737
9827
  };
9738
9828
  };
9739
9829
  output: {
9740
- prompt: "common" | "mfa" | "organizations" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9830
+ prompt: "status" | "login" | "signup" | "mfa" | "organizations" | "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";
9741
9831
  language: string;
9742
9832
  }[];
9743
9833
  outputFormat: "json";
@@ -9775,7 +9865,7 @@ declare function init(config: AuthHeroConfig): {
9775
9865
  $get: {
9776
9866
  input: {
9777
9867
  param: {
9778
- prompt: "common" | "mfa" | "organizations" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9868
+ prompt: "status" | "login" | "signup" | "mfa" | "organizations" | "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";
9779
9869
  language: string;
9780
9870
  };
9781
9871
  } & {
@@ -9797,7 +9887,7 @@ declare function init(config: AuthHeroConfig): {
9797
9887
  $put: {
9798
9888
  input: {
9799
9889
  param: {
9800
- prompt: "common" | "mfa" | "organizations" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9890
+ prompt: "status" | "login" | "signup" | "mfa" | "organizations" | "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";
9801
9891
  language: string;
9802
9892
  };
9803
9893
  } & {
@@ -9821,7 +9911,7 @@ declare function init(config: AuthHeroConfig): {
9821
9911
  $delete: {
9822
9912
  input: {
9823
9913
  param: {
9824
- prompt: "common" | "mfa" | "organizations" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9914
+ prompt: "status" | "login" | "signup" | "mfa" | "organizations" | "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";
9825
9915
  language: string;
9826
9916
  };
9827
9917
  } & {
@@ -9913,7 +10003,7 @@ declare function init(config: AuthHeroConfig): {
9913
10003
  active?: boolean | undefined;
9914
10004
  } | undefined;
9915
10005
  signup?: {
9916
- status?: "optional" | "required" | "disabled" | undefined;
10006
+ status?: "required" | "optional" | "disabled" | undefined;
9917
10007
  verification?: {
9918
10008
  active?: boolean | undefined;
9919
10009
  } | undefined;
@@ -9930,7 +10020,7 @@ declare function init(config: AuthHeroConfig): {
9930
10020
  active?: boolean | undefined;
9931
10021
  } | undefined;
9932
10022
  signup?: {
9933
- status?: "optional" | "required" | "disabled" | undefined;
10023
+ status?: "required" | "optional" | "disabled" | undefined;
9934
10024
  } | undefined;
9935
10025
  validation?: {
9936
10026
  max_length?: number | undefined;
@@ -9947,7 +10037,7 @@ declare function init(config: AuthHeroConfig): {
9947
10037
  active?: boolean | undefined;
9948
10038
  } | undefined;
9949
10039
  signup?: {
9950
- status?: "optional" | "required" | "disabled" | undefined;
10040
+ status?: "required" | "optional" | "disabled" | undefined;
9951
10041
  } | undefined;
9952
10042
  } | undefined;
9953
10043
  } | undefined;
@@ -9960,7 +10050,7 @@ declare function init(config: AuthHeroConfig): {
9960
10050
  } | undefined;
9961
10051
  } | undefined;
9962
10052
  passkey_options?: {
9963
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10053
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
9964
10054
  local_enrollment_enabled?: boolean | undefined;
9965
10055
  progressive_enrollment_enabled?: boolean | undefined;
9966
10056
  } | undefined;
@@ -10047,7 +10137,7 @@ declare function init(config: AuthHeroConfig): {
10047
10137
  active?: boolean | undefined;
10048
10138
  } | undefined;
10049
10139
  signup?: {
10050
- status?: "optional" | "required" | "disabled" | undefined;
10140
+ status?: "required" | "optional" | "disabled" | undefined;
10051
10141
  verification?: {
10052
10142
  active?: boolean | undefined;
10053
10143
  } | undefined;
@@ -10064,7 +10154,7 @@ declare function init(config: AuthHeroConfig): {
10064
10154
  active?: boolean | undefined;
10065
10155
  } | undefined;
10066
10156
  signup?: {
10067
- status?: "optional" | "required" | "disabled" | undefined;
10157
+ status?: "required" | "optional" | "disabled" | undefined;
10068
10158
  } | undefined;
10069
10159
  validation?: {
10070
10160
  max_length?: number | undefined;
@@ -10081,7 +10171,7 @@ declare function init(config: AuthHeroConfig): {
10081
10171
  active?: boolean | undefined;
10082
10172
  } | undefined;
10083
10173
  signup?: {
10084
- status?: "optional" | "required" | "disabled" | undefined;
10174
+ status?: "required" | "optional" | "disabled" | undefined;
10085
10175
  } | undefined;
10086
10176
  } | undefined;
10087
10177
  } | undefined;
@@ -10094,7 +10184,7 @@ declare function init(config: AuthHeroConfig): {
10094
10184
  } | undefined;
10095
10185
  } | undefined;
10096
10186
  passkey_options?: {
10097
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10187
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10098
10188
  local_enrollment_enabled?: boolean | undefined;
10099
10189
  progressive_enrollment_enabled?: boolean | undefined;
10100
10190
  } | undefined;
@@ -10196,7 +10286,7 @@ declare function init(config: AuthHeroConfig): {
10196
10286
  active?: boolean | undefined;
10197
10287
  } | undefined;
10198
10288
  signup?: {
10199
- status?: "optional" | "required" | "disabled" | undefined;
10289
+ status?: "required" | "optional" | "disabled" | undefined;
10200
10290
  verification?: {
10201
10291
  active?: boolean | undefined;
10202
10292
  } | undefined;
@@ -10213,7 +10303,7 @@ declare function init(config: AuthHeroConfig): {
10213
10303
  active?: boolean | undefined;
10214
10304
  } | undefined;
10215
10305
  signup?: {
10216
- status?: "optional" | "required" | "disabled" | undefined;
10306
+ status?: "required" | "optional" | "disabled" | undefined;
10217
10307
  } | undefined;
10218
10308
  validation?: {
10219
10309
  max_length?: number | undefined;
@@ -10230,7 +10320,7 @@ declare function init(config: AuthHeroConfig): {
10230
10320
  active?: boolean | undefined;
10231
10321
  } | undefined;
10232
10322
  signup?: {
10233
- status?: "optional" | "required" | "disabled" | undefined;
10323
+ status?: "required" | "optional" | "disabled" | undefined;
10234
10324
  } | undefined;
10235
10325
  } | undefined;
10236
10326
  } | undefined;
@@ -10243,7 +10333,7 @@ declare function init(config: AuthHeroConfig): {
10243
10333
  } | undefined;
10244
10334
  } | undefined;
10245
10335
  passkey_options?: {
10246
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10336
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10247
10337
  local_enrollment_enabled?: boolean | undefined;
10248
10338
  progressive_enrollment_enabled?: boolean | undefined;
10249
10339
  } | undefined;
@@ -10375,7 +10465,7 @@ declare function init(config: AuthHeroConfig): {
10375
10465
  active?: boolean | undefined;
10376
10466
  } | undefined;
10377
10467
  signup?: {
10378
- status?: "optional" | "required" | "disabled" | undefined;
10468
+ status?: "required" | "optional" | "disabled" | undefined;
10379
10469
  verification?: {
10380
10470
  active?: boolean | undefined;
10381
10471
  } | undefined;
@@ -10392,7 +10482,7 @@ declare function init(config: AuthHeroConfig): {
10392
10482
  active?: boolean | undefined;
10393
10483
  } | undefined;
10394
10484
  signup?: {
10395
- status?: "optional" | "required" | "disabled" | undefined;
10485
+ status?: "required" | "optional" | "disabled" | undefined;
10396
10486
  } | undefined;
10397
10487
  validation?: {
10398
10488
  max_length?: number | undefined;
@@ -10409,7 +10499,7 @@ declare function init(config: AuthHeroConfig): {
10409
10499
  active?: boolean | undefined;
10410
10500
  } | undefined;
10411
10501
  signup?: {
10412
- status?: "optional" | "required" | "disabled" | undefined;
10502
+ status?: "required" | "optional" | "disabled" | undefined;
10413
10503
  } | undefined;
10414
10504
  } | undefined;
10415
10505
  } | undefined;
@@ -10422,7 +10512,7 @@ declare function init(config: AuthHeroConfig): {
10422
10512
  } | undefined;
10423
10513
  } | undefined;
10424
10514
  passkey_options?: {
10425
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10515
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10426
10516
  local_enrollment_enabled?: boolean | undefined;
10427
10517
  progressive_enrollment_enabled?: boolean | undefined;
10428
10518
  } | undefined;
@@ -10533,7 +10623,7 @@ declare function init(config: AuthHeroConfig): {
10533
10623
  active?: boolean | undefined;
10534
10624
  } | undefined;
10535
10625
  signup?: {
10536
- status?: "optional" | "required" | "disabled" | undefined;
10626
+ status?: "required" | "optional" | "disabled" | undefined;
10537
10627
  verification?: {
10538
10628
  active?: boolean | undefined;
10539
10629
  } | undefined;
@@ -10550,7 +10640,7 @@ declare function init(config: AuthHeroConfig): {
10550
10640
  active?: boolean | undefined;
10551
10641
  } | undefined;
10552
10642
  signup?: {
10553
- status?: "optional" | "required" | "disabled" | undefined;
10643
+ status?: "required" | "optional" | "disabled" | undefined;
10554
10644
  } | undefined;
10555
10645
  validation?: {
10556
10646
  max_length?: number | undefined;
@@ -10567,7 +10657,7 @@ declare function init(config: AuthHeroConfig): {
10567
10657
  active?: boolean | undefined;
10568
10658
  } | undefined;
10569
10659
  signup?: {
10570
- status?: "optional" | "required" | "disabled" | undefined;
10660
+ status?: "required" | "optional" | "disabled" | undefined;
10571
10661
  } | undefined;
10572
10662
  } | undefined;
10573
10663
  } | undefined;
@@ -10580,7 +10670,7 @@ declare function init(config: AuthHeroConfig): {
10580
10670
  } | undefined;
10581
10671
  } | undefined;
10582
10672
  passkey_options?: {
10583
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10673
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10584
10674
  local_enrollment_enabled?: boolean | undefined;
10585
10675
  progressive_enrollment_enabled?: boolean | undefined;
10586
10676
  } | undefined;
@@ -10719,7 +10809,7 @@ declare function init(config: AuthHeroConfig): {
10719
10809
  tenant_id: string;
10720
10810
  created_at: string;
10721
10811
  updated_at: string;
10722
- deploymentStatus: "failed" | "deployed" | "not_required";
10812
+ deploymentStatus: "deployed" | "failed" | "not_required";
10723
10813
  secrets?: {
10724
10814
  [x: string]: string;
10725
10815
  } | undefined;
@@ -10809,7 +10899,7 @@ declare function init(config: AuthHeroConfig): {
10809
10899
  tenant_id: string;
10810
10900
  created_at: string;
10811
10901
  updated_at: string;
10812
- deploymentStatus: "failed" | "deployed" | "not_required";
10902
+ deploymentStatus: "deployed" | "failed" | "not_required";
10813
10903
  secrets?: {
10814
10904
  [x: string]: string;
10815
10905
  } | undefined;
@@ -11322,7 +11412,7 @@ declare function init(config: AuthHeroConfig): {
11322
11412
  log_type: string;
11323
11413
  category: "user_action" | "admin_action" | "system" | "api";
11324
11414
  actor: {
11325
- type: "user" | "client_credentials" | "api_key" | "system" | "admin";
11415
+ type: "user" | "system" | "client_credentials" | "admin" | "api_key";
11326
11416
  id?: string | undefined;
11327
11417
  email?: string | undefined;
11328
11418
  org_id?: string | undefined;
@@ -11800,7 +11890,7 @@ declare function init(config: AuthHeroConfig): {
11800
11890
  [x: string]: hono_utils_types.JSONValue;
11801
11891
  };
11802
11892
  id: string;
11803
- status: "active" | "suspended" | "paused";
11893
+ status: "suspended" | "active" | "paused";
11804
11894
  filters?: {
11805
11895
  type: string;
11806
11896
  name: string;
@@ -11832,7 +11922,7 @@ declare function init(config: AuthHeroConfig): {
11832
11922
  [x: string]: hono_utils_types.JSONValue;
11833
11923
  };
11834
11924
  id: string;
11835
- status: "active" | "suspended" | "paused";
11925
+ status: "suspended" | "active" | "paused";
11836
11926
  filters?: {
11837
11927
  type: string;
11838
11928
  name: string;
@@ -11857,7 +11947,7 @@ declare function init(config: AuthHeroConfig): {
11857
11947
  name: string;
11858
11948
  type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
11859
11949
  sink: Record<string, unknown>;
11860
- status?: "active" | "suspended" | "paused" | undefined;
11950
+ status?: "suspended" | "active" | "paused" | undefined;
11861
11951
  filters?: {
11862
11952
  type: string;
11863
11953
  name: string;
@@ -11872,7 +11962,7 @@ declare function init(config: AuthHeroConfig): {
11872
11962
  [x: string]: hono_utils_types.JSONValue;
11873
11963
  };
11874
11964
  id: string;
11875
- status: "active" | "suspended" | "paused";
11965
+ status: "suspended" | "active" | "paused";
11876
11966
  filters?: {
11877
11967
  type: string;
11878
11968
  name: string;
@@ -11907,7 +11997,7 @@ declare function init(config: AuthHeroConfig): {
11907
11997
  }[] | undefined;
11908
11998
  isPriority?: boolean | undefined;
11909
11999
  id?: string | undefined;
11910
- status?: "active" | "suspended" | "paused" | undefined;
12000
+ status?: "suspended" | "active" | "paused" | undefined;
11911
12001
  created_at?: string | undefined;
11912
12002
  updated_at?: string | undefined;
11913
12003
  };
@@ -11919,7 +12009,7 @@ declare function init(config: AuthHeroConfig): {
11919
12009
  [x: string]: hono_utils_types.JSONValue;
11920
12010
  };
11921
12011
  id: string;
11922
- status: "active" | "suspended" | "paused";
12012
+ status: "suspended" | "active" | "paused";
11923
12013
  filters?: {
11924
12014
  type: string;
11925
12015
  name: string;
@@ -11970,7 +12060,7 @@ declare function init(config: AuthHeroConfig): {
11970
12060
  };
11971
12061
  };
11972
12062
  output: {
11973
- type: "i" | "f" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "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";
12063
+ type: "fn" | "i" | "fapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "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" | "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";
11974
12064
  date: string;
11975
12065
  isMobile: boolean;
11976
12066
  log_id: string;
@@ -12009,7 +12099,7 @@ declare function init(config: AuthHeroConfig): {
12009
12099
  limit: number;
12010
12100
  length: number;
12011
12101
  logs: {
12012
- type: "i" | "f" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "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";
12102
+ type: "fn" | "i" | "fapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "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" | "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";
12013
12103
  date: string;
12014
12104
  isMobile: boolean;
12015
12105
  log_id: string;
@@ -12063,7 +12153,7 @@ declare function init(config: AuthHeroConfig): {
12063
12153
  };
12064
12154
  };
12065
12155
  output: {
12066
- type: "i" | "f" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "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";
12156
+ type: "fn" | "i" | "fapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "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" | "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";
12067
12157
  date: string;
12068
12158
  isMobile: boolean;
12069
12159
  log_id: string;
@@ -13139,7 +13229,7 @@ declare function init(config: AuthHeroConfig): {
13139
13229
  active?: boolean | undefined;
13140
13230
  } | undefined;
13141
13231
  signup?: {
13142
- status?: "optional" | "required" | "disabled" | undefined;
13232
+ status?: "required" | "optional" | "disabled" | undefined;
13143
13233
  verification?: {
13144
13234
  active?: boolean | undefined;
13145
13235
  } | undefined;
@@ -13156,7 +13246,7 @@ declare function init(config: AuthHeroConfig): {
13156
13246
  active?: boolean | undefined;
13157
13247
  } | undefined;
13158
13248
  signup?: {
13159
- status?: "optional" | "required" | "disabled" | undefined;
13249
+ status?: "required" | "optional" | "disabled" | undefined;
13160
13250
  } | undefined;
13161
13251
  validation?: {
13162
13252
  max_length?: number | undefined;
@@ -13173,7 +13263,7 @@ declare function init(config: AuthHeroConfig): {
13173
13263
  active?: boolean | undefined;
13174
13264
  } | undefined;
13175
13265
  signup?: {
13176
- status?: "optional" | "required" | "disabled" | undefined;
13266
+ status?: "required" | "optional" | "disabled" | undefined;
13177
13267
  } | undefined;
13178
13268
  } | undefined;
13179
13269
  } | undefined;
@@ -13186,7 +13276,7 @@ declare function init(config: AuthHeroConfig): {
13186
13276
  } | undefined;
13187
13277
  } | undefined;
13188
13278
  passkey_options?: {
13189
- challenge_ui?: "button" | "both" | "autofill" | undefined;
13279
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
13190
13280
  local_enrollment_enabled?: boolean | undefined;
13191
13281
  progressive_enrollment_enabled?: boolean | undefined;
13192
13282
  } | undefined;
@@ -13293,7 +13383,7 @@ declare function init(config: AuthHeroConfig): {
13293
13383
  active?: boolean | undefined;
13294
13384
  } | undefined;
13295
13385
  signup?: {
13296
- status?: "optional" | "required" | "disabled" | undefined;
13386
+ status?: "required" | "optional" | "disabled" | undefined;
13297
13387
  verification?: {
13298
13388
  active?: boolean | undefined;
13299
13389
  } | undefined;
@@ -13310,7 +13400,7 @@ declare function init(config: AuthHeroConfig): {
13310
13400
  active?: boolean | undefined;
13311
13401
  } | undefined;
13312
13402
  signup?: {
13313
- status?: "optional" | "required" | "disabled" | undefined;
13403
+ status?: "required" | "optional" | "disabled" | undefined;
13314
13404
  } | undefined;
13315
13405
  validation?: {
13316
13406
  max_length?: number | undefined;
@@ -13327,7 +13417,7 @@ declare function init(config: AuthHeroConfig): {
13327
13417
  active?: boolean | undefined;
13328
13418
  } | undefined;
13329
13419
  signup?: {
13330
- status?: "optional" | "required" | "disabled" | undefined;
13420
+ status?: "required" | "optional" | "disabled" | undefined;
13331
13421
  } | undefined;
13332
13422
  } | undefined;
13333
13423
  } | undefined;
@@ -13340,7 +13430,7 @@ declare function init(config: AuthHeroConfig): {
13340
13430
  } | undefined;
13341
13431
  } | undefined;
13342
13432
  passkey_options?: {
13343
- challenge_ui?: "button" | "both" | "autofill" | undefined;
13433
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
13344
13434
  local_enrollment_enabled?: boolean | undefined;
13345
13435
  progressive_enrollment_enabled?: boolean | undefined;
13346
13436
  } | undefined;
@@ -14281,7 +14371,7 @@ declare function init(config: AuthHeroConfig): {
14281
14371
  };
14282
14372
  };
14283
14373
  output: {
14284
- type: "i" | "f" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "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";
14374
+ type: "fn" | "i" | "fapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "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" | "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";
14285
14375
  date: string;
14286
14376
  isMobile: boolean;
14287
14377
  log_id: string;
@@ -14320,7 +14410,7 @@ declare function init(config: AuthHeroConfig): {
14320
14410
  limit: number;
14321
14411
  length: number;
14322
14412
  logs: {
14323
- type: "i" | "f" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "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";
14413
+ type: "fn" | "i" | "fapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "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" | "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";
14324
14414
  date: string;
14325
14415
  isMobile: boolean;
14326
14416
  log_id: string;
@@ -14635,7 +14725,7 @@ declare function init(config: AuthHeroConfig): {
14635
14725
  };
14636
14726
  } & {
14637
14727
  json: {
14638
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14728
+ 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";
14639
14729
  body: string;
14640
14730
  from: string;
14641
14731
  subject: string;
@@ -14656,7 +14746,7 @@ declare function init(config: AuthHeroConfig): {
14656
14746
  };
14657
14747
  } & {
14658
14748
  json: {
14659
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14749
+ 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";
14660
14750
  body: string;
14661
14751
  from: string;
14662
14752
  subject: string;
@@ -14668,7 +14758,7 @@ declare function init(config: AuthHeroConfig): {
14668
14758
  };
14669
14759
  };
14670
14760
  output: {
14671
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14761
+ 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";
14672
14762
  body: string;
14673
14763
  from: string;
14674
14764
  subject: string;
@@ -14691,7 +14781,7 @@ declare function init(config: AuthHeroConfig): {
14691
14781
  };
14692
14782
  };
14693
14783
  output: {
14694
- name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14784
+ 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";
14695
14785
  body: string;
14696
14786
  subject: string;
14697
14787
  }[];
@@ -14704,7 +14794,7 @@ declare function init(config: AuthHeroConfig): {
14704
14794
  $get: {
14705
14795
  input: {
14706
14796
  param: {
14707
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14797
+ 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";
14708
14798
  };
14709
14799
  } & {
14710
14800
  header: {
@@ -14717,7 +14807,7 @@ declare function init(config: AuthHeroConfig): {
14717
14807
  } | {
14718
14808
  input: {
14719
14809
  param: {
14720
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14810
+ 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";
14721
14811
  };
14722
14812
  } & {
14723
14813
  header: {
@@ -14725,7 +14815,7 @@ declare function init(config: AuthHeroConfig): {
14725
14815
  };
14726
14816
  };
14727
14817
  output: {
14728
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14818
+ 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";
14729
14819
  body: string;
14730
14820
  from: string;
14731
14821
  subject: string;
@@ -14744,7 +14834,7 @@ declare function init(config: AuthHeroConfig): {
14744
14834
  $put: {
14745
14835
  input: {
14746
14836
  param: {
14747
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14837
+ 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";
14748
14838
  };
14749
14839
  } & {
14750
14840
  header: {
@@ -14752,7 +14842,7 @@ declare function init(config: AuthHeroConfig): {
14752
14842
  };
14753
14843
  } & {
14754
14844
  json: {
14755
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14845
+ 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";
14756
14846
  body: string;
14757
14847
  subject: string;
14758
14848
  syntax?: "liquid" | undefined;
@@ -14764,7 +14854,7 @@ declare function init(config: AuthHeroConfig): {
14764
14854
  };
14765
14855
  };
14766
14856
  output: {
14767
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14857
+ 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";
14768
14858
  body: string;
14769
14859
  from: string;
14770
14860
  subject: string;
@@ -14783,7 +14873,7 @@ declare function init(config: AuthHeroConfig): {
14783
14873
  $patch: {
14784
14874
  input: {
14785
14875
  param: {
14786
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14876
+ 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";
14787
14877
  };
14788
14878
  } & {
14789
14879
  header: {
@@ -14791,7 +14881,7 @@ declare function init(config: AuthHeroConfig): {
14791
14881
  };
14792
14882
  } & {
14793
14883
  json: {
14794
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
14884
+ 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;
14795
14885
  body?: string | undefined;
14796
14886
  from?: string | undefined;
14797
14887
  subject?: string | undefined;
@@ -14808,7 +14898,7 @@ declare function init(config: AuthHeroConfig): {
14808
14898
  } | {
14809
14899
  input: {
14810
14900
  param: {
14811
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14901
+ 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";
14812
14902
  };
14813
14903
  } & {
14814
14904
  header: {
@@ -14816,7 +14906,7 @@ declare function init(config: AuthHeroConfig): {
14816
14906
  };
14817
14907
  } & {
14818
14908
  json: {
14819
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
14909
+ 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;
14820
14910
  body?: string | undefined;
14821
14911
  from?: string | undefined;
14822
14912
  subject?: string | undefined;
@@ -14828,7 +14918,7 @@ declare function init(config: AuthHeroConfig): {
14828
14918
  };
14829
14919
  };
14830
14920
  output: {
14831
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14921
+ 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";
14832
14922
  body: string;
14833
14923
  from: string;
14834
14924
  subject: string;
@@ -14847,7 +14937,7 @@ declare function init(config: AuthHeroConfig): {
14847
14937
  $delete: {
14848
14938
  input: {
14849
14939
  param: {
14850
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14940
+ 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";
14851
14941
  };
14852
14942
  } & {
14853
14943
  header: {
@@ -14860,7 +14950,7 @@ declare function init(config: AuthHeroConfig): {
14860
14950
  } | {
14861
14951
  input: {
14862
14952
  param: {
14863
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14953
+ 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";
14864
14954
  };
14865
14955
  } & {
14866
14956
  header: {
@@ -14877,7 +14967,7 @@ declare function init(config: AuthHeroConfig): {
14877
14967
  $post: {
14878
14968
  input: {
14879
14969
  param: {
14880
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14970
+ 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";
14881
14971
  };
14882
14972
  } & {
14883
14973
  header: {
@@ -15447,7 +15537,7 @@ declare function init(config: AuthHeroConfig): {
15447
15537
  base_focus_color: string;
15448
15538
  base_hover_color: string;
15449
15539
  body_text: string;
15450
- captcha_widget_theme: "auto" | "light" | "dark";
15540
+ captcha_widget_theme: "dark" | "light" | "auto";
15451
15541
  error: string;
15452
15542
  header: string;
15453
15543
  icons: string;
@@ -15498,12 +15588,12 @@ declare function init(config: AuthHeroConfig): {
15498
15588
  background_color: string;
15499
15589
  background_image_url: string;
15500
15590
  page_layout: "center" | "left" | "right";
15501
- logo_placement?: "widget" | "chip" | "none" | undefined;
15591
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15502
15592
  };
15503
15593
  widget: {
15504
15594
  header_text_alignment: "center" | "left" | "right";
15505
15595
  logo_height: number;
15506
- logo_position: "none" | "center" | "left" | "right";
15596
+ logo_position: "center" | "left" | "right" | "none";
15507
15597
  logo_url: string;
15508
15598
  social_buttons_layout: "bottom" | "top";
15509
15599
  };
@@ -15537,7 +15627,7 @@ declare function init(config: AuthHeroConfig): {
15537
15627
  base_focus_color: string;
15538
15628
  base_hover_color: string;
15539
15629
  body_text: string;
15540
- captcha_widget_theme: "auto" | "light" | "dark";
15630
+ captcha_widget_theme: "dark" | "light" | "auto";
15541
15631
  error: string;
15542
15632
  header: string;
15543
15633
  icons: string;
@@ -15588,12 +15678,12 @@ declare function init(config: AuthHeroConfig): {
15588
15678
  background_color: string;
15589
15679
  background_image_url: string;
15590
15680
  page_layout: "center" | "left" | "right";
15591
- logo_placement?: "widget" | "chip" | "none" | undefined;
15681
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15592
15682
  };
15593
15683
  widget: {
15594
15684
  header_text_alignment: "center" | "left" | "right";
15595
15685
  logo_height: number;
15596
- logo_position: "none" | "center" | "left" | "right";
15686
+ logo_position: "center" | "left" | "right" | "none";
15597
15687
  logo_url: string;
15598
15688
  social_buttons_layout: "bottom" | "top";
15599
15689
  };
@@ -15616,7 +15706,7 @@ declare function init(config: AuthHeroConfig): {
15616
15706
  base_focus_color: string;
15617
15707
  base_hover_color: string;
15618
15708
  body_text: string;
15619
- captcha_widget_theme: "auto" | "light" | "dark";
15709
+ captcha_widget_theme: "dark" | "light" | "auto";
15620
15710
  error: string;
15621
15711
  header: string;
15622
15712
  icons: string;
@@ -15667,12 +15757,12 @@ declare function init(config: AuthHeroConfig): {
15667
15757
  background_color: string;
15668
15758
  background_image_url: string;
15669
15759
  page_layout: "center" | "left" | "right";
15670
- logo_placement?: "widget" | "chip" | "none" | undefined;
15760
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15671
15761
  };
15672
15762
  widget: {
15673
15763
  header_text_alignment: "center" | "left" | "right";
15674
15764
  logo_height: number;
15675
- logo_position: "none" | "center" | "left" | "right";
15765
+ logo_position: "center" | "left" | "right" | "none";
15676
15766
  logo_url: string;
15677
15767
  social_buttons_layout: "bottom" | "top";
15678
15768
  };
@@ -15706,7 +15796,7 @@ declare function init(config: AuthHeroConfig): {
15706
15796
  font?: {
15707
15797
  url: string;
15708
15798
  } | undefined;
15709
- dark_mode?: "auto" | "light" | "dark" | undefined;
15799
+ dark_mode?: "dark" | "light" | "auto" | undefined;
15710
15800
  };
15711
15801
  outputFormat: "json";
15712
15802
  status: 200;
@@ -15736,7 +15826,7 @@ declare function init(config: AuthHeroConfig): {
15736
15826
  font?: {
15737
15827
  url: string;
15738
15828
  } | undefined;
15739
- dark_mode?: "auto" | "light" | "dark" | undefined;
15829
+ dark_mode?: "dark" | "light" | "auto" | undefined;
15740
15830
  };
15741
15831
  };
15742
15832
  output: {
@@ -15755,7 +15845,7 @@ declare function init(config: AuthHeroConfig): {
15755
15845
  font?: {
15756
15846
  url: string;
15757
15847
  } | undefined;
15758
- dark_mode?: "auto" | "light" | "dark" | undefined;
15848
+ dark_mode?: "dark" | "light" | "auto" | undefined;
15759
15849
  };
15760
15850
  outputFormat: "json";
15761
15851
  status: 200;
@@ -15829,7 +15919,7 @@ declare function init(config: AuthHeroConfig): {
15829
15919
  } & {
15830
15920
  json: {
15831
15921
  body?: string | undefined;
15832
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
15922
+ screen?: "password" | "login" | "identifier" | "signup" | undefined;
15833
15923
  branding?: {
15834
15924
  colors?: {
15835
15925
  primary: string;
@@ -15846,7 +15936,7 @@ declare function init(config: AuthHeroConfig): {
15846
15936
  font?: {
15847
15937
  url: string;
15848
15938
  } | undefined;
15849
- dark_mode?: "auto" | "light" | "dark" | undefined;
15939
+ dark_mode?: "dark" | "light" | "auto" | undefined;
15850
15940
  } | undefined;
15851
15941
  theme?: {
15852
15942
  borders?: {
@@ -15864,7 +15954,7 @@ declare function init(config: AuthHeroConfig): {
15864
15954
  base_focus_color: string;
15865
15955
  base_hover_color: string;
15866
15956
  body_text: string;
15867
- captcha_widget_theme: "auto" | "light" | "dark";
15957
+ captcha_widget_theme: "dark" | "light" | "auto";
15868
15958
  error: string;
15869
15959
  header: string;
15870
15960
  icons: string;
@@ -15915,12 +16005,12 @@ declare function init(config: AuthHeroConfig): {
15915
16005
  background_color: string;
15916
16006
  background_image_url: string;
15917
16007
  page_layout: "center" | "left" | "right";
15918
- logo_placement?: "widget" | "chip" | "none" | undefined;
16008
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15919
16009
  } | undefined;
15920
16010
  widget?: {
15921
16011
  header_text_alignment: "center" | "left" | "right";
15922
16012
  logo_height: number;
15923
- logo_position: "none" | "center" | "left" | "right";
16013
+ logo_position: "center" | "left" | "right" | "none";
15924
16014
  logo_url: string;
15925
16015
  social_buttons_layout: "bottom" | "top";
15926
16016
  } | undefined;
@@ -16073,7 +16163,7 @@ declare function init(config: AuthHeroConfig): {
16073
16163
  output: {
16074
16164
  id: string;
16075
16165
  trigger_id: string;
16076
- status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
16166
+ status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
16077
16167
  results: {
16078
16168
  action_name: string;
16079
16169
  error: {
@@ -16120,7 +16210,7 @@ declare function init(config: AuthHeroConfig): {
16120
16210
  logs: {
16121
16211
  action_name: string;
16122
16212
  lines: {
16123
- level: "log" | "error" | "info" | "warn" | "debug";
16213
+ level: "error" | "log" | "info" | "warn" | "debug";
16124
16214
  message: string;
16125
16215
  }[];
16126
16216
  }[];
@@ -16787,7 +16877,7 @@ declare function init(config: AuthHeroConfig): {
16787
16877
  args: hono_utils_types.JSONValue[];
16788
16878
  }[];
16789
16879
  logs: {
16790
- level: "log" | "error" | "info" | "warn" | "debug";
16880
+ level: "error" | "log" | "info" | "warn" | "debug";
16791
16881
  message: string;
16792
16882
  }[];
16793
16883
  error?: string | undefined;
@@ -16801,6 +16891,19 @@ declare function init(config: AuthHeroConfig): {
16801
16891
  Bindings: Bindings;
16802
16892
  Variables: Variables;
16803
16893
  }, hono_types.MergeSchemaPath<{
16894
+ "/:initials": {
16895
+ $get: {
16896
+ input: {
16897
+ param: {
16898
+ initials: string;
16899
+ };
16900
+ };
16901
+ output: string;
16902
+ outputFormat: "body";
16903
+ status: 200;
16904
+ };
16905
+ };
16906
+ }, "/avatars"> & hono_types.MergeSchemaPath<{
16804
16907
  "/": {
16805
16908
  $get: {
16806
16909
  input: {
@@ -16835,7 +16938,7 @@ declare function init(config: AuthHeroConfig): {
16835
16938
  message: string;
16836
16939
  };
16837
16940
  outputFormat: "json";
16838
- status: 400;
16941
+ status: 500;
16839
16942
  } | {
16840
16943
  input: {
16841
16944
  query: {
@@ -16853,7 +16956,7 @@ declare function init(config: AuthHeroConfig): {
16853
16956
  message: string;
16854
16957
  };
16855
16958
  outputFormat: "json";
16856
- status: 500;
16959
+ status: 400;
16857
16960
  };
16858
16961
  };
16859
16962
  } & {
@@ -16891,7 +16994,7 @@ declare function init(config: AuthHeroConfig): {
16891
16994
  message: string;
16892
16995
  };
16893
16996
  outputFormat: "json";
16894
- status: 400;
16997
+ status: 500;
16895
16998
  } | {
16896
16999
  input: {
16897
17000
  form: {
@@ -16909,7 +17012,7 @@ declare function init(config: AuthHeroConfig): {
16909
17012
  message: string;
16910
17013
  };
16911
17014
  outputFormat: "json";
16912
- status: 500;
17015
+ status: 400;
16913
17016
  };
16914
17017
  };
16915
17018
  }, "/login/callback"> & hono_types.MergeSchemaPath<{
@@ -16947,7 +17050,7 @@ declare function init(config: AuthHeroConfig): {
16947
17050
  message: string;
16948
17051
  };
16949
17052
  outputFormat: "json";
16950
- status: 400;
17053
+ status: 500;
16951
17054
  } | {
16952
17055
  input: {
16953
17056
  query: {
@@ -16965,7 +17068,7 @@ declare function init(config: AuthHeroConfig): {
16965
17068
  message: string;
16966
17069
  };
16967
17070
  outputFormat: "json";
16968
- status: 500;
17071
+ status: 400;
16969
17072
  };
16970
17073
  };
16971
17074
  } & {
@@ -17003,7 +17106,7 @@ declare function init(config: AuthHeroConfig): {
17003
17106
  message: string;
17004
17107
  };
17005
17108
  outputFormat: "json";
17006
- status: 400;
17109
+ status: 500;
17007
17110
  } | {
17008
17111
  input: {
17009
17112
  form: {
@@ -17021,7 +17124,7 @@ declare function init(config: AuthHeroConfig): {
17021
17124
  message: string;
17022
17125
  };
17023
17126
  outputFormat: "json";
17024
- status: 500;
17127
+ status: 400;
17025
17128
  };
17026
17129
  };
17027
17130
  }, "/callback"> & hono_types.MergeSchemaPath<{
@@ -17520,17 +17623,17 @@ declare function init(config: AuthHeroConfig): {
17520
17623
  email: string;
17521
17624
  send: "code" | "link";
17522
17625
  authParams: {
17523
- state?: string | undefined;
17524
17626
  username?: string | undefined;
17525
- act_as?: string | undefined;
17627
+ scope?: string | undefined;
17628
+ state?: string | undefined;
17629
+ audience?: string | undefined;
17526
17630
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17527
17631
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17632
+ prompt?: string | undefined;
17633
+ act_as?: string | undefined;
17528
17634
  redirect_uri?: string | undefined;
17529
- audience?: string | undefined;
17530
17635
  organization?: string | undefined;
17531
17636
  nonce?: string | undefined;
17532
- scope?: string | undefined;
17533
- prompt?: string | undefined;
17534
17637
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17535
17638
  code_challenge?: string | undefined;
17536
17639
  ui_locales?: string | undefined;
@@ -17556,17 +17659,17 @@ declare function init(config: AuthHeroConfig): {
17556
17659
  phone_number: string;
17557
17660
  send: "code" | "link";
17558
17661
  authParams: {
17559
- state?: string | undefined;
17560
17662
  username?: string | undefined;
17561
- act_as?: string | undefined;
17663
+ scope?: string | undefined;
17664
+ state?: string | undefined;
17665
+ audience?: string | undefined;
17562
17666
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17563
17667
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17668
+ prompt?: string | undefined;
17669
+ act_as?: string | undefined;
17564
17670
  redirect_uri?: string | undefined;
17565
- audience?: string | undefined;
17566
17671
  organization?: string | undefined;
17567
17672
  nonce?: string | undefined;
17568
- scope?: string | undefined;
17569
- prompt?: string | undefined;
17570
17673
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17571
17674
  code_challenge?: string | undefined;
17572
17675
  ui_locales?: string | undefined;
@@ -17633,7 +17736,7 @@ declare function init(config: AuthHeroConfig): {
17633
17736
  error_description?: string | undefined;
17634
17737
  };
17635
17738
  outputFormat: "json";
17636
- status: 400;
17739
+ status: 500;
17637
17740
  } | {
17638
17741
  input: {
17639
17742
  query: {
@@ -17654,7 +17757,7 @@ declare function init(config: AuthHeroConfig): {
17654
17757
  error_description?: string | undefined;
17655
17758
  };
17656
17759
  outputFormat: "json";
17657
- status: 500;
17760
+ status: 400;
17658
17761
  };
17659
17762
  };
17660
17763
  }, "/passwordless"> & hono_types.MergeSchemaPath<{
@@ -17798,7 +17901,7 @@ declare function init(config: AuthHeroConfig): {
17798
17901
  client_id: string;
17799
17902
  username: string;
17800
17903
  otp: string;
17801
- realm: "email" | "sms";
17904
+ realm: "sms" | "email";
17802
17905
  } | {
17803
17906
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17804
17907
  subject_token: string;
@@ -17845,7 +17948,7 @@ declare function init(config: AuthHeroConfig): {
17845
17948
  client_id: string;
17846
17949
  username: string;
17847
17950
  otp: string;
17848
- realm: "email" | "sms";
17951
+ realm: "sms" | "email";
17849
17952
  } | {
17850
17953
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17851
17954
  subject_token: string;
@@ -17897,7 +18000,7 @@ declare function init(config: AuthHeroConfig): {
17897
18000
  client_id: string;
17898
18001
  username: string;
17899
18002
  otp: string;
17900
- realm: "email" | "sms";
18003
+ realm: "sms" | "email";
17901
18004
  } | {
17902
18005
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17903
18006
  subject_token: string;
@@ -17944,7 +18047,7 @@ declare function init(config: AuthHeroConfig): {
17944
18047
  client_id: string;
17945
18048
  username: string;
17946
18049
  otp: string;
17947
- realm: "email" | "sms";
18050
+ realm: "sms" | "email";
17948
18051
  } | {
17949
18052
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17950
18053
  subject_token: string;
@@ -18004,7 +18107,7 @@ declare function init(config: AuthHeroConfig): {
18004
18107
  client_id: string;
18005
18108
  username: string;
18006
18109
  otp: string;
18007
- realm: "email" | "sms";
18110
+ realm: "sms" | "email";
18008
18111
  } | {
18009
18112
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18010
18113
  subject_token: string;
@@ -18051,7 +18154,7 @@ declare function init(config: AuthHeroConfig): {
18051
18154
  client_id: string;
18052
18155
  username: string;
18053
18156
  otp: string;
18054
- realm: "email" | "sms";
18157
+ realm: "sms" | "email";
18055
18158
  } | {
18056
18159
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18057
18160
  subject_token: string;
@@ -18106,7 +18209,7 @@ declare function init(config: AuthHeroConfig): {
18106
18209
  client_id: string;
18107
18210
  username: string;
18108
18211
  otp: string;
18109
- realm: "email" | "sms";
18212
+ realm: "sms" | "email";
18110
18213
  } | {
18111
18214
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18112
18215
  subject_token: string;
@@ -18153,7 +18256,7 @@ declare function init(config: AuthHeroConfig): {
18153
18256
  client_id: string;
18154
18257
  username: string;
18155
18258
  otp: string;
18156
- realm: "email" | "sms";
18259
+ realm: "sms" | "email";
18157
18260
  } | {
18158
18261
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18159
18262
  subject_token: string;
@@ -18208,7 +18311,7 @@ declare function init(config: AuthHeroConfig): {
18208
18311
  client_id: string;
18209
18312
  username: string;
18210
18313
  otp: string;
18211
- realm: "email" | "sms";
18314
+ realm: "sms" | "email";
18212
18315
  } | {
18213
18316
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18214
18317
  subject_token: string;
@@ -18255,7 +18358,7 @@ declare function init(config: AuthHeroConfig): {
18255
18358
  client_id: string;
18256
18359
  username: string;
18257
18360
  otp: string;
18258
- realm: "email" | "sms";
18361
+ realm: "sms" | "email";
18259
18362
  } | {
18260
18363
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18261
18364
  subject_token: string;
@@ -18608,7 +18711,7 @@ declare function init(config: AuthHeroConfig): {
18608
18711
  };
18609
18712
  output: {};
18610
18713
  outputFormat: string;
18611
- status: 302;
18714
+ status: 500;
18612
18715
  } | {
18613
18716
  input: {
18614
18717
  query: {
@@ -18617,7 +18720,7 @@ declare function init(config: AuthHeroConfig): {
18617
18720
  };
18618
18721
  output: {};
18619
18722
  outputFormat: string;
18620
- status: 400;
18723
+ status: 302;
18621
18724
  } | {
18622
18725
  input: {
18623
18726
  query: {
@@ -18626,7 +18729,7 @@ declare function init(config: AuthHeroConfig): {
18626
18729
  };
18627
18730
  output: {};
18628
18731
  outputFormat: string;
18629
- status: 500;
18732
+ status: 400;
18630
18733
  };
18631
18734
  };
18632
18735
  }, "/continue"> & hono_types.MergeSchemaPath<{
@@ -19096,7 +19199,7 @@ declare function init(config: AuthHeroConfig): {
19096
19199
  } & {
19097
19200
  form: {
19098
19201
  username: string;
19099
- login_selection?: "code" | "password" | undefined;
19202
+ login_selection?: "password" | "code" | undefined;
19100
19203
  };
19101
19204
  };
19102
19205
  output: {};
@@ -19110,7 +19213,7 @@ declare function init(config: AuthHeroConfig): {
19110
19213
  } & {
19111
19214
  form: {
19112
19215
  username: string;
19113
- login_selection?: "code" | "password" | undefined;
19216
+ login_selection?: "password" | "code" | undefined;
19114
19217
  };
19115
19218
  };
19116
19219
  output: {};
@@ -19475,7 +19578,7 @@ declare function init(config: AuthHeroConfig): {
19475
19578
  $get: {
19476
19579
  input: {
19477
19580
  param: {
19478
- screen: "signup" | "login" | "reset-password" | "consent" | "account" | "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";
19581
+ screen: "login" | "signup" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "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";
19479
19582
  };
19480
19583
  } & {
19481
19584
  query: {
@@ -19491,7 +19594,7 @@ declare function init(config: AuthHeroConfig): {
19491
19594
  } | {
19492
19595
  input: {
19493
19596
  param: {
19494
- screen: "signup" | "login" | "reset-password" | "consent" | "account" | "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";
19597
+ screen: "login" | "signup" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "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";
19495
19598
  };
19496
19599
  } & {
19497
19600
  query: {
@@ -19507,7 +19610,7 @@ declare function init(config: AuthHeroConfig): {
19507
19610
  } | {
19508
19611
  input: {
19509
19612
  param: {
19510
- screen: "signup" | "login" | "reset-password" | "consent" | "account" | "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";
19613
+ screen: "login" | "signup" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "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";
19511
19614
  };
19512
19615
  } & {
19513
19616
  query: {
@@ -19527,7 +19630,7 @@ declare function init(config: AuthHeroConfig): {
19527
19630
  $post: {
19528
19631
  input: {
19529
19632
  param: {
19530
- 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";
19633
+ screen: "login" | "signup" | "reset-password" | "consent" | "enter-password" | "impersonate" | "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";
19531
19634
  };
19532
19635
  } & {
19533
19636
  query: {
@@ -19545,7 +19648,7 @@ declare function init(config: AuthHeroConfig): {
19545
19648
  } | {
19546
19649
  input: {
19547
19650
  param: {
19548
- 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";
19651
+ screen: "login" | "signup" | "reset-password" | "consent" | "enter-password" | "impersonate" | "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";
19549
19652
  };
19550
19653
  } & {
19551
19654
  query: {
@@ -19643,5 +19746,5 @@ declare function init(config: AuthHeroConfig): {
19643
19746
  createX509Certificate: typeof createX509Certificate;
19644
19747
  };
19645
19748
 
19646
- export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, ControlPlaneSyncDestination, 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, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createApplySyncEvents, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil };
19647
- export type { AuthHeroConfig, ControlPlaneSyncDestinationOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };
19749
+ export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, ControlPlaneSyncDestination, 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, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createApplySyncEvents, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wrapProxyAdaptersWithKvPublish };
19750
+ export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, ControlPlaneSyncDestinationOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WrappedProxyAdapters };