authhero 5.18.0 → 5.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +136 -129
  3. package/dist/authhero.d.ts +309 -104
  4. package/dist/authhero.mjs +10431 -9866
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  8. package/dist/types/helpers/consent.d.ts +31 -0
  9. package/dist/types/helpers/control-plane-sync-events.d.ts +67 -0
  10. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  11. package/dist/types/helpers/default-destinations.d.ts +11 -0
  12. package/dist/types/helpers/outbox-destinations/control-plane-sync.d.ts +35 -0
  13. package/dist/types/helpers/outbox-destinations/logs.d.ts +2 -0
  14. package/dist/types/index.d.ts +178 -101
  15. package/dist/types/routes/auth-api/index.d.ts +24 -24
  16. package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
  17. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  18. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  19. package/dist/types/routes/auth-api/token.d.ts +10 -10
  20. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  21. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  22. package/dist/types/routes/management-api/branding.d.ts +9 -9
  23. package/dist/types/routes/management-api/clients.d.ts +9 -9
  24. package/dist/types/routes/management-api/connections.d.ts +5 -5
  25. package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
  26. package/dist/types/routes/management-api/email-templates.d.ts +15 -15
  27. package/dist/types/routes/management-api/grants.d.ts +80 -0
  28. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  29. package/dist/types/routes/management-api/index.d.ts +143 -69
  30. package/dist/types/routes/management-api/logs.d.ts +3 -3
  31. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  32. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  33. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  34. package/dist/types/routes/management-api/proxy-routes.d.ts +1 -0
  35. package/dist/types/routes/management-api/themes.d.ts +6 -6
  36. package/dist/types/routes/management-api/users.d.ts +2 -2
  37. package/dist/types/routes/proxy-control-plane/index.d.ts +34 -1
  38. package/dist/types/routes/universal-login/common.d.ts +10 -10
  39. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  40. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  41. package/dist/types/routes/universal-login/index.d.ts +2 -2
  42. package/dist/types/routes/universal-login/screens/consent.d.ts +9 -0
  43. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  45. package/dist/types/state-machines/login-session.d.ts +12 -1
  46. package/dist/types/types/AuthHeroConfig.d.ts +26 -0
  47. package/dist/types/types/IdToken.d.ts +1 -1
  48. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  import * as hono_utils_http_status from 'hono/utils/http-status';
2
2
  import * as hono_utils_types from 'hono/utils/types';
3
3
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
4
- import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, LogsDataAdapter, LogInsert, UserDataAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
4
+ import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, CustomDomain, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, LogsDataAdapter, LogInsert, UserDataAdapter, CustomDomainsAdapter, ProxyRoutesAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
5
5
  export * from '@authhero/adapter-interfaces';
6
6
  import * as hono_types from 'hono/types';
7
7
  import { z, OpenAPIHono } from '@hono/zod-openapi';
@@ -778,6 +778,49 @@ type Hooks = {
778
778
  onFetchUserInfo?: OnFetchUserInfo;
779
779
  };
780
780
 
781
+ declare const CONTROL_PLANE_SYNC_EVENT_PREFIX = "controlplane.sync.";
782
+ type SyncEntity = "custom_domain" | "proxy_route";
783
+ type SyncOp = "created" | "updated" | "deleted";
784
+ /**
785
+ * Wire shape posted from the tenant shard to the control plane. The destination
786
+ * serializes one event per HTTP request; the receiver accepts a batch
787
+ * (`{ events: [...] }`) for forward compatibility with a future
788
+ * batched-delivery destination.
789
+ */
790
+ type SyncEvent = {
791
+ event_id: string;
792
+ tenant_id: string;
793
+ entity: "custom_domain";
794
+ op: "created" | "updated";
795
+ aggregate_id: string;
796
+ payload: CustomDomain;
797
+ occurred_at: string;
798
+ } | {
799
+ event_id: string;
800
+ tenant_id: string;
801
+ entity: "custom_domain";
802
+ op: "deleted";
803
+ aggregate_id: string;
804
+ payload: CustomDomain;
805
+ occurred_at: string;
806
+ } | {
807
+ event_id: string;
808
+ tenant_id: string;
809
+ entity: "proxy_route";
810
+ op: "created" | "updated";
811
+ aggregate_id: string;
812
+ payload: ProxyRoute;
813
+ occurred_at: string;
814
+ } | {
815
+ event_id: string;
816
+ tenant_id: string;
817
+ entity: "proxy_route";
818
+ op: "deleted";
819
+ aggregate_id: string;
820
+ payload: ProxyRoute;
821
+ occurred_at: string;
822
+ };
823
+
781
824
  /**
782
825
  * Management API audience for cross-tenant operations.
783
826
  * Used when managing tenants from the main tenant with org-scoped tokens.
@@ -1104,6 +1147,32 @@ interface AuthHeroConfig {
1104
1147
  proxyControlPlane?: {
1105
1148
  resolveHost: (host: string) => Promise<_authhero_proxy.ResolvedHost | null>;
1106
1149
  authenticate: (request: Request) => Promise<boolean> | boolean;
1150
+ /**
1151
+ * Optional receiver for `POST /sync` events emitted by tenant shards via
1152
+ * the `ControlPlaneSyncDestination`. Mount on the control-plane authhero
1153
+ * instance only. Implementations MUST be idempotent — the outbox retries
1154
+ * on transient failures. Use `createApplySyncEvents({ customDomains,
1155
+ * proxyRoutes })` (exported from `authhero`) for the default
1156
+ * adapter-backed implementation.
1157
+ */
1158
+ applySyncEvents?: (events: SyncEvent[]) => Promise<void>;
1159
+ };
1160
+ /**
1161
+ * Optional outbox-driven replication of `custom_domains` and `proxy_routes`
1162
+ * mutations to a global proxy control plane. When set, every successful
1163
+ * write on this tenant shard enqueues a `controlplane.sync.*` outbox event;
1164
+ * the `ControlPlaneSyncDestination` POSTs each event to
1165
+ * `${baseUrl}/api/v2/proxy/control-plane/sync`. Requires the outbox to be
1166
+ * enabled (`outbox: { enabled: true }`).
1167
+ *
1168
+ * Leave unset for single-DB deployments — the proxy reads the same database
1169
+ * the management API writes to, so replication is unnecessary.
1170
+ */
1171
+ controlPlaneSync?: {
1172
+ /** Base URL of the control-plane authhero instance. */
1173
+ baseUrl: string;
1174
+ /** Per-request timeout for the sync POST (default: 10_000ms). */
1175
+ timeoutMs?: number;
1107
1176
  };
