authhero 9.40.0 → 9.41.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 (58) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-6774edd2.entry.js +1 -0
  4. package/dist/authhero.cjs +110 -110
  5. package/dist/authhero.d.ts +399 -385
  6. package/dist/authhero.mjs +10465 -10289
  7. package/dist/{mfa-Ddp9JT1l.mjs → mfa-CdC-9ysu.mjs} +80 -80
  8. package/dist/{mfa-BlaRHQgI.js → mfa-Dx8-AJ6U.js} +2 -2
  9. package/dist/{mfa-attempts-bPJnyu2c.js → mfa-attempts-CtWWceg2.js} +34 -26
  10. package/dist/{mfa-attempts-YsmteBp0.mjs → mfa-attempts-mBkfX0wf.mjs} +4827 -4657
  11. package/dist/{passkey-enrollment-CLg7RteL.js → passkey-enrollment-KQcVF_QM.js} +1 -1
  12. package/dist/tsconfig.types.tsbuildinfo +1 -1
  13. package/dist/types/authentication-flows/mfa-attempts.d.ts +7 -0
  14. package/dist/types/generated/locale-types.d.ts +6 -0
  15. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  16. package/dist/types/hooks/codehooks.d.ts +45 -0
  17. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  18. package/dist/types/index.d.ts +162 -162
  19. package/dist/types/routes/auth-api/device.d.ts +8 -8
  20. package/dist/types/routes/auth-api/index.d.ts +10 -10
  21. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  22. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  23. package/dist/types/routes/management-api/action-triggers.d.ts +26 -26
  24. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  25. package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
  26. package/dist/types/routes/management-api/branding.d.ts +17 -17
  27. package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
  28. package/dist/types/routes/management-api/clients.d.ts +8 -8
  29. package/dist/types/routes/management-api/connections.d.ts +1 -1
  30. package/dist/types/routes/management-api/failed-events.d.ts +4 -4
  31. package/dist/types/routes/management-api/forms.d.ts +152 -152
  32. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  33. package/dist/types/routes/management-api/hooks.d.ts +14 -14
  34. package/dist/types/routes/management-api/index.d.ts +147 -147
  35. package/dist/types/routes/management-api/keys.d.ts +8 -8
  36. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  37. package/dist/types/routes/management-api/logs.d.ts +4 -4
  38. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  39. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  40. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  41. package/dist/types/routes/management-api/roles.d.ts +1 -1
  42. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  43. package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
  44. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  45. package/dist/types/routes/management-api/tenants.d.ts +15 -15
  46. package/dist/types/routes/management-api/themes.d.ts +9 -9
  47. package/dist/types/routes/management-api/users.d.ts +27 -27
  48. package/dist/types/routes/universal-login/common.d.ts +10 -10
  49. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  50. package/dist/types/routes/universal-login/screens/login-otp.d.ts +79 -5
  51. package/dist/types/routes/universal-login/screens/magic-link-sent.d.ts +8 -1
  52. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  53. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -5
  54. package/dist/types/state-machines/login-session-data.d.ts +36 -1
  55. package/dist/types/state-machines/login-session.d.ts +17 -1
  56. package/dist/types/types/Variables.d.ts +2 -0
  57. package/package.json +6 -6
  58. package/dist/assets/u/widget/p-d0eb5acc.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
2
- import { DataAdapters, RequestAuth, LoginSession, SessionTransferProvenance, Connection, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, PreScreenPhase, PreScreenOperation, roleSchema, inviteSchema, TenantMemberRequest, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, ConnectionInsert, Tenant, CreateTenantParams, Action, ActionInsert, ActionUpdate, Hook, HookInsert, HookCode, HookCodeInsert, TenantOperationKind, TenantOperation, Rollout, CodeExecutor, ActionCodeGenerator, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, ActionExecutionsAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, AuditCategory, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
2
+ import { Connection, DataAdapters, RequestAuth, LoginSession, SessionTransferProvenance, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, PreScreenPhase, PreScreenOperation, roleSchema, inviteSchema, TenantMemberRequest, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, ConnectionInsert, Tenant, CreateTenantParams, Action, ActionInsert, ActionUpdate, Hook, HookInsert, HookCode, HookCodeInsert, TenantOperationKind, TenantOperation, Rollout, CodeExecutor, ActionCodeGenerator, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, ActionExecutionsAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, AuditCategory, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
3
3
  export * from '@authhero/adapter-interfaces';
4
4
  import * as hono_utils_http_status from 'hono/utils/http-status';
5
5
  import * as hono_types from 'hono/types';
@@ -66,228 +66,6 @@ type EmbedLoginContext = {
66
66
  frameAncestors: string[];
67
67
  };
68
68
 
69
- type Variables = {
70
- /**
71
- * The adapter stack for this request. Read this, not `ctx.env.data`.
72
- *
73
- * Route groups compose a per-request stack (`composeAuthData({ ctx, ... })`)
74
- * that holds request-scoped state: the dedup map, the client-bundle promise
75
- * and hooks bound to this `ctx`. It lives here rather than on `env` because
76
- * Cloudflare Workers hand every request in an isolate the same `env`
77
- * object, so a stack stored there leaks between concurrent requests (#140).
78
- *
79
- * Typed as required because `applyConfigMiddleware`, the first middleware
80
- * of every route group, always sets it (to the startup adapter until a
81
- * route group composes its own stack). Optional would force a guard on
82
- * every read for a case that cannot happen behind that middleware; code
83
- * mounted without it has to set the variable itself. Set it through
84
- * `setRequestData` so the deprecated `ctx.env.data` alias stays in sync.
85
- */
86
- data: DataAdapters;
87
- /**
88
- * Raw, uncomposed adapter for this request, installed by middleware that
89
- * runs before authhero (e.g. `@authhero/multi-tenancy` database isolation).
90
- * Route groups compose their stack on top of it instead of the startup
91
- * `dataAdapter`. Never set this to a composed stack: it would be wrapped
92
- * twice. Read it through `getBaseData`.
93
- */
94
- baseData?: DataAdapters;
95
- /**
96
- * Management API only: the request stack before platform-scoped rows are
97
- * hidden from it. Code-hook execution reads this; see `getExecutorData`.
98
- */
99
- executorData?: DataAdapters;
100
- tenant_id: string;
101
- ip: string;
102
- client_id?: string;
103
- user_id?: string;
104
- username?: string;
105
- /** Verified account-session caller, captured before account mutations. */
106
- sessionAuth?: RequestAuth;
107
- connection?: string;
108
- body?: any;
109
- /**
110
- * Auth0-compatible custom fields submitted by the u2 signup form. Only
111
- * `ulp-*` keys are stored here so pre-user-registration hooks never receive
112
- * credentials or unrelated request fields.
113
- */
114
- signup_body?: Record<string, unknown>;
115
- log?: string;
116
- custom_domain?: string;
117
- host?: string;
118
- user?: {
119
- sub: string;
120
- tenant_id: string;
121
- org_name?: string;
122
- org_id?: string;
123
- scope?: string;
124
- aud?: string | string[];
125
- azp?: string;
126
- gty?: string;
127
- jti?: string;
128
- };
129
- organization_id?: string;
130
- org_name?: string;
131
- loginSession?: LoginSession;
132
- embedLogin?: EmbedLoginContext;
133
- auth0_client?: Auth0Client;
134
- useragent?: string;
135
- countryCode?: CountryCode;
136
- prefer?: PreferState;
137
- outboxEventPromises?: Promise<string>[];
138
- backgroundPromises?: Promise<void>[];
139
- client_authenticated_via_assertion?: boolean;
140
- action_execution_id?: string;
141
- serverTiming?: {
142
- name: string;
143
- dur: number;
144
- }[];
145
- is_lazy_migration?: boolean;
146
- client_id_from_token?: boolean;
147
- session_transfer_token?: {
148
- client_id: string;
149
- scope?: string;
150
- request: {
151
- ip: string;
152
- asn?: string;
153
- user_agent?: string;
154
- };
155
- };
156
- session_transfer?: SessionTransferProvenance;
157
- };
158
-
159
- /**
160
- * A request to certify a signing key. Everything is plain data so an issuer
161
- * can forward it over HTTP: the CA key never has to live in the auth worker.
162
- */
163
- interface SigningCertificateRequest {
164
- /** The key to certify, as an SPKI `PUBLIC KEY` PEM. */
165
- publicKey: string;
166
- /** Subject distinguished name, e.g. `CN=acme`. */
167
- subject: string;
168
- /** URI placed in the SubjectAlternativeName, e.g. `urn:authhero:tenant:acme`. */
169
- uri: string;
170
- notBefore: Date;
171
- notAfter: Date;
172
- }
173
- /**
174
- * Issues signing-key certificates from an intermediate CA.
175
- *
176
- * `issueCertificate` returns the leaf only. `getIssuerCertificates` returns
177
- * every intermediate that may have signed a leaf that is still published —
178
- * the current one plus any that were rotated out recently — so the JWKS can
179
- * attach the right chain to each key.
180
- */
181
- interface CertificateIssuer {
182
- issueCertificate(request: SigningCertificateRequest): Promise<string>;
183
- getIssuerCertificates(): Promise<string[]>;
184
- }
185
- interface SigningCertificateAuthority {
186
- issuer: CertificateIssuer;
187
- /**
188
- * Lifetime of issued certificates, in days. Renewal keeps the key and the
189
- * `kid`, so short lifetimes are cheap.
190
- *
191
- * @default 30
192
- */
193
- validityDays?: number;
194
- /**
195
- * The SAN URI that binds a key to its owner. Receives the key's `tenant_id`,
196
- * which is undefined for control-plane keys.
197
- *
198
- * Override this where the storage scope doesn't match ownership — a WFP
199
- * tenant worker stores its own keys without a `tenant_id`.
200
- *
201
- * @default tenant keys → `urn:authhero:tenant:<tenant_id>`, control-plane
202
- * keys → `urn:authhero:control-plane`
203
- */
204
- subjectUri?: (scope: {
205
- tenant_id?: string;
206
- }) => string;
207
- }
208
- declare const DEFAULT_CA_CERT_VALIDITY_DAYS = 30;
209
- declare const TENANT_URI_PREFIX = "urn:authhero:tenant:";
210
- declare const CONTROL_PLANE_URI = "urn:authhero:control-plane";
211
- /** Parameters `createX509Certificate` / `renewX509Certificate` need to issue from the CA. */
212
- interface CertificateAuthorityIssuance {
213
- issuer: CertificateIssuer;
214
- uri: string;
215
- }
216
- interface LocalCertificateIssuerOptions {
217
- /** The issuing (intermediate) CA certificate, PEM. */
218
- certificate: string;
219
- /** The issuing CA's PKCS#8 private key, PEM. */
220
- privateKey: string;
221
- /**
222
- * Intermediates that were rotated out but may still have signed a
223
- * published leaf. They are only used to build `x5c`, never to sign.
224
- */
225
- previousCertificates?: string[];
226
- }
227
- /**
228
- * An in-process issuer holding the intermediate's private key. Keep the root
229
- * offline; this only ever needs the intermediate.
230
- */
231
- declare function createLocalCertificateIssuer(options: LocalCertificateIssuerOptions): CertificateIssuer;
232
-
233
- /**
234
- * Management API audience for cross-tenant operations.
235
- * Used when managing tenants from the main tenant with org-scoped tokens.
236
- */
237
- declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
238
- /**
239
- * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
240
- *
241
- * `requireManagementAudience` enables the defense-in-depth check that the
242
- * token's `aud` includes the management API audience. It must be enabled
243
- * for the management API and left off for everything else (the `/userinfo`
244
- * endpoint, for example, takes any access token issued by this tenant).
245
- *
246
- * `relaxManagementAudience` downgrades that audience check from a hard
247
- * rejection to a `console.warn`, letting tokens issued for other audiences
248
- * still pass. TRANSITIONAL: use only while migrating clients to request
249
- * the management audience; flip back off once warnings stop appearing.
250
- *
251
- * `additionalManagementAudiences` extends the set of accepted audiences
252
- * beyond the built-in `urn:authhero:management`. The resolver receives the
253
- * token's `tenant_id` and returns the list of audiences accepted for that
254
- * token, so a per-tenant identifier (e.g.
255
- * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
256
- * request time alongside any global legacy identifiers.
257
- *
258
- * `additionalIssuers` extends the set of accepted token issuers beyond the
259
- * deployment's own `getIssuer(env, custom_domain)`. The resolver receives the
260
- * token's `tenant_id` and returns the issuers accepted for that token, so a
261
- * control-plane issuer can be accepted on forwarded admin requests whose
262
- * per-tenant worker has a different `env.ISSUER`. The default issuer is always
263
- * accepted; the resolver is purely additive and may return `[]` to refuse.
264
- */
265
- type ManagementAudienceResolver = (params: {
266
- tenant_id?: string;
267
- }) => string[] | Promise<string[]>;
268
- /**
269
- * Resolver returning the issuers accepted **in addition to** the deployment's
270
- * own issuer when verifying bearer JWTs. Receives the token's `tenant_id` so a
271
- * per-tenant or control-plane issuer can be constructed at request time.
272
- * Returning `[]` keeps the strict single-issuer behavior for that token.
273
- */
274
- type IssuerResolver = (params: {
275
- tenant_id?: string;
276
- }) => string[] | Promise<string[]>;
277
- interface AuthMiddlewareOptions {
278
- requireManagementAudience?: boolean;
279
- relaxManagementAudience?: boolean;
280
- additionalManagementAudiences?: ManagementAudienceResolver;
281
- additionalIssuers?: IssuerResolver;
282
- }
283
- declare function createAuthMiddleware(app: OpenAPIHono<{
284
- Bindings: Bindings;
285
- Variables: Variables;
286
- }>, options?: AuthMiddlewareOptions): (ctx: Context<{
287
- Bindings: Bindings;
288
- Variables: any;
289
- }>, next: Next) => Promise<void>;
290
-
291
69
  /**
292
70
  * EnrichedClient combines a Client with its associated Tenant and Connections.
293
71
  *
@@ -847,6 +625,242 @@ type EnrichedClient = Omit<z.infer<typeof enrichedClientSchema>, "connections">
847
625
  connections: Connection[];
848
626
  };
849
627
 
628
+ /**
629
+ * Custom claims a post-login action set with `api.accessToken.setCustomClaim`
630
+ * / `api.idToken.setCustomClaim` (issue #1816). Applied to the tokens issued
631
+ * for this login, including the authorization-code exchange, and only for the
632
+ * user the hooks settled on. Refresh-token exchanges don't apply them: they
633
+ * don't re-run post-login actions.
634
+ */
635
+ interface PostLoginActionClaims {
636
+ user_id: string;
637
+ access_token?: Record<string, unknown>;
638
+ id_token?: Record<string, unknown>;
639
+ }
640
+
641
+ type Variables = {
642
+ /**
643
+ * The adapter stack for this request. Read this, not `ctx.env.data`.
644
+ *
645
+ * Route groups compose a per-request stack (`composeAuthData({ ctx, ... })`)
646
+ * that holds request-scoped state: the dedup map, the client-bundle promise
647
+ * and hooks bound to this `ctx`. It lives here rather than on `env` because
648
+ * Cloudflare Workers hand every request in an isolate the same `env`
649
+ * object, so a stack stored there leaks between concurrent requests (#140).
650
+ *
651
+ * Typed as required because `applyConfigMiddleware`, the first middleware
652
+ * of every route group, always sets it (to the startup adapter until a
653
+ * route group composes its own stack). Optional would force a guard on
654
+ * every read for a case that cannot happen behind that middleware; code
655
+ * mounted without it has to set the variable itself. Set it through
656
+ * `setRequestData` so the deprecated `ctx.env.data` alias stays in sync.
657
+ */
658
+ data: DataAdapters;
659
+ /**
660
+ * Raw, uncomposed adapter for this request, installed by middleware that
661
+ * runs before authhero (e.g. `@authhero/multi-tenancy` database isolation).
662
+ * Route groups compose their stack on top of it instead of the startup
663
+ * `dataAdapter`. Never set this to a composed stack: it would be wrapped
664
+ * twice. Read it through `getBaseData`.
665
+ */
666
+ baseData?: DataAdapters;
667
+ /**
668
+ * Management API only: the request stack before platform-scoped rows are
669
+ * hidden from it. Code-hook execution reads this; see `getExecutorData`.
670
+ */
671
+ executorData?: DataAdapters;
672
+ tenant_id: string;
673
+ ip: string;
674
+ client_id?: string;
675
+ user_id?: string;
676
+ username?: string;
677
+ /** Verified account-session caller, captured before account mutations. */
678
+ sessionAuth?: RequestAuth;
679
+ connection?: string;
680
+ body?: any;
681
+ /**
682
+ * Auth0-compatible custom fields submitted by the u2 signup form. Only
683
+ * `ulp-*` keys are stored here so pre-user-registration hooks never receive
684
+ * credentials or unrelated request fields.
685
+ */
686
+ signup_body?: Record<string, unknown>;
687
+ log?: string;
688
+ custom_domain?: string;
689
+ host?: string;
690
+ user?: {
691
+ sub: string;
692
+ tenant_id: string;
693
+ org_name?: string;
694
+ org_id?: string;
695
+ scope?: string;
696
+ aud?: string | string[];
697
+ azp?: string;
698
+ gty?: string;
699
+ jti?: string;
700
+ };
701
+ organization_id?: string;
702
+ org_name?: string;
703
+ loginSession?: LoginSession;
704
+ embedLogin?: EmbedLoginContext;
705
+ auth0_client?: Auth0Client;
706
+ useragent?: string;
707
+ countryCode?: CountryCode;
708
+ prefer?: PreferState;
709
+ outboxEventPromises?: Promise<string>[];
710
+ backgroundPromises?: Promise<void>[];
711
+ client_authenticated_via_assertion?: boolean;
712
+ action_execution_id?: string;
713
+ post_login_action_claims?: PostLoginActionClaims;
714
+ serverTiming?: {
715
+ name: string;
716
+ dur: number;
717
+ }[];
718
+ is_lazy_migration?: boolean;
719
+ client_id_from_token?: boolean;
720
+ session_transfer_token?: {
721
+ client_id: string;
722
+ scope?: string;
723
+ request: {
724
+ ip: string;
725
+ asn?: string;
726
+ user_agent?: string;
727
+ };
728
+ };
729
+ session_transfer?: SessionTransferProvenance;
730
+ };
731
+
732
+ /**
733
+ * A request to certify a signing key. Everything is plain data so an issuer
734
+ * can forward it over HTTP: the CA key never has to live in the auth worker.
735
+ */
736
+ interface SigningCertificateRequest {
737
+ /** The key to certify, as an SPKI `PUBLIC KEY` PEM. */
738
+ publicKey: string;
739
+ /** Subject distinguished name, e.g. `CN=acme`. */
740
+ subject: string;
741
+ /** URI placed in the SubjectAlternativeName, e.g. `urn:authhero:tenant:acme`. */
742
+ uri: string;
743
+ notBefore: Date;
744
+ notAfter: Date;
745
+ }
746
+ /**
747
+ * Issues signing-key certificates from an intermediate CA.
748
+ *
749
+ * `issueCertificate` returns the leaf only. `getIssuerCertificates` returns
750
+ * every intermediate that may have signed a leaf that is still published —
751
+ * the current one plus any that were rotated out recently — so the JWKS can
752
+ * attach the right chain to each key.
753
+ */
754
+ interface CertificateIssuer {
755
+ issueCertificate(request: SigningCertificateRequest): Promise<string>;
756
+ getIssuerCertificates(): Promise<string[]>;
757
+ }
758
+ interface SigningCertificateAuthority {
759
+ issuer: CertificateIssuer;
760
+ /**
761
+ * Lifetime of issued certificates, in days. Renewal keeps the key and the
762
+ * `kid`, so short lifetimes are cheap.
763
+ *
764
+ * @default 30
765
+ */
766
+ validityDays?: number;
767
+ /**
768
+ * The SAN URI that binds a key to its owner. Receives the key's `tenant_id`,
769
+ * which is undefined for control-plane keys.
770
+ *
771
+ * Override this where the storage scope doesn't match ownership — a WFP
772
+ * tenant worker stores its own keys without a `tenant_id`.
773
+ *
774
+ * @default tenant keys → `urn:authhero:tenant:<tenant_id>`, control-plane
775
+ * keys → `urn:authhero:control-plane`
776
+ */
777
+ subjectUri?: (scope: {
778
+ tenant_id?: string;
779
+ }) => string;
780
+ }
781
+ declare const DEFAULT_CA_CERT_VALIDITY_DAYS = 30;
782
+ declare const TENANT_URI_PREFIX = "urn:authhero:tenant:";
783
+ declare const CONTROL_PLANE_URI = "urn:authhero:control-plane";
784
+ /** Parameters `createX509Certificate` / `renewX509Certificate` need to issue from the CA. */
785
+ interface CertificateAuthorityIssuance {
786
+ issuer: CertificateIssuer;
787
+ uri: string;
788
+ }
789
+ interface LocalCertificateIssuerOptions {
790
+ /** The issuing (intermediate) CA certificate, PEM. */
791
+ certificate: string;
792
+ /** The issuing CA's PKCS#8 private key, PEM. */
793
+ privateKey: string;
794
+ /**
795
+ * Intermediates that were rotated out but may still have signed a
796
+ * published leaf. They are only used to build `x5c`, never to sign.
797
+ */
798
+ previousCertificates?: string[];
799
+ }
800
+ /**
801
+ * An in-process issuer holding the intermediate's private key. Keep the root
802
+ * offline; this only ever needs the intermediate.
803
+ */
804
+ declare function createLocalCertificateIssuer(options: LocalCertificateIssuerOptions): CertificateIssuer;
805
+
806
+ /**
807
+ * Management API audience for cross-tenant operations.
808
+ * Used when managing tenants from the main tenant with org-scoped tokens.
809
+ */
810
+ declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
811
+ /**
812
+ * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
813
+ *
814
+ * `requireManagementAudience` enables the defense-in-depth check that the
815
+ * token's `aud` includes the management API audience. It must be enabled
816
+ * for the management API and left off for everything else (the `/userinfo`
817
+ * endpoint, for example, takes any access token issued by this tenant).
818
+ *
819
+ * `relaxManagementAudience` downgrades that audience check from a hard
820
+ * rejection to a `console.warn`, letting tokens issued for other audiences
821
+ * still pass. TRANSITIONAL: use only while migrating clients to request
822
+ * the management audience; flip back off once warnings stop appearing.
823
+ *
824
+ * `additionalManagementAudiences` extends the set of accepted audiences
825
+ * beyond the built-in `urn:authhero:management`. The resolver receives the
826
+ * token's `tenant_id` and returns the list of audiences accepted for that
827
+ * token, so a per-tenant identifier (e.g.
828
+ * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
829
+ * request time alongside any global legacy identifiers.
830
+ *
831
+ * `additionalIssuers` extends the set of accepted token issuers beyond the
832
+ * deployment's own `getIssuer(env, custom_domain)`. The resolver receives the
833
+ * token's `tenant_id` and returns the issuers accepted for that token, so a
834
+ * control-plane issuer can be accepted on forwarded admin requests whose
835
+ * per-tenant worker has a different `env.ISSUER`. The default issuer is always
836
+ * accepted; the resolver is purely additive and may return `[]` to refuse.
837
+ */
838
+ type ManagementAudienceResolver = (params: {
839
+ tenant_id?: string;
840
+ }) => string[] | Promise<string[]>;
841
+ /**
842
+ * Resolver returning the issuers accepted **in addition to** the deployment's
843
+ * own issuer when verifying bearer JWTs. Receives the token's `tenant_id` so a
844
+ * per-tenant or control-plane issuer can be constructed at request time.
845
+ * Returning `[]` keeps the strict single-issuer behavior for that token.
846
+ */
847
+ type IssuerResolver = (params: {
848
+ tenant_id?: string;
849
+ }) => string[] | Promise<string[]>;
850
+ interface AuthMiddlewareOptions {
851
+ requireManagementAudience?: boolean;
852
+ relaxManagementAudience?: boolean;
853
+ additionalManagementAudiences?: ManagementAudienceResolver;
854
+ additionalIssuers?: IssuerResolver;
855
+ }
856
+ declare function createAuthMiddleware(app: OpenAPIHono<{
857
+ Bindings: Bindings;
858
+ Variables: Variables;
859
+ }>, options?: AuthMiddlewareOptions): (ctx: Context<{
860
+ Bindings: Bindings;
861
+ Variables: any;
862
+ }>, next: Next) => Promise<void>;
863
+
850
864
  /** Context passed to entity hooks */
851
865
  interface EntityHookContext {
852
866
  tenantId: string;
@@ -5809,7 +5823,7 @@ declare function init(config: AuthHeroConfig): {
5809
5823
  };
5810
5824
  } & {
5811
5825
  json: {
5812
- type: "email" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
5826
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
5813
5827
  phone_number?: string | undefined;
5814
5828
  totp_secret?: string | undefined;
5815
5829
  credential_id?: string | undefined;
@@ -5949,7 +5963,7 @@ declare function init(config: AuthHeroConfig): {
5949
5963
  };
5950
5964
  };
5951
5965
  output: {
5952
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
5966
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
5953
5967
  enabled: boolean;
5954
5968
  trial_expired?: boolean | undefined;
5955
5969
  }[];
@@ -6104,7 +6118,7 @@ declare function init(config: AuthHeroConfig): {
6104
6118
  $get: {
6105
6119
  input: {
6106
6120
  param: {
6107
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
6121
+ factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
6108
6122
  };
6109
6123
  } & {
6110
6124
  header: {
@@ -6112,7 +6126,7 @@ declare function init(config: AuthHeroConfig): {
6112
6126
  };
6113
6127
  };
6114
6128
  output: {
6115
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
6129
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
6116
6130
  enabled: boolean;
6117
6131
  trial_expired?: boolean | undefined;
6118
6132
  };
@@ -6125,7 +6139,7 @@ declare function init(config: AuthHeroConfig): {
6125
6139
  $put: {
6126
6140
  input: {
6127
6141
  param: {
6128
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
6142
+ factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
6129
6143
  };
6130
6144
  } & {
6131
6145
  header: {
@@ -6137,7 +6151,7 @@ declare function init(config: AuthHeroConfig): {
6137
6151
  };
6138
6152
  };
6139
6153
  output: {
6140
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
6154
+ name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
6141
6155
  enabled: boolean;
6142
6156
  trial_expired?: boolean | undefined;
6143
6157
  };
@@ -6951,19 +6965,19 @@ declare function init(config: AuthHeroConfig): {
6951
6965
  } & {
6952
6966
  json: {
6953
6967
  client_id: string;
6954
- inviter: {
6955
- name?: string | undefined;
6956
- };
6957
6968
  invitee: {
6958
6969
  email?: string | undefined;
6959
6970
  };
6971
+ inviter: {
6972
+ name?: string | undefined;
6973
+ };
6974
+ id?: string | undefined;
6975
+ roles?: string[] | undefined;
6960
6976
  app_metadata?: Record<string, any> | undefined;
6961
6977
  user_metadata?: Record<string, any> | undefined;
6962
- id?: string | undefined;
6963
6978
  connection_id?: string | undefined;
6964
- roles?: string[] | undefined;
6965
- ttl_sec?: number | undefined;
6966
6979
  send_invitation_email?: boolean | undefined;
6980
+ ttl_sec?: number | undefined;
6967
6981
  };
6968
6982
  };
6969
6983
  output: {
@@ -8970,7 +8984,7 @@ declare function init(config: AuthHeroConfig): {
8970
8984
  max_length?: number | undefined;
8971
8985
  default_value?: string | undefined;
8972
8986
  autocomplete?: string | undefined;
8973
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
8987
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
8974
8988
  last_used?: boolean | undefined;
8975
8989
  last_used_label?: string | undefined;
8976
8990
  } | undefined;
@@ -9583,7 +9597,7 @@ declare function init(config: AuthHeroConfig): {
9583
9597
  max_length?: number | undefined;
9584
9598
  default_value?: string | undefined;
9585
9599
  autocomplete?: string | undefined;
9586
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
9600
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
9587
9601
  last_used?: boolean | undefined;
9588
9602
  last_used_label?: string | undefined;
9589
9603
  } | undefined;
@@ -10196,7 +10210,7 @@ declare function init(config: AuthHeroConfig): {
10196
10210
  max_length?: number | undefined;
10197
10211
  default_value?: string | undefined;
10198
10212
  autocomplete?: string | undefined;
10199
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
10213
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
10200
10214
  last_used?: boolean | undefined;
10201
10215
  last_used_label?: string | undefined;
10202
10216
  } | undefined;
@@ -10824,7 +10838,7 @@ declare function init(config: AuthHeroConfig): {
10824
10838
  max_length?: number | undefined;
10825
10839
  default_value?: string | undefined;
10826
10840
  autocomplete?: string | undefined;
10827
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
10841
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
10828
10842
  last_used?: boolean | undefined;
10829
10843
  last_used_label?: string | undefined;
10830
10844
  } | undefined;
@@ -11454,7 +11468,7 @@ declare function init(config: AuthHeroConfig): {
11454
11468
  max_length?: number | undefined;
11455
11469
  default_value?: string | undefined;
11456
11470
  autocomplete?: string | undefined;
11457
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
11471
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
11458
11472
  last_used?: boolean | undefined;
11459
11473
  last_used_label?: string | undefined;
11460
11474
  } | undefined;
@@ -12065,7 +12079,7 @@ declare function init(config: AuthHeroConfig): {
12065
12079
  max_length?: number | undefined;
12066
12080
  default_value?: string | undefined;
12067
12081
  autocomplete?: string | undefined;
12068
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
12082
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
12069
12083
  last_used?: boolean | undefined;
12070
12084
  last_used_label?: string | undefined;
12071
12085
  } | undefined;
@@ -12674,7 +12688,7 @@ declare function init(config: AuthHeroConfig): {
12674
12688
  max_length?: number | undefined;
12675
12689
  default_value?: string | undefined;
12676
12690
  autocomplete?: string | undefined;
12677
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
12691
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
12678
12692
  last_used?: boolean | undefined;
12679
12693
  last_used_label?: string | undefined;
12680
12694
  } | undefined;
@@ -13285,7 +13299,7 @@ declare function init(config: AuthHeroConfig): {
13285
13299
  max_length?: number | undefined;
13286
13300
  default_value?: string | undefined;
13287
13301
  autocomplete?: string | undefined;
13288
- input_mode?: "url" | "email" | "search" | "text" | "numeric" | "decimal" | "tel" | undefined;
13302
+ input_mode?: "search" | "email" | "url" | "text" | "numeric" | "decimal" | "tel" | undefined;
13289
13303
  last_used?: boolean | undefined;
13290
13304
  last_used_label?: string | undefined;
13291
13305
  } | undefined;
@@ -13633,7 +13647,7 @@ declare function init(config: AuthHeroConfig): {
13633
13647
  };
13634
13648
  };
13635
13649
  output: {
13636
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13650
+ prompt: "status" | "organizations" | "mfa" | "login" | "signup" | "invitation" | "reset-password" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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" | "signup-id" | "signup-password" | "captcha" | "custom-form";
13637
13651
  language: string;
13638
13652
  }[];
13639
13653
  outputFormat: "json";
@@ -13671,7 +13685,7 @@ declare function init(config: AuthHeroConfig): {
13671
13685
  $get: {
13672
13686
  input: {
13673
13687
  param: {
13674
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13688
+ prompt: "status" | "organizations" | "mfa" | "login" | "signup" | "invitation" | "reset-password" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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" | "signup-id" | "signup-password" | "captcha" | "custom-form";
13675
13689
  language: string;
13676
13690
  };
13677
13691
  } & {
@@ -13693,7 +13707,7 @@ declare function init(config: AuthHeroConfig): {
13693
13707
  $put: {
13694
13708
  input: {
13695
13709
  param: {
13696
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13710
+ prompt: "status" | "organizations" | "mfa" | "login" | "signup" | "invitation" | "reset-password" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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" | "signup-id" | "signup-password" | "captcha" | "custom-form";
13697
13711
  language: string;
13698
13712
  };
13699
13713
  } & {
@@ -13717,7 +13731,7 @@ declare function init(config: AuthHeroConfig): {
13717
13731
  $delete: {
13718
13732
  input: {
13719
13733
  param: {
13720
- prompt: "common" | "status" | "mfa" | "organizations" | "login" | "signup" | "consent" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
13734
+ prompt: "status" | "organizations" | "mfa" | "login" | "signup" | "invitation" | "reset-password" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "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" | "signup-id" | "signup-password" | "captcha" | "custom-form";
13721
13735
  language: string;
13722
13736
  };
13723
13737
  } & {
@@ -13735,7 +13749,7 @@ declare function init(config: AuthHeroConfig): {
13735
13749
  $get: {
13736
13750
  input: {
13737
13751
  param: {
13738
- prompt: "login" | "signup" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-otp" | "mfa-phone" | "login-passwordless" | "mfa-login-options" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13752
+ prompt: "login" | "signup" | "reset-password" | "login-id" | "login-password" | "login-passwordless" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "signup-id" | "signup-password" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13739
13753
  };
13740
13754
  } & {
13741
13755
  header: {
@@ -13761,7 +13775,7 @@ declare function init(config: AuthHeroConfig): {
13761
13775
  $put: {
13762
13776
  input: {
13763
13777
  param: {
13764
- prompt: "login" | "signup" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "mfa-otp" | "mfa-phone" | "login-passwordless" | "mfa-login-options" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13778
+ prompt: "login" | "signup" | "reset-password" | "login-id" | "login-password" | "login-passwordless" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "signup-id" | "signup-password" | "login-passwordless-sms-otp" | "login-passwordless-email-code";
13765
13779
  };
13766
13780
  } & {
13767
13781
  header: {
@@ -13914,7 +13928,7 @@ declare function init(config: AuthHeroConfig): {
13914
13928
  } | undefined;
13915
13929
  } | undefined;
13916
13930
  passkey_options?: {
13917
- challenge_ui?: "button" | "both" | "autofill" | undefined;
13931
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
13918
13932
  local_enrollment_enabled?: boolean | undefined;
13919
13933
  progressive_enrollment_enabled?: boolean | undefined;
13920
13934
  } | undefined;
@@ -14056,7 +14070,7 @@ declare function init(config: AuthHeroConfig): {
14056
14070
  } | undefined;
14057
14071
  } | undefined;
14058
14072
  passkey_options?: {
14059
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14073
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14060
14074
  local_enrollment_enabled?: boolean | undefined;
14061
14075
  progressive_enrollment_enabled?: boolean | undefined;
14062
14076
  } | undefined;
@@ -14198,7 +14212,7 @@ declare function init(config: AuthHeroConfig): {
14198
14212
  } | undefined;
14199
14213
  } | undefined;
14200
14214
  passkey_options?: {
14201
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14215
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14202
14216
  local_enrollment_enabled?: boolean | undefined;
14203
14217
  progressive_enrollment_enabled?: boolean | undefined;
14204
14218
  } | undefined;
@@ -14355,7 +14369,7 @@ declare function init(config: AuthHeroConfig): {
14355
14369
  } | undefined;
14356
14370
  } | undefined;
14357
14371
  passkey_options?: {
14358
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14372
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14359
14373
  local_enrollment_enabled?: boolean | undefined;
14360
14374
  progressive_enrollment_enabled?: boolean | undefined;
14361
14375
  } | undefined;
@@ -14558,7 +14572,7 @@ declare function init(config: AuthHeroConfig): {
14558
14572
  } | undefined;
14559
14573
  } | undefined;
14560
14574
  passkey_options?: {
14561
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14575
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14562
14576
  local_enrollment_enabled?: boolean | undefined;
14563
14577
  progressive_enrollment_enabled?: boolean | undefined;
14564
14578
  } | undefined;
@@ -14727,7 +14741,7 @@ declare function init(config: AuthHeroConfig): {
14727
14741
  } | undefined;
14728
14742
  } | undefined;
14729
14743
  passkey_options?: {
14730
- challenge_ui?: "button" | "both" | "autofill" | undefined;
14744
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
14731
14745
  local_enrollment_enabled?: boolean | undefined;
14732
14746
  progressive_enrollment_enabled?: boolean | undefined;
14733
14747
  } | undefined;
@@ -15008,7 +15022,7 @@ declare function init(config: AuthHeroConfig): {
15008
15022
  };
15009
15023
  };
15010
15024
  output: ({
15011
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15025
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15012
15026
  enabled: boolean;
15013
15027
  synchronous: boolean;
15014
15028
  created_at: string;
@@ -15038,7 +15052,7 @@ declare function init(config: AuthHeroConfig): {
15038
15052
  [x: string]: hono_utils_types.JSONValue;
15039
15053
  } | undefined;
15040
15054
  } | {
15041
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15055
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15042
15056
  enabled: boolean;
15043
15057
  synchronous: boolean;
15044
15058
  created_at: string;
@@ -15053,7 +15067,7 @@ declare function init(config: AuthHeroConfig): {
15053
15067
  [x: string]: hono_utils_types.JSONValue;
15054
15068
  } | undefined;
15055
15069
  } | {
15056
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15070
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15057
15071
  enabled: boolean;
15058
15072
  synchronous: boolean;
15059
15073
  created_at: string;
@@ -15088,7 +15102,7 @@ declare function init(config: AuthHeroConfig): {
15088
15102
  limit: number;
15089
15103
  length: number;
15090
15104
  hooks: ({
15091
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15105
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15092
15106
  enabled: boolean;
15093
15107
  synchronous: boolean;
15094
15108
  created_at: string;
@@ -15118,7 +15132,7 @@ declare function init(config: AuthHeroConfig): {
15118
15132
  [x: string]: hono_utils_types.JSONValue;
15119
15133
  } | undefined;
15120
15134
  } | {
15121
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15135
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15122
15136
  enabled: boolean;
15123
15137
  synchronous: boolean;
15124
15138
  created_at: string;
@@ -15133,7 +15147,7 @@ declare function init(config: AuthHeroConfig): {
15133
15147
  [x: string]: hono_utils_types.JSONValue;
15134
15148
  } | undefined;
15135
15149
  } | {
15136
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15150
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15137
15151
  enabled: boolean;
15138
15152
  synchronous: boolean;
15139
15153
  created_at: string;
@@ -15168,7 +15182,7 @@ declare function init(config: AuthHeroConfig): {
15168
15182
  next?: string | undefined;
15169
15183
  } | {
15170
15184
  hooks: ({
15171
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15185
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15172
15186
  enabled: boolean;
15173
15187
  synchronous: boolean;
15174
15188
  created_at: string;
@@ -15198,7 +15212,7 @@ declare function init(config: AuthHeroConfig): {
15198
15212
  [x: string]: hono_utils_types.JSONValue;
15199
15213
  } | undefined;
15200
15214
  } | {
15201
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15215
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15202
15216
  enabled: boolean;
15203
15217
  synchronous: boolean;
15204
15218
  created_at: string;
@@ -15213,7 +15227,7 @@ declare function init(config: AuthHeroConfig): {
15213
15227
  [x: string]: hono_utils_types.JSONValue;
15214
15228
  } | undefined;
15215
15229
  } | {
15216
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15230
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15217
15231
  enabled: boolean;
15218
15232
  synchronous: boolean;
15219
15233
  created_at: string;
@@ -15259,7 +15273,7 @@ declare function init(config: AuthHeroConfig): {
15259
15273
  };
15260
15274
  } & {
15261
15275
  json: {
15262
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15276
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15263
15277
  url: string;
15264
15278
  scope?: "local" | "shared" | "platform" | undefined;
15265
15279
  override?: "none" | "secrets" | "fields" | undefined;
@@ -15281,7 +15295,7 @@ declare function init(config: AuthHeroConfig): {
15281
15295
  hook_id?: string | undefined;
15282
15296
  metadata?: Record<string, unknown> | undefined;
15283
15297
  } | {
15284
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15298
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15285
15299
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
15286
15300
  scope?: "local" | "shared" | "platform" | undefined;
15287
15301
  override?: "none" | "secrets" | "fields" | undefined;
@@ -15292,7 +15306,7 @@ declare function init(config: AuthHeroConfig): {
15292
15306
  hook_id?: string | undefined;
15293
15307
  metadata?: Record<string, unknown> | undefined;
15294
15308
  } | {
15295
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15309
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15296
15310
  code_id: string;
15297
15311
  scope?: "local" | "shared" | "platform" | undefined;
15298
15312
  override?: "none" | "secrets" | "fields" | undefined;
@@ -15317,7 +15331,7 @@ declare function init(config: AuthHeroConfig): {
15317
15331
  };
15318
15332
  };
15319
15333
  output: {
15320
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15334
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15321
15335
  enabled: boolean;
15322
15336
  synchronous: boolean;
15323
15337
  created_at: string;
@@ -15347,7 +15361,7 @@ declare function init(config: AuthHeroConfig): {
15347
15361
  [x: string]: hono_utils_types.JSONValue;
15348
15362
  } | undefined;
15349
15363
  } | {
15350
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15364
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15351
15365
  enabled: boolean;
15352
15366
  synchronous: boolean;
15353
15367
  created_at: string;
@@ -15362,7 +15376,7 @@ declare function init(config: AuthHeroConfig): {
15362
15376
  [x: string]: hono_utils_types.JSONValue;
15363
15377
  } | undefined;
15364
15378
  } | {
15365
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15379
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15366
15380
  enabled: boolean;
15367
15381
  synchronous: boolean;
15368
15382
  created_at: string;
@@ -15442,7 +15456,7 @@ declare function init(config: AuthHeroConfig): {
15442
15456
  json: unknown;
15443
15457
  };
15444
15458
  output: {
15445
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15459
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15446
15460
  enabled: boolean;
15447
15461
  synchronous: boolean;
15448
15462
  created_at: string;
@@ -15472,7 +15486,7 @@ declare function init(config: AuthHeroConfig): {
15472
15486
  [x: string]: hono_utils_types.JSONValue;
15473
15487
  } | undefined;
15474
15488
  } | {
15475
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15489
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15476
15490
  enabled: boolean;
15477
15491
  synchronous: boolean;
15478
15492
  created_at: string;
@@ -15487,7 +15501,7 @@ declare function init(config: AuthHeroConfig): {
15487
15501
  [x: string]: hono_utils_types.JSONValue;
15488
15502
  } | undefined;
15489
15503
  } | {
15490
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15504
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15491
15505
  enabled: boolean;
15492
15506
  synchronous: boolean;
15493
15507
  created_at: string;
@@ -15548,7 +15562,7 @@ declare function init(config: AuthHeroConfig): {
15548
15562
  };
15549
15563
  };
15550
15564
  output: {
15551
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15565
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
15552
15566
  enabled: boolean;
15553
15567
  synchronous: boolean;
15554
15568
  created_at: string;
@@ -15578,7 +15592,7 @@ declare function init(config: AuthHeroConfig): {
15578
15592
  [x: string]: hono_utils_types.JSONValue;
15579
15593
  } | undefined;
15580
15594
  } | {
15581
- trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
15595
+ trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
15582
15596
  enabled: boolean;
15583
15597
  synchronous: boolean;
15584
15598
  created_at: string;
@@ -15593,7 +15607,7 @@ declare function init(config: AuthHeroConfig): {
15593
15607
  [x: string]: hono_utils_types.JSONValue;
15594
15608
  } | undefined;
15595
15609
  } | {
15596
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15610
+ trigger_id: "post-user-login" | "pre-user-registration" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update" | "pre-screen" | "custom-email-provider" | "custom-phone-provider";
15597
15611
  enabled: boolean;
15598
15612
  synchronous: boolean;
15599
15613
  created_at: string;
@@ -15730,9 +15744,9 @@ declare function init(config: AuthHeroConfig): {
15730
15744
  tenant_id: string;
15731
15745
  event_type: string;
15732
15746
  log_type: string;
15733
- category: "user_action" | "admin_action" | "system" | "api";
15747
+ category: "api" | "user_action" | "admin_action" | "system";
15734
15748
  actor: {
15735
- type: "user" | "client_credentials" | "system" | "api_key" | "admin";
15749
+ type: "user" | "system" | "client_credentials" | "admin" | "api_key";
15736
15750
  id?: string | undefined;
15737
15751
  email?: string | undefined;
15738
15752
  org_id?: string | undefined;
@@ -15834,9 +15848,9 @@ declare function init(config: AuthHeroConfig): {
15834
15848
  tenant_id: string;
15835
15849
  event_type: string;
15836
15850
  log_type: string;
15837
- category: "user_action" | "admin_action" | "system" | "api";
15851
+ category: "api" | "user_action" | "admin_action" | "system";
15838
15852
  actor: {
15839
- type: "user" | "client_credentials" | "system" | "api_key" | "admin";
15853
+ type: "user" | "system" | "client_credentials" | "admin" | "api_key";
15840
15854
  id?: string | undefined;
15841
15855
  email?: string | undefined;
15842
15856
  org_id?: string | undefined;
@@ -16233,7 +16247,7 @@ declare function init(config: AuthHeroConfig): {
16233
16247
  created_at: string;
16234
16248
  updated_at: string;
16235
16249
  name: string;
16236
- provider: "auth0" | "cognito" | "okta" | "oidc";
16250
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16237
16251
  connection: string;
16238
16252
  enabled: boolean;
16239
16253
  credentials: {
@@ -16265,7 +16279,7 @@ declare function init(config: AuthHeroConfig): {
16265
16279
  created_at: string;
16266
16280
  updated_at: string;
16267
16281
  name: string;
16268
- provider: "auth0" | "cognito" | "okta" | "oidc";
16282
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16269
16283
  connection: string;
16270
16284
  enabled: boolean;
16271
16285
  credentials: {
@@ -16291,7 +16305,7 @@ declare function init(config: AuthHeroConfig): {
16291
16305
  } & {
16292
16306
  json: {
16293
16307
  name: string;
16294
- provider: "auth0" | "cognito" | "okta" | "oidc";
16308
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16295
16309
  connection: string;
16296
16310
  credentials: {
16297
16311
  domain: string;
@@ -16308,7 +16322,7 @@ declare function init(config: AuthHeroConfig): {
16308
16322
  created_at: string;
16309
16323
  updated_at: string;
16310
16324
  name: string;
16311
- provider: "auth0" | "cognito" | "okta" | "oidc";
16325
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16312
16326
  connection: string;
16313
16327
  enabled: boolean;
16314
16328
  credentials: {
@@ -16339,7 +16353,7 @@ declare function init(config: AuthHeroConfig): {
16339
16353
  json: {
16340
16354
  id?: string | undefined;
16341
16355
  name?: string | undefined;
16342
- provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
16356
+ provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
16343
16357
  connection?: string | undefined;
16344
16358
  enabled?: boolean | undefined;
16345
16359
  credentials?: {
@@ -16355,7 +16369,7 @@ declare function init(config: AuthHeroConfig): {
16355
16369
  created_at: string;
16356
16370
  updated_at: string;
16357
16371
  name: string;
16358
- provider: "auth0" | "cognito" | "okta" | "oidc";
16372
+ provider: "auth0" | "oidc" | "okta" | "cognito";
16359
16373
  connection: string;
16360
16374
  enabled: boolean;
16361
16375
  credentials: {
@@ -16398,12 +16412,12 @@ declare function init(config: AuthHeroConfig): {
16398
16412
  };
16399
16413
  output: {
16400
16414
  name: string;
16401
- type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
16415
+ type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
16402
16416
  sink: {
16403
16417
  [x: string]: hono_utils_types.JSONValue;
16404
16418
  };
16405
16419
  id: string;
16406
- status: "suspended" | "active" | "paused";
16420
+ status: "active" | "suspended" | "paused";
16407
16421
  filters?: {
16408
16422
  type: string;
16409
16423
  name: string;
@@ -16430,12 +16444,12 @@ declare function init(config: AuthHeroConfig): {
16430
16444
  };
16431
16445
  output: {
16432
16446
  name: string;
16433
- type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
16447
+ type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
16434
16448
  sink: {
16435
16449
  [x: string]: hono_utils_types.JSONValue;
16436
16450
  };
16437
16451
  id: string;
16438
- status: "suspended" | "active" | "paused";
16452
+ status: "active" | "suspended" | "paused";
16439
16453
  filters?: {
16440
16454
  type: string;
16441
16455
  name: string;
@@ -16458,9 +16472,9 @@ declare function init(config: AuthHeroConfig): {
16458
16472
  } & {
16459
16473
  json: {
16460
16474
  name: string;
16461
- type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
16475
+ type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
16462
16476
  sink: Record<string, unknown>;
16463
- status?: "suspended" | "active" | "paused" | undefined;
16477
+ status?: "active" | "suspended" | "paused" | undefined;
16464
16478
  filters?: {
16465
16479
  type: string;
16466
16480
  name: string;
@@ -16470,12 +16484,12 @@ declare function init(config: AuthHeroConfig): {
16470
16484
  };
16471
16485
  output: {
16472
16486
  name: string;
16473
- type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
16487
+ type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
16474
16488
  sink: {
16475
16489
  [x: string]: hono_utils_types.JSONValue;
16476
16490
  };
16477
16491
  id: string;
16478
- status: "suspended" | "active" | "paused";
16492
+ status: "active" | "suspended" | "paused";
16479
16493
  filters?: {
16480
16494
  type: string;
16481
16495
  name: string;
@@ -16502,7 +16516,7 @@ declare function init(config: AuthHeroConfig): {
16502
16516
  } & {
16503
16517
  json: {
16504
16518
  name?: string | undefined;
16505
- type?: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose" | undefined;
16519
+ type?: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | undefined;
16506
16520
  sink?: Record<string, unknown> | undefined;
16507
16521
  filters?: {
16508
16522
  type: string;
@@ -16510,19 +16524,19 @@ declare function init(config: AuthHeroConfig): {
16510
16524
  }[] | undefined;
16511
16525
  isPriority?: boolean | undefined;
16512
16526
  id?: string | undefined;
16513
- status?: "suspended" | "active" | "paused" | undefined;
16527
+ status?: "active" | "suspended" | "paused" | undefined;
16514
16528
  created_at?: string | undefined;
16515
16529
  updated_at?: string | undefined;
16516
16530
  };
16517
16531
  };
16518
16532
  output: {
16519
16533
  name: string;
16520
- type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | "firehose";
16534
+ type: "http" | "firehose" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
16521
16535
  sink: {
16522
16536
  [x: string]: hono_utils_types.JSONValue;
16523
16537
  };
16524
16538
  id: string;
16525
- status: "suspended" | "active" | "paused";
16539
+ status: "active" | "suspended" | "paused";
16526
16540
  filters?: {
16527
16541
  type: string;
16528
16542
  name: string;
@@ -16573,7 +16587,7 @@ declare function init(config: AuthHeroConfig): {
16573
16587
  };
16574
16588
  };
16575
16589
  output: {
16576
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16590
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16577
16591
  date: string;
16578
16592
  isMobile: boolean;
16579
16593
  log_id: string;
@@ -16612,7 +16626,7 @@ declare function init(config: AuthHeroConfig): {
16612
16626
  limit: number;
16613
16627
  length: number;
16614
16628
  logs: {
16615
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16629
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16616
16630
  date: string;
16617
16631
  isMobile: boolean;
16618
16632
  log_id: string;
@@ -16651,7 +16665,7 @@ declare function init(config: AuthHeroConfig): {
16651
16665
  next?: string | undefined;
16652
16666
  } | {
16653
16667
  logs: {
16654
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16668
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16655
16669
  date: string;
16656
16670
  isMobile: boolean;
16657
16671
  log_id: string;
@@ -16705,7 +16719,7 @@ declare function init(config: AuthHeroConfig): {
16705
16719
  };
16706
16720
  };
16707
16721
  output: {
16708
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16722
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16709
16723
  date: string;
16710
16724
  isMobile: boolean;
16711
16725
  log_id: string;
@@ -16773,7 +16787,7 @@ declare function init(config: AuthHeroConfig): {
16773
16787
  [x: string]: hono_utils_types.JSONValue;
16774
16788
  } | undefined;
16775
16789
  name?: string | undefined;
16776
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16790
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16777
16791
  ticket?: string | undefined;
16778
16792
  };
16779
16793
  outputFormat: "json";
@@ -16786,7 +16800,7 @@ declare function init(config: AuthHeroConfig): {
16786
16800
  input: {
16787
16801
  query: {
16788
16802
  type?: "iat" | "rat" | undefined;
16789
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16803
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16790
16804
  client_id?: string | undefined;
16791
16805
  page?: string | undefined;
16792
16806
  per_page?: string | undefined;
@@ -16800,10 +16814,10 @@ declare function init(config: AuthHeroConfig): {
16800
16814
  output: {
16801
16815
  id: string;
16802
16816
  type: "iat" | "rat";
16803
- status: "revoked" | "expired" | "active" | "used";
16817
+ status: "active" | "expired" | "revoked" | "used";
16804
16818
  single_use: boolean;
16805
16819
  created_at: string;
16806
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16820
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16807
16821
  name?: string | undefined;
16808
16822
  client_id?: string | undefined;
16809
16823
  sub?: string | undefined;
@@ -16818,10 +16832,10 @@ declare function init(config: AuthHeroConfig): {
16818
16832
  client_registration_tokens: {
16819
16833
  id: string;
16820
16834
  type: "iat" | "rat";
16821
- status: "revoked" | "expired" | "active" | "used";
16835
+ status: "active" | "expired" | "revoked" | "used";
16822
16836
  single_use: boolean;
16823
16837
  created_at: string;
16824
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16838
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16825
16839
  name?: string | undefined;
16826
16840
  client_id?: string | undefined;
16827
16841
  sub?: string | undefined;
@@ -16857,10 +16871,10 @@ declare function init(config: AuthHeroConfig): {
16857
16871
  output: {
16858
16872
  id: string;
16859
16873
  type: "iat" | "rat";
16860
- status: "revoked" | "expired" | "active" | "used";
16874
+ status: "active" | "expired" | "revoked" | "used";
16861
16875
  single_use: boolean;
16862
16876
  created_at: string;
16863
- source?: "invite" | "edit_link" | "registration" | "connect" | undefined;
16877
+ source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
16864
16878
  name?: string | undefined;
16865
16879
  client_id?: string | undefined;
16866
16880
  sub?: string | undefined;
@@ -17261,7 +17275,7 @@ declare function init(config: AuthHeroConfig): {
17261
17275
  can_create_session_transfer_token?: boolean | undefined;
17262
17276
  enforce_cascade_revocation?: boolean | undefined;
17263
17277
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17264
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17278
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17265
17279
  allow_refresh_token?: boolean | undefined;
17266
17280
  enforce_online_refresh_tokens?: boolean | undefined;
17267
17281
  allow_onward_transfer?: boolean | undefined;
@@ -17374,7 +17388,7 @@ declare function init(config: AuthHeroConfig): {
17374
17388
  can_create_session_transfer_token?: boolean | undefined;
17375
17389
  enforce_cascade_revocation?: boolean | undefined;
17376
17390
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17377
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17391
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17378
17392
  allow_refresh_token?: boolean | undefined;
17379
17393
  enforce_online_refresh_tokens?: boolean | undefined;
17380
17394
  allow_onward_transfer?: boolean | undefined;
@@ -17487,7 +17501,7 @@ declare function init(config: AuthHeroConfig): {
17487
17501
  can_create_session_transfer_token?: boolean | undefined;
17488
17502
  enforce_cascade_revocation?: boolean | undefined;
17489
17503
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17490
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17504
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17491
17505
  allow_refresh_token?: boolean | undefined;
17492
17506
  enforce_online_refresh_tokens?: boolean | undefined;
17493
17507
  allow_onward_transfer?: boolean | undefined;
@@ -17615,7 +17629,7 @@ declare function init(config: AuthHeroConfig): {
17615
17629
  can_create_session_transfer_token?: boolean | undefined;
17616
17630
  enforce_cascade_revocation?: boolean | undefined;
17617
17631
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17618
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17632
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17619
17633
  allow_refresh_token?: boolean | undefined;
17620
17634
  enforce_online_refresh_tokens?: boolean | undefined;
17621
17635
  allow_onward_transfer?: boolean | undefined;
@@ -17763,7 +17777,7 @@ declare function init(config: AuthHeroConfig): {
17763
17777
  can_create_session_transfer_token?: boolean | undefined;
17764
17778
  enforce_cascade_revocation?: boolean | undefined;
17765
17779
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17766
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17780
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17767
17781
  allow_refresh_token?: boolean | undefined;
17768
17782
  enforce_online_refresh_tokens?: boolean | undefined;
17769
17783
  allow_onward_transfer?: boolean | undefined;
@@ -17856,7 +17870,7 @@ declare function init(config: AuthHeroConfig): {
17856
17870
  can_create_session_transfer_token?: boolean | undefined;
17857
17871
  enforce_cascade_revocation?: boolean | undefined;
17858
17872
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17859
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17873
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17860
17874
  allow_refresh_token?: boolean | undefined;
17861
17875
  enforce_online_refresh_tokens?: boolean | undefined;
17862
17876
  allow_onward_transfer?: boolean | undefined;
@@ -17970,7 +17984,7 @@ declare function init(config: AuthHeroConfig): {
17970
17984
  can_create_session_transfer_token?: boolean | undefined;
17971
17985
  enforce_cascade_revocation?: boolean | undefined;
17972
17986
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
17973
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
17987
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
17974
17988
  allow_refresh_token?: boolean | undefined;
17975
17989
  enforce_online_refresh_tokens?: boolean | undefined;
17976
17990
  allow_onward_transfer?: boolean | undefined;
@@ -18063,7 +18077,7 @@ declare function init(config: AuthHeroConfig): {
18063
18077
  can_create_session_transfer_token?: boolean | undefined;
18064
18078
  enforce_cascade_revocation?: boolean | undefined;
18065
18079
  allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
18066
- enforce_device_binding?: "none" | "ip" | "asn" | undefined;
18080
+ enforce_device_binding?: "asn" | "ip" | "none" | undefined;
18067
18081
  allow_refresh_token?: boolean | undefined;
18068
18082
  enforce_online_refresh_tokens?: boolean | undefined;
18069
18083
  allow_onward_transfer?: boolean | undefined;
@@ -18271,7 +18285,7 @@ declare function init(config: AuthHeroConfig): {
18271
18285
  } | undefined;
18272
18286
  } | undefined;
18273
18287
  passkey_options?: {
18274
- challenge_ui?: "button" | "both" | "autofill" | undefined;
18288
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
18275
18289
  local_enrollment_enabled?: boolean | undefined;
18276
18290
  progressive_enrollment_enabled?: boolean | undefined;
18277
18291
  } | undefined;
@@ -18433,7 +18447,7 @@ declare function init(config: AuthHeroConfig): {
18433
18447
  } | undefined;
18434
18448
  } | undefined;
18435
18449
  passkey_options?: {
18436
- challenge_ui?: "button" | "both" | "autofill" | undefined;
18450
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
18437
18451
  local_enrollment_enabled?: boolean | undefined;
18438
18452
  progressive_enrollment_enabled?: boolean | undefined;
18439
18453
  } | undefined;
@@ -18571,11 +18585,11 @@ declare function init(config: AuthHeroConfig): {
18571
18585
  cert: string;
18572
18586
  fingerprint: string;
18573
18587
  thumbprint: string;
18574
- connection?: string | undefined;
18575
18588
  tenant_id?: string | undefined;
18576
- next?: boolean | undefined;
18589
+ connection?: string | undefined;
18577
18590
  revoked_at?: string | undefined;
18578
18591
  current?: boolean | undefined;
18592
+ next?: boolean | undefined;
18579
18593
  previous?: boolean | undefined;
18580
18594
  current_since?: string | undefined;
18581
18595
  current_until?: string | undefined;
@@ -18610,11 +18624,11 @@ declare function init(config: AuthHeroConfig): {
18610
18624
  cert: string;
18611
18625
  fingerprint: string;
18612
18626
  thumbprint: string;
18613
- connection?: string | undefined;
18614
18627
  tenant_id?: string | undefined;
18615
- next?: boolean | undefined;
18628
+ connection?: string | undefined;
18616
18629
  revoked_at?: string | undefined;
18617
18630
  current?: boolean | undefined;
18631
+ next?: boolean | undefined;
18618
18632
  previous?: boolean | undefined;
18619
18633
  current_since?: string | undefined;
18620
18634
  current_until?: string | undefined;
@@ -18648,11 +18662,11 @@ declare function init(config: AuthHeroConfig): {
18648
18662
  cert: string;
18649
18663
  fingerprint: string;
18650
18664
  thumbprint: string;
18651
- connection?: string | undefined;
18652
18665
  tenant_id?: string | undefined;
18653
- next?: boolean | undefined;
18666
+ connection?: string | undefined;
18654
18667
  revoked_at?: string | undefined;
18655
18668
  current?: boolean | undefined;
18669
+ next?: boolean | undefined;
18656
18670
  previous?: boolean | undefined;
18657
18671
  current_since?: string | undefined;
18658
18672
  current_until?: string | undefined;
@@ -18688,11 +18702,11 @@ declare function init(config: AuthHeroConfig): {
18688
18702
  cert: string;
18689
18703
  fingerprint: string;
18690
18704
  thumbprint: string;
18691
- connection?: string | undefined;
18692
18705
  tenant_id?: string | undefined;
18693
- next?: boolean | undefined;
18706
+ connection?: string | undefined;
18694
18707
  revoked_at?: string | undefined;
18695
18708
  current?: boolean | undefined;
18709
+ next?: boolean | undefined;
18696
18710
  previous?: boolean | undefined;
18697
18711
  current_since?: string | undefined;
18698
18712
  current_until?: string | undefined;
@@ -19614,9 +19628,9 @@ declare function init(config: AuthHeroConfig): {
19614
19628
  };
19615
19629
  };
19616
19630
  output: {
19617
- created_at: string;
19618
- user_id: string;
19619
19631
  id: string;
19632
+ user_id: string;
19633
+ created_at: string;
19620
19634
  client_id: string;
19621
19635
  rotating: boolean;
19622
19636
  device: {
@@ -19637,6 +19651,7 @@ declare function init(config: AuthHeroConfig): {
19637
19651
  family_id: string;
19638
19652
  cascade_revocation: boolean;
19639
19653
  } | undefined;
19654
+ organization?: string | undefined;
19640
19655
  expires_at?: string | undefined;
19641
19656
  session_id?: string | undefined;
19642
19657
  auth_connection?: string | undefined;
@@ -19644,15 +19659,17 @@ declare function init(config: AuthHeroConfig): {
19644
19659
  strategy: string;
19645
19660
  strategy_type: string;
19646
19661
  } | undefined;
19647
- organization?: string | undefined;
19648
19662
  revoked_at?: string | undefined;
19649
19663
  idle_expires_at?: string | undefined;
19650
19664
  last_exchanged_at?: string | undefined;
19651
19665
  }[] | {
19666
+ start: number;
19667
+ limit: number;
19668
+ length: number;
19652
19669
  tokens: {
19653
- created_at: string;
19654
- user_id: string;
19655
19670
  id: string;
19671
+ user_id: string;
19672
+ created_at: string;
19656
19673
  client_id: string;
19657
19674
  rotating: boolean;
19658
19675
  device: {
@@ -19673,6 +19690,7 @@ declare function init(config: AuthHeroConfig): {
19673
19690
  family_id: string;
19674
19691
  cascade_revocation: boolean;
19675
19692
  } | undefined;
19693
+ organization?: string | undefined;
19676
19694
  expires_at?: string | undefined;
19677
19695
  session_id?: string | undefined;
19678
19696
  auth_connection?: string | undefined;
@@ -19680,20 +19698,17 @@ declare function init(config: AuthHeroConfig): {
19680
19698
  strategy: string;
19681
19699
  strategy_type: string;
19682
19700
  } | undefined;
19683
- organization?: string | undefined;
19684
19701
  revoked_at?: string | undefined;
19685
19702
  idle_expires_at?: string | undefined;
19686
19703
  last_exchanged_at?: string | undefined;
19687
19704
  }[];
19705
+ total?: number | undefined;
19688
19706
  next?: string | undefined;
19689
19707
  } | {
19690
- start: number;
19691
- limit: number;
19692
- length: number;
19693
19708
  tokens: {
19694
- created_at: string;
19695
- user_id: string;
19696
19709
  id: string;
19710
+ user_id: string;
19711
+ created_at: string;
19697
19712
  client_id: string;
19698
19713
  rotating: boolean;
19699
19714
  device: {
@@ -19714,6 +19729,7 @@ declare function init(config: AuthHeroConfig): {
19714
19729
  family_id: string;
19715
19730
  cascade_revocation: boolean;
19716
19731
  } | undefined;
19732
+ organization?: string | undefined;
19717
19733
  expires_at?: string | undefined;
19718
19734
  session_id?: string | undefined;
19719
19735
  auth_connection?: string | undefined;
@@ -19721,12 +19737,10 @@ declare function init(config: AuthHeroConfig): {
19721
19737
  strategy: string;
19722
19738
  strategy_type: string;
19723
19739
  } | undefined;
19724
- organization?: string | undefined;
19725
19740
  revoked_at?: string | undefined;
19726
19741
  idle_expires_at?: string | undefined;
19727
19742
  last_exchanged_at?: string | undefined;
19728
19743
  }[];
19729
- total?: number | undefined;
19730
19744
  next?: string | undefined;
19731
19745
  };
19732
19746
  outputFormat: "json";
@@ -19805,7 +19819,7 @@ declare function init(config: AuthHeroConfig): {
19805
19819
  };
19806
19820
  };
19807
19821
  output: {
19808
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19822
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19809
19823
  date: string;
19810
19824
  isMobile: boolean;
19811
19825
  log_id: string;
@@ -19840,11 +19854,8 @@ declare function init(config: AuthHeroConfig): {
19840
19854
  continent_code: string;
19841
19855
  } | undefined;
19842
19856
  }[] | {
19843
- start: number;
19844
- limit: number;
19845
- length: number;
19846
19857
  logs: {
19847
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19858
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19848
19859
  date: string;
19849
19860
  isMobile: boolean;
19850
19861
  log_id: string;
@@ -19879,11 +19890,13 @@ declare function init(config: AuthHeroConfig): {
19879
19890
  continent_code: string;
19880
19891
  } | undefined;
19881
19892
  }[];
19882
- total?: number | undefined;
19883
19893
  next?: string | undefined;
19884
19894
  } | {
19895
+ start: number;
19896
+ limit: number;
19897
+ length: number;
19885
19898
  logs: {
19886
- type: "i" | "fn" | "f" | "cs" | "fi" | "sv" | "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" | "depnote" | "cfgdiff" | "cfgdrift" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19899
+ type: "i" | "fs" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
19887
19900
  date: string;
19888
19901
  isMobile: boolean;
19889
19902
  log_id: string;
@@ -19918,6 +19931,7 @@ declare function init(config: AuthHeroConfig): {
19918
19931
  continent_code: string;
19919
19932
  } | undefined;
19920
19933
  }[];
19934
+ total?: number | undefined;
19921
19935
  next?: string | undefined;
19922
19936
  };
19923
19937
  outputFormat: "json";
@@ -21167,15 +21181,15 @@ declare function init(config: AuthHeroConfig): {
21167
21181
  page_background: {
21168
21182
  background_color: string;
21169
21183
  background_image_url: string;
21170
- page_layout: "center" | "left" | "right";
21184
+ page_layout: "left" | "right" | "center";
21171
21185
  background_color_dark?: string | undefined;
21172
21186
  background_image_url_dark?: string | undefined;
21173
21187
  logo_placement?: "none" | "widget" | "chip" | undefined;
21174
21188
  };
21175
21189
  widget: {
21176
- header_text_alignment: "center" | "left" | "right";
21190
+ header_text_alignment: "left" | "right" | "center";
21177
21191
  logo_height: number;
21178
- logo_position: "none" | "center" | "left" | "right";
21192
+ logo_position: "none" | "left" | "right" | "center";
21179
21193
  logo_url: string;
21180
21194
  social_buttons_layout: "bottom" | "top";
21181
21195
  logo_url_dark?: string | undefined;
@@ -21280,15 +21294,15 @@ declare function init(config: AuthHeroConfig): {
21280
21294
  page_background: {
21281
21295
  background_color: string;
21282
21296
  background_image_url: string;
21283
- page_layout: "center" | "left" | "right";
21297
+ page_layout: "left" | "right" | "center";
21284
21298
  background_color_dark?: string | undefined;
21285
21299
  background_image_url_dark?: string | undefined;
21286
21300
  logo_placement?: "none" | "widget" | "chip" | undefined;
21287
21301
  };
21288
21302
  widget: {
21289
- header_text_alignment: "center" | "left" | "right";
21303
+ header_text_alignment: "left" | "right" | "center";
21290
21304
  logo_height: number;
21291
- logo_position: "none" | "center" | "left" | "right";
21305
+ logo_position: "none" | "left" | "right" | "center";
21292
21306
  logo_url: string;
21293
21307
  social_buttons_layout: "bottom" | "top";
21294
21308
  logo_url_dark?: string | undefined;
@@ -21382,15 +21396,15 @@ declare function init(config: AuthHeroConfig): {
21382
21396
  page_background: {
21383
21397
  background_color: string;
21384
21398
  background_image_url: string;
21385
- page_layout: "center" | "left" | "right";
21399
+ page_layout: "left" | "right" | "center";
21386
21400
  background_color_dark?: string | undefined;
21387
21401
  background_image_url_dark?: string | undefined;
21388
21402
  logo_placement?: "none" | "widget" | "chip" | undefined;
21389
21403
  };
21390
21404
  widget: {
21391
- header_text_alignment: "center" | "left" | "right";
21405
+ header_text_alignment: "left" | "right" | "center";
21392
21406
  logo_height: number;
21393
- logo_position: "none" | "center" | "left" | "right";
21407
+ logo_position: "none" | "left" | "right" | "center";
21394
21408
  logo_url: string;
21395
21409
  social_buttons_layout: "bottom" | "top";
21396
21410
  logo_url_dark?: string | undefined;
@@ -21426,7 +21440,7 @@ declare function init(config: AuthHeroConfig): {
21426
21440
  $post: {
21427
21441
  input: {
21428
21442
  param: {
21429
- kind: "font" | "logo" | "favicon" | "powered_by_logo" | "background";
21443
+ kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
21430
21444
  };
21431
21445
  } & {
21432
21446
  header: {
@@ -21443,7 +21457,7 @@ declare function init(config: AuthHeroConfig): {
21443
21457
  } | {
21444
21458
  input: {
21445
21459
  param: {
21446
- kind: "font" | "logo" | "favicon" | "powered_by_logo" | "background";
21460
+ kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
21447
21461
  };
21448
21462
  } & {
21449
21463
  header: {
@@ -21460,7 +21474,7 @@ declare function init(config: AuthHeroConfig): {
21460
21474
  } | {
21461
21475
  input: {
21462
21476
  param: {
21463
- kind: "font" | "logo" | "favicon" | "powered_by_logo" | "background";
21477
+ kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
21464
21478
  };
21465
21479
  } & {
21466
21480
  header: {
@@ -21482,7 +21496,7 @@ declare function init(config: AuthHeroConfig): {
21482
21496
  } | {
21483
21497
  input: {
21484
21498
  param: {
21485
- kind: "font" | "logo" | "favicon" | "powered_by_logo" | "background";
21499
+ kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
21486
21500
  };
21487
21501
  } & {
21488
21502
  header: {
@@ -21665,7 +21679,7 @@ declare function init(config: AuthHeroConfig): {
21665
21679
  } & {
21666
21680
  json: {
21667
21681
  body?: string | undefined;
21668
- screen?: "error" | "password" | "mfa" | "otp" | "login" | "identifier" | "signup" | "consent" | undefined;
21682
+ screen?: "error" | "mfa" | "otp" | "login" | "identifier" | "signup" | "password" | "consent" | undefined;
21669
21683
  branding?: {
21670
21684
  colors?: {
21671
21685
  primary: string;
@@ -21776,15 +21790,15 @@ declare function init(config: AuthHeroConfig): {
21776
21790
  page_background?: {
21777
21791
  background_color: string;
21778
21792
  background_image_url: string;
21779
- page_layout: "center" | "left" | "right";
21793
+ page_layout: "left" | "right" | "center";
21780
21794
  background_color_dark?: string | undefined;
21781
21795
  background_image_url_dark?: string | undefined;
21782
21796
  logo_placement?: "none" | "widget" | "chip" | undefined;
21783
21797
  } | undefined;
21784
21798
  widget?: {
21785
- header_text_alignment: "center" | "left" | "right";
21799
+ header_text_alignment: "left" | "right" | "center";
21786
21800
  logo_height: number;
21787
- logo_position: "none" | "center" | "left" | "right";
21801
+ logo_position: "none" | "left" | "right" | "center";
21788
21802
  logo_url: string;
21789
21803
  social_buttons_layout: "bottom" | "top";
21790
21804
  logo_url_dark?: string | undefined;
@@ -21865,7 +21879,7 @@ declare function init(config: AuthHeroConfig): {
21865
21879
  json: {
21866
21880
  bindings: {
21867
21881
  ref: {
21868
- type?: "action_id" | "action_name" | undefined;
21882
+ type?: "action_name" | "action_id" | undefined;
21869
21883
  value?: string | undefined;
21870
21884
  id?: string | undefined;
21871
21885
  name?: string | undefined;
@@ -21890,7 +21904,7 @@ declare function init(config: AuthHeroConfig): {
21890
21904
  json: {
21891
21905
  bindings: {
21892
21906
  ref: {
21893
- type?: "action_id" | "action_name" | undefined;
21907
+ type?: "action_name" | "action_id" | undefined;
21894
21908
  value?: string | undefined;
21895
21909
  id?: string | undefined;
21896
21910
  name?: string | undefined;
@@ -21967,7 +21981,7 @@ declare function init(config: AuthHeroConfig): {
21967
21981
  output: {
21968
21982
  id: string;
21969
21983
  trigger_id: string;
21970
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
21984
+ status: "final" | "pending" | "unspecified" | "partial" | "canceled" | "suspended";
21971
21985
  results: {
21972
21986
  action_name: string;
21973
21987
  error: {
@@ -22014,7 +22028,7 @@ declare function init(config: AuthHeroConfig): {
22014
22028
  logs: {
22015
22029
  action_name: string;
22016
22030
  lines: {
22017
- level: "error" | "info" | "log" | "warn" | "debug";
22031
+ level: "error" | "log" | "info" | "warn" | "debug";
22018
22032
  message: string;
22019
22033
  }[];
22020
22034
  }[];
@@ -22939,7 +22953,7 @@ declare function init(config: AuthHeroConfig): {
22939
22953
  args: hono_utils_types.JSONValue[];
22940
22954
  }[];
22941
22955
  logs: {
22942
- level: "error" | "info" | "log" | "warn" | "debug";
22956
+ level: "error" | "log" | "info" | "warn" | "debug";
22943
22957
  message: string;
22944
22958
  }[];
22945
22959
  error?: string | undefined;
@@ -23711,16 +23725,16 @@ declare function init(config: AuthHeroConfig): {
23711
23725
  email: string;
23712
23726
  send: "code" | "link";
23713
23727
  authParams: {
23728
+ username?: string | undefined;
23729
+ organization?: string | undefined;
23714
23730
  scope?: string | undefined;
23715
23731
  state?: string | undefined;
23716
23732
  connection?: string | undefined;
23717
- username?: string | undefined;
23718
23733
  audience?: string | undefined;
23719
23734
  act_as?: string | undefined;
23720
23735
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
23721
23736
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
23722
23737
  redirect_uri?: string | undefined;
23723
- organization?: string | undefined;
23724
23738
  nonce?: string | undefined;
23725
23739
  prompt?: string | undefined;
23726
23740
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
@@ -23748,16 +23762,16 @@ declare function init(config: AuthHeroConfig): {
23748
23762
  phone_number: string;
23749
23763
  send: "code" | "link";
23750
23764
  authParams: {
23765
+ username?: string | undefined;
23766
+ organization?: string | undefined;
23751
23767
  scope?: string | undefined;
23752
23768
  state?: string | undefined;
23753
23769
  connection?: string | undefined;
23754
- username?: string | undefined;
23755
23770
  audience?: string | undefined;
23756
23771
  act_as?: string | undefined;
23757
23772
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
23758
23773
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
23759
23774
  redirect_uri?: string | undefined;
23760
- organization?: string | undefined;
23761
23775
  nonce?: string | undefined;
23762
23776
  prompt?: string | undefined;
23763
23777
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
@@ -23893,14 +23907,14 @@ declare function init(config: AuthHeroConfig): {
23893
23907
  input: {
23894
23908
  form: {
23895
23909
  token: string;
23896
- token_type_hint?: "access_token" | "refresh_token" | undefined;
23910
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
23897
23911
  client_id?: string | undefined;
23898
23912
  client_secret?: string | undefined;
23899
23913
  };
23900
23914
  } & {
23901
23915
  json: {
23902
23916
  token: string;
23903
- token_type_hint?: "access_token" | "refresh_token" | undefined;
23917
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
23904
23918
  client_id?: string | undefined;
23905
23919
  client_secret?: string | undefined;
23906
23920
  };
@@ -23912,14 +23926,14 @@ declare function init(config: AuthHeroConfig): {
23912
23926
  input: {
23913
23927
  form: {
23914
23928
  token: string;
23915
- token_type_hint?: "access_token" | "refresh_token" | undefined;
23929
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
23916
23930
  client_id?: string | undefined;
23917
23931
  client_secret?: string | undefined;
23918
23932
  };
23919
23933
  } & {
23920
23934
  json: {
23921
23935
  token: string;
23922
- token_type_hint?: "access_token" | "refresh_token" | undefined;
23936
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
23923
23937
  client_id?: string | undefined;
23924
23938
  client_secret?: string | undefined;
23925
23939
  };
@@ -23934,14 +23948,14 @@ declare function init(config: AuthHeroConfig): {
23934
23948
  input: {
23935
23949
  form: {
23936
23950
  token: string;
23937
- token_type_hint?: "access_token" | "refresh_token" | undefined;
23951
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
23938
23952
  client_id?: string | undefined;
23939
23953
  client_secret?: string | undefined;
23940
23954
  };
23941
23955
  } & {
23942
23956
  json: {
23943
23957
  token: string;
23944
- token_type_hint?: "access_token" | "refresh_token" | undefined;
23958
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
23945
23959
  client_id?: string | undefined;
23946
23960
  client_secret?: string | undefined;
23947
23961
  };
@@ -26153,7 +26167,7 @@ declare function init(config: AuthHeroConfig): {
26153
26167
  $get: {
26154
26168
  input: {
26155
26169
  param: {
26156
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "account" | "enter-password" | "invalid-session" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "try-connection-result" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26170
+ screen: "impersonate" | "login" | "signup" | "reset-password" | "account" | "invalid-session" | "consent" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26157
26171
  };
26158
26172
  } & {
26159
26173
  query: {
@@ -26169,7 +26183,7 @@ declare function init(config: AuthHeroConfig): {
26169
26183
  } | {
26170
26184
  input: {
26171
26185
  param: {
26172
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "account" | "enter-password" | "invalid-session" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "try-connection-result" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26186
+ screen: "impersonate" | "login" | "signup" | "reset-password" | "account" | "invalid-session" | "consent" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26173
26187
  };
26174
26188
  } & {
26175
26189
  query: {
@@ -26185,7 +26199,7 @@ declare function init(config: AuthHeroConfig): {
26185
26199
  } | {
26186
26200
  input: {
26187
26201
  param: {
26188
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "account" | "enter-password" | "invalid-session" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "try-connection-result" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26202
+ screen: "impersonate" | "login" | "signup" | "reset-password" | "account" | "invalid-session" | "consent" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation" | "device/complete";
26189
26203
  };
26190
26204
  } & {
26191
26205
  query: {
@@ -26205,7 +26219,7 @@ declare function init(config: AuthHeroConfig): {
26205
26219
  $post: {
26206
26220
  input: {
26207
26221
  param: {
26208
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "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" | "self-service/app" | "device/code" | "device/confirmation";
26222
+ screen: "impersonate" | "login" | "signup" | "reset-password" | "consent" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation";
26209
26223
  };
26210
26224
  } & {
26211
26225
  query: {
@@ -26223,7 +26237,7 @@ declare function init(config: AuthHeroConfig): {
26223
26237
  } | {
26224
26238
  input: {
26225
26239
  param: {
26226
- screen: "login" | "signup" | "consent" | "impersonate" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "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" | "self-service/app" | "device/code" | "device/confirmation";
26240
+ screen: "impersonate" | "login" | "signup" | "reset-password" | "consent" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/email-verification" | "login/email-verification-sent" | "account/change-email" | "account/change-email/verify" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/magic-link-sent" | "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" | "self-service/app" | "device/code" | "device/confirmation";
26227
26241
  };
26228
26242
  } & {
26229
26243
  query: {