authhero 8.18.0 → 8.20.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.
@@ -2261,10 +2261,12 @@ declare class WebhookDestination implements EventDestination {
2261
2261
 
2262
2262
  interface CreateDefaultDestinationsConfig {
2263
2263
  /**
2264
- * Data adapter — only the `logs`, `hooks`, `users`, and `logStreams`
2265
- * adapters are used by the built-in destinations.
2264
+ * Data adapter — the `logs`, `hooks`, `users`, and `logStreams` adapters are
2265
+ * used by the built-in destinations. When `codeExecutor` is set, the
2266
+ * `actions`, `hookCode`, and `actionExecutions` adapters are also required so
2267
+ * `CodeHookDestination` can resolve and run tenant code hooks.
2266
2268
  */
2267
- dataAdapter: Pick<DataAdapters, "logs" | "hooks" | "users" | "logStreams">;
2269
+ dataAdapter: Pick<DataAdapters, "logs" | "hooks" | "users" | "logStreams"> & Partial<Pick<DataAdapters, "actions" | "hookCode" | "actionExecutions" | "multiTenancyConfig">>;
2268
2270
  /**
2269
2271
  * Produces a Bearer access token for the given tenant, used when POSTing
2270
2272
  * `hook.*` events to the configured webhook URLs.
@@ -2294,6 +2296,14 @@ interface CreateDefaultDestinationsConfig {
2294
2296
  * deliveries don't diverge from inline per-request ones.
2295
2297
  */
2296
2298
  webhookInvoker?: WebhookInvoker;
2299
+ /**
2300
+ * Code executor — same instance passed to `init({ codeExecutor })`. When
2301
+ * provided (and `dataAdapter` carries `actions`, `hookCode`, and
2302
+ * `actionExecutions`), a `CodeHookDestination` is added so cron-drained
2303
+ * `hook.*` events also run tenant code hooks. Without it, code hooks that
2304
+ * failed per-request delivery would be silently skipped on retry.
2305
+ */
2306
+ codeExecutor?: CodeExecutor;
2297
2307
  }
2298
2308
  /**
2299
2309
  * Build the same array of outbox destinations that authhero's per-request
@@ -2411,6 +2421,13 @@ interface RunOutboxRelayConfig {
2411
2421
  maxRetries?: number;
2412
2422
  /** Webhook HTTP timeout (ms), when the default invoker is used. */
2413
2423
  webhookTimeoutMs?: number;
2424
+ /**
2425
+ * Optional code executor — same instance passed to `init({ codeExecutor })`.
2426
+ * When provided, cron-drained `hook.*` events also run tenant code hooks, so
2427
+ * a code hook that failed per-request delivery is retried rather than
2428
+ * silently skipped.
2429
+ */
2430
+ codeExecutor?: CodeExecutor;
2414
2431
  }
2415
2432
  /**
2416
2433
  * One-call outbox relay for cron / scheduled handlers.
@@ -2465,6 +2482,67 @@ declare class LogsDestination implements EventDestination {
2465
2482
  }[]): Promise<void>;
2466
2483
  }
2467
2484
 
2485
+ /**
2486
+ * The subset of `DataAdapters` needed to resolve and run a code hook and to
2487
+ * persist its execution record. Narrowed so `CodeHookDestination` and the cron
2488
+ * `createDefaultDestinations` helper can construct it without depending on the
2489
+ * full adapter surface.
2490
+ */
2491
+ type CodeHookData = Pick<DataAdapters, "hooks" | "actions" | "hookCode" | "actionExecutions" | "multiTenancyConfig">;
2492
+
2493
+ interface CodeHookInvocation {
2494
+ eventId: string;
2495
+ tenantId: string;
2496
+ triggerId: string;
2497
+ /** Serialized user snapshot from the audit event (`target.after`). */
2498
+ user?: unknown;
2499
+ /** Serialized request context from the audit event. */
2500
+ request?: unknown;
2501
+ }
2502
+ /**
2503
+ * Delivers `hook.*` outbox events to tenant-authored **code hooks** (actions)
2504
+ * for the matching `trigger_id`. Runs alongside `WebhookDestination` — both
2505
+ * accept the same `hook.*` events — so a single registration/deletion event
2506
+ * fans out to webhooks *and* code hooks. The fan-out is not retried
2507
+ * independently: the relay retries the whole outbox event, running its
2508
+ * destinations in order and stopping at the first failure, so a code-hook
2509
+ * failure here causes earlier destinations (e.g. webhooks) to run again on the
2510
+ * retry. Every destination on the event must therefore be idempotent.
2511
+ *
2512
+ * Reliability model: unlike the previous inline execution (best-effort,
2513
+ * at-most-once, failures logged and dropped), code hooks delivered here are
2514
+ * **at-least-once**. If any code hook for the trigger fails, `deliver` throws
2515
+ * so the relay retries the whole event with backoff and, after `maxRetries`,
2516
+ * dead-letters it. A retry re-runs every code hook for the trigger, so the
2517
+ * event id is passed to user code as `event.idempotency_key` for dedupe.
2518
+ *
2519
+ * Must be listed AFTER `WebhookDestination` and BEFORE
2520
+ * `RegistrationFinalizerDestination` so `registration_completed_at` is only
2521
+ * flipped on a pass where every webhook *and* code hook succeeded.
2522
+ *
2523
+ * Constructed per-request (via `getDestinations(ctx)`) so it can close over
2524
+ * `ctx.env.codeExecutor`. The same class is used by the cron `drainOutbox`
2525
+ * safety net when a `codeExecutor` is supplied to `createDefaultDestinations`.
2526
+ * When no executor is configured, code hooks cannot run (nor be deployed), so
2527
+ * `deliver` is a no-op success — matching the inline `handleCodeHook` which
2528
+ * returns `null` without an executor.
2529
+ */
2530
+ declare class CodeHookDestination implements EventDestination {
2531
+ name: string;
2532
+ private data;
2533
+ private codeExecutor?;
2534
+ constructor(data: CodeHookData, codeExecutor?: CodeExecutor);
2535
+ accepts(event: AuditEvent): boolean;
2536
+ transform(event: AuditEvent): CodeHookInvocation;
2537
+ deliver(invocations: CodeHookInvocation[]): Promise<void>;
2538
+ /**
2539
+ * Fetch every hook for the tenant, paging past the adapter's default page
2540
+ * size. `hooks.list` returns only the first page by default, so a tenant with
2541
+ * more enabled code hooks than one page would silently skip the rest.
2542
+ */
2543
+ private listAllHooks;
2544
+ }
2545
+
2468
2546
  interface FinalizationTask {
2469
2547
  tenantId: string;
2470
2548
  userId: string;
@@ -3107,8 +3185,8 @@ declare function init(config: AuthHeroConfig): {
3107
3185
  $get: {
3108
3186
  input: {
3109
3187
  query: {
3110
- include_password_hashes?: "false" | "true" | undefined;
3111
- gzip?: "false" | "true" | undefined;
3188
+ include_password_hashes?: "true" | "false" | undefined;
3189
+ gzip?: "true" | "false" | undefined;
3112
3190
  };
3113
3191
  } & {
3114
3192
  header: {
@@ -3121,8 +3199,8 @@ declare function init(config: AuthHeroConfig): {
3121
3199
  } | {
3122
3200
  input: {
3123
3201
  query: {
3124
- include_password_hashes?: "false" | "true" | undefined;
3125
- gzip?: "false" | "true" | undefined;
3202
+ include_password_hashes?: "true" | "false" | undefined;
3203
+ gzip?: "true" | "false" | undefined;
3126
3204
  };
3127
3205
  } & {
3128
3206
  header: {
@@ -3141,7 +3219,7 @@ declare function init(config: AuthHeroConfig): {
3141
3219
  $post: {
3142
3220
  input: {
3143
3221
  query: {
3144
- include_password_hashes?: "false" | "true" | undefined;
3222
+ include_password_hashes?: "true" | "false" | undefined;
3145
3223
  };
3146
3224
  } & {
3147
3225
  header: {
@@ -3195,7 +3273,7 @@ declare function init(config: AuthHeroConfig): {
3195
3273
  };
3196
3274
  } & {
3197
3275
  json: {
3198
- type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
3276
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
3199
3277
  phone_number?: string | undefined;
3200
3278
  totp_secret?: string | undefined;
3201
3279
  credential_id?: string | undefined;
@@ -3335,7 +3413,7 @@ declare function init(config: AuthHeroConfig): {
3335
3413
  };
3336
3414
  };
3337
3415
  output: {
3338
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3416
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3339
3417
  enabled: boolean;
3340
3418
  trial_expired?: boolean | undefined;
3341
3419
  }[];
@@ -3490,7 +3568,7 @@ declare function init(config: AuthHeroConfig): {
3490
3568
  $get: {
3491
3569
  input: {
3492
3570
  param: {
3493
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3571
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3494
3572
  };
3495
3573
  } & {
3496
3574
  header: {
@@ -3498,7 +3576,7 @@ declare function init(config: AuthHeroConfig): {
3498
3576
  };
3499
3577
  };
3500
3578
  output: {
3501
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3579
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3502
3580
  enabled: boolean;
3503
3581
  trial_expired?: boolean | undefined;
3504
3582
  };
@@ -3511,7 +3589,7 @@ declare function init(config: AuthHeroConfig): {
3511
3589
  $put: {
3512
3590
  input: {
3513
3591
  param: {
3514
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3592
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3515
3593
  };
3516
3594
  } & {
3517
3595
  header: {
@@ -3523,7 +3601,7 @@ declare function init(config: AuthHeroConfig): {
3523
3601
  };
3524
3602
  };
3525
3603
  output: {
3526
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3604
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3527
3605
  enabled: boolean;
3528
3606
  trial_expired?: boolean | undefined;
3529
3607
  };
@@ -4456,8 +4534,8 @@ declare function init(config: AuthHeroConfig): {
4456
4534
  };
4457
4535
  } & {
4458
4536
  json: {
4459
- assign_membership_on_login?: boolean | undefined;
4460
4537
  show_as_button?: boolean | undefined;
4538
+ assign_membership_on_login?: boolean | undefined;
4461
4539
  is_signup_enabled?: boolean | undefined;
4462
4540
  };
4463
4541
  };
@@ -9927,7 +10005,7 @@ declare function init(config: AuthHeroConfig): {
9927
10005
  };
9928
10006
  };
9929
10007
  output: {
9930
- prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10008
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9931
10009
  language: string;
9932
10010
  }[];
9933
10011
  outputFormat: "json";
@@ -9965,7 +10043,7 @@ declare function init(config: AuthHeroConfig): {
9965
10043
  $get: {
9966
10044
  input: {
9967
10045
  param: {
9968
- prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10046
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9969
10047
  language: string;
9970
10048
  };
9971
10049
  } & {
@@ -9987,7 +10065,7 @@ declare function init(config: AuthHeroConfig): {
9987
10065
  $put: {
9988
10066
  input: {
9989
10067
  param: {
9990
- prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10068
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9991
10069
  language: string;
9992
10070
  };
9993
10071
  } & {
@@ -10011,7 +10089,7 @@ declare function init(config: AuthHeroConfig): {
10011
10089
  $delete: {
10012
10090
  input: {
10013
10091
  param: {
10014
- prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10092
+ prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
10015
10093
  language: string;
10016
10094
  };
10017
10095
  } & {
@@ -10103,7 +10181,7 @@ declare function init(config: AuthHeroConfig): {
10103
10181
  active?: boolean | undefined;
10104
10182
  } | undefined;
10105
10183
  signup?: {
10106
- status?: "required" | "optional" | "disabled" | undefined;
10184
+ status?: "optional" | "required" | "disabled" | undefined;
10107
10185
  verification?: {
10108
10186
  active?: boolean | undefined;
10109
10187
  } | undefined;
@@ -10120,7 +10198,7 @@ declare function init(config: AuthHeroConfig): {
10120
10198
  active?: boolean | undefined;
10121
10199
  } | undefined;
10122
10200
  signup?: {
10123
- status?: "required" | "optional" | "disabled" | undefined;
10201
+ status?: "optional" | "required" | "disabled" | undefined;
10124
10202
  } | undefined;
10125
10203
  validation?: {
10126
10204
  max_length?: number | undefined;
@@ -10137,7 +10215,7 @@ declare function init(config: AuthHeroConfig): {
10137
10215
  active?: boolean | undefined;
10138
10216
  } | undefined;
10139
10217
  signup?: {
10140
- status?: "required" | "optional" | "disabled" | undefined;
10218
+ status?: "optional" | "required" | "disabled" | undefined;
10141
10219
  } | undefined;
10142
10220
  } | undefined;
10143
10221
  } | undefined;
@@ -10237,7 +10315,7 @@ declare function init(config: AuthHeroConfig): {
10237
10315
  active?: boolean | undefined;
10238
10316
  } | undefined;
10239
10317
  signup?: {
10240
- status?: "required" | "optional" | "disabled" | undefined;
10318
+ status?: "optional" | "required" | "disabled" | undefined;
10241
10319
  verification?: {
10242
10320
  active?: boolean | undefined;
10243
10321
  } | undefined;
@@ -10254,7 +10332,7 @@ declare function init(config: AuthHeroConfig): {
10254
10332
  active?: boolean | undefined;
10255
10333
  } | undefined;
10256
10334
  signup?: {
10257
- status?: "required" | "optional" | "disabled" | undefined;
10335
+ status?: "optional" | "required" | "disabled" | undefined;
10258
10336
  } | undefined;
10259
10337
  validation?: {
10260
10338
  max_length?: number | undefined;
@@ -10271,7 +10349,7 @@ declare function init(config: AuthHeroConfig): {
10271
10349
  active?: boolean | undefined;
10272
10350
  } | undefined;
10273
10351
  signup?: {
10274
- status?: "required" | "optional" | "disabled" | undefined;
10352
+ status?: "optional" | "required" | "disabled" | undefined;
10275
10353
  } | undefined;
10276
10354
  } | undefined;
10277
10355
  } | undefined;
@@ -10386,7 +10464,7 @@ declare function init(config: AuthHeroConfig): {
10386
10464
  active?: boolean | undefined;
10387
10465
  } | undefined;
10388
10466
  signup?: {
10389
- status?: "required" | "optional" | "disabled" | undefined;
10467
+ status?: "optional" | "required" | "disabled" | undefined;
10390
10468
  verification?: {
10391
10469
  active?: boolean | undefined;
10392
10470
  } | undefined;
@@ -10403,7 +10481,7 @@ declare function init(config: AuthHeroConfig): {
10403
10481
  active?: boolean | undefined;
10404
10482
  } | undefined;
10405
10483
  signup?: {
10406
- status?: "required" | "optional" | "disabled" | undefined;
10484
+ status?: "optional" | "required" | "disabled" | undefined;
10407
10485
  } | undefined;
10408
10486
  validation?: {
10409
10487
  max_length?: number | undefined;
@@ -10420,7 +10498,7 @@ declare function init(config: AuthHeroConfig): {
10420
10498
  active?: boolean | undefined;
10421
10499
  } | undefined;
10422
10500
  signup?: {
10423
- status?: "required" | "optional" | "disabled" | undefined;
10501
+ status?: "optional" | "required" | "disabled" | undefined;
10424
10502
  } | undefined;
10425
10503
  } | undefined;
10426
10504
  } | undefined;
@@ -10565,7 +10643,7 @@ declare function init(config: AuthHeroConfig): {
10565
10643
  active?: boolean | undefined;
10566
10644
  } | undefined;
10567
10645
  signup?: {
10568
- status?: "required" | "optional" | "disabled" | undefined;
10646
+ status?: "optional" | "required" | "disabled" | undefined;
10569
10647
  verification?: {
10570
10648
  active?: boolean | undefined;
10571
10649
  } | undefined;
@@ -10582,7 +10660,7 @@ declare function init(config: AuthHeroConfig): {
10582
10660
  active?: boolean | undefined;
10583
10661
  } | undefined;
10584
10662
  signup?: {
10585
- status?: "required" | "optional" | "disabled" | undefined;
10663
+ status?: "optional" | "required" | "disabled" | undefined;
10586
10664
  } | undefined;
10587
10665
  validation?: {
10588
10666
  max_length?: number | undefined;
@@ -10599,7 +10677,7 @@ declare function init(config: AuthHeroConfig): {
10599
10677
  active?: boolean | undefined;
10600
10678
  } | undefined;
10601
10679
  signup?: {
10602
- status?: "required" | "optional" | "disabled" | undefined;
10680
+ status?: "optional" | "required" | "disabled" | undefined;
10603
10681
  } | undefined;
10604
10682
  } | undefined;
10605
10683
  } | undefined;
@@ -10723,7 +10801,7 @@ declare function init(config: AuthHeroConfig): {
10723
10801
  active?: boolean | undefined;
10724
10802
  } | undefined;
10725
10803
  signup?: {
10726
- status?: "required" | "optional" | "disabled" | undefined;
10804
+ status?: "optional" | "required" | "disabled" | undefined;
10727
10805
  verification?: {
10728
10806
  active?: boolean | undefined;
10729
10807
  } | undefined;
@@ -10740,7 +10818,7 @@ declare function init(config: AuthHeroConfig): {
10740
10818
  active?: boolean | undefined;
10741
10819
  } | undefined;
10742
10820
  signup?: {
10743
- status?: "required" | "optional" | "disabled" | undefined;
10821
+ status?: "optional" | "required" | "disabled" | undefined;
10744
10822
  } | undefined;
10745
10823
  validation?: {
10746
10824
  max_length?: number | undefined;
@@ -10757,7 +10835,7 @@ declare function init(config: AuthHeroConfig): {
10757
10835
  active?: boolean | undefined;
10758
10836
  } | undefined;
10759
10837
  signup?: {
10760
- status?: "required" | "optional" | "disabled" | undefined;
10838
+ status?: "optional" | "required" | "disabled" | undefined;
10761
10839
  } | undefined;
10762
10840
  } | undefined;
10763
10841
  } | undefined;
@@ -11822,7 +11900,7 @@ declare function init(config: AuthHeroConfig): {
11822
11900
  created_at: string;
11823
11901
  updated_at: string;
11824
11902
  name: string;
11825
- provider: "auth0" | "cognito" | "okta" | "oidc";
11903
+ provider: "auth0" | "oidc" | "okta" | "cognito";
11826
11904
  connection: string;
11827
11905
  enabled: boolean;
11828
11906
  credentials: {
@@ -11854,7 +11932,7 @@ declare function init(config: AuthHeroConfig): {
11854
11932
  created_at: string;
11855
11933
  updated_at: string;
11856
11934
  name: string;
11857
- provider: "auth0" | "cognito" | "okta" | "oidc";
11935
+ provider: "auth0" | "oidc" | "okta" | "cognito";
11858
11936
  connection: string;
11859
11937
  enabled: boolean;
11860
11938
  credentials: {
@@ -11880,7 +11958,7 @@ declare function init(config: AuthHeroConfig): {
11880
11958
  } & {
11881
11959
  json: {
11882
11960
  name: string;
11883
- provider: "auth0" | "cognito" | "okta" | "oidc";
11961
+ provider: "auth0" | "oidc" | "okta" | "cognito";
11884
11962
  connection: string;
11885
11963
  credentials: {
11886
11964
  domain: string;
@@ -11897,7 +11975,7 @@ declare function init(config: AuthHeroConfig): {
11897
11975
  created_at: string;
11898
11976
  updated_at: string;
11899
11977
  name: string;
11900
- provider: "auth0" | "cognito" | "okta" | "oidc";
11978
+ provider: "auth0" | "oidc" | "okta" | "cognito";
11901
11979
  connection: string;
11902
11980
  enabled: boolean;
11903
11981
  credentials: {
@@ -11928,7 +12006,7 @@ declare function init(config: AuthHeroConfig): {
11928
12006
  json: {
11929
12007
  id?: string | undefined;
11930
12008
  name?: string | undefined;
11931
- provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
12009
+ provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
11932
12010
  connection?: string | undefined;
11933
12011
  enabled?: boolean | undefined;
11934
12012
  credentials?: {
@@ -11944,7 +12022,7 @@ declare function init(config: AuthHeroConfig): {
11944
12022
  created_at: string;
11945
12023
  updated_at: string;
11946
12024
  name: string;
11947
- provider: "auth0" | "cognito" | "okta" | "oidc";
12025
+ provider: "auth0" | "oidc" | "okta" | "cognito";
11948
12026
  connection: string;
11949
12027
  enabled: boolean;
11950
12028
  credentials: {
@@ -12162,7 +12240,7 @@ declare function init(config: AuthHeroConfig): {
12162
12240
  };
12163
12241
  };
12164
12242
  output: {
12165
- type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "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";
12243
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12166
12244
  date: string;
12167
12245
  isMobile: boolean;
12168
12246
  log_id: string;
@@ -12201,7 +12279,7 @@ declare function init(config: AuthHeroConfig): {
12201
12279
  limit: number;
12202
12280
  length: number;
12203
12281
  logs: {
12204
- type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "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";
12282
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12205
12283
  date: string;
12206
12284
  isMobile: boolean;
12207
12285
  log_id: string;
@@ -12255,7 +12333,7 @@ declare function init(config: AuthHeroConfig): {
12255
12333
  };
12256
12334
  };
12257
12335
  output: {
12258
- type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "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";
12336
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12259
12337
  date: string;
12260
12338
  isMobile: boolean;
12261
12339
  log_id: string;
@@ -12643,7 +12721,7 @@ declare function init(config: AuthHeroConfig): {
12643
12721
  addons?: {
12644
12722
  [x: string]: any;
12645
12723
  } | undefined;
12646
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12724
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12647
12725
  client_metadata?: {
12648
12726
  [x: string]: string;
12649
12727
  } | undefined;
@@ -12739,7 +12817,7 @@ declare function init(config: AuthHeroConfig): {
12739
12817
  addons?: {
12740
12818
  [x: string]: any;
12741
12819
  } | undefined;
12742
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12820
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12743
12821
  client_metadata?: {
12744
12822
  [x: string]: string;
12745
12823
  } | undefined;
@@ -12850,7 +12928,7 @@ declare function init(config: AuthHeroConfig): {
12850
12928
  addons?: {
12851
12929
  [x: string]: any;
12852
12930
  } | undefined;
12853
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12931
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12854
12932
  client_metadata?: {
12855
12933
  [x: string]: string;
12856
12934
  } | undefined;
@@ -12960,7 +13038,7 @@ declare function init(config: AuthHeroConfig): {
12960
13038
  custom_login_page_preview?: string | undefined;
12961
13039
  form_template?: string | undefined;
12962
13040
  addons?: Record<string, any> | undefined;
12963
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13041
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12964
13042
  client_metadata?: Record<string, string> | undefined;
12965
13043
  hide_sign_up_disabled_error?: boolean | undefined;
12966
13044
  mobile?: Record<string, any> | undefined;
@@ -13040,7 +13118,7 @@ declare function init(config: AuthHeroConfig): {
13040
13118
  addons?: {
13041
13119
  [x: string]: any;
13042
13120
  } | undefined;
13043
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13121
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13044
13122
  client_metadata?: {
13045
13123
  [x: string]: string;
13046
13124
  } | undefined;
@@ -13129,7 +13207,7 @@ declare function init(config: AuthHeroConfig): {
13129
13207
  custom_login_page_preview?: string | undefined;
13130
13208
  form_template?: string | undefined;
13131
13209
  addons?: Record<string, any> | undefined;
13132
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13210
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13133
13211
  client_metadata?: Record<string, string> | undefined;
13134
13212
  hide_sign_up_disabled_error?: boolean | undefined;
13135
13213
  mobile?: Record<string, any> | undefined;
@@ -13209,7 +13287,7 @@ declare function init(config: AuthHeroConfig): {
13209
13287
  addons?: {
13210
13288
  [x: string]: any;
13211
13289
  } | undefined;
13212
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13290
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13213
13291
  client_metadata?: {
13214
13292
  [x: string]: string;
13215
13293
  } | undefined;
@@ -13331,7 +13409,7 @@ declare function init(config: AuthHeroConfig): {
13331
13409
  active?: boolean | undefined;
13332
13410
  } | undefined;
13333
13411
  signup?: {
13334
- status?: "required" | "optional" | "disabled" | undefined;
13412
+ status?: "optional" | "required" | "disabled" | undefined;
13335
13413
  verification?: {
13336
13414
  active?: boolean | undefined;
13337
13415
  } | undefined;
@@ -13348,7 +13426,7 @@ declare function init(config: AuthHeroConfig): {
13348
13426
  active?: boolean | undefined;
13349
13427
  } | undefined;
13350
13428
  signup?: {
13351
- status?: "required" | "optional" | "disabled" | undefined;
13429
+ status?: "optional" | "required" | "disabled" | undefined;
13352
13430
  } | undefined;
13353
13431
  validation?: {
13354
13432
  max_length?: number | undefined;
@@ -13365,7 +13443,7 @@ declare function init(config: AuthHeroConfig): {
13365
13443
  active?: boolean | undefined;
13366
13444
  } | undefined;
13367
13445
  signup?: {
13368
- status?: "required" | "optional" | "disabled" | undefined;
13446
+ status?: "optional" | "required" | "disabled" | undefined;
13369
13447
  } | undefined;
13370
13448
  } | undefined;
13371
13449
  } | undefined;
@@ -13485,7 +13563,7 @@ declare function init(config: AuthHeroConfig): {
13485
13563
  active?: boolean | undefined;
13486
13564
  } | undefined;
13487
13565
  signup?: {
13488
- status?: "required" | "optional" | "disabled" | undefined;
13566
+ status?: "optional" | "required" | "disabled" | undefined;
13489
13567
  verification?: {
13490
13568
  active?: boolean | undefined;
13491
13569
  } | undefined;
@@ -13502,7 +13580,7 @@ declare function init(config: AuthHeroConfig): {
13502
13580
  active?: boolean | undefined;
13503
13581
  } | undefined;
13504
13582
  signup?: {
13505
- status?: "required" | "optional" | "disabled" | undefined;
13583
+ status?: "optional" | "required" | "disabled" | undefined;
13506
13584
  } | undefined;
13507
13585
  validation?: {
13508
13586
  max_length?: number | undefined;
@@ -13519,7 +13597,7 @@ declare function init(config: AuthHeroConfig): {
13519
13597
  active?: boolean | undefined;
13520
13598
  } | undefined;
13521
13599
  signup?: {
13522
- status?: "required" | "optional" | "disabled" | undefined;
13600
+ status?: "optional" | "required" | "disabled" | undefined;
13523
13601
  } | undefined;
13524
13602
  } | undefined;
13525
13603
  } | undefined;
@@ -14473,7 +14551,7 @@ declare function init(config: AuthHeroConfig): {
14473
14551
  };
14474
14552
  };
14475
14553
  output: {
14476
- type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "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";
14554
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14477
14555
  date: string;
14478
14556
  isMobile: boolean;
14479
14557
  log_id: string;
@@ -14512,7 +14590,7 @@ declare function init(config: AuthHeroConfig): {
14512
14590
  limit: number;
14513
14591
  length: number;
14514
14592
  logs: {
14515
- type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "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";
14593
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14516
14594
  date: string;
14517
14595
  isMobile: boolean;
14518
14596
  log_id: string;
@@ -14829,7 +14907,7 @@ declare function init(config: AuthHeroConfig): {
14829
14907
  };
14830
14908
  } & {
14831
14909
  json: {
14832
- 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";
14910
+ 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";
14833
14911
  body: string;
14834
14912
  from: string;
14835
14913
  subject: string;
@@ -14850,7 +14928,7 @@ declare function init(config: AuthHeroConfig): {
14850
14928
  };
14851
14929
  } & {
14852
14930
  json: {
14853
- 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";
14931
+ 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";
14854
14932
  body: string;
14855
14933
  from: string;
14856
14934
  subject: string;
@@ -14862,7 +14940,7 @@ declare function init(config: AuthHeroConfig): {
14862
14940
  };
14863
14941
  };
14864
14942
  output: {
14865
- 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";
14943
+ 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";
14866
14944
  body: string;
14867
14945
  from: string;
14868
14946
  subject: string;
@@ -14885,7 +14963,7 @@ declare function init(config: AuthHeroConfig): {
14885
14963
  };
14886
14964
  };
14887
14965
  output: {
14888
- 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";
14966
+ 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";
14889
14967
  body: string;
14890
14968
  subject: string;
14891
14969
  }[];
@@ -14898,7 +14976,7 @@ declare function init(config: AuthHeroConfig): {
14898
14976
  $get: {
14899
14977
  input: {
14900
14978
  param: {
14901
- 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";
14979
+ 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";
14902
14980
  };
14903
14981
  } & {
14904
14982
  header: {
@@ -14911,7 +14989,7 @@ declare function init(config: AuthHeroConfig): {
14911
14989
  } | {
14912
14990
  input: {
14913
14991
  param: {
14914
- 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";
14992
+ 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";
14915
14993
  };
14916
14994
  } & {
14917
14995
  header: {
@@ -14919,7 +14997,7 @@ declare function init(config: AuthHeroConfig): {
14919
14997
  };
14920
14998
  };
14921
14999
  output: {
14922
- 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";
15000
+ 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";
14923
15001
  body: string;
14924
15002
  from: string;
14925
15003
  subject: string;
@@ -14938,7 +15016,7 @@ declare function init(config: AuthHeroConfig): {
14938
15016
  $put: {
14939
15017
  input: {
14940
15018
  param: {
14941
- 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";
15019
+ 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";
14942
15020
  };
14943
15021
  } & {
14944
15022
  header: {
@@ -14946,7 +15024,7 @@ declare function init(config: AuthHeroConfig): {
14946
15024
  };
14947
15025
  } & {
14948
15026
  json: {
14949
- 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";
15027
+ 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";
14950
15028
  body: string;
14951
15029
  subject: string;
14952
15030
  syntax?: "liquid" | undefined;
@@ -14958,7 +15036,7 @@ declare function init(config: AuthHeroConfig): {
14958
15036
  };
14959
15037
  };
14960
15038
  output: {
14961
- 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";
15039
+ 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";
14962
15040
  body: string;
14963
15041
  from: string;
14964
15042
  subject: string;
@@ -14977,7 +15055,7 @@ declare function init(config: AuthHeroConfig): {
14977
15055
  $patch: {
14978
15056
  input: {
14979
15057
  param: {
14980
- 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";
15058
+ 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";
14981
15059
  };
14982
15060
  } & {
14983
15061
  header: {
@@ -14985,7 +15063,7 @@ declare function init(config: AuthHeroConfig): {
14985
15063
  };
14986
15064
  } & {
14987
15065
  json: {
14988
- 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;
15066
+ 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;
14989
15067
  body?: string | undefined;
14990
15068
  from?: string | undefined;
14991
15069
  subject?: string | undefined;
@@ -15002,7 +15080,7 @@ declare function init(config: AuthHeroConfig): {
15002
15080
  } | {
15003
15081
  input: {
15004
15082
  param: {
15005
- 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";
15083
+ 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";
15006
15084
  };
15007
15085
  } & {
15008
15086
  header: {
@@ -15010,7 +15088,7 @@ declare function init(config: AuthHeroConfig): {
15010
15088
  };
15011
15089
  } & {
15012
15090
  json: {
15013
- 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;
15091
+ 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;
15014
15092
  body?: string | undefined;
15015
15093
  from?: string | undefined;
15016
15094
  subject?: string | undefined;
@@ -15022,7 +15100,7 @@ declare function init(config: AuthHeroConfig): {
15022
15100
  };
15023
15101
  };
15024
15102
  output: {
15025
- 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";
15103
+ 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";
15026
15104
  body: string;
15027
15105
  from: string;
15028
15106
  subject: string;
@@ -15041,7 +15119,7 @@ declare function init(config: AuthHeroConfig): {
15041
15119
  $delete: {
15042
15120
  input: {
15043
15121
  param: {
15044
- 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";
15122
+ 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";
15045
15123
  };
15046
15124
  } & {
15047
15125
  header: {
@@ -15054,7 +15132,7 @@ declare function init(config: AuthHeroConfig): {
15054
15132
  } | {
15055
15133
  input: {
15056
15134
  param: {
15057
- 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";
15135
+ 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";
15058
15136
  };
15059
15137
  } & {
15060
15138
  header: {
@@ -15071,7 +15149,7 @@ declare function init(config: AuthHeroConfig): {
15071
15149
  $post: {
15072
15150
  input: {
15073
15151
  param: {
15074
- 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";
15152
+ 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";
15075
15153
  };
15076
15154
  } & {
15077
15155
  header: {
@@ -15354,7 +15432,7 @@ declare function init(config: AuthHeroConfig): {
15354
15432
  type: "auth0_managed_certs" | "self_managed_certs";
15355
15433
  custom_domain_id: string;
15356
15434
  primary: boolean;
15357
- status: "disabled" | "pending" | "ready" | "pending_verification";
15435
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15358
15436
  verification_method?: "txt" | undefined;
15359
15437
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15360
15438
  domain_metadata?: {
@@ -15395,7 +15473,7 @@ declare function init(config: AuthHeroConfig): {
15395
15473
  type: "auth0_managed_certs" | "self_managed_certs";
15396
15474
  custom_domain_id: string;
15397
15475
  primary: boolean;
15398
- status: "disabled" | "pending" | "ready" | "pending_verification";
15476
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15399
15477
  verification_method?: "txt" | undefined;
15400
15478
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15401
15479
  domain_metadata?: {
@@ -15459,7 +15537,7 @@ declare function init(config: AuthHeroConfig): {
15459
15537
  type: "auth0_managed_certs" | "self_managed_certs";
15460
15538
  custom_domain_id: string;
15461
15539
  primary: boolean;
15462
- status: "disabled" | "pending" | "ready" | "pending_verification";
15540
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15463
15541
  verification_method?: "txt" | undefined;
15464
15542
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15465
15543
  domain_metadata?: {
@@ -15506,7 +15584,7 @@ declare function init(config: AuthHeroConfig): {
15506
15584
  type: "auth0_managed_certs" | "self_managed_certs";
15507
15585
  custom_domain_id: string;
15508
15586
  primary: boolean;
15509
- status: "disabled" | "pending" | "ready" | "pending_verification";
15587
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15510
15588
  verification_method?: "txt" | undefined;
15511
15589
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15512
15590
  domain_metadata?: {
@@ -15552,7 +15630,7 @@ declare function init(config: AuthHeroConfig): {
15552
15630
  type: "auth0_managed_certs" | "self_managed_certs";
15553
15631
  custom_domain_id: string;
15554
15632
  primary: boolean;
15555
- status: "disabled" | "pending" | "ready" | "pending_verification";
15633
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15556
15634
  verification_method?: "txt" | undefined;
15557
15635
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15558
15636
  domain_metadata?: {
@@ -15593,7 +15671,7 @@ declare function init(config: AuthHeroConfig): {
15593
15671
  type: "auth0_managed_certs" | "self_managed_certs";
15594
15672
  custom_domain_id: string;
15595
15673
  primary: boolean;
15596
- status: "disabled" | "pending" | "ready" | "pending_verification";
15674
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15597
15675
  verification_method?: "txt" | undefined;
15598
15676
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15599
15677
  domain_metadata?: {
@@ -16023,7 +16101,7 @@ declare function init(config: AuthHeroConfig): {
16023
16101
  } & {
16024
16102
  json: {
16025
16103
  body?: string | undefined;
16026
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
16104
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
16027
16105
  branding?: {
16028
16106
  colors?: {
16029
16107
  primary: string;
@@ -16314,7 +16392,7 @@ declare function init(config: AuthHeroConfig): {
16314
16392
  logs: {
16315
16393
  action_name: string;
16316
16394
  lines: {
16317
- level: "error" | "log" | "debug" | "info" | "warn";
16395
+ level: "log" | "error" | "info" | "warn" | "debug";
16318
16396
  message: string;
16319
16397
  }[];
16320
16398
  }[];
@@ -16981,7 +17059,7 @@ declare function init(config: AuthHeroConfig): {
16981
17059
  args: hono_utils_types.JSONValue[];
16982
17060
  }[];
16983
17061
  logs: {
16984
- level: "error" | "log" | "debug" | "info" | "warn";
17062
+ level: "log" | "error" | "info" | "warn" | "debug";
16985
17063
  message: string;
16986
17064
  }[];
16987
17065
  error?: string | undefined;
@@ -17292,7 +17370,7 @@ declare function init(config: AuthHeroConfig): {
17292
17370
  scope?: string | undefined;
17293
17371
  grant_types?: string[] | undefined;
17294
17372
  response_types?: string[] | undefined;
17295
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
17373
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
17296
17374
  jwks_uri?: string | undefined;
17297
17375
  jwks?: Record<string, unknown> | undefined;
17298
17376
  software_id?: string | undefined;
@@ -17381,7 +17459,7 @@ declare function init(config: AuthHeroConfig): {
17381
17459
  scope?: string | undefined;
17382
17460
  grant_types?: string[] | undefined;
17383
17461
  response_types?: string[] | undefined;
17384
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
17462
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
17385
17463
  jwks_uri?: string | undefined;
17386
17464
  jwks?: Record<string, unknown> | undefined;
17387
17465
  software_id?: string | undefined;
@@ -17728,15 +17806,15 @@ declare function init(config: AuthHeroConfig): {
17728
17806
  send: "code" | "link";
17729
17807
  authParams: {
17730
17808
  username?: string | undefined;
17731
- audience?: string | undefined;
17732
- scope?: string | undefined;
17733
17809
  state?: string | undefined;
17810
+ audience?: string | undefined;
17734
17811
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17735
17812
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17736
- act_as?: string | undefined;
17737
- redirect_uri?: string | undefined;
17813
+ scope?: string | undefined;
17738
17814
  organization?: string | undefined;
17739
17815
  nonce?: string | undefined;
17816
+ redirect_uri?: string | undefined;
17817
+ act_as?: string | undefined;
17740
17818
  prompt?: string | undefined;
17741
17819
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17742
17820
  code_challenge?: string | undefined;
@@ -17764,15 +17842,15 @@ declare function init(config: AuthHeroConfig): {
17764
17842
  send: "code" | "link";
17765
17843
  authParams: {
17766
17844
  username?: string | undefined;
17767
- audience?: string | undefined;
17768
- scope?: string | undefined;
17769
17845
  state?: string | undefined;
17846
+ audience?: string | undefined;
17770
17847
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17771
17848
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17772
- act_as?: string | undefined;
17773
- redirect_uri?: string | undefined;
17849
+ scope?: string | undefined;
17774
17850
  organization?: string | undefined;
17775
17851
  nonce?: string | undefined;
17852
+ redirect_uri?: string | undefined;
17853
+ act_as?: string | undefined;
17776
17854
  prompt?: string | undefined;
17777
17855
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17778
17856
  code_challenge?: string | undefined;
@@ -17907,14 +17985,14 @@ declare function init(config: AuthHeroConfig): {
17907
17985
  input: {
17908
17986
  form: {
17909
17987
  token: string;
17910
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17988
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17911
17989
  client_id?: string | undefined;
17912
17990
  client_secret?: string | undefined;
17913
17991
  };
17914
17992
  } & {
17915
17993
  json: {
17916
17994
  token: string;
17917
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17995
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17918
17996
  client_id?: string | undefined;
17919
17997
  client_secret?: string | undefined;
17920
17998
  };
@@ -17926,14 +18004,14 @@ declare function init(config: AuthHeroConfig): {
17926
18004
  input: {
17927
18005
  form: {
17928
18006
  token: string;
17929
- token_type_hint?: "access_token" | "refresh_token" | undefined;
18007
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17930
18008
  client_id?: string | undefined;
17931
18009
  client_secret?: string | undefined;
17932
18010
  };
17933
18011
  } & {
17934
18012
  json: {
17935
18013
  token: string;
17936
- token_type_hint?: "access_token" | "refresh_token" | undefined;
18014
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17937
18015
  client_id?: string | undefined;
17938
18016
  client_secret?: string | undefined;
17939
18017
  };
@@ -17948,14 +18026,14 @@ declare function init(config: AuthHeroConfig): {
17948
18026
  input: {
17949
18027
  form: {
17950
18028
  token: string;
17951
- token_type_hint?: "access_token" | "refresh_token" | undefined;
18029
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17952
18030
  client_id?: string | undefined;
17953
18031
  client_secret?: string | undefined;
17954
18032
  };
17955
18033
  } & {
17956
18034
  json: {
17957
18035
  token: string;
17958
- token_type_hint?: "access_token" | "refresh_token" | undefined;
18036
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17959
18037
  client_id?: string | undefined;
17960
18038
  client_secret?: string | undefined;
17961
18039
  };
@@ -18005,7 +18083,7 @@ declare function init(config: AuthHeroConfig): {
18005
18083
  client_id: string;
18006
18084
  username: string;
18007
18085
  otp: string;
18008
- realm: "email" | "sms";
18086
+ realm: "sms" | "email";
18009
18087
  } | {
18010
18088
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18011
18089
  subject_token: string;
@@ -18052,7 +18130,7 @@ declare function init(config: AuthHeroConfig): {
18052
18130
  client_id: string;
18053
18131
  username: string;
18054
18132
  otp: string;
18055
- realm: "email" | "sms";
18133
+ realm: "sms" | "email";
18056
18134
  } | {
18057
18135
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18058
18136
  subject_token: string;
@@ -18104,7 +18182,7 @@ declare function init(config: AuthHeroConfig): {
18104
18182
  client_id: string;
18105
18183
  username: string;
18106
18184
  otp: string;
18107
- realm: "email" | "sms";
18185
+ realm: "sms" | "email";
18108
18186
  } | {
18109
18187
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18110
18188
  subject_token: string;
@@ -18151,7 +18229,7 @@ declare function init(config: AuthHeroConfig): {
18151
18229
  client_id: string;
18152
18230
  username: string;
18153
18231
  otp: string;
18154
- realm: "email" | "sms";
18232
+ realm: "sms" | "email";
18155
18233
  } | {
18156
18234
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18157
18235
  subject_token: string;
@@ -18211,7 +18289,7 @@ declare function init(config: AuthHeroConfig): {
18211
18289
  client_id: string;
18212
18290
  username: string;
18213
18291
  otp: string;
18214
- realm: "email" | "sms";
18292
+ realm: "sms" | "email";
18215
18293
  } | {
18216
18294
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18217
18295
  subject_token: string;
@@ -18258,7 +18336,7 @@ declare function init(config: AuthHeroConfig): {
18258
18336
  client_id: string;
18259
18337
  username: string;
18260
18338
  otp: string;
18261
- realm: "email" | "sms";
18339
+ realm: "sms" | "email";
18262
18340
  } | {
18263
18341
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18264
18342
  subject_token: string;
@@ -18313,7 +18391,7 @@ declare function init(config: AuthHeroConfig): {
18313
18391
  client_id: string;
18314
18392
  username: string;
18315
18393
  otp: string;
18316
- realm: "email" | "sms";
18394
+ realm: "sms" | "email";
18317
18395
  } | {
18318
18396
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18319
18397
  subject_token: string;
@@ -18360,7 +18438,7 @@ declare function init(config: AuthHeroConfig): {
18360
18438
  client_id: string;
18361
18439
  username: string;
18362
18440
  otp: string;
18363
- realm: "email" | "sms";
18441
+ realm: "sms" | "email";
18364
18442
  } | {
18365
18443
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18366
18444
  subject_token: string;
@@ -18415,7 +18493,7 @@ declare function init(config: AuthHeroConfig): {
18415
18493
  client_id: string;
18416
18494
  username: string;
18417
18495
  otp: string;
18418
- realm: "email" | "sms";
18496
+ realm: "sms" | "email";
18419
18497
  } | {
18420
18498
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18421
18499
  subject_token: string;
@@ -18462,7 +18540,7 @@ declare function init(config: AuthHeroConfig): {
18462
18540
  client_id: string;
18463
18541
  username: string;
18464
18542
  otp: string;
18465
- realm: "email" | "sms";
18543
+ realm: "sms" | "email";
18466
18544
  } | {
18467
18545
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18468
18546
  subject_token: string;
@@ -19303,7 +19381,7 @@ declare function init(config: AuthHeroConfig): {
19303
19381
  } & {
19304
19382
  form: {
19305
19383
  username: string;
19306
- login_selection?: "password" | "code" | undefined;
19384
+ login_selection?: "code" | "password" | undefined;
19307
19385
  };
19308
19386
  };
19309
19387
  output: {};
@@ -19317,7 +19395,7 @@ declare function init(config: AuthHeroConfig): {
19317
19395
  } & {
19318
19396
  form: {
19319
19397
  username: string;
19320
- login_selection?: "password" | "code" | undefined;
19398
+ login_selection?: "code" | "password" | undefined;
19321
19399
  };
19322
19400
  };
19323
19401
  output: {};
@@ -19682,7 +19760,7 @@ declare function init(config: AuthHeroConfig): {
19682
19760
  $get: {
19683
19761
  input: {
19684
19762
  param: {
19685
- screen: "signup" | "login" | "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";
19763
+ screen: "signup" | "consent" | "login" | "reset-password" | "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";
19686
19764
  };
19687
19765
  } & {
19688
19766
  query: {
@@ -19698,7 +19776,7 @@ declare function init(config: AuthHeroConfig): {
19698
19776
  } | {
19699
19777
  input: {
19700
19778
  param: {
19701
- screen: "signup" | "login" | "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";
19779
+ screen: "signup" | "consent" | "login" | "reset-password" | "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";
19702
19780
  };
19703
19781
  } & {
19704
19782
  query: {
@@ -19714,7 +19792,7 @@ declare function init(config: AuthHeroConfig): {
19714
19792
  } | {
19715
19793
  input: {
19716
19794
  param: {
19717
- screen: "signup" | "login" | "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";
19795
+ screen: "signup" | "consent" | "login" | "reset-password" | "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";
19718
19796
  };
19719
19797
  } & {
19720
19798
  query: {
@@ -19734,7 +19812,7 @@ declare function init(config: AuthHeroConfig): {
19734
19812
  $post: {
19735
19813
  input: {
19736
19814
  param: {
19737
- screen: "signup" | "login" | "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";
19815
+ screen: "signup" | "consent" | "login" | "reset-password" | "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";
19738
19816
  };
19739
19817
  } & {
19740
19818
  query: {
@@ -19752,7 +19830,7 @@ declare function init(config: AuthHeroConfig): {
19752
19830
  } | {
19753
19831
  input: {
19754
19832
  param: {
19755
- screen: "signup" | "login" | "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";
19833
+ screen: "signup" | "consent" | "login" | "reset-password" | "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";
19756
19834
  };
19757
19835
  } & {
19758
19836
  query: {
@@ -19850,5 +19928,5 @@ declare function init(config: AuthHeroConfig): {
19850
19928
  createX509Certificate: typeof createX509Certificate;
19851
19929
  };
19852
19930
 
19853
- 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, isInteractiveClient, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wrapProxyAdaptersWithKvPublish };
19931
+ export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, 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, isInteractiveClient, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wrapProxyAdaptersWithKvPublish };
19854
19932
  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, ManagementApiScope, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantOperationExecutorBinding, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WrappedProxyAdapters };