1108
1177
  /**
1109
1178
  * Optional powered-by logo to display at the bottom left of the login widget.
@@ -1929,6 +1998,17 @@ interface CreateDefaultDestinationsConfig {
1929
1998
  getServiceToken?: GetServiceToken;
1930
1999
  /** Webhook HTTP request timeout in ms (default: 10_000). */
1931
2000
  webhookTimeoutMs?: number;
2001
+ /**
2002
+ * When set, drains `controlplane.sync.*` events to the control-plane
2003
+ * authhero instance at the given base URL. Mirrors the per-request
2004
+ * `ControlPlaneSyncDestination` wired in the management API, so cron-drain
2005
+ * deliveries don't lose events that missed per-request processing.
2006
+ * Requires `getServiceToken`.
2007
+ */
2008
+ controlPlaneSync?: {
2009
+ baseUrl: string;
2010
+ timeoutMs?: number;
2011
+ };
1932
2012
  /**
1933
2013
  * Custom webhook invoker — same shape as the `webhookInvoker` option on
1934
2014
  * `init()`. When provided, `hook.*` events are dispatched by calling this
@@ -2029,6 +2109,8 @@ declare class LogsDestination implements EventDestination {
2029
2109
  /**
2030
2110
  * Only accept log-shaped events. `hook.*` events are dispatch tasks for
2031
2111
  * webhook / code-hook destinations and are not audit log entries.
2112
+ * `controlplane.sync.*` events are replication tasks for the
2113
+ * ControlPlaneSyncDestination and likewise shouldn't appear in audit logs.
2032
2114
  */
2033
2115
  accepts(event: AuditEvent): boolean;
2034
2116
  transform(event: AuditEvent): {
@@ -2068,6 +2150,55 @@ declare class RegistrationFinalizerDestination implements EventDestination {
2068
2150
  deliver(tasks: FinalizationTask[]): Promise<void>;
2069
2151
  }
2070
2152
 
2153
+ interface ControlPlaneSyncDestinationOptions {
2154
+ /** Base URL of the control-plane authhero instance, e.g. `https://controlplane.example.com`. */
2155
+ baseUrl: string;
2156
+ /** Mints a bearer token to authenticate the sync POST. */
2157
+ getServiceToken: GetServiceToken;
2158
+ /** Per-request timeout (default: 10s). */
2159
+ timeoutMs?: number;
2160
+ /** Override for tests. */
2161
+ fetchImpl?: typeof fetch;
2162
+ }
2163
+ /**
2164
+ * Delivers `controlplane.sync.*` outbox events to the global control-plane
2165
+ * `POST /api/v2/proxy/control-plane/sync` endpoint. Each POST carries one event
2166
+ * with `Idempotency-Key: {event.id}` so the receiver can dedupe retries.
2167
+ *
2168
+ * The receiver MUST be idempotent: the outbox retries on network failure even
2169
+ * after a successful write, so a `created` may arrive twice and a stale
2170
+ * `updated` may arrive after a newer `deleted`. The default receiver in
2171
+ * `proxy-control-plane/index.ts` handles both cases.
2172
+ */
2173
+ declare class ControlPlaneSyncDestination implements EventDestination {
2174
+ name: string;
2175
+ private baseUrl;
2176
+ private getServiceToken;
2177
+ private timeoutMs;
2178
+ private fetchImpl;
2179
+ constructor(options: ControlPlaneSyncDestinationOptions);
2180
+ accepts(event: AuditEvent): boolean;
2181
+ transform(event: AuditEvent): SyncEvent;
2182
+ deliver(events: SyncEvent[]): Promise<void>;
2183
+ }
2184
+
2185
+ interface CreateApplySyncEventsOptions {
2186
+ customDomains: CustomDomainsAdapter;
2187
+ proxyRoutes?: ProxyRoutesAdapter;
2188
+ }
2189
+ /**
2190
+ * Build an idempotent `applySyncEvents` implementation backed by a local
2191
+ * `CustomDomainsAdapter` / `ProxyRoutesAdapter`. Handles the three retry
2192
+ * shapes the outbox can produce:
2193
+ *
2194
+ * - duplicate `created` (retry after the previous succeeded but
2195
+ * `markProcessed` failed) — falls back to `update`.
2196
+ * - `updated` for a row that doesn't exist locally yet (a `created`
2197
+ * delivery is still in flight or lost) — falls back to `create`.
2198
+ * - `deleted` for a row that's already gone — no-op success.
2199
+ */
2200
+ declare function createApplySyncEvents(options: CreateApplySyncEventsOptions): (events: SyncEvent[]) => Promise<void>;
2201
+
2071
2202
  /**
2072
2203
  * Options for the entity hooks wrapper
2073
2204
  */
@@ -2524,7 +2655,7 @@ declare function init(config: AuthHeroConfig): {
2524
2655
  };
2525
2656
  } & {
2526
2657
  json: {
2527
- type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
2658
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2528
2659
  phone_number?: string | undefined;
2529
2660
  totp_secret?: string | undefined;
2530
2661
  credential_id?: string | undefined;
@@ -2664,7 +2795,7 @@ declare function init(config: AuthHeroConfig): {
2664
2795
  };
2665
2796
  };
2666
2797
  output: {
2667
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2798
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2668
2799
  enabled: boolean;
2669
2800
  trial_expired?: boolean | undefined;
2670
2801
  }[];
@@ -2819,7 +2950,7 @@ declare function init(config: AuthHeroConfig): {
2819
2950
  $get: {
2820
2951
  input: {
2821
2952
  param: {
2822
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2953
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2823
2954
  };
2824
2955
  } & {
2825
2956
  header: {
@@ -2827,7 +2958,7 @@ declare function init(config: AuthHeroConfig): {
2827
2958
  };
2828
2959
  };
2829
2960
  output: {
2830
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2961
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2831
2962
  enabled: boolean;
2832
2963
  trial_expired?: boolean | undefined;
2833
2964
  };
@@ -2840,7 +2971,7 @@ declare function init(config: AuthHeroConfig): {
2840
2971
  $put: {
2841
2972
  input: {
2842
2973
  param: {
2843
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2974
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2844
2975
  };
2845
2976
  } & {
2846
2977
  header: {
@@ -2852,7 +2983,7 @@ declare function init(config: AuthHeroConfig): {
2852
2983
  };
2853
2984
  };
2854
2985
  output: {
2855
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
2986
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2856
2987
  enabled: boolean;
2857
2988
  trial_expired?: boolean | undefined;
2858
2989
  };
@@ -3785,8 +3916,8 @@ declare function init(config: AuthHeroConfig): {
3785
3916
  };
3786
3917
  } & {
3787
3918
  json: {
3788
- assign_membership_on_login?: boolean | undefined;
3789
3919
  show_as_button?: boolean | undefined;
3920
+ assign_membership_on_login?: boolean | undefined;
3790
3921
  is_signup_enabled?: boolean | undefined;
3791
3922
  };
3792
3923
  };
@@ -9088,7 +9219,7 @@ declare function init(config: AuthHeroConfig): {
9088
9219
  };
9089
9220
  };
9090
9221
  output: {
9091
- prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9222
+ 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";
9092
9223
  language: string;
9093
9224
  }[];
9094
9225
  outputFormat: "json";
@@ -9126,7 +9257,7 @@ declare function init(config: AuthHeroConfig): {
9126
9257
  $get: {
9127
9258
  input: {
9128
9259
  param: {
9129
- prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9260
+ 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";
9130
9261
  language: string;
9131
9262
  };
9132
9263
  } & {
@@ -9148,7 +9279,7 @@ declare function init(config: AuthHeroConfig): {
9148
9279
  $put: {
9149
9280
  input: {
9150
9281
  param: {
9151
- prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9282
+ 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";
9152
9283
  language: string;
9153
9284
  };
9154
9285
  } & {
@@ -9172,7 +9303,7 @@ declare function init(config: AuthHeroConfig): {
9172
9303
  $delete: {
9173
9304
  input: {
9174
9305
  param: {
9175
- prompt: "common" | "status" | "organizations" | "signup" | "mfa" | "invitation" | "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" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9306
+ 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";
9176
9307
  language: string;
9177
9308
  };
9178
9309
  } & {
@@ -9311,7 +9442,7 @@ declare function init(config: AuthHeroConfig): {
9311
9442
  } | undefined;
9312
9443
  } | undefined;
9313
9444
  passkey_options?: {
9314
- challenge_ui?: "button" | "both" | "autofill" | undefined;
9445
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
9315
9446
  local_enrollment_enabled?: boolean | undefined;
9316
9447
  progressive_enrollment_enabled?: boolean | undefined;
9317
9448
  } | undefined;
@@ -9445,7 +9576,7 @@ declare function init(config: AuthHeroConfig): {
9445
9576
  } | undefined;
9446
9577
  } | undefined;
9447
9578
  passkey_options?: {
9448
- challenge_ui?: "button" | "both" | "autofill" | undefined;
9579
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
9449
9580
  local_enrollment_enabled?: boolean | undefined;
9450
9581
  progressive_enrollment_enabled?: boolean | undefined;
9451
9582
  } | undefined;
@@ -9594,7 +9725,7 @@ declare function init(config: AuthHeroConfig): {
9594
9725
  } | undefined;
9595
9726
  } | undefined;
9596
9727
  passkey_options?: {
9597
- challenge_ui?: "button" | "both" | "autofill" | undefined;
9728
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
9598
9729
  local_enrollment_enabled?: boolean | undefined;
9599
9730
  progressive_enrollment_enabled?: boolean | undefined;
9600
9731
  } | undefined;
@@ -9773,7 +9904,7 @@ declare function init(config: AuthHeroConfig): {
9773
9904
  } | undefined;
9774
9905
  } | undefined;
9775
9906
  passkey_options?: {
9776
- challenge_ui?: "button" | "both" | "autofill" | undefined;
9907
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
9777
9908
  local_enrollment_enabled?: boolean | undefined;
9778
9909
  progressive_enrollment_enabled?: boolean | undefined;
9779
9910
  } | undefined;
@@ -9931,7 +10062,7 @@ declare function init(config: AuthHeroConfig): {
9931
10062
  } | undefined;
9932
10063
  } | undefined;
9933
10064
  passkey_options?: {
9934
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10065
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
9935
10066
  local_enrollment_enabled?: boolean | undefined;
9936
10067
  progressive_enrollment_enabled?: boolean | undefined;
9937
10068
  } | undefined;
@@ -10921,7 +11052,7 @@ declare function init(config: AuthHeroConfig): {
10921
11052
  created_at: string;
10922
11053
  updated_at: string;
10923
11054
  name: string;
10924
- provider: "auth0" | "cognito" | "okta" | "oidc";
11055
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10925
11056
  connection: string;
10926
11057
  enabled: boolean;
10927
11058
  credentials: {
@@ -10953,7 +11084,7 @@ declare function init(config: AuthHeroConfig): {
10953
11084
  created_at: string;
10954
11085
  updated_at: string;
10955
11086
  name: string;
10956
- provider: "auth0" | "cognito" | "okta" | "oidc";
11087
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10957
11088
  connection: string;
10958
11089
  enabled: boolean;
10959
11090
  credentials: {
@@ -10979,7 +11110,7 @@ declare function init(config: AuthHeroConfig): {
10979
11110
  } & {
10980
11111
  json: {
10981
11112
  name: string;
10982
- provider: "auth0" | "cognito" | "okta" | "oidc";
11113
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10983
11114
  connection: string;
10984
11115
  credentials: {
10985
11116
  domain: string;
@@ -10996,7 +11127,7 @@ declare function init(config: AuthHeroConfig): {
10996
11127
  created_at: string;
10997
11128
  updated_at: string;
10998
11129
  name: string;
10999
- provider: "auth0" | "cognito" | "okta" | "oidc";
11130
+ provider: "auth0" | "oidc" | "cognito" | "okta";
11000
11131
  connection: string;
11001
11132
  enabled: boolean;
11002
11133
  credentials: {
@@ -11027,7 +11158,7 @@ declare function init(config: AuthHeroConfig): {
11027
11158
  json: {
11028
11159
  id?: string | undefined;
11029
11160
  name?: string | undefined;
11030
- provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
11161
+ provider?: "auth0" | "oidc" | "cognito" | "okta" | undefined;
11031
11162
  connection?: string | undefined;
11032
11163
  enabled?: boolean | undefined;
11033
11164
  credentials?: {
@@ -11043,7 +11174,7 @@ declare function init(config: AuthHeroConfig): {
11043
11174
  created_at: string;
11044
11175
  updated_at: string;
11045
11176
  name: string;
11046
- provider: "auth0" | "cognito" | "okta" | "oidc";
11177
+ provider: "auth0" | "oidc" | "cognito" | "okta";
11047
11178
  connection: string;
11048
11179
  enabled: boolean;
11049
11180
  credentials: {
@@ -11261,7 +11392,7 @@ declare function init(config: AuthHeroConfig): {
11261
11392
  };
11262
11393
  };
11263
11394
  output: {
11264
- type: "i" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11395
+ 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" | "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" | "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";
11265
11396
  date: string;
11266
11397
  isMobile: boolean;
11267
11398
  log_id: string;
@@ -11300,7 +11431,7 @@ declare function init(config: AuthHeroConfig): {
11300
11431
  limit: number;
11301
11432
  length: number;
11302
11433
  logs: {
11303
- type: "i" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11434
+ 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" | "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" | "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";
11304
11435
  date: string;
11305
11436
  isMobile: boolean;
11306
11437
  log_id: string;
@@ -11354,7 +11485,7 @@ declare function init(config: AuthHeroConfig): {
11354
11485
  };
11355
11486
  };
11356
11487
  output: {
11357
- type: "i" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11488
+ 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" | "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" | "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";
11358
11489
  date: string;
11359
11490
  isMobile: boolean;
11360
11491
  log_id: string;
@@ -11423,6 +11554,80 @@ declare function init(config: AuthHeroConfig): {
11423
11554
  };
11424
11555
  };
11425
11556
  }, "/client-registration-tokens"> & hono_types.MergeSchemaPath<{
11557
+ "/": {
11558
+ $get: {
11559
+ input: {
11560
+ query: {
11561
+ per_page?: string | undefined;
11562
+ page?: string | undefined;
11563
+ include_totals?: string | undefined;
11564
+ user_id?: string | undefined;
11565
+ client_id?: string | undefined;
11566
+ audience?: string | undefined;
11567
+ };
11568
+ } & {
11569
+ header: {
11570
+ "tenant-id"?: string | undefined;
11571
+ };
11572
+ };
11573
+ output: {
11574
+ user_id: string;
11575
+ clientID: string;
11576
+ scope: string[];
11577
+ id: string;
11578
+ audience?: string | undefined;
11579
+ }[] | {
11580
+ start: number;
11581
+ limit: number;
11582
+ length: number;
11583
+ grants: {
11584
+ user_id: string;
11585
+ clientID: string;
11586
+ scope: string[];
11587
+ id: string;
11588
+ audience?: string | undefined;
11589
+ }[];
11590
+ total?: number | undefined;
11591
+ };
11592
+ outputFormat: "json";
11593
+ status: 200;
11594
+ };
11595
+ };
11596
+ } & {
11597
+ "/:id": {
11598
+ $delete: {
11599
+ input: {
11600
+ param: {
11601
+ id: string;
11602
+ };
11603
+ } & {
11604
+ header: {
11605
+ "tenant-id"?: string | undefined;
11606
+ };
11607
+ };
11608
+ output: {};
11609
+ outputFormat: string;
11610
+ status: 204;
11611
+ };
11612
+ };
11613
+ } & {
11614
+ "/": {
11615
+ $delete: {
11616
+ input: {
11617
+ query: {
11618
+ user_id: string;
11619
+ };
11620
+ } & {
11621
+ header: {
11622
+ "tenant-id"?: string | undefined;
11623
+ };
11624
+ };
11625
+ output: {};
11626
+ outputFormat: string;
11627
+ status: 204;
11628
+ };
11629
+ };
11630
+ }, "/grants"> & hono_types.MergeSchemaPath<{
11426
11631
  "/": {
11427
11632
  $get: {
11428
11633
  input: {
@@ -11668,7 +11873,7 @@ declare function init(config: AuthHeroConfig): {
11668
11873
  addons?: {
11669
11874
  [x: string]: any;
11670
11875
  } | undefined;
11671
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11876
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
11672
11877
  client_metadata?: {
11673
11878
  [x: string]: string;
11674
11879
  } | undefined;
@@ -11764,7 +11969,7 @@ declare function init(config: AuthHeroConfig): {
11764
11969
  addons?: {
11765
11970
  [x: string]: any;
11766
11971
  } | undefined;
11767
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
11972
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
11768
11973
  client_metadata?: {
11769
11974
  [x: string]: string;
11770
11975
  } | undefined;
@@ -11875,7 +12080,7 @@ declare function init(config: AuthHeroConfig): {
11875
12080
  addons?: {
11876
12081
  [x: string]: any;
11877
12082
  } | undefined;
11878
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12083
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
11879
12084
  client_metadata?: {
11880
12085
  [x: string]: string;
11881
12086
  } | undefined;
@@ -11985,7 +12190,7 @@ declare function init(config: AuthHeroConfig): {
11985
12190
  custom_login_page_preview?: string | undefined;
11986
12191
  form_template?: string | undefined;
11987
12192
  addons?: Record<string, any> | undefined;
11988
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12193
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
11989
12194
  client_metadata?: Record<string, string> | undefined;
11990
12195
  hide_sign_up_disabled_error?: boolean | undefined;
11991
12196
  mobile?: Record<string, any> | undefined;
@@ -12065,7 +12270,7 @@ declare function init(config: AuthHeroConfig): {
12065
12270
  addons?: {
12066
12271
  [x: string]: any;
12067
12272
  } | undefined;
12068
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12273
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12069
12274
  client_metadata?: {
12070
12275
  [x: string]: string;
12071
12276
  } | undefined;
@@ -12154,7 +12359,7 @@ declare function init(config: AuthHeroConfig): {
12154
12359
  custom_login_page_preview?: string | undefined;
12155
12360
  form_template?: string | undefined;
12156
12361
  addons?: Record<string, any> | undefined;
12157
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12362
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12158
12363
  client_metadata?: Record<string, string> | undefined;
12159
12364
  hide_sign_up_disabled_error?: boolean | undefined;
12160
12365
  mobile?: Record<string, any> | undefined;
@@ -12234,7 +12439,7 @@ declare function init(config: AuthHeroConfig): {
12234
12439
  addons?: {
12235
12440
  [x: string]: any;
12236
12441
  } | undefined;
12237
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12442
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12238
12443
  client_metadata?: {
12239
12444
  [x: string]: string;
12240
12445
  } | undefined;
@@ -12403,7 +12608,7 @@ declare function init(config: AuthHeroConfig): {
12403
12608
  } | undefined;
12404
12609
  } | undefined;
12405
12610
  passkey_options?: {
12406
- challenge_ui?: "button" | "both" | "autofill" | undefined;
12611
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12407
12612
  local_enrollment_enabled?: boolean | undefined;
12408
12613
  progressive_enrollment_enabled?: boolean | undefined;
12409
12614
  } | undefined;
@@ -12557,7 +12762,7 @@ declare function init(config: AuthHeroConfig): {
12557
12762
  } | undefined;
12558
12763
  } | undefined;
12559
12764
  passkey_options?: {
12560
- challenge_ui?: "button" | "both" | "autofill" | undefined;
12765
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12561
12766
  local_enrollment_enabled?: boolean | undefined;
12562
12767
  progressive_enrollment_enabled?: boolean | undefined;
12563
12768
  } | undefined;
@@ -13498,7 +13703,7 @@ declare function init(config: AuthHeroConfig): {
13498
13703
  };
13499
13704
  };
13500
13705
  output: {
13501
- type: "i" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
13706
+ 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" | "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" | "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";
13502
13707
  date: string;
13503
13708
  isMobile: boolean;
13504
13709
  log_id: string;
@@ -13537,7 +13742,7 @@ declare function init(config: AuthHeroConfig): {
13537
13742
  limit: number;
13538
13743
  length: number;
13539
13744
  logs: {
13540
- type: "i" | "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" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
13745
+ 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" | "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" | "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";
13541
13746
  date: string;
13542
13747
  isMobile: boolean;
13543
13748
  log_id: string;
@@ -13852,7 +14057,7 @@ declare function init(config: AuthHeroConfig): {
13852
14057
  };
13853
14058
  } & {
13854
14059
  json: {
13855
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14060
+ 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";
13856
14061
  body: string;
13857
14062
  from: string;
13858
14063
  subject: string;
@@ -13873,7 +14078,7 @@ declare function init(config: AuthHeroConfig): {
13873
14078
  };
13874
14079
  } & {
13875
14080
  json: {
13876
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14081
+ 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";
13877
14082
  body: string;
13878
14083
  from: string;
13879
14084
  subject: string;
@@ -13885,7 +14090,7 @@ declare function init(config: AuthHeroConfig): {
13885
14090
  };
13886
14091
  };
13887
14092
  output: {
13888
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14093
+ 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";
13889
14094
  body: string;
13890
14095
  from: string;
13891
14096
  subject: string;
@@ -13908,7 +14113,7 @@ declare function init(config: AuthHeroConfig): {
13908
14113
  };
13909
14114
  };
13910
14115
  output: {
13911
- name: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14116
+ 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";
13912
14117
  body: string;
13913
14118
  subject: string;
13914
14119
  }[];
@@ -13921,7 +14126,7 @@ declare function init(config: AuthHeroConfig): {
13921
14126
  $get: {
13922
14127
  input: {
13923
14128
  param: {
13924
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14129
+ 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";
13925
14130
  };
13926
14131
  } & {
13927
14132
  header: {
@@ -13934,7 +14139,7 @@ declare function init(config: AuthHeroConfig): {
13934
14139
  } | {
13935
14140
  input: {
13936
14141
  param: {
13937
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14142
+ 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";
13938
14143
  };
13939
14144
  } & {
13940
14145
  header: {
@@ -13942,7 +14147,7 @@ declare function init(config: AuthHeroConfig): {
13942
14147
  };
13943
14148
  };
13944
14149
  output: {
13945
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14150
+ 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";
13946
14151
  body: string;
13947
14152
  from: string;
13948
14153
  subject: string;
@@ -13961,7 +14166,7 @@ declare function init(config: AuthHeroConfig): {
13961
14166
  $put: {
13962
14167
  input: {
13963
14168
  param: {
13964
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14169
+ 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";
13965
14170
  };
13966
14171
  } & {
13967
14172
  header: {
@@ -13969,7 +14174,7 @@ declare function init(config: AuthHeroConfig): {
13969
14174
  };
13970
14175
  } & {
13971
14176
  json: {
13972
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14177
+ 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";
13973
14178
  body: string;
13974
14179
  from: string;
13975
14180
  subject: string;
@@ -13981,7 +14186,7 @@ declare function init(config: AuthHeroConfig): {
13981
14186
  };
13982
14187
  };
13983
14188
  output: {
13984
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14189
+ 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";
13985
14190
  body: string;
13986
14191
  from: string;
13987
14192
  subject: string;
@@ -14000,7 +14205,7 @@ declare function init(config: AuthHeroConfig): {
14000
14205
  $patch: {
14001
14206
  input: {
14002
14207
  param: {
14003
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14208
+ 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";
14004
14209
  };
14005
14210
  } & {
14006
14211
  header: {
@@ -14008,7 +14213,7 @@ declare function init(config: AuthHeroConfig): {
14008
14213
  };
14009
14214
  } & {
14010
14215
  json: {
14011
- template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
14216
+ 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;
14012
14217
  body?: string | undefined;
14013
14218
  from?: string | undefined;
14014
14219
  subject?: string | undefined;
@@ -14025,7 +14230,7 @@ declare function init(config: AuthHeroConfig): {
14025
14230
  } | {
14026
14231
  input: {
14027
14232
  param: {
14028
- templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14233
+ 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";
14029
14234
  };
14030
14235
  } & {
14031
14236
  header: {
@@ -14033,7 +14238,7 @@ declare function init(config: AuthHeroConfig): {
14033
14238
  };
14034
14239
  } & {
14035
14240
  json: {
14036
- template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
14241
+ 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;
14037
14242
  body?: string | undefined;
14038
14243
  from?: string | undefined;
14039
14244
  subject?: string | undefined;
@@ -14045,7 +14250,7 @@ declare function init(config: AuthHeroConfig): {
14045
14250
  };
14046
14251
  };
14047
14252
  output: {
14048
- template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14253
+ 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";
14049
14254
  body: string;
14050
14255
  from: string;
14051
14256
  subject: string;
@@ -14322,7 +14527,7 @@ declare function init(config: AuthHeroConfig): {
14322
14527
  primary: boolean;
14323
14528
  status: "disabled" | "pending" | "pending_verification" | "ready";
14324
14529
  verification_method?: "txt" | undefined;
14325
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14530
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14326
14531
  domain_metadata?: {
14327
14532
  [x: string]: string;
14328
14533
  } | undefined;
@@ -14363,7 +14568,7 @@ declare function init(config: AuthHeroConfig): {
14363
14568
  primary: boolean;
14364
14569
  status: "disabled" | "pending" | "pending_verification" | "ready";
14365
14570
  verification_method?: "txt" | undefined;
14366
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14571
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14367
14572
  domain_metadata?: {
14368
14573
  [x: string]: string;
14369
14574
  } | undefined;
@@ -14418,7 +14623,7 @@ declare function init(config: AuthHeroConfig): {
14418
14623
  domain?: string | undefined;
14419
14624
  type?: "auth0_managed_certs" | "self_managed_certs" | undefined;
14420
14625
  verification_method?: "txt" | undefined;
14421
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14626
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14422
14627
  domain_metadata?: Record<string, string> | undefined;
14423
14628
  custom_domain_id?: string | undefined;
14424
14629
  primary?: boolean | undefined;
@@ -14445,7 +14650,7 @@ declare function init(config: AuthHeroConfig): {
14445
14650
  primary: boolean;
14446
14651
  status: "disabled" | "pending" | "pending_verification" | "ready";
14447
14652
  verification_method?: "txt" | undefined;
14448
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14653
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14449
14654
  domain_metadata?: {
14450
14655
  [x: string]: string;
14451
14656
  } | undefined;
@@ -14481,7 +14686,7 @@ declare function init(config: AuthHeroConfig): {
14481
14686
  custom_domain_id?: string | undefined;
14482
14687
  verification_method?: "txt" | undefined;
14483
14688
  tls_policy?: "recommended" | undefined;
14484
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14689
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14485
14690
  domain_metadata?: Record<string, string> | undefined;
14486
14691
  };
14487
14692
  };
@@ -14492,7 +14697,7 @@ declare function init(config: AuthHeroConfig): {
14492
14697
  primary: boolean;
14493
14698
  status: "disabled" | "pending" | "pending_verification" | "ready";
14494
14699
  verification_method?: "txt" | undefined;
14495
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14700
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14496
14701
  domain_metadata?: {
14497
14702
  [x: string]: string;
14498
14703
  } | undefined;
@@ -14538,7 +14743,7 @@ declare function init(config: AuthHeroConfig): {
14538
14743
  primary: boolean;
14539
14744
  status: "disabled" | "pending" | "pending_verification" | "ready";
14540
14745
  verification_method?: "txt" | undefined;
14541
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14746
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14542
14747
  domain_metadata?: {
14543
14748
  [x: string]: string;
14544
14749
  } | undefined;
@@ -14579,7 +14784,7 @@ declare function init(config: AuthHeroConfig): {
14579
14784
  primary: boolean;
14580
14785
  status: "disabled" | "pending" | "pending_verification" | "ready";
14581
14786
  verification_method?: "txt" | undefined;
14582
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
14787
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
14583
14788
  domain_metadata?: {
14584
14789
  [x: string]: string;
14585
14790
  } | undefined;
@@ -14625,7 +14830,7 @@ declare function init(config: AuthHeroConfig): {
14625
14830
  base_focus_color: string;
14626
14831
  base_hover_color: string;
14627
14832
  body_text: string;
14628
- captcha_widget_theme: "auto" | "light" | "dark";
14833
+ captcha_widget_theme: "dark" | "light" | "auto";
14629
14834
  error: string;
14630
14835
  header: string;
14631
14836
  icons: string;
@@ -14676,7 +14881,7 @@ declare function init(config: AuthHeroConfig): {
14676
14881
  background_color: string;
14677
14882
  background_image_url: string;
14678
14883
  page_layout: "center" | "left" | "right";
14679
- logo_placement?: "widget" | "chip" | "none" | undefined;
14884
+ logo_placement?: "none" | "widget" | "chip" | undefined;
14680
14885
  };
14681
14886
  widget: {
14682
14887
  header_text_alignment: "center" | "left" | "right";
@@ -14715,7 +14920,7 @@ declare function init(config: AuthHeroConfig): {
14715
14920
  base_focus_color: string;
14716
14921
  base_hover_color: string;
14717
14922
  body_text: string;
14718
- captcha_widget_theme: "auto" | "light" | "dark";
14923
+ captcha_widget_theme: "dark" | "light" | "auto";
14719
14924
  error: string;
14720
14925
  header: string;
14721
14926
  icons: string;
@@ -14766,7 +14971,7 @@ declare function init(config: AuthHeroConfig): {
14766
14971
  background_color: string;
14767
14972
  background_image_url: string;
14768
14973
  page_layout: "center" | "left" | "right";
14769
- logo_placement?: "widget" | "chip" | "none" | undefined;
14974
+ logo_placement?: "none" | "widget" | "chip" | undefined;
14770
14975
  };
14771
14976
  widget: {
14772
14977
  header_text_alignment: "center" | "left" | "right";
@@ -14794,7 +14999,7 @@ declare function init(config: AuthHeroConfig): {
14794
14999
  base_focus_color: string;
14795
15000
  base_hover_color: string;
14796
15001
  body_text: string;
14797
- captcha_widget_theme: "auto" | "light" | "dark";
15002
+ captcha_widget_theme: "dark" | "light" | "auto";
14798
15003
  error: string;
14799
15004
  header: string;
14800
15005
  icons: string;
@@ -14845,7 +15050,7 @@ declare function init(config: AuthHeroConfig): {
14845
15050
  background_color: string;
14846
15051
  background_image_url: string;
14847
15052
  page_layout: "center" | "left" | "right";
14848
- logo_placement?: "widget" | "chip" | "none" | undefined;
15053
+ logo_placement?: "none" | "widget" | "chip" | undefined;
14849
15054
  };
14850
15055
  widget: {
14851
15056
  header_text_alignment: "center" | "left" | "right";
@@ -14884,7 +15089,7 @@ declare function init(config: AuthHeroConfig): {
14884
15089
  font?: {
14885
15090
  url: string;
14886
15091
  } | undefined;
14887
- dark_mode?: "auto" | "light" | "dark" | undefined;
15092
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14888
15093
  };
14889
15094
  outputFormat: "json";
14890
15095
  status: 200;
@@ -14914,7 +15119,7 @@ declare function init(config: AuthHeroConfig): {
14914
15119
  font?: {
14915
15120
  url: string;
14916
15121
  } | undefined;
14917
- dark_mode?: "auto" | "light" | "dark" | undefined;
15122
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14918
15123
  };
14919
15124
  };
14920
15125
  output: {
@@ -14933,7 +15138,7 @@ declare function init(config: AuthHeroConfig): {
14933
15138
  font?: {
14934
15139
  url: string;
14935
15140
  } | undefined;
14936
- dark_mode?: "auto" | "light" | "dark" | undefined;
15141
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14937
15142
  };
14938
15143
  outputFormat: "json";
14939
15144
  status: 200;
@@ -15137,7 +15342,7 @@ declare function init(config: AuthHeroConfig): {
15137
15342
  output: {
15138
15343
  id: string;
15139
15344
  trigger_id: string;
15140
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
15345
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
15141
15346
  results: {
15142
15347
  action_name: string;
15143
15348
  error: {
@@ -16149,7 +16354,7 @@ declare function init(config: AuthHeroConfig): {
16149
16354
  scope?: string | undefined;
16150
16355
  grant_types?: string[] | undefined;
16151
16356
  response_types?: string[] | undefined;
16152
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
16357
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
16153
16358
  jwks_uri?: string | undefined;
16154
16359
  jwks?: Record<string, unknown> | undefined;
16155
16360
  software_id?: string | undefined;
@@ -16238,7 +16443,7 @@ declare function init(config: AuthHeroConfig): {
16238
16443
  scope?: string | undefined;
16239
16444
  grant_types?: string[] | undefined;
16240
16445
  response_types?: string[] | undefined;
16241
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
16446
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
16242
16447
  jwks_uri?: string | undefined;
16243
16448
  jwks?: Record<string, unknown> | undefined;
16244
16449
  software_id?: string | undefined;
@@ -16587,13 +16792,13 @@ declare function init(config: AuthHeroConfig): {
16587
16792
  username?: string | undefined;
16588
16793
  state?: string | undefined;
16589
16794
  audience?: string | undefined;
16590
- scope?: string | undefined;
16591
16795
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16592
16796
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16593
- act_as?: string | undefined;
16594
- redirect_uri?: string | undefined;
16797
+ scope?: string | undefined;
16595
16798
  organization?: string | undefined;
16596
16799
  nonce?: string | undefined;
16800
+ redirect_uri?: string | undefined;
16801
+ act_as?: string | undefined;
16597
16802
  prompt?: string | undefined;
16598
16803
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16599
16804
  code_challenge?: string | undefined;
@@ -16623,13 +16828,13 @@ declare function init(config: AuthHeroConfig): {
16623
16828
  username?: string | undefined;
16624
16829
  state?: string | undefined;
16625
16830
  audience?: string | undefined;
16626
- scope?: string | undefined;
16627
16831
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16628
16832
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16629
- act_as?: string | undefined;
16630
- redirect_uri?: string | undefined;
16833
+ scope?: string | undefined;
16631
16834
  organization?: string | undefined;
16632
16835
  nonce?: string | undefined;
16836
+ redirect_uri?: string | undefined;
16837
+ act_as?: string | undefined;
16633
16838
  prompt?: string | undefined;
16634
16839
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16635
16840
  code_challenge?: string | undefined;
@@ -16764,14 +16969,14 @@ declare function init(config: AuthHeroConfig): {
16764
16969
  input: {
16765
16970
  form: {
16766
16971
  token: string;
16767
- token_type_hint?: "access_token" | "refresh_token" | undefined;
16972
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
16768
16973
  client_id?: string | undefined;
16769
16974
  client_secret?: string | undefined;
16770
16975
  };
16771
16976
  } & {
16772
16977
  json: {
16773
16978
  token: string;
16774
- token_type_hint?: "access_token" | "refresh_token" | undefined;
16979
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
16775
16980
  client_id?: string | undefined;
16776
16981
  client_secret?: string | undefined;
16777
16982
  };
@@ -16783,14 +16988,14 @@ declare function init(config: AuthHeroConfig): {
16783
16988
  input: {
16784
16989
  form: {
16785
16990
  token: string;
16786
- token_type_hint?: "access_token" | "refresh_token" | undefined;
16991
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
16787
16992
  client_id?: string | undefined;
16788
16993
  client_secret?: string | undefined;
16789
16994
  };
16790
16995
  } & {
16791
16996
  json: {
16792
16997
  token: string;
16793
- token_type_hint?: "access_token" | "refresh_token" | undefined;
16998
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
16794
16999
  client_id?: string | undefined;
16795
17000
  client_secret?: string | undefined;
16796
17001
  };
@@ -16805,14 +17010,14 @@ declare function init(config: AuthHeroConfig): {
16805
17010
  input: {
16806
17011
  form: {
16807
17012
  token: string;
16808
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17013
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
16809
17014
  client_id?: string | undefined;
16810
17015
  client_secret?: string | undefined;
16811
17016
  };
16812
17017
  } & {
16813
17018
  json: {
16814
17019
  token: string;
16815
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17020
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
16816
17021
  client_id?: string | undefined;
16817
17022
  client_secret?: string | undefined;
16818
17023
  };
@@ -16862,7 +17067,7 @@ declare function init(config: AuthHeroConfig): {
16862
17067
  client_id: string;
16863
17068
  username: string;
16864
17069
  otp: string;
16865
- realm: "email" | "sms";
17070
+ realm: "sms" | "email";
16866
17071
  };
16867
17072
  } & {
16868
17073
  json: {
@@ -16898,7 +17103,7 @@ declare function init(config: AuthHeroConfig): {
16898
17103
  client_id: string;
16899
17104
  username: string;
16900
17105
  otp: string;
16901
- realm: "email" | "sms";
17106
+ realm: "sms" | "email";
16902
17107
  };
16903
17108
  };
16904
17109
  output: {};
@@ -16939,7 +17144,7 @@ declare function init(config: AuthHeroConfig): {
16939
17144
  client_id: string;
16940
17145
  username: string;
16941
17146
  otp: string;
16942
- realm: "email" | "sms";
17147
+ realm: "sms" | "email";
16943
17148
  };
16944
17149
  } & {
16945
17150
  json: {
@@ -16975,7 +17180,7 @@ declare function init(config: AuthHeroConfig): {
16975
17180
  client_id: string;
16976
17181
  username: string;
16977
17182
  otp: string;
16978
- realm: "email" | "sms";
17183
+ realm: "sms" | "email";
16979
17184
  };
16980
17185
  };
16981
17186
  output: {
@@ -17024,7 +17229,7 @@ declare function init(config: AuthHeroConfig): {
17024
17229
  client_id: string;
17025
17230
  username: string;
17026
17231
  otp: string;
17027
- realm: "email" | "sms";
17232
+ realm: "sms" | "email";
17028
17233
  };
17029
17234
  } & {
17030
17235
  json: {
@@ -17060,7 +17265,7 @@ declare function init(config: AuthHeroConfig): {
17060
17265
  client_id: string;
17061
17266
  username: string;
17062
17267
  otp: string;
17063
- realm: "email" | "sms";
17268
+ realm: "sms" | "email";
17064
17269
  };
17065
17270
  };
17066
17271
  output: {
@@ -17104,7 +17309,7 @@ declare function init(config: AuthHeroConfig): {
17104
17309
  client_id: string;
17105
17310
  username: string;
17106
17311
  otp: string;
17107
- realm: "email" | "sms";
17312
+ realm: "sms" | "email";
17108
17313
  };
17109
17314
  } & {
17110
17315
  json: {
@@ -17140,7 +17345,7 @@ declare function init(config: AuthHeroConfig): {
17140
17345
  client_id: string;
17141
17346
  username: string;
17142
17347
  otp: string;
17143
- realm: "email" | "sms";
17348
+ realm: "sms" | "email";
17144
17349
  };
17145
17350
  };
17146
17351
  output: {
@@ -17184,7 +17389,7 @@ declare function init(config: AuthHeroConfig): {
17184
17389
  client_id: string;
17185
17390
  username: string;
17186
17391
  otp: string;
17187
- realm: "email" | "sms";
17392
+ realm: "sms" | "email";
17188
17393
  };
17189
17394
  } & {
17190
17395
  json: {
@@ -17220,7 +17425,7 @@ declare function init(config: AuthHeroConfig): {
17220
17425
  client_id: string;
17221
17426
  username: string;
17222
17427
  otp: string;
17223
- realm: "email" | "sms";
17428
+ realm: "sms" | "email";
17224
17429
  };
17225
17430
  };
17226
17431
  output: {
@@ -18050,7 +18255,7 @@ declare function init(config: AuthHeroConfig): {
18050
18255
  } & {
18051
18256
  form: {
18052
18257
  username: string;
18053
- login_selection?: "password" | "code" | undefined;
18258
+ login_selection?: "code" | "password" | undefined;
18054
18259
  };
18055
18260
  };
18056
18261
  output: {};
@@ -18064,7 +18269,7 @@ declare function init(config: AuthHeroConfig): {
18064
18269
  } & {
18065
18270
  form: {
18066
18271
  username: string;
18067
- login_selection?: "password" | "code" | undefined;
18272
+ login_selection?: "code" | "password" | undefined;
18068
18273
  };
18069
18274
  };
18070
18275
  output: {};
@@ -18429,7 +18634,7 @@ declare function init(config: AuthHeroConfig): {
18429
18634
  $get: {
18430
18635
  input: {
18431
18636
  param: {
18432
- screen: "signup" | "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";
18637
+ 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";
18433
18638
  };
18434
18639
  } & {
18435
18640
  query: {
@@ -18445,7 +18650,7 @@ declare function init(config: AuthHeroConfig): {
18445
18650
  } | {
18446
18651
  input: {
18447
18652
  param: {
18448
- screen: "signup" | "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";
18653
+ 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";
18449
18654
  };
18450
18655
  } & {
18451
18656
  query: {
@@ -18461,7 +18666,7 @@ declare function init(config: AuthHeroConfig): {
18461
18666
  } | {
18462
18667
  input: {
18463
18668
  param: {
18464
- screen: "signup" | "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";
18669
+ 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";
18465
18670
  };
18466
18671
  } & {
18467
18672
  query: {
@@ -18481,7 +18686,7 @@ declare function init(config: AuthHeroConfig): {
18481
18686
  $post: {
18482
18687
  input: {
18483
18688
  param: {
18484
- screen: "signup" | "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";
18689
+ 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";
18485
18690
  };
18486
18691
  } & {
18487
18692
  query: {
@@ -18499,7 +18704,7 @@ declare function init(config: AuthHeroConfig): {
18499
18704
  } | {
18500
18705
  input: {
18501
18706
  param: {
18502
- screen: "signup" | "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";
18707
+ 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";
18503
18708
  };
18504
18709
  } & {
18505
18710
  query: {
@@ -18517,7 +18722,7 @@ declare function init(config: AuthHeroConfig): {
18517
18722
  } | {
18518
18723
  input: {
18519
18724
  param: {
18520
- screen: "signup" | "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";
18725
+ 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";
18521
18726
  };
18522
18727
  } & {
18523
18728
  query: {
@@ -18615,5 +18820,5 @@ declare function init(config: AuthHeroConfig): {
18615
18820
  createX509Certificate: typeof createX509Certificate;
18616
18821
  };
18617
18822
 
18618
- export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createInMemoryCache, decryptField, deepMergePatch, drainOutbox, encryptField, fetchAll, init, injectTailwindCSS, isEncrypted, loadEncryptionKey, mailgunCredentialsSchema, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, runOutboxRelay, seed, tailwindCss, tenantMiddleware, waitUntil };
18619
- export type { AuthHeroConfig, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };
18823
+ export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, ControlPlaneSyncDestination, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createApplySyncEvents, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createInMemoryCache, decryptField, deepMergePatch, drainOutbox, encryptField, fetchAll, init, injectTailwindCSS, isEncrypted, loadEncryptionKey, mailgunCredentialsSchema, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, runOutboxRelay, seed, tailwindCss, tenantMiddleware, waitUntil };
18824
+ export type { AuthHeroConfig, ControlPlaneSyncDestinationOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };