authhero 5.16.0 → 5.17.1

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 (50) hide show
  1. package/dist/authhero.cjs +70 -70
  2. package/dist/authhero.d.ts +315 -265
  3. package/dist/authhero.mjs +4304 -4265
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  7. package/dist/types/emails/defaults/Layout.d.ts +1 -1
  8. package/dist/types/emails/defaults/PrimaryButton.d.ts +1 -1
  9. package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
  10. package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
  11. package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
  12. package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
  13. package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
  14. package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
  15. package/dist/types/index.d.ts +239 -238
  16. package/dist/types/middlewares/authentication.d.ts +17 -0
  17. package/dist/types/routes/auth-api/authorize.d.ts +12 -12
  18. package/dist/types/routes/auth-api/index.d.ts +54 -54
  19. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  20. package/dist/types/routes/auth-api/passwordless.d.ts +18 -18
  21. package/dist/types/routes/auth-api/token.d.ts +21 -21
  22. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  23. package/dist/types/routes/management-api/actions.d.ts +1 -1
  24. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  25. package/dist/types/routes/management-api/branding.d.ts +8 -8
  26. package/dist/types/routes/management-api/connections.d.ts +1 -1
  27. package/dist/types/routes/management-api/email-templates.d.ts +14 -14
  28. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  29. package/dist/types/routes/management-api/forms.d.ts +119 -119
  30. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  31. package/dist/types/routes/management-api/index.d.ts +169 -169
  32. package/dist/types/routes/management-api/logs.d.ts +3 -3
  33. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  34. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  35. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  36. package/dist/types/routes/management-api/themes.d.ts +3 -3
  37. package/dist/types/routes/management-api/users.d.ts +2 -2
  38. package/dist/types/routes/universal-login/common.d.ts +4 -4
  39. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  40. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  41. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  42. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  43. package/dist/types/routes/universal-login/index.d.ts +8 -8
  44. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  45. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  46. package/dist/types/types/AuthHeroConfig.d.ts +33 -0
  47. package/dist/types/types/Hooks.d.ts +1 -1
  48. package/dist/types/types/IdToken.d.ts +1 -1
  49. package/dist/types/types/Variables.d.ts +1 -0
  50. package/package.json +3 -3
@@ -8,7 +8,7 @@ import { z, OpenAPIHono } from '@hono/zod-openapi';
8
8
  import { CountryCode } from 'libphonenumber-js';
9
9
  import { SamlSigner } from '@authhero/saml/core';
10
10
  export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
11
- import { Context, Handler, Next, MiddlewareHandler } from 'hono';
11
+ import { Context, Next, Handler, MiddlewareHandler } from 'hono';
12
12
  import * as _authhero_proxy from '@authhero/proxy';
13
13
  import { FC, PropsWithChildren, JSXNode } from 'hono/jsx';
14
14
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
@@ -39,6 +39,7 @@ type Variables = {
39
39
  org_name?: string;
40
40
  org_id?: string;
41
41
  scope?: string;
42
+ aud?: string | string[];
42
43
  };
43
44
  organization_id?: string;
44
45
  org_name?: string;
@@ -615,7 +616,7 @@ type HookEvent = {
615
616
  organization?: {
616
617
  id: string;
617
618
  name: string;
618
- display_name: string;
619
+ display_name?: string;
619
620
  metadata?: Record<string, unknown>;
620
621
  };
621
622
  resource_server?: {
@@ -768,6 +769,47 @@ type Hooks = {
768
769
  onFetchUserInfo?: OnFetchUserInfo;
769
770
  };
770
771
 
772
+ /**
773
+ * Management API audience for cross-tenant operations.
774
+ * Used when managing tenants from the main tenant with org-scoped tokens.
775
+ */
776
+ declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
777
+ /**
778
+ * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
779
+ *
780
+ * `requireManagementAudience` enables the defense-in-depth check that the
781
+ * token's `aud` includes the management API audience. It must be enabled
782
+ * for the management API and left off for everything else (the `/userinfo`
783
+ * endpoint, for example, takes any access token issued by this tenant).
784
+ *
785
+ * `relaxManagementAudience` downgrades that audience check from a hard
786
+ * rejection to a `console.warn`, letting tokens issued for other audiences
787
+ * still pass. TRANSITIONAL: use only while migrating clients to request
788
+ * the management audience; flip back off once warnings stop appearing.
789
+ *
790
+ * `additionalManagementAudiences` extends the set of accepted audiences
791
+ * beyond the built-in `urn:authhero:management`. The resolver receives the
792
+ * token's `tenant_id` and returns the list of audiences accepted for that
793
+ * token, so a per-tenant identifier (e.g.
794
+ * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
795
+ * request time alongside any global legacy identifiers.
796
+ */
797
+ type ManagementAudienceResolver = (params: {
798
+ tenant_id?: string;
799
+ }) => string[] | Promise<string[]>;
800
+ interface AuthMiddlewareOptions {
801
+ requireManagementAudience?: boolean;
802
+ relaxManagementAudience?: boolean;
803
+ additionalManagementAudiences?: ManagementAudienceResolver;
804
+ }
805
+ declare function createAuthMiddleware(app: OpenAPIHono<{
806
+ Bindings: Bindings;
807
+ Variables: Variables;
808
+ }>, options?: AuthMiddlewareOptions): (ctx: Context<{
809
+ Bindings: Bindings;
810
+ Variables: any;
811
+ }>, next: Next) => Promise<void>;
812
+
771
813
  /**
772
814
  * Parameters passed to a custom webhook invoker function.
773
815
  */
@@ -1190,6 +1232,38 @@ interface AuthHeroConfig {
1190
1232
  * @default "control-plane"
1191
1233
  */
1192
1234
  signingKeyMode?: SigningKeyModeOption;
1235
+ /**
1236
+ * Relax the management API audience check from a hard 403 to a
1237
+ * `console.warn`. Tokens issued for any other audience will still be
1238
+ * accepted as long as they carry a matching scope/permission string.
1239
+ *
1240
+ * TRANSITIONAL: enable only while migrating clients to request the
1241
+ * `urn:authhero:management` audience. Watch the warn logs to identify
1242
+ * the remaining offenders, then flip this back off — the audience check
1243
+ * is a defense-in-depth control against tokens minted with
1244
+ * attacker-chosen scopes for an unregistered audience.
1245
+ *
1246
+ * @default false
1247
+ */
1248
+ relaxManagementAudience?: boolean;
1249
+ /**
1250
+ * Resolver returning the list of audiences accepted by the management
1251
+ * API audience check **in addition to** the built-in
1252
+ * `urn:authhero:management`. The token's `tenant_id` is passed in, so a
1253
+ * per-tenant identifier can be constructed at request time alongside any
1254
+ * global legacy identifiers.
1255
+ *
1256
+ * The default audience is always accepted; the resolver is purely additive.
1257
+ *
1258
+ * @example
1259
+ * ```ts
1260
+ * additionalManagementAudiences: ({ tenant_id }) => [
1261
+ * "https://token.example.com/v2/api/",
1262
+ * `https://${tenant_id}.token.example.com/v2/api/`,
1263
+ * ];
1264
+ * ```
1265
+ */
1266
+ additionalManagementAudiences?: ManagementAudienceResolver;
1193
1267
  }
1194
1268
 
1195
1269
  type UserInfo = {
@@ -2113,30 +2187,6 @@ interface SeedResult {
2113
2187
  */
2114
2188
  declare function seed(adapters: DataAdapters, options: SeedOptions): Promise<SeedResult>;
2115
2189
 
2116
- /**
2117
- * Management API audience for cross-tenant operations.
2118
- * Used when managing tenants from the main tenant with org-scoped tokens.
2119
- */
2120
- declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
2121
- /**
2122
- * This registeres the authentication middleware. As it needs to read the OpenAPI definition, it needs to have a reference to the app.
2123
- *
2124
- * `requireManagementAudience` enables the defense-in-depth check that the
2125
- * token's `aud` includes the management API audience. It must be enabled
2126
- * for the management API and left off for everything else (the `/userinfo`
2127
- * endpoint, for example, takes any access token issued by this tenant).
2128
- */
2129
- interface AuthMiddlewareOptions {
2130
- requireManagementAudience?: boolean;
2131
- }
2132
- declare function createAuthMiddleware(app: OpenAPIHono<{
2133
- Bindings: Bindings;
2134
- Variables: Variables;
2135
- }>, options?: AuthMiddlewareOptions): (ctx: Context<{
2136
- Bindings: Bindings;
2137
- Variables: any;
2138
- }>, next: Next) => Promise<void>;
2139
-
2140
2190
  /**
2141
2191
  * Sets the tenant id in the context based on the url and headers
2142
2192
  * @param ctx
@@ -2465,7 +2515,7 @@ declare function init(config: AuthHeroConfig): {
2465
2515
  };
2466
2516
  } & {
2467
2517
  json: {
2468
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2518
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2469
2519
  phone_number?: string | undefined;
2470
2520
  totp_secret?: string | undefined;
2471
2521
  credential_id?: string | undefined;
@@ -2605,7 +2655,7 @@ declare function init(config: AuthHeroConfig): {
2605
2655
  };
2606
2656
  };
2607
2657
  output: {
2608
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2658
+ name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2609
2659
  enabled: boolean;
2610
2660
  trial_expired?: boolean | undefined;
2611
2661
  }[];
@@ -2760,7 +2810,7 @@ declare function init(config: AuthHeroConfig): {
2760
2810
  $get: {
2761
2811
  input: {
2762
2812
  param: {
2763
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2813
+ factor_name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2764
2814
  };
2765
2815
  } & {
2766
2816
  header: {
@@ -2768,7 +2818,7 @@ declare function init(config: AuthHeroConfig): {
2768
2818
  };
2769
2819
  };
2770
2820
  output: {
2771
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2821
+ name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2772
2822
  enabled: boolean;
2773
2823
  trial_expired?: boolean | undefined;
2774
2824
  };
@@ -2781,7 +2831,7 @@ declare function init(config: AuthHeroConfig): {
2781
2831
  $put: {
2782
2832
  input: {
2783
2833
  param: {
2784
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2834
+ factor_name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2785
2835
  };
2786
2836
  } & {
2787
2837
  header: {
@@ -2793,7 +2843,7 @@ declare function init(config: AuthHeroConfig): {
2793
2843
  };
2794
2844
  };
2795
2845
  output: {
2796
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2846
+ name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
2797
2847
  enabled: boolean;
2798
2848
  trial_expired?: boolean | undefined;
2799
2849
  };
@@ -3538,10 +3588,10 @@ declare function init(config: AuthHeroConfig): {
3538
3588
  invitee: {
3539
3589
  email?: string | undefined;
3540
3590
  };
3541
- id?: string | undefined;
3542
- connection_id?: string | undefined;
3543
3591
  app_metadata?: Record<string, any> | undefined;
3544
3592
  user_metadata?: Record<string, any> | undefined;
3593
+ connection_id?: string | undefined;
3594
+ id?: string | undefined;
3545
3595
  roles?: string[] | undefined;
3546
3596
  ttl_sec?: number | undefined;
3547
3597
  send_invitation_email?: boolean | undefined;
@@ -4969,7 +5019,7 @@ declare function init(config: AuthHeroConfig): {
4969
5019
  hint?: string | undefined;
4970
5020
  messages?: {
4971
5021
  text: string;
4972
- type: "error" | "success" | "info" | "warning";
5022
+ type: "success" | "error" | "info" | "warning";
4973
5023
  id?: number | undefined;
4974
5024
  }[] | undefined;
4975
5025
  required?: boolean | undefined;
@@ -4987,7 +5037,7 @@ declare function init(config: AuthHeroConfig): {
4987
5037
  hint?: string | undefined;
4988
5038
  messages?: {
4989
5039
  text: string;
4990
- type: "error" | "success" | "info" | "warning";
5040
+ type: "success" | "error" | "info" | "warning";
4991
5041
  id?: number | undefined;
4992
5042
  }[] | undefined;
4993
5043
  required?: boolean | undefined;
@@ -5011,7 +5061,7 @@ declare function init(config: AuthHeroConfig): {
5011
5061
  hint?: string | undefined;
5012
5062
  messages?: {
5013
5063
  text: string;
5014
- type: "error" | "success" | "info" | "warning";
5064
+ type: "success" | "error" | "info" | "warning";
5015
5065
  id?: number | undefined;
5016
5066
  }[] | undefined;
5017
5067
  required?: boolean | undefined;
@@ -5035,7 +5085,7 @@ declare function init(config: AuthHeroConfig): {
5035
5085
  hint?: string | undefined;
5036
5086
  messages?: {
5037
5087
  text: string;
5038
- type: "error" | "success" | "info" | "warning";
5088
+ type: "success" | "error" | "info" | "warning";
5039
5089
  id?: number | undefined;
5040
5090
  }[] | undefined;
5041
5091
  required?: boolean | undefined;
@@ -5064,7 +5114,7 @@ declare function init(config: AuthHeroConfig): {
5064
5114
  hint?: string | undefined;
5065
5115
  messages?: {
5066
5116
  text: string;
5067
- type: "error" | "success" | "info" | "warning";
5117
+ type: "success" | "error" | "info" | "warning";
5068
5118
  id?: number | undefined;
5069
5119
  }[] | undefined;
5070
5120
  required?: boolean | undefined;
@@ -5079,7 +5129,7 @@ declare function init(config: AuthHeroConfig): {
5079
5129
  hint?: string | undefined;
5080
5130
  messages?: {
5081
5131
  text: string;
5082
- type: "error" | "success" | "info" | "warning";
5132
+ type: "success" | "error" | "info" | "warning";
5083
5133
  id?: number | undefined;
5084
5134
  }[] | undefined;
5085
5135
  required?: boolean | undefined;
@@ -5100,7 +5150,7 @@ declare function init(config: AuthHeroConfig): {
5100
5150
  hint?: string | undefined;
5101
5151
  messages?: {
5102
5152
  text: string;
5103
- type: "error" | "success" | "info" | "warning";
5153
+ type: "success" | "error" | "info" | "warning";
5104
5154
  id?: number | undefined;
5105
5155
  }[] | undefined;
5106
5156
  required?: boolean | undefined;
@@ -5125,7 +5175,7 @@ declare function init(config: AuthHeroConfig): {
5125
5175
  hint?: string | undefined;
5126
5176
  messages?: {
5127
5177
  text: string;
5128
- type: "error" | "success" | "info" | "warning";
5178
+ type: "success" | "error" | "info" | "warning";
5129
5179
  id?: number | undefined;
5130
5180
  }[] | undefined;
5131
5181
  required?: boolean | undefined;
@@ -5144,7 +5194,7 @@ declare function init(config: AuthHeroConfig): {
5144
5194
  hint?: string | undefined;
5145
5195
  messages?: {
5146
5196
  text: string;
5147
- type: "error" | "success" | "info" | "warning";
5197
+ type: "success" | "error" | "info" | "warning";
5148
5198
  id?: number | undefined;
5149
5199
  }[] | undefined;
5150
5200
  required?: boolean | undefined;
@@ -5164,7 +5214,7 @@ declare function init(config: AuthHeroConfig): {
5164
5214
  hint?: string | undefined;
5165
5215
  messages?: {
5166
5216
  text: string;
5167
- type: "error" | "success" | "info" | "warning";
5217
+ type: "success" | "error" | "info" | "warning";
5168
5218
  id?: number | undefined;
5169
5219
  }[] | undefined;
5170
5220
  required?: boolean | undefined;
@@ -5183,7 +5233,7 @@ declare function init(config: AuthHeroConfig): {
5183
5233
  hint?: string | undefined;
5184
5234
  messages?: {
5185
5235
  text: string;
5186
- type: "error" | "success" | "info" | "warning";
5236
+ type: "success" | "error" | "info" | "warning";
5187
5237
  id?: number | undefined;
5188
5238
  }[] | undefined;
5189
5239
  required?: boolean | undefined;
@@ -5205,7 +5255,7 @@ declare function init(config: AuthHeroConfig): {
5205
5255
  hint?: string | undefined;
5206
5256
  messages?: {
5207
5257
  text: string;
5208
- type: "error" | "success" | "info" | "warning";
5258
+ type: "success" | "error" | "info" | "warning";
5209
5259
  id?: number | undefined;
5210
5260
  }[] | undefined;
5211
5261
  required?: boolean | undefined;
@@ -5227,7 +5277,7 @@ declare function init(config: AuthHeroConfig): {
5227
5277
  hint?: string | undefined;
5228
5278
  messages?: {
5229
5279
  text: string;
5230
- type: "error" | "success" | "info" | "warning";
5280
+ type: "success" | "error" | "info" | "warning";
5231
5281
  id?: number | undefined;
5232
5282
  }[] | undefined;
5233
5283
  required?: boolean | undefined;
@@ -5246,7 +5296,7 @@ declare function init(config: AuthHeroConfig): {
5246
5296
  hint?: string | undefined;
5247
5297
  messages?: {
5248
5298
  text: string;
5249
- type: "error" | "success" | "info" | "warning";
5299
+ type: "success" | "error" | "info" | "warning";
5250
5300
  id?: number | undefined;
5251
5301
  }[] | undefined;
5252
5302
  required?: boolean | undefined;
@@ -5271,7 +5321,7 @@ declare function init(config: AuthHeroConfig): {
5271
5321
  hint?: string | undefined;
5272
5322
  messages?: {
5273
5323
  text: string;
5274
- type: "error" | "success" | "info" | "warning";
5324
+ type: "success" | "error" | "info" | "warning";
5275
5325
  id?: number | undefined;
5276
5326
  }[] | undefined;
5277
5327
  required?: boolean | undefined;
@@ -5292,7 +5342,7 @@ declare function init(config: AuthHeroConfig): {
5292
5342
  hint?: string | undefined;
5293
5343
  messages?: {
5294
5344
  text: string;
5295
- type: "error" | "success" | "info" | "warning";
5345
+ type: "success" | "error" | "info" | "warning";
5296
5346
  id?: number | undefined;
5297
5347
  }[] | undefined;
5298
5348
  required?: boolean | undefined;
@@ -5313,7 +5363,7 @@ declare function init(config: AuthHeroConfig): {
5313
5363
  hint?: string | undefined;
5314
5364
  messages?: {
5315
5365
  text: string;
5316
- type: "error" | "success" | "info" | "warning";
5366
+ type: "success" | "error" | "info" | "warning";
5317
5367
  id?: number | undefined;
5318
5368
  }[] | undefined;
5319
5369
  required?: boolean | undefined;
@@ -5546,7 +5596,7 @@ declare function init(config: AuthHeroConfig): {
5546
5596
  hint?: string | undefined;
5547
5597
  messages?: {
5548
5598
  text: string;
5549
- type: "error" | "success" | "info" | "warning";
5599
+ type: "success" | "error" | "info" | "warning";
5550
5600
  id?: number | undefined;
5551
5601
  }[] | undefined;
5552
5602
  required?: boolean | undefined;
@@ -5564,7 +5614,7 @@ declare function init(config: AuthHeroConfig): {
5564
5614
  hint?: string | undefined;
5565
5615
  messages?: {
5566
5616
  text: string;
5567
- type: "error" | "success" | "info" | "warning";
5617
+ type: "success" | "error" | "info" | "warning";
5568
5618
  id?: number | undefined;
5569
5619
  }[] | undefined;
5570
5620
  required?: boolean | undefined;
@@ -5588,7 +5638,7 @@ declare function init(config: AuthHeroConfig): {
5588
5638
  hint?: string | undefined;
5589
5639
  messages?: {
5590
5640
  text: string;
5591
- type: "error" | "success" | "info" | "warning";
5641
+ type: "success" | "error" | "info" | "warning";
5592
5642
  id?: number | undefined;
5593
5643
  }[] | undefined;
5594
5644
  required?: boolean | undefined;
@@ -5612,7 +5662,7 @@ declare function init(config: AuthHeroConfig): {
5612
5662
  hint?: string | undefined;
5613
5663
  messages?: {
5614
5664
  text: string;
5615
- type: "error" | "success" | "info" | "warning";
5665
+ type: "success" | "error" | "info" | "warning";
5616
5666
  id?: number | undefined;
5617
5667
  }[] | undefined;
5618
5668
  required?: boolean | undefined;
@@ -5641,7 +5691,7 @@ declare function init(config: AuthHeroConfig): {
5641
5691
  hint?: string | undefined;
5642
5692
  messages?: {
5643
5693
  text: string;
5644
- type: "error" | "success" | "info" | "warning";
5694
+ type: "success" | "error" | "info" | "warning";
5645
5695
  id?: number | undefined;
5646
5696
  }[] | undefined;
5647
5697
  required?: boolean | undefined;
@@ -5656,7 +5706,7 @@ declare function init(config: AuthHeroConfig): {
5656
5706
  hint?: string | undefined;
5657
5707
  messages?: {
5658
5708
  text: string;
5659
- type: "error" | "success" | "info" | "warning";
5709
+ type: "success" | "error" | "info" | "warning";
5660
5710
  id?: number | undefined;
5661
5711
  }[] | undefined;
5662
5712
  required?: boolean | undefined;
@@ -5677,7 +5727,7 @@ declare function init(config: AuthHeroConfig): {
5677
5727
  hint?: string | undefined;
5678
5728
  messages?: {
5679
5729
  text: string;
5680
- type: "error" | "success" | "info" | "warning";
5730
+ type: "success" | "error" | "info" | "warning";
5681
5731
  id?: number | undefined;
5682
5732
  }[] | undefined;
5683
5733
  required?: boolean | undefined;
@@ -5702,7 +5752,7 @@ declare function init(config: AuthHeroConfig): {
5702
5752
  hint?: string | undefined;
5703
5753
  messages?: {
5704
5754
  text: string;
5705
- type: "error" | "success" | "info" | "warning";
5755
+ type: "success" | "error" | "info" | "warning";
5706
5756
  id?: number | undefined;
5707
5757
  }[] | undefined;
5708
5758
  required?: boolean | undefined;
@@ -5721,7 +5771,7 @@ declare function init(config: AuthHeroConfig): {
5721
5771
  hint?: string | undefined;
5722
5772
  messages?: {
5723
5773
  text: string;
5724
- type: "error" | "success" | "info" | "warning";
5774
+ type: "success" | "error" | "info" | "warning";
5725
5775
  id?: number | undefined;
5726
5776
  }[] | undefined;
5727
5777
  required?: boolean | undefined;
@@ -5741,7 +5791,7 @@ declare function init(config: AuthHeroConfig): {
5741
5791
  hint?: string | undefined;
5742
5792
  messages?: {
5743
5793
  text: string;
5744
- type: "error" | "success" | "info" | "warning";
5794
+ type: "success" | "error" | "info" | "warning";
5745
5795
  id?: number | undefined;
5746
5796
  }[] | undefined;
5747
5797
  required?: boolean | undefined;
@@ -5760,7 +5810,7 @@ declare function init(config: AuthHeroConfig): {
5760
5810
  hint?: string | undefined;
5761
5811
  messages?: {
5762
5812
  text: string;
5763
- type: "error" | "success" | "info" | "warning";
5813
+ type: "success" | "error" | "info" | "warning";
5764
5814
  id?: number | undefined;
5765
5815
  }[] | undefined;
5766
5816
  required?: boolean | undefined;
@@ -5782,7 +5832,7 @@ declare function init(config: AuthHeroConfig): {
5782
5832
  hint?: string | undefined;
5783
5833
  messages?: {
5784
5834
  text: string;
5785
- type: "error" | "success" | "info" | "warning";
5835
+ type: "success" | "error" | "info" | "warning";
5786
5836
  id?: number | undefined;
5787
5837
  }[] | undefined;
5788
5838
  required?: boolean | undefined;
@@ -5804,7 +5854,7 @@ declare function init(config: AuthHeroConfig): {
5804
5854
  hint?: string | undefined;
5805
5855
  messages?: {
5806
5856
  text: string;
5807
- type: "error" | "success" | "info" | "warning";
5857
+ type: "success" | "error" | "info" | "warning";
5808
5858
  id?: number | undefined;
5809
5859
  }[] | undefined;
5810
5860
  required?: boolean | undefined;
@@ -5823,7 +5873,7 @@ declare function init(config: AuthHeroConfig): {
5823
5873
  hint?: string | undefined;
5824
5874
  messages?: {
5825
5875
  text: string;
5826
- type: "error" | "success" | "info" | "warning";
5876
+ type: "success" | "error" | "info" | "warning";
5827
5877
  id?: number | undefined;
5828
5878
  }[] | undefined;
5829
5879
  required?: boolean | undefined;
@@ -5848,7 +5898,7 @@ declare function init(config: AuthHeroConfig): {
5848
5898
  hint?: string | undefined;
5849
5899
  messages?: {
5850
5900
  text: string;
5851
- type: "error" | "success" | "info" | "warning";
5901
+ type: "success" | "error" | "info" | "warning";
5852
5902
  id?: number | undefined;
5853
5903
  }[] | undefined;
5854
5904
  required?: boolean | undefined;
@@ -5869,7 +5919,7 @@ declare function init(config: AuthHeroConfig): {
5869
5919
  hint?: string | undefined;
5870
5920
  messages?: {
5871
5921
  text: string;
5872
- type: "error" | "success" | "info" | "warning";
5922
+ type: "success" | "error" | "info" | "warning";
5873
5923
  id?: number | undefined;
5874
5924
  }[] | undefined;
5875
5925
  required?: boolean | undefined;
@@ -5890,7 +5940,7 @@ declare function init(config: AuthHeroConfig): {
5890
5940
  hint?: string | undefined;
5891
5941
  messages?: {
5892
5942
  text: string;
5893
- type: "error" | "success" | "info" | "warning";
5943
+ type: "success" | "error" | "info" | "warning";
5894
5944
  id?: number | undefined;
5895
5945
  }[] | undefined;
5896
5946
  required?: boolean | undefined;
@@ -6138,7 +6188,7 @@ declare function init(config: AuthHeroConfig): {
6138
6188
  hint?: string | undefined;
6139
6189
  messages?: {
6140
6190
  text: string;
6141
- type: "error" | "success" | "info" | "warning";
6191
+ type: "success" | "error" | "info" | "warning";
6142
6192
  id?: number | undefined;
6143
6193
  }[] | undefined;
6144
6194
  required?: boolean | undefined;
@@ -6156,7 +6206,7 @@ declare function init(config: AuthHeroConfig): {
6156
6206
  hint?: string | undefined;
6157
6207
  messages?: {
6158
6208
  text: string;
6159
- type: "error" | "success" | "info" | "warning";
6209
+ type: "success" | "error" | "info" | "warning";
6160
6210
  id?: number | undefined;
6161
6211
  }[] | undefined;
6162
6212
  required?: boolean | undefined;
@@ -6180,7 +6230,7 @@ declare function init(config: AuthHeroConfig): {
6180
6230
  hint?: string | undefined;
6181
6231
  messages?: {
6182
6232
  text: string;
6183
- type: "error" | "success" | "info" | "warning";
6233
+ type: "success" | "error" | "info" | "warning";
6184
6234
  id?: number | undefined;
6185
6235
  }[] | undefined;
6186
6236
  required?: boolean | undefined;
@@ -6204,7 +6254,7 @@ declare function init(config: AuthHeroConfig): {
6204
6254
  hint?: string | undefined;
6205
6255
  messages?: {
6206
6256
  text: string;
6207
- type: "error" | "success" | "info" | "warning";
6257
+ type: "success" | "error" | "info" | "warning";
6208
6258
  id?: number | undefined;
6209
6259
  }[] | undefined;
6210
6260
  required?: boolean | undefined;
@@ -6233,7 +6283,7 @@ declare function init(config: AuthHeroConfig): {
6233
6283
  hint?: string | undefined;
6234
6284
  messages?: {
6235
6285
  text: string;
6236
- type: "error" | "success" | "info" | "warning";
6286
+ type: "success" | "error" | "info" | "warning";
6237
6287
  id?: number | undefined;
6238
6288
  }[] | undefined;
6239
6289
  required?: boolean | undefined;
@@ -6248,7 +6298,7 @@ declare function init(config: AuthHeroConfig): {
6248
6298
  hint?: string | undefined;
6249
6299
  messages?: {
6250
6300
  text: string;
6251
- type: "error" | "success" | "info" | "warning";
6301
+ type: "success" | "error" | "info" | "warning";
6252
6302
  id?: number | undefined;
6253
6303
  }[] | undefined;
6254
6304
  required?: boolean | undefined;
@@ -6269,7 +6319,7 @@ declare function init(config: AuthHeroConfig): {
6269
6319
  hint?: string | undefined;
6270
6320
  messages?: {
6271
6321
  text: string;
6272
- type: "error" | "success" | "info" | "warning";
6322
+ type: "success" | "error" | "info" | "warning";
6273
6323
  id?: number | undefined;
6274
6324
  }[] | undefined;
6275
6325
  required?: boolean | undefined;
@@ -6294,7 +6344,7 @@ declare function init(config: AuthHeroConfig): {
6294
6344
  hint?: string | undefined;
6295
6345
  messages?: {
6296
6346
  text: string;
6297
- type: "error" | "success" | "info" | "warning";
6347
+ type: "success" | "error" | "info" | "warning";
6298
6348
  id?: number | undefined;
6299
6349
  }[] | undefined;
6300
6350
  required?: boolean | undefined;
@@ -6313,7 +6363,7 @@ declare function init(config: AuthHeroConfig): {
6313
6363
  hint?: string | undefined;
6314
6364
  messages?: {
6315
6365
  text: string;
6316
- type: "error" | "success" | "info" | "warning";
6366
+ type: "success" | "error" | "info" | "warning";
6317
6367
  id?: number | undefined;
6318
6368
  }[] | undefined;
6319
6369
  required?: boolean | undefined;
@@ -6333,7 +6383,7 @@ declare function init(config: AuthHeroConfig): {
6333
6383
  hint?: string | undefined;
6334
6384
  messages?: {
6335
6385
  text: string;
6336
- type: "error" | "success" | "info" | "warning";
6386
+ type: "success" | "error" | "info" | "warning";
6337
6387
  id?: number | undefined;
6338
6388
  }[] | undefined;
6339
6389
  required?: boolean | undefined;
@@ -6352,7 +6402,7 @@ declare function init(config: AuthHeroConfig): {
6352
6402
  hint?: string | undefined;
6353
6403
  messages?: {
6354
6404
  text: string;
6355
- type: "error" | "success" | "info" | "warning";
6405
+ type: "success" | "error" | "info" | "warning";
6356
6406
  id?: number | undefined;
6357
6407
  }[] | undefined;
6358
6408
  required?: boolean | undefined;
@@ -6374,7 +6424,7 @@ declare function init(config: AuthHeroConfig): {
6374
6424
  hint?: string | undefined;
6375
6425
  messages?: {
6376
6426
  text: string;
6377
- type: "error" | "success" | "info" | "warning";
6427
+ type: "success" | "error" | "info" | "warning";
6378
6428
  id?: number | undefined;
6379
6429
  }[] | undefined;
6380
6430
  required?: boolean | undefined;
@@ -6396,7 +6446,7 @@ declare function init(config: AuthHeroConfig): {
6396
6446
  hint?: string | undefined;
6397
6447
  messages?: {
6398
6448
  text: string;
6399
- type: "error" | "success" | "info" | "warning";
6449
+ type: "success" | "error" | "info" | "warning";
6400
6450
  id?: number | undefined;
6401
6451
  }[] | undefined;
6402
6452
  required?: boolean | undefined;
@@ -6415,7 +6465,7 @@ declare function init(config: AuthHeroConfig): {
6415
6465
  hint?: string | undefined;
6416
6466
  messages?: {
6417
6467
  text: string;
6418
- type: "error" | "success" | "info" | "warning";
6468
+ type: "success" | "error" | "info" | "warning";
6419
6469
  id?: number | undefined;
6420
6470
  }[] | undefined;
6421
6471
  required?: boolean | undefined;
@@ -6440,7 +6490,7 @@ declare function init(config: AuthHeroConfig): {
6440
6490
  hint?: string | undefined;
6441
6491
  messages?: {
6442
6492
  text: string;
6443
- type: "error" | "success" | "info" | "warning";
6493
+ type: "success" | "error" | "info" | "warning";
6444
6494
  id?: number | undefined;
6445
6495
  }[] | undefined;
6446
6496
  required?: boolean | undefined;
@@ -6461,7 +6511,7 @@ declare function init(config: AuthHeroConfig): {
6461
6511
  hint?: string | undefined;
6462
6512
  messages?: {
6463
6513
  text: string;
6464
- type: "error" | "success" | "info" | "warning";
6514
+ type: "success" | "error" | "info" | "warning";
6465
6515
  id?: number | undefined;
6466
6516
  }[] | undefined;
6467
6517
  required?: boolean | undefined;
@@ -6482,7 +6532,7 @@ declare function init(config: AuthHeroConfig): {
6482
6532
  hint?: string | undefined;
6483
6533
  messages?: {
6484
6534
  text: string;
6485
- type: "error" | "success" | "info" | "warning";
6535
+ type: "success" | "error" | "info" | "warning";
6486
6536
  id?: number | undefined;
6487
6537
  }[] | undefined;
6488
6538
  required?: boolean | undefined;
@@ -6736,7 +6786,7 @@ declare function init(config: AuthHeroConfig): {
6736
6786
  hint?: string | undefined;
6737
6787
  messages?: {
6738
6788
  text: string;
6739
- type: "error" | "success" | "info" | "warning";
6789
+ type: "success" | "error" | "info" | "warning";
6740
6790
  id?: number | undefined;
6741
6791
  }[] | undefined;
6742
6792
  required?: boolean | undefined;
@@ -6754,7 +6804,7 @@ declare function init(config: AuthHeroConfig): {
6754
6804
  hint?: string | undefined;
6755
6805
  messages?: {
6756
6806
  text: string;
6757
- type: "error" | "success" | "info" | "warning";
6807
+ type: "success" | "error" | "info" | "warning";
6758
6808
  id?: number | undefined;
6759
6809
  }[] | undefined;
6760
6810
  required?: boolean | undefined;
@@ -6778,7 +6828,7 @@ declare function init(config: AuthHeroConfig): {
6778
6828
  hint?: string | undefined;
6779
6829
  messages?: {
6780
6830
  text: string;
6781
- type: "error" | "success" | "info" | "warning";
6831
+ type: "success" | "error" | "info" | "warning";
6782
6832
  id?: number | undefined;
6783
6833
  }[] | undefined;
6784
6834
  required?: boolean | undefined;
@@ -6802,7 +6852,7 @@ declare function init(config: AuthHeroConfig): {
6802
6852
  hint?: string | undefined;
6803
6853
  messages?: {
6804
6854
  text: string;
6805
- type: "error" | "success" | "info" | "warning";
6855
+ type: "success" | "error" | "info" | "warning";
6806
6856
  id?: number | undefined;
6807
6857
  }[] | undefined;
6808
6858
  required?: boolean | undefined;
@@ -6827,7 +6877,7 @@ declare function init(config: AuthHeroConfig): {
6827
6877
  hint?: string | undefined;
6828
6878
  messages?: {
6829
6879
  text: string;
6830
- type: "error" | "success" | "info" | "warning";
6880
+ type: "success" | "error" | "info" | "warning";
6831
6881
  id?: number | undefined;
6832
6882
  }[] | undefined;
6833
6883
  required?: boolean | undefined;
@@ -6842,7 +6892,7 @@ declare function init(config: AuthHeroConfig): {
6842
6892
  hint?: string | undefined;
6843
6893
  messages?: {
6844
6894
  text: string;
6845
- type: "error" | "success" | "info" | "warning";
6895
+ type: "success" | "error" | "info" | "warning";
6846
6896
  id?: number | undefined;
6847
6897
  }[] | undefined;
6848
6898
  required?: boolean | undefined;
@@ -6863,7 +6913,7 @@ declare function init(config: AuthHeroConfig): {
6863
6913
  hint?: string | undefined;
6864
6914
  messages?: {
6865
6915
  text: string;
6866
- type: "error" | "success" | "info" | "warning";
6916
+ type: "success" | "error" | "info" | "warning";
6867
6917
  id?: number | undefined;
6868
6918
  }[] | undefined;
6869
6919
  required?: boolean | undefined;
@@ -6888,7 +6938,7 @@ declare function init(config: AuthHeroConfig): {
6888
6938
  hint?: string | undefined;
6889
6939
  messages?: {
6890
6940
  text: string;
6891
- type: "error" | "success" | "info" | "warning";
6941
+ type: "success" | "error" | "info" | "warning";
6892
6942
  id?: number | undefined;
6893
6943
  }[] | undefined;
6894
6944
  required?: boolean | undefined;
@@ -6907,7 +6957,7 @@ declare function init(config: AuthHeroConfig): {
6907
6957
  hint?: string | undefined;
6908
6958
  messages?: {
6909
6959
  text: string;
6910
- type: "error" | "success" | "info" | "warning";
6960
+ type: "success" | "error" | "info" | "warning";
6911
6961
  id?: number | undefined;
6912
6962
  }[] | undefined;
6913
6963
  required?: boolean | undefined;
@@ -6927,7 +6977,7 @@ declare function init(config: AuthHeroConfig): {
6927
6977
  hint?: string | undefined;
6928
6978
  messages?: {
6929
6979
  text: string;
6930
- type: "error" | "success" | "info" | "warning";
6980
+ type: "success" | "error" | "info" | "warning";
6931
6981
  id?: number | undefined;
6932
6982
  }[] | undefined;
6933
6983
  required?: boolean | undefined;
@@ -6946,7 +6996,7 @@ declare function init(config: AuthHeroConfig): {
6946
6996
  hint?: string | undefined;
6947
6997
  messages?: {
6948
6998
  text: string;
6949
- type: "error" | "success" | "info" | "warning";
6999
+ type: "success" | "error" | "info" | "warning";
6950
7000
  id?: number | undefined;
6951
7001
  }[] | undefined;
6952
7002
  required?: boolean | undefined;
@@ -6968,7 +7018,7 @@ declare function init(config: AuthHeroConfig): {
6968
7018
  hint?: string | undefined;
6969
7019
  messages?: {
6970
7020
  text: string;
6971
- type: "error" | "success" | "info" | "warning";
7021
+ type: "success" | "error" | "info" | "warning";
6972
7022
  id?: number | undefined;
6973
7023
  }[] | undefined;
6974
7024
  required?: boolean | undefined;
@@ -6990,7 +7040,7 @@ declare function init(config: AuthHeroConfig): {
6990
7040
  hint?: string | undefined;
6991
7041
  messages?: {
6992
7042
  text: string;
6993
- type: "error" | "success" | "info" | "warning";
7043
+ type: "success" | "error" | "info" | "warning";
6994
7044
  id?: number | undefined;
6995
7045
  }[] | undefined;
6996
7046
  required?: boolean | undefined;
@@ -7009,7 +7059,7 @@ declare function init(config: AuthHeroConfig): {
7009
7059
  hint?: string | undefined;
7010
7060
  messages?: {
7011
7061
  text: string;
7012
- type: "error" | "success" | "info" | "warning";
7062
+ type: "success" | "error" | "info" | "warning";
7013
7063
  id?: number | undefined;
7014
7064
  }[] | undefined;
7015
7065
  required?: boolean | undefined;
@@ -7034,7 +7084,7 @@ declare function init(config: AuthHeroConfig): {
7034
7084
  hint?: string | undefined;
7035
7085
  messages?: {
7036
7086
  text: string;
7037
- type: "error" | "success" | "info" | "warning";
7087
+ type: "success" | "error" | "info" | "warning";
7038
7088
  id?: number | undefined;
7039
7089
  }[] | undefined;
7040
7090
  required?: boolean | undefined;
@@ -7055,7 +7105,7 @@ declare function init(config: AuthHeroConfig): {
7055
7105
  hint?: string | undefined;
7056
7106
  messages?: {
7057
7107
  text: string;
7058
- type: "error" | "success" | "info" | "warning";
7108
+ type: "success" | "error" | "info" | "warning";
7059
7109
  id?: number | undefined;
7060
7110
  }[] | undefined;
7061
7111
  required?: boolean | undefined;
@@ -7076,7 +7126,7 @@ declare function init(config: AuthHeroConfig): {
7076
7126
  hint?: string | undefined;
7077
7127
  messages?: {
7078
7128
  text: string;
7079
- type: "error" | "success" | "info" | "warning";
7129
+ type: "success" | "error" | "info" | "warning";
7080
7130
  id?: number | undefined;
7081
7131
  }[] | undefined;
7082
7132
  required?: boolean | undefined;
@@ -7307,7 +7357,7 @@ declare function init(config: AuthHeroConfig): {
7307
7357
  hint?: string | undefined;
7308
7358
  messages?: {
7309
7359
  text: string;
7310
- type: "error" | "success" | "info" | "warning";
7360
+ type: "success" | "error" | "info" | "warning";
7311
7361
  id?: number | undefined;
7312
7362
  }[] | undefined;
7313
7363
  required?: boolean | undefined;
@@ -7325,7 +7375,7 @@ declare function init(config: AuthHeroConfig): {
7325
7375
  hint?: string | undefined;
7326
7376
  messages?: {
7327
7377
  text: string;
7328
- type: "error" | "success" | "info" | "warning";
7378
+ type: "success" | "error" | "info" | "warning";
7329
7379
  id?: number | undefined;
7330
7380
  }[] | undefined;
7331
7381
  required?: boolean | undefined;
@@ -7349,7 +7399,7 @@ declare function init(config: AuthHeroConfig): {
7349
7399
  hint?: string | undefined;
7350
7400
  messages?: {
7351
7401
  text: string;
7352
- type: "error" | "success" | "info" | "warning";
7402
+ type: "success" | "error" | "info" | "warning";
7353
7403
  id?: number | undefined;
7354
7404
  }[] | undefined;
7355
7405
  required?: boolean | undefined;
@@ -7373,7 +7423,7 @@ declare function init(config: AuthHeroConfig): {
7373
7423
  hint?: string | undefined;
7374
7424
  messages?: {
7375
7425
  text: string;
7376
- type: "error" | "success" | "info" | "warning";
7426
+ type: "success" | "error" | "info" | "warning";
7377
7427
  id?: number | undefined;
7378
7428
  }[] | undefined;
7379
7429
  required?: boolean | undefined;
@@ -7402,7 +7452,7 @@ declare function init(config: AuthHeroConfig): {
7402
7452
  hint?: string | undefined;
7403
7453
  messages?: {
7404
7454
  text: string;
7405
- type: "error" | "success" | "info" | "warning";
7455
+ type: "success" | "error" | "info" | "warning";
7406
7456
  id?: number | undefined;
7407
7457
  }[] | undefined;
7408
7458
  required?: boolean | undefined;
@@ -7417,7 +7467,7 @@ declare function init(config: AuthHeroConfig): {
7417
7467
  hint?: string | undefined;
7418
7468
  messages?: {
7419
7469
  text: string;
7420
- type: "error" | "success" | "info" | "warning";
7470
+ type: "success" | "error" | "info" | "warning";
7421
7471
  id?: number | undefined;
7422
7472
  }[] | undefined;
7423
7473
  required?: boolean | undefined;
@@ -7438,7 +7488,7 @@ declare function init(config: AuthHeroConfig): {
7438
7488
  hint?: string | undefined;
7439
7489
  messages?: {
7440
7490
  text: string;
7441
- type: "error" | "success" | "info" | "warning";
7491
+ type: "success" | "error" | "info" | "warning";
7442
7492
  id?: number | undefined;
7443
7493
  }[] | undefined;
7444
7494
  required?: boolean | undefined;
@@ -7463,7 +7513,7 @@ declare function init(config: AuthHeroConfig): {
7463
7513
  hint?: string | undefined;
7464
7514
  messages?: {
7465
7515
  text: string;
7466
- type: "error" | "success" | "info" | "warning";
7516
+ type: "success" | "error" | "info" | "warning";
7467
7517
  id?: number | undefined;
7468
7518
  }[] | undefined;
7469
7519
  required?: boolean | undefined;
@@ -7482,7 +7532,7 @@ declare function init(config: AuthHeroConfig): {
7482
7532
  hint?: string | undefined;
7483
7533
  messages?: {
7484
7534
  text: string;
7485
- type: "error" | "success" | "info" | "warning";
7535
+ type: "success" | "error" | "info" | "warning";
7486
7536
  id?: number | undefined;
7487
7537
  }[] | undefined;
7488
7538
  required?: boolean | undefined;
@@ -7502,7 +7552,7 @@ declare function init(config: AuthHeroConfig): {
7502
7552
  hint?: string | undefined;
7503
7553
  messages?: {
7504
7554
  text: string;
7505
- type: "error" | "success" | "info" | "warning";
7555
+ type: "success" | "error" | "info" | "warning";
7506
7556
  id?: number | undefined;
7507
7557
  }[] | undefined;
7508
7558
  required?: boolean | undefined;
@@ -7521,7 +7571,7 @@ declare function init(config: AuthHeroConfig): {
7521
7571
  hint?: string | undefined;
7522
7572
  messages?: {
7523
7573
  text: string;
7524
- type: "error" | "success" | "info" | "warning";
7574
+ type: "success" | "error" | "info" | "warning";
7525
7575
  id?: number | undefined;
7526
7576
  }[] | undefined;
7527
7577
  required?: boolean | undefined;
@@ -7543,7 +7593,7 @@ declare function init(config: AuthHeroConfig): {
7543
7593
  hint?: string | undefined;
7544
7594
  messages?: {
7545
7595
  text: string;
7546
- type: "error" | "success" | "info" | "warning";
7596
+ type: "success" | "error" | "info" | "warning";
7547
7597
  id?: number | undefined;
7548
7598
  }[] | undefined;
7549
7599
  required?: boolean | undefined;
@@ -7565,7 +7615,7 @@ declare function init(config: AuthHeroConfig): {
7565
7615
  hint?: string | undefined;
7566
7616
  messages?: {
7567
7617
  text: string;
7568
- type: "error" | "success" | "info" | "warning";
7618
+ type: "success" | "error" | "info" | "warning";
7569
7619
  id?: number | undefined;
7570
7620
  }[] | undefined;
7571
7621
  required?: boolean | undefined;
@@ -7584,7 +7634,7 @@ declare function init(config: AuthHeroConfig): {
7584
7634
  hint?: string | undefined;
7585
7635
  messages?: {
7586
7636
  text: string;
7587
- type: "error" | "success" | "info" | "warning";
7637
+ type: "success" | "error" | "info" | "warning";
7588
7638
  id?: number | undefined;
7589
7639
  }[] | undefined;
7590
7640
  required?: boolean | undefined;
@@ -7609,7 +7659,7 @@ declare function init(config: AuthHeroConfig): {
7609
7659
  hint?: string | undefined;
7610
7660
  messages?: {
7611
7661
  text: string;
7612
- type: "error" | "success" | "info" | "warning";
7662
+ type: "success" | "error" | "info" | "warning";
7613
7663
  id?: number | undefined;
7614
7664
  }[] | undefined;
7615
7665
  required?: boolean | undefined;
@@ -7630,7 +7680,7 @@ declare function init(config: AuthHeroConfig): {
7630
7680
  hint?: string | undefined;
7631
7681
  messages?: {
7632
7682
  text: string;
7633
- type: "error" | "success" | "info" | "warning";
7683
+ type: "success" | "error" | "info" | "warning";
7634
7684
  id?: number | undefined;
7635
7685
  }[] | undefined;
7636
7686
  required?: boolean | undefined;
@@ -7651,7 +7701,7 @@ declare function init(config: AuthHeroConfig): {
7651
7701
  hint?: string | undefined;
7652
7702
  messages?: {
7653
7703
  text: string;
7654
- type: "error" | "success" | "info" | "warning";
7704
+ type: "success" | "error" | "info" | "warning";
7655
7705
  id?: number | undefined;
7656
7706
  }[] | undefined;
7657
7707
  required?: boolean | undefined;
@@ -7884,7 +7934,7 @@ declare function init(config: AuthHeroConfig): {
7884
7934
  hint?: string | undefined;
7885
7935
  messages?: {
7886
7936
  text: string;
7887
- type: "error" | "success" | "info" | "warning";
7937
+ type: "success" | "error" | "info" | "warning";
7888
7938
  id?: number | undefined;
7889
7939
  }[] | undefined;
7890
7940
  required?: boolean | undefined;
@@ -7902,7 +7952,7 @@ declare function init(config: AuthHeroConfig): {
7902
7952
  hint?: string | undefined;
7903
7953
  messages?: {
7904
7954
  text: string;
7905
- type: "error" | "success" | "info" | "warning";
7955
+ type: "success" | "error" | "info" | "warning";
7906
7956
  id?: number | undefined;
7907
7957
  }[] | undefined;
7908
7958
  required?: boolean | undefined;
@@ -7926,7 +7976,7 @@ declare function init(config: AuthHeroConfig): {
7926
7976
  hint?: string | undefined;
7927
7977
  messages?: {
7928
7978
  text: string;
7929
- type: "error" | "success" | "info" | "warning";
7979
+ type: "success" | "error" | "info" | "warning";
7930
7980
  id?: number | undefined;
7931
7981
  }[] | undefined;
7932
7982
  required?: boolean | undefined;
@@ -7950,7 +8000,7 @@ declare function init(config: AuthHeroConfig): {
7950
8000
  hint?: string | undefined;
7951
8001
  messages?: {
7952
8002
  text: string;
7953
- type: "error" | "success" | "info" | "warning";
8003
+ type: "success" | "error" | "info" | "warning";
7954
8004
  id?: number | undefined;
7955
8005
  }[] | undefined;
7956
8006
  required?: boolean | undefined;
@@ -7975,7 +8025,7 @@ declare function init(config: AuthHeroConfig): {
7975
8025
  hint?: string | undefined;
7976
8026
  messages?: {
7977
8027
  text: string;
7978
- type: "error" | "success" | "info" | "warning";
8028
+ type: "success" | "error" | "info" | "warning";
7979
8029
  id?: number | undefined;
7980
8030
  }[] | undefined;
7981
8031
  required?: boolean | undefined;
@@ -7990,7 +8040,7 @@ declare function init(config: AuthHeroConfig): {
7990
8040
  hint?: string | undefined;
7991
8041
  messages?: {
7992
8042
  text: string;
7993
- type: "error" | "success" | "info" | "warning";
8043
+ type: "success" | "error" | "info" | "warning";
7994
8044
  id?: number | undefined;
7995
8045
  }[] | undefined;
7996
8046
  required?: boolean | undefined;
@@ -8011,7 +8061,7 @@ declare function init(config: AuthHeroConfig): {
8011
8061
  hint?: string | undefined;
8012
8062
  messages?: {
8013
8063
  text: string;
8014
- type: "error" | "success" | "info" | "warning";
8064
+ type: "success" | "error" | "info" | "warning";
8015
8065
  id?: number | undefined;
8016
8066
  }[] | undefined;
8017
8067
  required?: boolean | undefined;
@@ -8036,7 +8086,7 @@ declare function init(config: AuthHeroConfig): {
8036
8086
  hint?: string | undefined;
8037
8087
  messages?: {
8038
8088
  text: string;
8039
- type: "error" | "success" | "info" | "warning";
8089
+ type: "success" | "error" | "info" | "warning";
8040
8090
  id?: number | undefined;
8041
8091
  }[] | undefined;
8042
8092
  required?: boolean | undefined;
@@ -8055,7 +8105,7 @@ declare function init(config: AuthHeroConfig): {
8055
8105
  hint?: string | undefined;
8056
8106
  messages?: {
8057
8107
  text: string;
8058
- type: "error" | "success" | "info" | "warning";
8108
+ type: "success" | "error" | "info" | "warning";
8059
8109
  id?: number | undefined;
8060
8110
  }[] | undefined;
8061
8111
  required?: boolean | undefined;
@@ -8075,7 +8125,7 @@ declare function init(config: AuthHeroConfig): {
8075
8125
  hint?: string | undefined;
8076
8126
  messages?: {
8077
8127
  text: string;
8078
- type: "error" | "success" | "info" | "warning";
8128
+ type: "success" | "error" | "info" | "warning";
8079
8129
  id?: number | undefined;
8080
8130
  }[] | undefined;
8081
8131
  required?: boolean | undefined;
@@ -8094,7 +8144,7 @@ declare function init(config: AuthHeroConfig): {
8094
8144
  hint?: string | undefined;
8095
8145
  messages?: {
8096
8146
  text: string;
8097
- type: "error" | "success" | "info" | "warning";
8147
+ type: "success" | "error" | "info" | "warning";
8098
8148
  id?: number | undefined;
8099
8149
  }[] | undefined;
8100
8150
  required?: boolean | undefined;
@@ -8116,7 +8166,7 @@ declare function init(config: AuthHeroConfig): {
8116
8166
  hint?: string | undefined;
8117
8167
  messages?: {
8118
8168
  text: string;
8119
- type: "error" | "success" | "info" | "warning";
8169
+ type: "success" | "error" | "info" | "warning";
8120
8170
  id?: number | undefined;
8121
8171
  }[] | undefined;
8122
8172
  required?: boolean | undefined;
@@ -8138,7 +8188,7 @@ declare function init(config: AuthHeroConfig): {
8138
8188
  hint?: string | undefined;
8139
8189
  messages?: {
8140
8190
  text: string;
8141
- type: "error" | "success" | "info" | "warning";
8191
+ type: "success" | "error" | "info" | "warning";
8142
8192
  id?: number | undefined;
8143
8193
  }[] | undefined;
8144
8194
  required?: boolean | undefined;
@@ -8157,7 +8207,7 @@ declare function init(config: AuthHeroConfig): {
8157
8207
  hint?: string | undefined;
8158
8208
  messages?: {
8159
8209
  text: string;
8160
- type: "error" | "success" | "info" | "warning";
8210
+ type: "success" | "error" | "info" | "warning";
8161
8211
  id?: number | undefined;
8162
8212
  }[] | undefined;
8163
8213
  required?: boolean | undefined;
@@ -8182,7 +8232,7 @@ declare function init(config: AuthHeroConfig): {
8182
8232
  hint?: string | undefined;
8183
8233
  messages?: {
8184
8234
  text: string;
8185
- type: "error" | "success" | "info" | "warning";
8235
+ type: "success" | "error" | "info" | "warning";
8186
8236
  id?: number | undefined;
8187
8237
  }[] | undefined;
8188
8238
  required?: boolean | undefined;
@@ -8203,7 +8253,7 @@ declare function init(config: AuthHeroConfig): {
8203
8253
  hint?: string | undefined;
8204
8254
  messages?: {
8205
8255
  text: string;
8206
- type: "error" | "success" | "info" | "warning";
8256
+ type: "success" | "error" | "info" | "warning";
8207
8257
  id?: number | undefined;
8208
8258
  }[] | undefined;
8209
8259
  required?: boolean | undefined;
@@ -8224,7 +8274,7 @@ declare function init(config: AuthHeroConfig): {
8224
8274
  hint?: string | undefined;
8225
8275
  messages?: {
8226
8276
  text: string;
8227
- type: "error" | "success" | "info" | "warning";
8277
+ type: "success" | "error" | "info" | "warning";
8228
8278
  id?: number | undefined;
8229
8279
  }[] | undefined;
8230
8280
  required?: boolean | undefined;
@@ -8455,7 +8505,7 @@ declare function init(config: AuthHeroConfig): {
8455
8505
  hint?: string | undefined;
8456
8506
  messages?: {
8457
8507
  text: string;
8458
- type: "error" | "success" | "info" | "warning";
8508
+ type: "success" | "error" | "info" | "warning";
8459
8509
  id?: number | undefined;
8460
8510
  }[] | undefined;
8461
8511
  required?: boolean | undefined;
@@ -8473,7 +8523,7 @@ declare function init(config: AuthHeroConfig): {
8473
8523
  hint?: string | undefined;
8474
8524
  messages?: {
8475
8525
  text: string;
8476
- type: "error" | "success" | "info" | "warning";
8526
+ type: "success" | "error" | "info" | "warning";
8477
8527
  id?: number | undefined;
8478
8528
  }[] | undefined;
8479
8529
  required?: boolean | undefined;
@@ -8497,7 +8547,7 @@ declare function init(config: AuthHeroConfig): {
8497
8547
  hint?: string | undefined;
8498
8548
  messages?: {
8499
8549
  text: string;
8500
- type: "error" | "success" | "info" | "warning";
8550
+ type: "success" | "error" | "info" | "warning";
8501
8551
  id?: number | undefined;
8502
8552
  }[] | undefined;
8503
8553
  required?: boolean | undefined;
@@ -8521,7 +8571,7 @@ declare function init(config: AuthHeroConfig): {
8521
8571
  hint?: string | undefined;
8522
8572
  messages?: {
8523
8573
  text: string;
8524
- type: "error" | "success" | "info" | "warning";
8574
+ type: "success" | "error" | "info" | "warning";
8525
8575
  id?: number | undefined;
8526
8576
  }[] | undefined;
8527
8577
  required?: boolean | undefined;
@@ -8550,7 +8600,7 @@ declare function init(config: AuthHeroConfig): {
8550
8600
  hint?: string | undefined;
8551
8601
  messages?: {
8552
8602
  text: string;
8553
- type: "error" | "success" | "info" | "warning";
8603
+ type: "success" | "error" | "info" | "warning";
8554
8604
  id?: number | undefined;
8555
8605
  }[] | undefined;
8556
8606
  required?: boolean | undefined;
@@ -8565,7 +8615,7 @@ declare function init(config: AuthHeroConfig): {
8565
8615
  hint?: string | undefined;
8566
8616
  messages?: {
8567
8617
  text: string;
8568
- type: "error" | "success" | "info" | "warning";
8618
+ type: "success" | "error" | "info" | "warning";
8569
8619
  id?: number | undefined;
8570
8620
  }[] | undefined;
8571
8621
  required?: boolean | undefined;
@@ -8586,7 +8636,7 @@ declare function init(config: AuthHeroConfig): {
8586
8636
  hint?: string | undefined;
8587
8637
  messages?: {
8588
8638
  text: string;
8589
- type: "error" | "success" | "info" | "warning";
8639
+ type: "success" | "error" | "info" | "warning";
8590
8640
  id?: number | undefined;
8591
8641
  }[] | undefined;
8592
8642
  required?: boolean | undefined;
@@ -8611,7 +8661,7 @@ declare function init(config: AuthHeroConfig): {
8611
8661
  hint?: string | undefined;
8612
8662
  messages?: {
8613
8663
  text: string;
8614
- type: "error" | "success" | "info" | "warning";
8664
+ type: "success" | "error" | "info" | "warning";
8615
8665
  id?: number | undefined;
8616
8666
  }[] | undefined;
8617
8667
  required?: boolean | undefined;
@@ -8630,7 +8680,7 @@ declare function init(config: AuthHeroConfig): {
8630
8680
  hint?: string | undefined;
8631
8681
  messages?: {
8632
8682
  text: string;
8633
- type: "error" | "success" | "info" | "warning";
8683
+ type: "success" | "error" | "info" | "warning";
8634
8684
  id?: number | undefined;
8635
8685
  }[] | undefined;
8636
8686
  required?: boolean | undefined;
@@ -8650,7 +8700,7 @@ declare function init(config: AuthHeroConfig): {
8650
8700
  hint?: string | undefined;
8651
8701
  messages?: {
8652
8702
  text: string;
8653
- type: "error" | "success" | "info" | "warning";
8703
+ type: "success" | "error" | "info" | "warning";
8654
8704
  id?: number | undefined;
8655
8705
  }[] | undefined;
8656
8706
  required?: boolean | undefined;
@@ -8669,7 +8719,7 @@ declare function init(config: AuthHeroConfig): {
8669
8719
  hint?: string | undefined;
8670
8720
  messages?: {
8671
8721
  text: string;
8672
- type: "error" | "success" | "info" | "warning";
8722
+ type: "success" | "error" | "info" | "warning";
8673
8723
  id?: number | undefined;
8674
8724
  }[] | undefined;
8675
8725
  required?: boolean | undefined;
@@ -8691,7 +8741,7 @@ declare function init(config: AuthHeroConfig): {
8691
8741
  hint?: string | undefined;
8692
8742
  messages?: {
8693
8743
  text: string;
8694
- type: "error" | "success" | "info" | "warning";
8744
+ type: "success" | "error" | "info" | "warning";
8695
8745
  id?: number | undefined;
8696
8746
  }[] | undefined;
8697
8747
  required?: boolean | undefined;
@@ -8713,7 +8763,7 @@ declare function init(config: AuthHeroConfig): {
8713
8763
  hint?: string | undefined;
8714
8764
  messages?: {
8715
8765
  text: string;
8716
- type: "error" | "success" | "info" | "warning";
8766
+ type: "success" | "error" | "info" | "warning";
8717
8767
  id?: number | undefined;
8718
8768
  }[] | undefined;
8719
8769
  required?: boolean | undefined;
@@ -8732,7 +8782,7 @@ declare function init(config: AuthHeroConfig): {
8732
8782
  hint?: string | undefined;
8733
8783
  messages?: {
8734
8784
  text: string;
8735
- type: "error" | "success" | "info" | "warning";
8785
+ type: "success" | "error" | "info" | "warning";
8736
8786
  id?: number | undefined;
8737
8787
  }[] | undefined;
8738
8788
  required?: boolean | undefined;
@@ -8757,7 +8807,7 @@ declare function init(config: AuthHeroConfig): {
8757
8807
  hint?: string | undefined;
8758
8808
  messages?: {
8759
8809
  text: string;
8760
- type: "error" | "success" | "info" | "warning";
8810
+ type: "success" | "error" | "info" | "warning";
8761
8811
  id?: number | undefined;
8762
8812
  }[] | undefined;
8763
8813
  required?: boolean | undefined;
@@ -8778,7 +8828,7 @@ declare function init(config: AuthHeroConfig): {
8778
8828
  hint?: string | undefined;
8779
8829
  messages?: {
8780
8830
  text: string;
8781
- type: "error" | "success" | "info" | "warning";
8831
+ type: "success" | "error" | "info" | "warning";
8782
8832
  id?: number | undefined;
8783
8833
  }[] | undefined;
8784
8834
  required?: boolean | undefined;
@@ -8799,7 +8849,7 @@ declare function init(config: AuthHeroConfig): {
8799
8849
  hint?: string | undefined;
8800
8850
  messages?: {
8801
8851
  text: string;
8802
- type: "error" | "success" | "info" | "warning";
8852
+ type: "success" | "error" | "info" | "warning";
8803
8853
  id?: number | undefined;
8804
8854
  }[] | undefined;
8805
8855
  required?: boolean | undefined;
@@ -9029,7 +9079,7 @@ declare function init(config: AuthHeroConfig): {
9029
9079
  };
9030
9080
  };
9031
9081
  output: {
9032
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9082
+ prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9033
9083
  language: string;
9034
9084
  }[];
9035
9085
  outputFormat: "json";
@@ -9067,7 +9117,7 @@ declare function init(config: AuthHeroConfig): {
9067
9117
  $get: {
9068
9118
  input: {
9069
9119
  param: {
9070
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9120
+ prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9071
9121
  language: string;
9072
9122
  };
9073
9123
  } & {
@@ -9089,7 +9139,7 @@ declare function init(config: AuthHeroConfig): {
9089
9139
  $put: {
9090
9140
  input: {
9091
9141
  param: {
9092
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9142
+ prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9093
9143
  language: string;
9094
9144
  };
9095
9145
  } & {
@@ -9113,7 +9163,7 @@ declare function init(config: AuthHeroConfig): {
9113
9163
  $delete: {
9114
9164
  input: {
9115
9165
  param: {
9116
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9166
+ prompt: "mfa" | "organizations" | "status" | "signup" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9117
9167
  language: string;
9118
9168
  };
9119
9169
  } & {
@@ -9975,7 +10025,7 @@ declare function init(config: AuthHeroConfig): {
9975
10025
  };
9976
10026
  } | {
9977
10027
  mode: "inline";
9978
- status: "error" | "success";
10028
+ status: "success" | "error";
9979
10029
  connection_id: string;
9980
10030
  connection_name: string;
9981
10031
  strategy: string;
@@ -10554,7 +10604,7 @@ declare function init(config: AuthHeroConfig): {
10554
10604
  log_type: string;
10555
10605
  category: "user_action" | "admin_action" | "system" | "api";
10556
10606
  actor: {
10557
- type: "client_credentials" | "user" | "system" | "admin" | "api_key";
10607
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
10558
10608
  id?: string | undefined;
10559
10609
  email?: string | undefined;
10560
10610
  org_id?: string | undefined;
@@ -10862,7 +10912,7 @@ declare function init(config: AuthHeroConfig): {
10862
10912
  created_at: string;
10863
10913
  updated_at: string;
10864
10914
  name: string;
10865
- provider: "auth0" | "cognito" | "okta" | "oidc";
10915
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10866
10916
  connection: string;
10867
10917
  enabled: boolean;
10868
10918
  credentials: {
@@ -10894,7 +10944,7 @@ declare function init(config: AuthHeroConfig): {
10894
10944
  created_at: string;
10895
10945
  updated_at: string;
10896
10946
  name: string;
10897
- provider: "auth0" | "cognito" | "okta" | "oidc";
10947
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10898
10948
  connection: string;
10899
10949
  enabled: boolean;
10900
10950
  credentials: {
@@ -10920,7 +10970,7 @@ declare function init(config: AuthHeroConfig): {
10920
10970
  } & {
10921
10971
  json: {
10922
10972
  name: string;
10923
- provider: "auth0" | "cognito" | "okta" | "oidc";
10973
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10924
10974
  connection: string;
10925
10975
  credentials: {
10926
10976
  domain: string;
@@ -10937,7 +10987,7 @@ declare function init(config: AuthHeroConfig): {
10937
10987
  created_at: string;
10938
10988
  updated_at: string;
10939
10989
  name: string;
10940
- provider: "auth0" | "cognito" | "okta" | "oidc";
10990
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10941
10991
  connection: string;
10942
10992
  enabled: boolean;
10943
10993
  credentials: {
@@ -10968,7 +11018,7 @@ declare function init(config: AuthHeroConfig): {
10968
11018
  json: {
10969
11019
  id?: string | undefined;
10970
11020
  name?: string | undefined;
10971
- provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
11021
+ provider?: "auth0" | "oidc" | "cognito" | "okta" | undefined;
10972
11022
  connection?: string | undefined;
10973
11023
  enabled?: boolean | undefined;
10974
11024
  credentials?: {
@@ -10984,7 +11034,7 @@ declare function init(config: AuthHeroConfig): {
10984
11034
  created_at: string;
10985
11035
  updated_at: string;
10986
11036
  name: string;
10987
- provider: "auth0" | "cognito" | "okta" | "oidc";
11037
+ provider: "auth0" | "oidc" | "cognito" | "okta";
10988
11038
  connection: string;
10989
11039
  enabled: boolean;
10990
11040
  credentials: {
@@ -11202,7 +11252,7 @@ declare function init(config: AuthHeroConfig): {
11202
11252
  };
11203
11253
  };
11204
11254
  output: {
11205
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11255
+ type: "s" | "w" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11206
11256
  date: string;
11207
11257
  isMobile: boolean;
11208
11258
  log_id: string;
@@ -11241,7 +11291,7 @@ declare function init(config: AuthHeroConfig): {
11241
11291
  limit: number;
11242
11292
  length: number;
11243
11293
  logs: {
11244
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11294
+ type: "s" | "w" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11245
11295
  date: string;
11246
11296
  isMobile: boolean;
11247
11297
  log_id: string;
@@ -11295,7 +11345,7 @@ declare function init(config: AuthHeroConfig): {
11295
11345
  };
11296
11346
  };
11297
11347
  output: {
11298
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
11348
+ type: "s" | "w" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
11299
11349
  date: string;
11300
11350
  isMobile: boolean;
11301
11351
  log_id: string;
@@ -13439,7 +13489,7 @@ declare function init(config: AuthHeroConfig): {
13439
13489
  };
13440
13490
  };
13441
13491
  output: {
13442
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
13492
+ type: "s" | "w" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
13443
13493
  date: string;
13444
13494
  isMobile: boolean;
13445
13495
  log_id: string;
@@ -13478,7 +13528,7 @@ declare function init(config: AuthHeroConfig): {
13478
13528
  limit: number;
13479
13529
  length: number;
13480
13530
  logs: {
13481
- type: "fc" | "fd" | "i" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
13531
+ type: "s" | "w" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "wn" | "wum";
13482
13532
  date: string;
13483
13533
  isMobile: boolean;
13484
13534
  log_id: string;
@@ -13793,7 +13843,7 @@ declare function init(config: AuthHeroConfig): {
13793
13843
  };
13794
13844
  } & {
13795
13845
  json: {
13796
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13846
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13797
13847
  body: string;
13798
13848
  from: string;
13799
13849
  subject: string;
@@ -13814,7 +13864,7 @@ declare function init(config: AuthHeroConfig): {
13814
13864
  };
13815
13865
  } & {
13816
13866
  json: {
13817
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13867
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13818
13868
  body: string;
13819
13869
  from: string;
13820
13870
  subject: string;
@@ -13826,7 +13876,7 @@ declare function init(config: AuthHeroConfig): {
13826
13876
  };
13827
13877
  };
13828
13878
  output: {
13829
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13879
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13830
13880
  body: string;
13831
13881
  from: string;
13832
13882
  subject: string;
@@ -13845,7 +13895,7 @@ declare function init(config: AuthHeroConfig): {
13845
13895
  $get: {
13846
13896
  input: {
13847
13897
  param: {
13848
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13898
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13849
13899
  };
13850
13900
  } & {
13851
13901
  header: {
@@ -13858,7 +13908,7 @@ declare function init(config: AuthHeroConfig): {
13858
13908
  } | {
13859
13909
  input: {
13860
13910
  param: {
13861
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13911
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13862
13912
  };
13863
13913
  } & {
13864
13914
  header: {
@@ -13866,7 +13916,7 @@ declare function init(config: AuthHeroConfig): {
13866
13916
  };
13867
13917
  };
13868
13918
  output: {
13869
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13919
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13870
13920
  body: string;
13871
13921
  from: string;
13872
13922
  subject: string;
@@ -13885,7 +13935,7 @@ declare function init(config: AuthHeroConfig): {
13885
13935
  $put: {
13886
13936
  input: {
13887
13937
  param: {
13888
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13938
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13889
13939
  };
13890
13940
  } & {
13891
13941
  header: {
@@ -13893,7 +13943,7 @@ declare function init(config: AuthHeroConfig): {
13893
13943
  };
13894
13944
  } & {
13895
13945
  json: {
13896
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13946
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13897
13947
  body: string;
13898
13948
  from: string;
13899
13949
  subject: string;
@@ -13905,7 +13955,7 @@ declare function init(config: AuthHeroConfig): {
13905
13955
  };
13906
13956
  };
13907
13957
  output: {
13908
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13958
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13909
13959
  body: string;
13910
13960
  from: string;
13911
13961
  subject: string;
@@ -13924,7 +13974,7 @@ declare function init(config: AuthHeroConfig): {
13924
13974
  $patch: {
13925
13975
  input: {
13926
13976
  param: {
13927
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13977
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13928
13978
  };
13929
13979
  } & {
13930
13980
  header: {
@@ -13932,7 +13982,7 @@ declare function init(config: AuthHeroConfig): {
13932
13982
  };
13933
13983
  } & {
13934
13984
  json: {
13935
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
13985
+ template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
13936
13986
  body?: string | undefined;
13937
13987
  from?: string | undefined;
13938
13988
  subject?: string | undefined;
@@ -13949,7 +13999,7 @@ declare function init(config: AuthHeroConfig): {
13949
13999
  } | {
13950
14000
  input: {
13951
14001
  param: {
13952
- templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14002
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13953
14003
  };
13954
14004
  } & {
13955
14005
  header: {
@@ -13957,7 +14007,7 @@ declare function init(config: AuthHeroConfig): {
13957
14007
  };
13958
14008
  } & {
13959
14009
  json: {
13960
- template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
14010
+ template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
13961
14011
  body?: string | undefined;
13962
14012
  from?: string | undefined;
13963
14013
  subject?: string | undefined;
@@ -13969,7 +14019,7 @@ declare function init(config: AuthHeroConfig): {
13969
14019
  };
13970
14020
  };
13971
14021
  output: {
13972
- template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
14022
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
13973
14023
  body: string;
13974
14024
  from: string;
13975
14025
  subject: string;
@@ -14549,7 +14599,7 @@ declare function init(config: AuthHeroConfig): {
14549
14599
  base_focus_color: string;
14550
14600
  base_hover_color: string;
14551
14601
  body_text: string;
14552
- captcha_widget_theme: "auto" | "light" | "dark";
14602
+ captcha_widget_theme: "dark" | "light" | "auto";
14553
14603
  error: string;
14554
14604
  header: string;
14555
14605
  icons: string;
@@ -14639,7 +14689,7 @@ declare function init(config: AuthHeroConfig): {
14639
14689
  base_focus_color: string;
14640
14690
  base_hover_color: string;
14641
14691
  body_text: string;
14642
- captcha_widget_theme: "auto" | "light" | "dark";
14692
+ captcha_widget_theme: "dark" | "light" | "auto";
14643
14693
  error: string;
14644
14694
  header: string;
14645
14695
  icons: string;
@@ -14718,7 +14768,7 @@ declare function init(config: AuthHeroConfig): {
14718
14768
  base_focus_color: string;
14719
14769
  base_hover_color: string;
14720
14770
  body_text: string;
14721
- captcha_widget_theme: "auto" | "light" | "dark";
14771
+ captcha_widget_theme: "dark" | "light" | "auto";
14722
14772
  error: string;
14723
14773
  header: string;
14724
14774
  icons: string;
@@ -14808,7 +14858,7 @@ declare function init(config: AuthHeroConfig): {
14808
14858
  font?: {
14809
14859
  url: string;
14810
14860
  } | undefined;
14811
- dark_mode?: "auto" | "light" | "dark" | undefined;
14861
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14812
14862
  };
14813
14863
  outputFormat: "json";
14814
14864
  status: 200;
@@ -14838,7 +14888,7 @@ declare function init(config: AuthHeroConfig): {
14838
14888
  font?: {
14839
14889
  url: string;
14840
14890
  } | undefined;
14841
- dark_mode?: "auto" | "light" | "dark" | undefined;
14891
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14842
14892
  };
14843
14893
  };
14844
14894
  output: {
@@ -14857,7 +14907,7 @@ declare function init(config: AuthHeroConfig): {
14857
14907
  font?: {
14858
14908
  url: string;
14859
14909
  } | undefined;
14860
- dark_mode?: "auto" | "light" | "dark" | undefined;
14910
+ dark_mode?: "dark" | "light" | "auto" | undefined;
14861
14911
  };
14862
14912
  outputFormat: "json";
14863
14913
  status: 200;
@@ -14892,7 +14942,7 @@ declare function init(config: AuthHeroConfig): {
14892
14942
  };
14893
14943
  output: {};
14894
14944
  outputFormat: string;
14895
- status: 400;
14945
+ status: 204;
14896
14946
  } | {
14897
14947
  input: {
14898
14948
  header: {
@@ -14905,7 +14955,7 @@ declare function init(config: AuthHeroConfig): {
14905
14955
  };
14906
14956
  output: {};
14907
14957
  outputFormat: string;
14908
- status: 204;
14958
+ status: 400;
14909
14959
  };
14910
14960
  };
14911
14961
  } & {
@@ -15061,7 +15111,7 @@ declare function init(config: AuthHeroConfig): {
15061
15111
  output: {
15062
15112
  id: string;
15063
15113
  trigger_id: string;
15064
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
15114
+ status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
15065
15115
  results: {
15066
15116
  action_name: string;
15067
15117
  error: {
@@ -15108,7 +15158,7 @@ declare function init(config: AuthHeroConfig): {
15108
15158
  logs: {
15109
15159
  action_name: string;
15110
15160
  lines: {
15111
- level: "error" | "log" | "info" | "warn" | "debug";
15161
+ level: "log" | "error" | "info" | "warn" | "debug";
15112
15162
  message: string;
15113
15163
  }[];
15114
15164
  }[];
@@ -15775,7 +15825,7 @@ declare function init(config: AuthHeroConfig): {
15775
15825
  args: hono_utils_types.JSONValue[];
15776
15826
  }[];
15777
15827
  logs: {
15778
- level: "error" | "log" | "info" | "warn" | "debug";
15828
+ level: "log" | "error" | "info" | "warn" | "debug";
15779
15829
  message: string;
15780
15830
  }[];
15781
15831
  error?: string | undefined;
@@ -16342,11 +16392,17 @@ declare function init(config: AuthHeroConfig): {
16342
16392
  request_uri?: string | undefined;
16343
16393
  };
16344
16394
  };
16345
- output: {
16346
- message: string;
16395
+ output: string | {
16396
+ access_token: string;
16397
+ token_type: string;
16398
+ expires_in: number;
16399
+ id_token?: string | undefined;
16400
+ scope?: string | undefined;
16401
+ state?: string | undefined;
16402
+ refresh_token?: string | undefined;
16347
16403
  };
16348
16404
  outputFormat: "json";
16349
- status: 400;
16405
+ status: 200;
16350
16406
  } | {
16351
16407
  input: {
16352
16408
  query: {
@@ -16378,17 +16434,11 @@ declare function init(config: AuthHeroConfig): {
16378
16434
  request_uri?: string | undefined;
16379
16435
  };
16380
16436
  };
16381
- output: string | {
16382
- access_token: string;
16383
- token_type: string;
16384
- expires_in: number;
16385
- id_token?: string | undefined;
16386
- scope?: string | undefined;
16387
- state?: string | undefined;
16388
- refresh_token?: string | undefined;
16437
+ output: {
16438
+ message: string;
16389
16439
  };
16390
16440
  outputFormat: "json";
16391
- status: 200;
16441
+ status: 400;
16392
16442
  } | {
16393
16443
  input: {
16394
16444
  query: {
@@ -16508,19 +16558,19 @@ declare function init(config: AuthHeroConfig): {
16508
16558
  email: string;
16509
16559
  send: "code" | "link";
16510
16560
  authParams: {
16511
- audience?: string | undefined;
16512
- response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16513
- response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16514
- scope?: string | undefined;
16515
16561
  username?: string | undefined;
16516
- state?: string | undefined;
16517
- act_as?: string | undefined;
16518
- redirect_uri?: string | undefined;
16562
+ scope?: string | undefined;
16563
+ audience?: string | undefined;
16519
16564
  organization?: string | undefined;
16565
+ code_challenge?: string | undefined;
16566
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16567
+ redirect_uri?: string | undefined;
16520
16568
  nonce?: string | undefined;
16569
+ state?: string | undefined;
16570
+ act_as?: string | undefined;
16571
+ response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16572
+ response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16521
16573
  prompt?: string | undefined;
16522
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16523
- code_challenge?: string | undefined;
16524
16574
  ui_locales?: string | undefined;
16525
16575
  max_age?: number | undefined;
16526
16576
  acr_values?: string | undefined;
@@ -16544,19 +16594,19 @@ declare function init(config: AuthHeroConfig): {
16544
16594
  phone_number: string;
16545
16595
  send: "code" | "link";
16546
16596
  authParams: {
16547
- audience?: string | undefined;
16548
- response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16549
- response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16550
- scope?: string | undefined;
16551
16597
  username?: string | undefined;
16552
- state?: string | undefined;
16553
- act_as?: string | undefined;
16554
- redirect_uri?: string | undefined;
16598
+ scope?: string | undefined;
16599
+ audience?: string | undefined;
16555
16600
  organization?: string | undefined;
16601
+ code_challenge?: string | undefined;
16602
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16603
+ redirect_uri?: string | undefined;
16556
16604
  nonce?: string | undefined;
16605
+ state?: string | undefined;
16606
+ act_as?: string | undefined;
16607
+ response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
16608
+ response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
16557
16609
  prompt?: string | undefined;
16558
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
16559
- code_challenge?: string | undefined;
16560
16610
  ui_locales?: string | undefined;
16561
16611
  max_age?: number | undefined;
16562
16612
  acr_values?: string | undefined;
@@ -16786,7 +16836,7 @@ declare function init(config: AuthHeroConfig): {
16786
16836
  client_id: string;
16787
16837
  username: string;
16788
16838
  otp: string;
16789
- realm: "sms" | "email";
16839
+ realm: "email" | "sms";
16790
16840
  };
16791
16841
  } & {
16792
16842
  json: {
@@ -16822,7 +16872,7 @@ declare function init(config: AuthHeroConfig): {
16822
16872
  client_id: string;
16823
16873
  username: string;
16824
16874
  otp: string;
16825
- realm: "sms" | "email";
16875
+ realm: "email" | "sms";
16826
16876
  };
16827
16877
  };
16828
16878
  output: {};
@@ -16863,7 +16913,7 @@ declare function init(config: AuthHeroConfig): {
16863
16913
  client_id: string;
16864
16914
  username: string;
16865
16915
  otp: string;
16866
- realm: "sms" | "email";
16916
+ realm: "email" | "sms";
16867
16917
  };
16868
16918
  } & {
16869
16919
  json: {
@@ -16899,15 +16949,20 @@ declare function init(config: AuthHeroConfig): {
16899
16949
  client_id: string;
16900
16950
  username: string;
16901
16951
  otp: string;
16902
- realm: "sms" | "email";
16952
+ realm: "email" | "sms";
16903
16953
  };
16904
16954
  };
16905
16955
  output: {
16906
- error: string;
16907
- error_description?: string | undefined;
16956
+ access_token: string;
16957
+ token_type: string;
16958
+ expires_in: number;
16959
+ id_token?: string | undefined;
16960
+ scope?: string | undefined;
16961
+ state?: string | undefined;
16962
+ refresh_token?: string | undefined;
16908
16963
  };
16909
16964
  outputFormat: "json";
16910
- status: 400;
16965
+ status: 200;
16911
16966
  } | {
16912
16967
  input: {
16913
16968
  form: {
@@ -16943,7 +16998,7 @@ declare function init(config: AuthHeroConfig): {
16943
16998
  client_id: string;
16944
16999
  username: string;
16945
17000
  otp: string;
16946
- realm: "sms" | "email";
17001
+ realm: "email" | "sms";
16947
17002
  };
16948
17003
  } & {
16949
17004
  json: {
@@ -16979,20 +17034,15 @@ declare function init(config: AuthHeroConfig): {
16979
17034
  client_id: string;
16980
17035
  username: string;
16981
17036
  otp: string;
16982
- realm: "sms" | "email";
17037
+ realm: "email" | "sms";
16983
17038
  };
16984
17039
  };
16985
17040
  output: {
16986
- access_token: string;
16987
- token_type: string;
16988
- expires_in: number;
16989
- id_token?: string | undefined;
16990
- scope?: string | undefined;
16991
- state?: string | undefined;
16992
- refresh_token?: string | undefined;
17041
+ error: string;
17042
+ error_description?: string | undefined;
16993
17043
  };
16994
17044
  outputFormat: "json";
16995
- status: 200;
17045
+ status: 400;
16996
17046
  } | {
16997
17047
  input: {
16998
17048
  form: {
@@ -17028,7 +17078,7 @@ declare function init(config: AuthHeroConfig): {
17028
17078
  client_id: string;
17029
17079
  username: string;
17030
17080
  otp: string;
17031
- realm: "sms" | "email";
17081
+ realm: "email" | "sms";
17032
17082
  };
17033
17083
  } & {
17034
17084
  json: {
@@ -17064,7 +17114,7 @@ declare function init(config: AuthHeroConfig): {
17064
17114
  client_id: string;
17065
17115
  username: string;
17066
17116
  otp: string;
17067
- realm: "sms" | "email";
17117
+ realm: "email" | "sms";
17068
17118
  };
17069
17119
  };
17070
17120
  output: {
@@ -17108,7 +17158,7 @@ declare function init(config: AuthHeroConfig): {
17108
17158
  client_id: string;
17109
17159
  username: string;
17110
17160
  otp: string;
17111
- realm: "sms" | "email";
17161
+ realm: "email" | "sms";
17112
17162
  };
17113
17163
  } & {
17114
17164
  json: {
@@ -17144,7 +17194,7 @@ declare function init(config: AuthHeroConfig): {
17144
17194
  client_id: string;
17145
17195
  username: string;
17146
17196
  otp: string;
17147
- realm: "sms" | "email";
17197
+ realm: "email" | "sms";
17148
17198
  };
17149
17199
  };
17150
17200
  output: {
@@ -17351,7 +17401,7 @@ declare function init(config: AuthHeroConfig): {
17351
17401
  };
17352
17402
  output: {};
17353
17403
  outputFormat: string;
17354
- status: 400;
17404
+ status: 200;
17355
17405
  } | {
17356
17406
  input: {
17357
17407
  query: {
@@ -17365,7 +17415,7 @@ declare function init(config: AuthHeroConfig): {
17365
17415
  };
17366
17416
  output: {};
17367
17417
  outputFormat: string;
17368
- status: 200;
17418
+ status: 302;
17369
17419
  } | {
17370
17420
  input: {
17371
17421
  query: {
@@ -17379,7 +17429,7 @@ declare function init(config: AuthHeroConfig): {
17379
17429
  };
17380
17430
  output: {};
17381
17431
  outputFormat: string;
17382
- status: 302;
17432
+ status: 400;
17383
17433
  };
17384
17434
  };
17385
17435
  }, "/oidc/logout"> & hono_types.MergeSchemaPath<{
@@ -17486,7 +17536,7 @@ declare function init(config: AuthHeroConfig): {
17486
17536
  };
17487
17537
  output: {};
17488
17538
  outputFormat: string;
17489
- status: 400;
17539
+ status: 302;
17490
17540
  } | {
17491
17541
  input: {
17492
17542
  query: {
@@ -17495,7 +17545,7 @@ declare function init(config: AuthHeroConfig): {
17495
17545
  };
17496
17546
  output: {};
17497
17547
  outputFormat: string;
17498
- status: 302;
17548
+ status: 400;
17499
17549
  } | {
17500
17550
  input: {
17501
17551
  query: {
@@ -17585,7 +17635,7 @@ declare function init(config: AuthHeroConfig): {
17585
17635
  };
17586
17636
  output: {};
17587
17637
  outputFormat: string;
17588
- status: 400;
17638
+ status: 200;
17589
17639
  } | {
17590
17640
  input: {
17591
17641
  query: {
@@ -17594,7 +17644,7 @@ declare function init(config: AuthHeroConfig): {
17594
17644
  };
17595
17645
  output: {};
17596
17646
  outputFormat: string;
17597
- status: 200;
17647
+ status: 400;
17598
17648
  };
17599
17649
  };
17600
17650
  } & {
@@ -17624,7 +17674,7 @@ declare function init(config: AuthHeroConfig): {
17624
17674
  };
17625
17675
  output: {};
17626
17676
  outputFormat: string;
17627
- status: 400;
17677
+ status: 302;
17628
17678
  } | {
17629
17679
  input: {
17630
17680
  query: {
@@ -17637,7 +17687,7 @@ declare function init(config: AuthHeroConfig): {
17637
17687
  };
17638
17688
  output: {};
17639
17689
  outputFormat: string;
17640
- status: 302;
17690
+ status: 400;
17641
17691
  };
17642
17692
  };
17643
17693
  }, "/impersonate"> & hono_types.MergeSchemaPath<{
@@ -17979,7 +18029,7 @@ declare function init(config: AuthHeroConfig): {
17979
18029
  };
17980
18030
  output: {};
17981
18031
  outputFormat: string;
17982
- status: 400;
18032
+ status: 302;
17983
18033
  } | {
17984
18034
  input: {
17985
18035
  query: {
@@ -17993,7 +18043,7 @@ declare function init(config: AuthHeroConfig): {
17993
18043
  };
17994
18044
  output: {};
17995
18045
  outputFormat: string;
17996
- status: 302;
18046
+ status: 400;
17997
18047
  };
17998
18048
  };
17999
18049
  }, "/login/identifier"> & hono_types.MergeSchemaPath<{
@@ -18353,7 +18403,7 @@ declare function init(config: AuthHeroConfig): {
18353
18403
  $get: {
18354
18404
  input: {
18355
18405
  param: {
18356
- screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
18406
+ screen: "signup" | "account" | "login" | "reset-password" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
18357
18407
  };
18358
18408
  } & {
18359
18409
  query: {
@@ -18369,7 +18419,7 @@ declare function init(config: AuthHeroConfig): {
18369
18419
  } | {
18370
18420
  input: {
18371
18421
  param: {
18372
- screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
18422
+ screen: "signup" | "account" | "login" | "reset-password" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
18373
18423
  };
18374
18424
  } & {
18375
18425
  query: {
@@ -18381,11 +18431,11 @@ declare function init(config: AuthHeroConfig): {
18381
18431
  };
18382
18432
  output: {};
18383
18433
  outputFormat: string;
18384
- status: 400;
18434
+ status: 302;
18385
18435
  } | {
18386
18436
  input: {
18387
18437
  param: {
18388
- screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
18438
+ screen: "signup" | "account" | "login" | "reset-password" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
18389
18439
  };
18390
18440
  } & {
18391
18441
  query: {
@@ -18397,7 +18447,7 @@ declare function init(config: AuthHeroConfig): {
18397
18447
  };
18398
18448
  output: {};
18399
18449
  outputFormat: string;
18400
- status: 302;
18450
+ status: 400;
18401
18451
  };
18402
18452
  };
18403
18453
  } & {
@@ -18437,7 +18487,7 @@ declare function init(config: AuthHeroConfig): {
18437
18487
  };
18438
18488
  output: {};
18439
18489
  outputFormat: string;
18440
- status: 400;
18490
+ status: 302;
18441
18491
  } | {
18442
18492
  input: {
18443
18493
  param: {
@@ -18455,7 +18505,7 @@ declare function init(config: AuthHeroConfig): {
18455
18505
  };
18456
18506
  output: {};
18457
18507
  outputFormat: string;
18458
- status: 302;
18508
+ status: 400;
18459
18509
  };
18460
18510
  };
18461
18511
  }, "/"> & hono_types.MergeSchemaPath<{
@@ -18540,4 +18590,4 @@ declare function init(config: AuthHeroConfig): {
18540
18590
  };
18541
18591
 
18542
18592
  export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createInMemoryCache, decryptField, deepMergePatch, drainOutbox, encryptField, fetchAll, init, injectTailwindCSS, isEncrypted, loadEncryptionKey, mailgunCredentialsSchema, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, runOutboxRelay, seed, tailwindCss, tenantMiddleware, waitUntil };
18543
- export type { AuthHeroConfig, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };
18593
+ export type { AuthHeroConfig, CreateDefaultDestinationsConfig, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams };