authhero 8.8.0 → 8.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +109 -107
  3. package/dist/authhero.d.ts +270 -242
  4. package/dist/authhero.mjs +11199 -10618
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  8. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  9. package/dist/types/helpers/mutable-response.d.ts +15 -3
  10. package/dist/types/helpers/tenant-export-import/export.d.ts +21 -0
  11. package/dist/types/helpers/tenant-export-import/import.d.ts +12 -0
  12. package/dist/types/helpers/tenant-export-import/index.d.ts +4 -0
  13. package/dist/types/helpers/tenant-export-import/manifest.d.ts +12 -0
  14. package/dist/types/helpers/tenant-export-import/row-access.d.ts +20 -0
  15. package/dist/types/helpers/tenant-export-import/types.d.ts +53 -0
  16. package/dist/types/index.d.ts +266 -223
  17. package/dist/types/routes/auth-api/index.d.ts +28 -28
  18. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  19. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  20. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  21. package/dist/types/routes/auth-api/token.d.ts +10 -10
  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 +5 -5
  26. package/dist/types/routes/management-api/clients.d.ts +13 -13
  27. package/dist/types/routes/management-api/connections.d.ts +16 -16
  28. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  29. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  30. package/dist/types/routes/management-api/forms.d.ts +126 -126
  31. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  32. package/dist/types/routes/management-api/index.d.ts +231 -188
  33. package/dist/types/routes/management-api/log-streams.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/tenant-export-import.d.ts +49 -0
  37. package/dist/types/routes/management-api/tenants.d.ts +3 -3
  38. package/dist/types/routes/management-api/themes.d.ts +3 -3
  39. package/dist/types/routes/universal-login/common.d.ts +10 -10
  40. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  41. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  42. package/dist/types/routes/universal-login/index.d.ts +2 -2
  43. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  45. package/dist/types/types/IdToken.d.ts +4 -4
  46. package/package.json +5 -5
@@ -1,9 +1,9 @@
1
- import * as hono_utils_http_status from 'hono/utils/http-status';
2
1
  import * as hono_utils_types from 'hono/utils/types';
3
2
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
4
3
  import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, CustomDomain, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, LogsDataAdapter, LogInsert, UserDataAdapter, CustomDomainsAdapter, ProxyRoutesAdapter, ListParams, KeysAdapter, CodeExecutionResult } from '@authhero/adapter-interfaces';
5
4
  export * from '@authhero/adapter-interfaces';
6
5
  import * as hono_types from 'hono/types';
6
+ import * as hono_utils_http_status from 'hono/utils/http-status';
7
7
  import { z, OpenAPIHono } from '@hono/zod-openapi';
8
8
  import { CountryCode } from 'libphonenumber-js';
9
9
  import { SamlSigner } from '@authhero/saml/core';
@@ -2090,30 +2090,15 @@ declare class PostmarkEmailService implements EmailServiceAdapter {
2090
2090
  */
2091
2091
  declare function waitUntil(ctx: Context, promise: Promise<unknown>): void;
2092
2092
 
2093
- /**
2094
- * Normalizing a response so middleware can write headers onto it.
2095
- *
2096
- * A response that the worker *received* — from `fetch()`, a Workers-for-Platforms
2097
- * dispatch (`DISPATCHER.get(name).fetch()`), the Cache API, or R2 — carries an
2098
- * *immutable* header guard. Calling `headers.set()` / `headers.append()` on it
2099
- * throws `TypeError: Can't modify immutable headers.`. Responses built in-worker
2100
- * (`c.json()`, `c.text()`, `new Response(...)`) are mutable.
2101
- *
2102
- * Any middleware that annotates the response after `next()` (CORS, Server-Timing,
2103
- * `Preference-Applied`, …) must therefore tolerate an immutable response. Rather
2104
- * than guard each write with a try/catch, normalize once: re-wrapping is cheap
2105
- * (the body stream is passed through, not copied) and deterministic, so there is
2106
- * nothing to detect.
2107
- */
2108
2093
  /**
2109
2094
  * Return a response whose headers are mutable. A received response is re-wrapped
2110
2095
  * into a fresh `Response` (which has the mutable "response" header guard); an
2111
2096
  * already-mutable response is re-wrapped too, harmlessly, preserving every header
2112
2097
  * already set on it.
2113
2098
  *
2114
- * A `101 Switching Protocols` upgrade is returned untouched: it carries a
2115
- * `webSocket` handle that reconstruction would drop, breaking the upgrade. Its
2116
- * headers stay immutable, so callers must not write to an upgrade response.
2099
+ * A WebSocket upgrade is returned untouched: it carries a `webSocket` handle
2100
+ * that reconstruction would drop, breaking the upgrade. Its headers stay
2101
+ * immutable, so callers must not write to an upgrade response.
2117
2102
  */
2118
2103
  declare function toMutableResponse(res: Response): Response;
2119
2104
  /**
@@ -2944,6 +2929,49 @@ declare function init(config: AuthHeroConfig): {
2944
2929
  Bindings: Bindings;
2945
2930
  Variables: Variables;
2946
2931
  }, hono_types.MergeSchemaPath<{
2932
+ "/export": {
2933
+ $get: {
2934
+ input: {
2935
+ query: {
2936
+ include_password_hashes?: "true" | "false" | undefined;
2937
+ gzip?: "true" | "false" | undefined;
2938
+ };
2939
+ } & {
2940
+ header: {
2941
+ "tenant-id"?: string | undefined;
2942
+ };
2943
+ };
2944
+ output: Response;
2945
+ outputFormat: "json";
2946
+ status: hono_utils_http_status.StatusCode;
2947
+ };
2948
+ };
2949
+ } & {
2950
+ "/import": {
2951
+ $post: {
2952
+ input: {
2953
+ query: {
2954
+ include_password_hashes?: "true" | "false" | undefined;
2955
+ };
2956
+ } & {
2957
+ header: {
2958
+ "tenant-id"?: string | undefined;
2959
+ };
2960
+ };
2961
+ output: {
2962
+ counts: {
2963
+ [x: string]: number;
2964
+ };
2965
+ errors: {
2966
+ entity: string;
2967
+ error: string;
2968
+ }[];
2969
+ };
2970
+ outputFormat: "json";
2971
+ status: 200;
2972
+ };
2973
+ };
2974
+ }, "/tenant-data"> & hono_types.MergeSchemaPath<{
2947
2975
  "/": {
2948
2976
  $get: {
2949
2977
  input: {
@@ -2977,7 +3005,7 @@ declare function init(config: AuthHeroConfig): {
2977
3005
  };
2978
3006
  } & {
2979
3007
  json: {
2980
- type: "email" | "passkey" | "push" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
3008
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
2981
3009
  phone_number?: string | undefined;
2982
3010
  totp_secret?: string | undefined;
2983
3011
  credential_id?: string | undefined;
@@ -3117,7 +3145,7 @@ declare function init(config: AuthHeroConfig): {
3117
3145
  };
3118
3146
  };
3119
3147
  output: {
3120
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3148
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3121
3149
  enabled: boolean;
3122
3150
  trial_expired?: boolean | undefined;
3123
3151
  }[];
@@ -3272,7 +3300,7 @@ declare function init(config: AuthHeroConfig): {
3272
3300
  $get: {
3273
3301
  input: {
3274
3302
  param: {
3275
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3303
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3276
3304
  };
3277
3305
  } & {
3278
3306
  header: {
@@ -3280,7 +3308,7 @@ declare function init(config: AuthHeroConfig): {
3280
3308
  };
3281
3309
  };
3282
3310
  output: {
3283
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3311
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3284
3312
  enabled: boolean;
3285
3313
  trial_expired?: boolean | undefined;
3286
3314
  };
@@ -3293,7 +3321,7 @@ declare function init(config: AuthHeroConfig): {
3293
3321
  $put: {
3294
3322
  input: {
3295
3323
  param: {
3296
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3324
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3297
3325
  };
3298
3326
  } & {
3299
3327
  header: {
@@ -3305,7 +3333,7 @@ declare function init(config: AuthHeroConfig): {
3305
3333
  };
3306
3334
  };
3307
3335
  output: {
3308
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3336
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3309
3337
  enabled: boolean;
3310
3338
  trial_expired?: boolean | undefined;
3311
3339
  };
@@ -4052,9 +4080,9 @@ declare function init(config: AuthHeroConfig): {
4052
4080
  };
4053
4081
  id?: string | undefined;
4054
4082
  roles?: string[] | undefined;
4083
+ connection_id?: string | undefined;
4055
4084
  app_metadata?: Record<string, any> | undefined;
4056
4085
  user_metadata?: Record<string, any> | undefined;
4057
- connection_id?: string | undefined;
4058
4086
  ttl_sec?: number | undefined;
4059
4087
  send_invitation_email?: boolean | undefined;
4060
4088
  };
@@ -4238,8 +4266,8 @@ declare function init(config: AuthHeroConfig): {
4238
4266
  };
4239
4267
  } & {
4240
4268
  json: {
4241
- show_as_button?: boolean | undefined;
4242
4269
  assign_membership_on_login?: boolean | undefined;
4270
+ show_as_button?: boolean | undefined;
4243
4271
  is_signup_enabled?: boolean | undefined;
4244
4272
  };
4245
4273
  };
@@ -5481,7 +5509,7 @@ declare function init(config: AuthHeroConfig): {
5481
5509
  hint?: string | undefined;
5482
5510
  messages?: {
5483
5511
  text: string;
5484
- type: "success" | "error" | "info" | "warning";
5512
+ type: "error" | "success" | "info" | "warning";
5485
5513
  id?: number | undefined;
5486
5514
  }[] | undefined;
5487
5515
  required?: boolean | undefined;
@@ -5499,7 +5527,7 @@ declare function init(config: AuthHeroConfig): {
5499
5527
  hint?: string | undefined;
5500
5528
  messages?: {
5501
5529
  text: string;
5502
- type: "success" | "error" | "info" | "warning";
5530
+ type: "error" | "success" | "info" | "warning";
5503
5531
  id?: number | undefined;
5504
5532
  }[] | undefined;
5505
5533
  required?: boolean | undefined;
@@ -5523,7 +5551,7 @@ declare function init(config: AuthHeroConfig): {
5523
5551
  hint?: string | undefined;
5524
5552
  messages?: {
5525
5553
  text: string;
5526
- type: "success" | "error" | "info" | "warning";
5554
+ type: "error" | "success" | "info" | "warning";
5527
5555
  id?: number | undefined;
5528
5556
  }[] | undefined;
5529
5557
  required?: boolean | undefined;
@@ -5547,7 +5575,7 @@ declare function init(config: AuthHeroConfig): {
5547
5575
  hint?: string | undefined;
5548
5576
  messages?: {
5549
5577
  text: string;
5550
- type: "success" | "error" | "info" | "warning";
5578
+ type: "error" | "success" | "info" | "warning";
5551
5579
  id?: number | undefined;
5552
5580
  }[] | undefined;
5553
5581
  required?: boolean | undefined;
@@ -5571,7 +5599,7 @@ declare function init(config: AuthHeroConfig): {
5571
5599
  hint?: string | undefined;
5572
5600
  messages?: {
5573
5601
  text: string;
5574
- type: "success" | "error" | "info" | "warning";
5602
+ type: "error" | "success" | "info" | "warning";
5575
5603
  id?: number | undefined;
5576
5604
  }[] | undefined;
5577
5605
  required?: boolean | undefined;
@@ -5600,7 +5628,7 @@ declare function init(config: AuthHeroConfig): {
5600
5628
  hint?: string | undefined;
5601
5629
  messages?: {
5602
5630
  text: string;
5603
- type: "success" | "error" | "info" | "warning";
5631
+ type: "error" | "success" | "info" | "warning";
5604
5632
  id?: number | undefined;
5605
5633
  }[] | undefined;
5606
5634
  required?: boolean | undefined;
@@ -5615,7 +5643,7 @@ declare function init(config: AuthHeroConfig): {
5615
5643
  hint?: string | undefined;
5616
5644
  messages?: {
5617
5645
  text: string;
5618
- type: "success" | "error" | "info" | "warning";
5646
+ type: "error" | "success" | "info" | "warning";
5619
5647
  id?: number | undefined;
5620
5648
  }[] | undefined;
5621
5649
  required?: boolean | undefined;
@@ -5636,7 +5664,7 @@ declare function init(config: AuthHeroConfig): {
5636
5664
  hint?: string | undefined;
5637
5665
  messages?: {
5638
5666
  text: string;
5639
- type: "success" | "error" | "info" | "warning";
5667
+ type: "error" | "success" | "info" | "warning";
5640
5668
  id?: number | undefined;
5641
5669
  }[] | undefined;
5642
5670
  required?: boolean | undefined;
@@ -5661,7 +5689,7 @@ declare function init(config: AuthHeroConfig): {
5661
5689
  hint?: string | undefined;
5662
5690
  messages?: {
5663
5691
  text: string;
5664
- type: "success" | "error" | "info" | "warning";
5692
+ type: "error" | "success" | "info" | "warning";
5665
5693
  id?: number | undefined;
5666
5694
  }[] | undefined;
5667
5695
  required?: boolean | undefined;
@@ -5680,7 +5708,7 @@ declare function init(config: AuthHeroConfig): {
5680
5708
  hint?: string | undefined;
5681
5709
  messages?: {
5682
5710
  text: string;
5683
- type: "success" | "error" | "info" | "warning";
5711
+ type: "error" | "success" | "info" | "warning";
5684
5712
  id?: number | undefined;
5685
5713
  }[] | undefined;
5686
5714
  required?: boolean | undefined;
@@ -5700,7 +5728,7 @@ declare function init(config: AuthHeroConfig): {
5700
5728
  hint?: string | undefined;
5701
5729
  messages?: {
5702
5730
  text: string;
5703
- type: "success" | "error" | "info" | "warning";
5731
+ type: "error" | "success" | "info" | "warning";
5704
5732
  id?: number | undefined;
5705
5733
  }[] | undefined;
5706
5734
  required?: boolean | undefined;
@@ -5719,7 +5747,7 @@ declare function init(config: AuthHeroConfig): {
5719
5747
  hint?: string | undefined;
5720
5748
  messages?: {
5721
5749
  text: string;
5722
- type: "success" | "error" | "info" | "warning";
5750
+ type: "error" | "success" | "info" | "warning";
5723
5751
  id?: number | undefined;
5724
5752
  }[] | undefined;
5725
5753
  required?: boolean | undefined;
@@ -5741,7 +5769,7 @@ declare function init(config: AuthHeroConfig): {
5741
5769
  hint?: string | undefined;
5742
5770
  messages?: {
5743
5771
  text: string;
5744
- type: "success" | "error" | "info" | "warning";
5772
+ type: "error" | "success" | "info" | "warning";
5745
5773
  id?: number | undefined;
5746
5774
  }[] | undefined;
5747
5775
  required?: boolean | undefined;
@@ -5763,7 +5791,7 @@ declare function init(config: AuthHeroConfig): {
5763
5791
  hint?: string | undefined;
5764
5792
  messages?: {
5765
5793
  text: string;
5766
- type: "success" | "error" | "info" | "warning";
5794
+ type: "error" | "success" | "info" | "warning";
5767
5795
  id?: number | undefined;
5768
5796
  }[] | undefined;
5769
5797
  required?: boolean | undefined;
@@ -5782,7 +5810,7 @@ declare function init(config: AuthHeroConfig): {
5782
5810
  hint?: string | undefined;
5783
5811
  messages?: {
5784
5812
  text: string;
5785
- type: "success" | "error" | "info" | "warning";
5813
+ type: "error" | "success" | "info" | "warning";
5786
5814
  id?: number | undefined;
5787
5815
  }[] | undefined;
5788
5816
  required?: boolean | undefined;
@@ -5807,7 +5835,7 @@ declare function init(config: AuthHeroConfig): {
5807
5835
  hint?: string | undefined;
5808
5836
  messages?: {
5809
5837
  text: string;
5810
- type: "success" | "error" | "info" | "warning";
5838
+ type: "error" | "success" | "info" | "warning";
5811
5839
  id?: number | undefined;
5812
5840
  }[] | undefined;
5813
5841
  required?: boolean | undefined;
@@ -5828,7 +5856,7 @@ declare function init(config: AuthHeroConfig): {
5828
5856
  hint?: string | undefined;
5829
5857
  messages?: {
5830
5858
  text: string;
5831
- type: "success" | "error" | "info" | "warning";
5859
+ type: "error" | "success" | "info" | "warning";
5832
5860
  id?: number | undefined;
5833
5861
  }[] | undefined;
5834
5862
  required?: boolean | undefined;
@@ -5849,7 +5877,7 @@ declare function init(config: AuthHeroConfig): {
5849
5877
  hint?: string | undefined;
5850
5878
  messages?: {
5851
5879
  text: string;
5852
- type: "success" | "error" | "info" | "warning";
5880
+ type: "error" | "success" | "info" | "warning";
5853
5881
  id?: number | undefined;
5854
5882
  }[] | undefined;
5855
5883
  required?: boolean | undefined;
@@ -6082,7 +6110,7 @@ declare function init(config: AuthHeroConfig): {
6082
6110
  hint?: string | undefined;
6083
6111
  messages?: {
6084
6112
  text: string;
6085
- type: "success" | "error" | "info" | "warning";
6113
+ type: "error" | "success" | "info" | "warning";
6086
6114
  id?: number | undefined;
6087
6115
  }[] | undefined;
6088
6116
  required?: boolean | undefined;
@@ -6100,7 +6128,7 @@ declare function init(config: AuthHeroConfig): {
6100
6128
  hint?: string | undefined;
6101
6129
  messages?: {
6102
6130
  text: string;
6103
- type: "success" | "error" | "info" | "warning";
6131
+ type: "error" | "success" | "info" | "warning";
6104
6132
  id?: number | undefined;
6105
6133
  }[] | undefined;
6106
6134
  required?: boolean | undefined;
@@ -6124,7 +6152,7 @@ declare function init(config: AuthHeroConfig): {
6124
6152
  hint?: string | undefined;
6125
6153
  messages?: {
6126
6154
  text: string;
6127
- type: "success" | "error" | "info" | "warning";
6155
+ type: "error" | "success" | "info" | "warning";
6128
6156
  id?: number | undefined;
6129
6157
  }[] | undefined;
6130
6158
  required?: boolean | undefined;
@@ -6148,7 +6176,7 @@ declare function init(config: AuthHeroConfig): {
6148
6176
  hint?: string | undefined;
6149
6177
  messages?: {
6150
6178
  text: string;
6151
- type: "success" | "error" | "info" | "warning";
6179
+ type: "error" | "success" | "info" | "warning";
6152
6180
  id?: number | undefined;
6153
6181
  }[] | undefined;
6154
6182
  required?: boolean | undefined;
@@ -6172,7 +6200,7 @@ declare function init(config: AuthHeroConfig): {
6172
6200
  hint?: string | undefined;
6173
6201
  messages?: {
6174
6202
  text: string;
6175
- type: "success" | "error" | "info" | "warning";
6203
+ type: "error" | "success" | "info" | "warning";
6176
6204
  id?: number | undefined;
6177
6205
  }[] | undefined;
6178
6206
  required?: boolean | undefined;
@@ -6201,7 +6229,7 @@ declare function init(config: AuthHeroConfig): {
6201
6229
  hint?: string | undefined;
6202
6230
  messages?: {
6203
6231
  text: string;
6204
- type: "success" | "error" | "info" | "warning";
6232
+ type: "error" | "success" | "info" | "warning";
6205
6233
  id?: number | undefined;
6206
6234
  }[] | undefined;
6207
6235
  required?: boolean | undefined;
@@ -6216,7 +6244,7 @@ declare function init(config: AuthHeroConfig): {
6216
6244
  hint?: string | undefined;
6217
6245
  messages?: {
6218
6246
  text: string;
6219
- type: "success" | "error" | "info" | "warning";
6247
+ type: "error" | "success" | "info" | "warning";
6220
6248
  id?: number | undefined;
6221
6249
  }[] | undefined;
6222
6250
  required?: boolean | undefined;
@@ -6237,7 +6265,7 @@ declare function init(config: AuthHeroConfig): {
6237
6265
  hint?: string | undefined;
6238
6266
  messages?: {
6239
6267
  text: string;
6240
- type: "success" | "error" | "info" | "warning";
6268
+ type: "error" | "success" | "info" | "warning";
6241
6269
  id?: number | undefined;
6242
6270
  }[] | undefined;
6243
6271
  required?: boolean | undefined;
@@ -6262,7 +6290,7 @@ declare function init(config: AuthHeroConfig): {
6262
6290
  hint?: string | undefined;
6263
6291
  messages?: {
6264
6292
  text: string;
6265
- type: "success" | "error" | "info" | "warning";
6293
+ type: "error" | "success" | "info" | "warning";
6266
6294
  id?: number | undefined;
6267
6295
  }[] | undefined;
6268
6296
  required?: boolean | undefined;
@@ -6281,7 +6309,7 @@ declare function init(config: AuthHeroConfig): {
6281
6309
  hint?: string | undefined;
6282
6310
  messages?: {
6283
6311
  text: string;
6284
- type: "success" | "error" | "info" | "warning";
6312
+ type: "error" | "success" | "info" | "warning";
6285
6313
  id?: number | undefined;
6286
6314
  }[] | undefined;
6287
6315
  required?: boolean | undefined;
@@ -6301,7 +6329,7 @@ declare function init(config: AuthHeroConfig): {
6301
6329
  hint?: string | undefined;
6302
6330
  messages?: {
6303
6331
  text: string;
6304
- type: "success" | "error" | "info" | "warning";
6332
+ type: "error" | "success" | "info" | "warning";
6305
6333
  id?: number | undefined;
6306
6334
  }[] | undefined;
6307
6335
  required?: boolean | undefined;
@@ -6320,7 +6348,7 @@ declare function init(config: AuthHeroConfig): {
6320
6348
  hint?: string | undefined;
6321
6349
  messages?: {
6322
6350
  text: string;
6323
- type: "success" | "error" | "info" | "warning";
6351
+ type: "error" | "success" | "info" | "warning";
6324
6352
  id?: number | undefined;
6325
6353
  }[] | undefined;
6326
6354
  required?: boolean | undefined;
@@ -6342,7 +6370,7 @@ declare function init(config: AuthHeroConfig): {
6342
6370
  hint?: string | undefined;
6343
6371
  messages?: {
6344
6372
  text: string;
6345
- type: "success" | "error" | "info" | "warning";
6373
+ type: "error" | "success" | "info" | "warning";
6346
6374
  id?: number | undefined;
6347
6375
  }[] | undefined;
6348
6376
  required?: boolean | undefined;
@@ -6364,7 +6392,7 @@ declare function init(config: AuthHeroConfig): {
6364
6392
  hint?: string | undefined;
6365
6393
  messages?: {
6366
6394
  text: string;
6367
- type: "success" | "error" | "info" | "warning";
6395
+ type: "error" | "success" | "info" | "warning";
6368
6396
  id?: number | undefined;
6369
6397
  }[] | undefined;
6370
6398
  required?: boolean | undefined;
@@ -6383,7 +6411,7 @@ declare function init(config: AuthHeroConfig): {
6383
6411
  hint?: string | undefined;
6384
6412
  messages?: {
6385
6413
  text: string;
6386
- type: "success" | "error" | "info" | "warning";
6414
+ type: "error" | "success" | "info" | "warning";
6387
6415
  id?: number | undefined;
6388
6416
  }[] | undefined;
6389
6417
  required?: boolean | undefined;
@@ -6408,7 +6436,7 @@ declare function init(config: AuthHeroConfig): {
6408
6436
  hint?: string | undefined;
6409
6437
  messages?: {
6410
6438
  text: string;
6411
- type: "success" | "error" | "info" | "warning";
6439
+ type: "error" | "success" | "info" | "warning";
6412
6440
  id?: number | undefined;
6413
6441
  }[] | undefined;
6414
6442
  required?: boolean | undefined;
@@ -6429,7 +6457,7 @@ declare function init(config: AuthHeroConfig): {
6429
6457
  hint?: string | undefined;
6430
6458
  messages?: {
6431
6459
  text: string;
6432
- type: "success" | "error" | "info" | "warning";
6460
+ type: "error" | "success" | "info" | "warning";
6433
6461
  id?: number | undefined;
6434
6462
  }[] | undefined;
6435
6463
  required?: boolean | undefined;
@@ -6450,7 +6478,7 @@ declare function init(config: AuthHeroConfig): {
6450
6478
  hint?: string | undefined;
6451
6479
  messages?: {
6452
6480
  text: string;
6453
- type: "success" | "error" | "info" | "warning";
6481
+ type: "error" | "success" | "info" | "warning";
6454
6482
  id?: number | undefined;
6455
6483
  }[] | undefined;
6456
6484
  required?: boolean | undefined;
@@ -6698,7 +6726,7 @@ declare function init(config: AuthHeroConfig): {
6698
6726
  hint?: string | undefined;
6699
6727
  messages?: {
6700
6728
  text: string;
6701
- type: "success" | "error" | "info" | "warning";
6729
+ type: "error" | "success" | "info" | "warning";
6702
6730
  id?: number | undefined;
6703
6731
  }[] | undefined;
6704
6732
  required?: boolean | undefined;
@@ -6716,7 +6744,7 @@ declare function init(config: AuthHeroConfig): {
6716
6744
  hint?: string | undefined;
6717
6745
  messages?: {
6718
6746
  text: string;
6719
- type: "success" | "error" | "info" | "warning";
6747
+ type: "error" | "success" | "info" | "warning";
6720
6748
  id?: number | undefined;
6721
6749
  }[] | undefined;
6722
6750
  required?: boolean | undefined;
@@ -6740,7 +6768,7 @@ declare function init(config: AuthHeroConfig): {
6740
6768
  hint?: string | undefined;
6741
6769
  messages?: {
6742
6770
  text: string;
6743
- type: "success" | "error" | "info" | "warning";
6771
+ type: "error" | "success" | "info" | "warning";
6744
6772
  id?: number | undefined;
6745
6773
  }[] | undefined;
6746
6774
  required?: boolean | undefined;
@@ -6764,7 +6792,7 @@ declare function init(config: AuthHeroConfig): {
6764
6792
  hint?: string | undefined;
6765
6793
  messages?: {
6766
6794
  text: string;
6767
- type: "success" | "error" | "info" | "warning";
6795
+ type: "error" | "success" | "info" | "warning";
6768
6796
  id?: number | undefined;
6769
6797
  }[] | undefined;
6770
6798
  required?: boolean | undefined;
@@ -6788,7 +6816,7 @@ declare function init(config: AuthHeroConfig): {
6788
6816
  hint?: string | undefined;
6789
6817
  messages?: {
6790
6818
  text: string;
6791
- type: "success" | "error" | "info" | "warning";
6819
+ type: "error" | "success" | "info" | "warning";
6792
6820
  id?: number | undefined;
6793
6821
  }[] | undefined;
6794
6822
  required?: boolean | undefined;
@@ -6817,7 +6845,7 @@ declare function init(config: AuthHeroConfig): {
6817
6845
  hint?: string | undefined;
6818
6846
  messages?: {
6819
6847
  text: string;
6820
- type: "success" | "error" | "info" | "warning";
6848
+ type: "error" | "success" | "info" | "warning";
6821
6849
  id?: number | undefined;
6822
6850
  }[] | undefined;
6823
6851
  required?: boolean | undefined;
@@ -6832,7 +6860,7 @@ declare function init(config: AuthHeroConfig): {
6832
6860
  hint?: string | undefined;
6833
6861
  messages?: {
6834
6862
  text: string;
6835
- type: "success" | "error" | "info" | "warning";
6863
+ type: "error" | "success" | "info" | "warning";
6836
6864
  id?: number | undefined;
6837
6865
  }[] | undefined;
6838
6866
  required?: boolean | undefined;
@@ -6853,7 +6881,7 @@ declare function init(config: AuthHeroConfig): {
6853
6881
  hint?: string | undefined;
6854
6882
  messages?: {
6855
6883
  text: string;
6856
- type: "success" | "error" | "info" | "warning";
6884
+ type: "error" | "success" | "info" | "warning";
6857
6885
  id?: number | undefined;
6858
6886
  }[] | undefined;
6859
6887
  required?: boolean | undefined;
@@ -6878,7 +6906,7 @@ declare function init(config: AuthHeroConfig): {
6878
6906
  hint?: string | undefined;
6879
6907
  messages?: {
6880
6908
  text: string;
6881
- type: "success" | "error" | "info" | "warning";
6909
+ type: "error" | "success" | "info" | "warning";
6882
6910
  id?: number | undefined;
6883
6911
  }[] | undefined;
6884
6912
  required?: boolean | undefined;
@@ -6897,7 +6925,7 @@ declare function init(config: AuthHeroConfig): {
6897
6925
  hint?: string | undefined;
6898
6926
  messages?: {
6899
6927
  text: string;
6900
- type: "success" | "error" | "info" | "warning";
6928
+ type: "error" | "success" | "info" | "warning";
6901
6929
  id?: number | undefined;
6902
6930
  }[] | undefined;
6903
6931
  required?: boolean | undefined;
@@ -6917,7 +6945,7 @@ declare function init(config: AuthHeroConfig): {
6917
6945
  hint?: string | undefined;
6918
6946
  messages?: {
6919
6947
  text: string;
6920
- type: "success" | "error" | "info" | "warning";
6948
+ type: "error" | "success" | "info" | "warning";
6921
6949
  id?: number | undefined;
6922
6950
  }[] | undefined;
6923
6951
  required?: boolean | undefined;
@@ -6936,7 +6964,7 @@ declare function init(config: AuthHeroConfig): {
6936
6964
  hint?: string | undefined;
6937
6965
  messages?: {
6938
6966
  text: string;
6939
- type: "success" | "error" | "info" | "warning";
6967
+ type: "error" | "success" | "info" | "warning";
6940
6968
  id?: number | undefined;
6941
6969
  }[] | undefined;
6942
6970
  required?: boolean | undefined;
@@ -6958,7 +6986,7 @@ declare function init(config: AuthHeroConfig): {
6958
6986
  hint?: string | undefined;
6959
6987
  messages?: {
6960
6988
  text: string;
6961
- type: "success" | "error" | "info" | "warning";
6989
+ type: "error" | "success" | "info" | "warning";
6962
6990
  id?: number | undefined;
6963
6991
  }[] | undefined;
6964
6992
  required?: boolean | undefined;
@@ -6980,7 +7008,7 @@ declare function init(config: AuthHeroConfig): {
6980
7008
  hint?: string | undefined;
6981
7009
  messages?: {
6982
7010
  text: string;
6983
- type: "success" | "error" | "info" | "warning";
7011
+ type: "error" | "success" | "info" | "warning";
6984
7012
  id?: number | undefined;
6985
7013
  }[] | undefined;
6986
7014
  required?: boolean | undefined;
@@ -6999,7 +7027,7 @@ declare function init(config: AuthHeroConfig): {
6999
7027
  hint?: string | undefined;
7000
7028
  messages?: {
7001
7029
  text: string;
7002
- type: "success" | "error" | "info" | "warning";
7030
+ type: "error" | "success" | "info" | "warning";
7003
7031
  id?: number | undefined;
7004
7032
  }[] | undefined;
7005
7033
  required?: boolean | undefined;
@@ -7024,7 +7052,7 @@ declare function init(config: AuthHeroConfig): {
7024
7052
  hint?: string | undefined;
7025
7053
  messages?: {
7026
7054
  text: string;
7027
- type: "success" | "error" | "info" | "warning";
7055
+ type: "error" | "success" | "info" | "warning";
7028
7056
  id?: number | undefined;
7029
7057
  }[] | undefined;
7030
7058
  required?: boolean | undefined;
@@ -7045,7 +7073,7 @@ declare function init(config: AuthHeroConfig): {
7045
7073
  hint?: string | undefined;
7046
7074
  messages?: {
7047
7075
  text: string;
7048
- type: "success" | "error" | "info" | "warning";
7076
+ type: "error" | "success" | "info" | "warning";
7049
7077
  id?: number | undefined;
7050
7078
  }[] | undefined;
7051
7079
  required?: boolean | undefined;
@@ -7066,7 +7094,7 @@ declare function init(config: AuthHeroConfig): {
7066
7094
  hint?: string | undefined;
7067
7095
  messages?: {
7068
7096
  text: string;
7069
- type: "success" | "error" | "info" | "warning";
7097
+ type: "error" | "success" | "info" | "warning";
7070
7098
  id?: number | undefined;
7071
7099
  }[] | undefined;
7072
7100
  required?: boolean | undefined;
@@ -7320,7 +7348,7 @@ declare function init(config: AuthHeroConfig): {
7320
7348
  hint?: string | undefined;
7321
7349
  messages?: {
7322
7350
  text: string;
7323
- type: "success" | "error" | "info" | "warning";
7351
+ type: "error" | "success" | "info" | "warning";
7324
7352
  id?: number | undefined;
7325
7353
  }[] | undefined;
7326
7354
  required?: boolean | undefined;
@@ -7338,7 +7366,7 @@ declare function init(config: AuthHeroConfig): {
7338
7366
  hint?: string | undefined;
7339
7367
  messages?: {
7340
7368
  text: string;
7341
- type: "success" | "error" | "info" | "warning";
7369
+ type: "error" | "success" | "info" | "warning";
7342
7370
  id?: number | undefined;
7343
7371
  }[] | undefined;
7344
7372
  required?: boolean | undefined;
@@ -7362,7 +7390,7 @@ declare function init(config: AuthHeroConfig): {
7362
7390
  hint?: string | undefined;
7363
7391
  messages?: {
7364
7392
  text: string;
7365
- type: "success" | "error" | "info" | "warning";
7393
+ type: "error" | "success" | "info" | "warning";
7366
7394
  id?: number | undefined;
7367
7395
  }[] | undefined;
7368
7396
  required?: boolean | undefined;
@@ -7386,7 +7414,7 @@ declare function init(config: AuthHeroConfig): {
7386
7414
  hint?: string | undefined;
7387
7415
  messages?: {
7388
7416
  text: string;
7389
- type: "success" | "error" | "info" | "warning";
7417
+ type: "error" | "success" | "info" | "warning";
7390
7418
  id?: number | undefined;
7391
7419
  }[] | undefined;
7392
7420
  required?: boolean | undefined;
@@ -7410,7 +7438,7 @@ declare function init(config: AuthHeroConfig): {
7410
7438
  hint?: string | undefined;
7411
7439
  messages?: {
7412
7440
  text: string;
7413
- type: "success" | "error" | "info" | "warning";
7441
+ type: "error" | "success" | "info" | "warning";
7414
7442
  id?: number | undefined;
7415
7443
  }[] | undefined;
7416
7444
  required?: boolean | undefined;
@@ -7435,7 +7463,7 @@ declare function init(config: AuthHeroConfig): {
7435
7463
  hint?: string | undefined;
7436
7464
  messages?: {
7437
7465
  text: string;
7438
- type: "success" | "error" | "info" | "warning";
7466
+ type: "error" | "success" | "info" | "warning";
7439
7467
  id?: number | undefined;
7440
7468
  }[] | undefined;
7441
7469
  required?: boolean | undefined;
@@ -7450,7 +7478,7 @@ declare function init(config: AuthHeroConfig): {
7450
7478
  hint?: string | undefined;
7451
7479
  messages?: {
7452
7480
  text: string;
7453
- type: "success" | "error" | "info" | "warning";
7481
+ type: "error" | "success" | "info" | "warning";
7454
7482
  id?: number | undefined;
7455
7483
  }[] | undefined;
7456
7484
  required?: boolean | undefined;
@@ -7471,7 +7499,7 @@ declare function init(config: AuthHeroConfig): {
7471
7499
  hint?: string | undefined;
7472
7500
  messages?: {
7473
7501
  text: string;
7474
- type: "success" | "error" | "info" | "warning";
7502
+ type: "error" | "success" | "info" | "warning";
7475
7503
  id?: number | undefined;
7476
7504
  }[] | undefined;
7477
7505
  required?: boolean | undefined;
@@ -7496,7 +7524,7 @@ declare function init(config: AuthHeroConfig): {
7496
7524
  hint?: string | undefined;
7497
7525
  messages?: {
7498
7526
  text: string;
7499
- type: "success" | "error" | "info" | "warning";
7527
+ type: "error" | "success" | "info" | "warning";
7500
7528
  id?: number | undefined;
7501
7529
  }[] | undefined;
7502
7530
  required?: boolean | undefined;
@@ -7515,7 +7543,7 @@ declare function init(config: AuthHeroConfig): {
7515
7543
  hint?: string | undefined;
7516
7544
  messages?: {
7517
7545
  text: string;
7518
- type: "success" | "error" | "info" | "warning";
7546
+ type: "error" | "success" | "info" | "warning";
7519
7547
  id?: number | undefined;
7520
7548
  }[] | undefined;
7521
7549
  required?: boolean | undefined;
@@ -7535,7 +7563,7 @@ declare function init(config: AuthHeroConfig): {
7535
7563
  hint?: string | undefined;
7536
7564
  messages?: {
7537
7565
  text: string;
7538
- type: "success" | "error" | "info" | "warning";
7566
+ type: "error" | "success" | "info" | "warning";
7539
7567
  id?: number | undefined;
7540
7568
  }[] | undefined;
7541
7569
  required?: boolean | undefined;
@@ -7554,7 +7582,7 @@ declare function init(config: AuthHeroConfig): {
7554
7582
  hint?: string | undefined;
7555
7583
  messages?: {
7556
7584
  text: string;
7557
- type: "success" | "error" | "info" | "warning";
7585
+ type: "error" | "success" | "info" | "warning";
7558
7586
  id?: number | undefined;
7559
7587
  }[] | undefined;
7560
7588
  required?: boolean | undefined;
@@ -7576,7 +7604,7 @@ declare function init(config: AuthHeroConfig): {
7576
7604
  hint?: string | undefined;
7577
7605
  messages?: {
7578
7606
  text: string;
7579
- type: "success" | "error" | "info" | "warning";
7607
+ type: "error" | "success" | "info" | "warning";
7580
7608
  id?: number | undefined;
7581
7609
  }[] | undefined;
7582
7610
  required?: boolean | undefined;
@@ -7598,7 +7626,7 @@ declare function init(config: AuthHeroConfig): {
7598
7626
  hint?: string | undefined;
7599
7627
  messages?: {
7600
7628
  text: string;
7601
- type: "success" | "error" | "info" | "warning";
7629
+ type: "error" | "success" | "info" | "warning";
7602
7630
  id?: number | undefined;
7603
7631
  }[] | undefined;
7604
7632
  required?: boolean | undefined;
@@ -7617,7 +7645,7 @@ declare function init(config: AuthHeroConfig): {
7617
7645
  hint?: string | undefined;
7618
7646
  messages?: {
7619
7647
  text: string;
7620
- type: "success" | "error" | "info" | "warning";
7648
+ type: "error" | "success" | "info" | "warning";
7621
7649
  id?: number | undefined;
7622
7650
  }[] | undefined;
7623
7651
  required?: boolean | undefined;
@@ -7642,7 +7670,7 @@ declare function init(config: AuthHeroConfig): {
7642
7670
  hint?: string | undefined;
7643
7671
  messages?: {
7644
7672
  text: string;
7645
- type: "success" | "error" | "info" | "warning";
7673
+ type: "error" | "success" | "info" | "warning";
7646
7674
  id?: number | undefined;
7647
7675
  }[] | undefined;
7648
7676
  required?: boolean | undefined;
@@ -7663,7 +7691,7 @@ declare function init(config: AuthHeroConfig): {
7663
7691
  hint?: string | undefined;
7664
7692
  messages?: {
7665
7693
  text: string;
7666
- type: "success" | "error" | "info" | "warning";
7694
+ type: "error" | "success" | "info" | "warning";
7667
7695
  id?: number | undefined;
7668
7696
  }[] | undefined;
7669
7697
  required?: boolean | undefined;
@@ -7684,7 +7712,7 @@ declare function init(config: AuthHeroConfig): {
7684
7712
  hint?: string | undefined;
7685
7713
  messages?: {
7686
7714
  text: string;
7687
- type: "success" | "error" | "info" | "warning";
7715
+ type: "error" | "success" | "info" | "warning";
7688
7716
  id?: number | undefined;
7689
7717
  }[] | undefined;
7690
7718
  required?: boolean | undefined;
@@ -7915,7 +7943,7 @@ declare function init(config: AuthHeroConfig): {
7915
7943
  hint?: string | undefined;
7916
7944
  messages?: {
7917
7945
  text: string;
7918
- type: "success" | "error" | "info" | "warning";
7946
+ type: "error" | "success" | "info" | "warning";
7919
7947
  id?: number | undefined;
7920
7948
  }[] | undefined;
7921
7949
  required?: boolean | undefined;
@@ -7933,7 +7961,7 @@ declare function init(config: AuthHeroConfig): {
7933
7961
  hint?: string | undefined;
7934
7962
  messages?: {
7935
7963
  text: string;
7936
- type: "success" | "error" | "info" | "warning";
7964
+ type: "error" | "success" | "info" | "warning";
7937
7965
  id?: number | undefined;
7938
7966
  }[] | undefined;
7939
7967
  required?: boolean | undefined;
@@ -7957,7 +7985,7 @@ declare function init(config: AuthHeroConfig): {
7957
7985
  hint?: string | undefined;
7958
7986
  messages?: {
7959
7987
  text: string;
7960
- type: "success" | "error" | "info" | "warning";
7988
+ type: "error" | "success" | "info" | "warning";
7961
7989
  id?: number | undefined;
7962
7990
  }[] | undefined;
7963
7991
  required?: boolean | undefined;
@@ -7981,7 +8009,7 @@ declare function init(config: AuthHeroConfig): {
7981
8009
  hint?: string | undefined;
7982
8010
  messages?: {
7983
8011
  text: string;
7984
- type: "success" | "error" | "info" | "warning";
8012
+ type: "error" | "success" | "info" | "warning";
7985
8013
  id?: number | undefined;
7986
8014
  }[] | undefined;
7987
8015
  required?: boolean | undefined;
@@ -8005,7 +8033,7 @@ declare function init(config: AuthHeroConfig): {
8005
8033
  hint?: string | undefined;
8006
8034
  messages?: {
8007
8035
  text: string;
8008
- type: "success" | "error" | "info" | "warning";
8036
+ type: "error" | "success" | "info" | "warning";
8009
8037
  id?: number | undefined;
8010
8038
  }[] | undefined;
8011
8039
  required?: boolean | undefined;
@@ -8034,7 +8062,7 @@ declare function init(config: AuthHeroConfig): {
8034
8062
  hint?: string | undefined;
8035
8063
  messages?: {
8036
8064
  text: string;
8037
- type: "success" | "error" | "info" | "warning";
8065
+ type: "error" | "success" | "info" | "warning";
8038
8066
  id?: number | undefined;
8039
8067
  }[] | undefined;
8040
8068
  required?: boolean | undefined;
@@ -8049,7 +8077,7 @@ declare function init(config: AuthHeroConfig): {
8049
8077
  hint?: string | undefined;
8050
8078
  messages?: {
8051
8079
  text: string;
8052
- type: "success" | "error" | "info" | "warning";
8080
+ type: "error" | "success" | "info" | "warning";
8053
8081
  id?: number | undefined;
8054
8082
  }[] | undefined;
8055
8083
  required?: boolean | undefined;
@@ -8070,7 +8098,7 @@ declare function init(config: AuthHeroConfig): {
8070
8098
  hint?: string | undefined;
8071
8099
  messages?: {
8072
8100
  text: string;
8073
- type: "success" | "error" | "info" | "warning";
8101
+ type: "error" | "success" | "info" | "warning";
8074
8102
  id?: number | undefined;
8075
8103
  }[] | undefined;
8076
8104
  required?: boolean | undefined;
@@ -8095,7 +8123,7 @@ declare function init(config: AuthHeroConfig): {
8095
8123
  hint?: string | undefined;
8096
8124
  messages?: {
8097
8125
  text: string;
8098
- type: "success" | "error" | "info" | "warning";
8126
+ type: "error" | "success" | "info" | "warning";
8099
8127
  id?: number | undefined;
8100
8128
  }[] | undefined;
8101
8129
  required?: boolean | undefined;
@@ -8114,7 +8142,7 @@ declare function init(config: AuthHeroConfig): {
8114
8142
  hint?: string | undefined;
8115
8143
  messages?: {
8116
8144
  text: string;
8117
- type: "success" | "error" | "info" | "warning";
8145
+ type: "error" | "success" | "info" | "warning";
8118
8146
  id?: number | undefined;
8119
8147
  }[] | undefined;
8120
8148
  required?: boolean | undefined;
@@ -8134,7 +8162,7 @@ declare function init(config: AuthHeroConfig): {
8134
8162
  hint?: string | undefined;
8135
8163
  messages?: {
8136
8164
  text: string;
8137
- type: "success" | "error" | "info" | "warning";
8165
+ type: "error" | "success" | "info" | "warning";
8138
8166
  id?: number | undefined;
8139
8167
  }[] | undefined;
8140
8168
  required?: boolean | undefined;
@@ -8153,7 +8181,7 @@ declare function init(config: AuthHeroConfig): {
8153
8181
  hint?: string | undefined;
8154
8182
  messages?: {
8155
8183
  text: string;
8156
- type: "success" | "error" | "info" | "warning";
8184
+ type: "error" | "success" | "info" | "warning";
8157
8185
  id?: number | undefined;
8158
8186
  }[] | undefined;
8159
8187
  required?: boolean | undefined;
@@ -8175,7 +8203,7 @@ declare function init(config: AuthHeroConfig): {
8175
8203
  hint?: string | undefined;
8176
8204
  messages?: {
8177
8205
  text: string;
8178
- type: "success" | "error" | "info" | "warning";
8206
+ type: "error" | "success" | "info" | "warning";
8179
8207
  id?: number | undefined;
8180
8208
  }[] | undefined;
8181
8209
  required?: boolean | undefined;
@@ -8197,7 +8225,7 @@ declare function init(config: AuthHeroConfig): {
8197
8225
  hint?: string | undefined;
8198
8226
  messages?: {
8199
8227
  text: string;
8200
- type: "success" | "error" | "info" | "warning";
8228
+ type: "error" | "success" | "info" | "warning";
8201
8229
  id?: number | undefined;
8202
8230
  }[] | undefined;
8203
8231
  required?: boolean | undefined;
@@ -8216,7 +8244,7 @@ declare function init(config: AuthHeroConfig): {
8216
8244
  hint?: string | undefined;
8217
8245
  messages?: {
8218
8246
  text: string;
8219
- type: "success" | "error" | "info" | "warning";
8247
+ type: "error" | "success" | "info" | "warning";
8220
8248
  id?: number | undefined;
8221
8249
  }[] | undefined;
8222
8250
  required?: boolean | undefined;
@@ -8241,7 +8269,7 @@ declare function init(config: AuthHeroConfig): {
8241
8269
  hint?: string | undefined;
8242
8270
  messages?: {
8243
8271
  text: string;
8244
- type: "success" | "error" | "info" | "warning";
8272
+ type: "error" | "success" | "info" | "warning";
8245
8273
  id?: number | undefined;
8246
8274
  }[] | undefined;
8247
8275
  required?: boolean | undefined;
@@ -8262,7 +8290,7 @@ declare function init(config: AuthHeroConfig): {
8262
8290
  hint?: string | undefined;
8263
8291
  messages?: {
8264
8292
  text: string;
8265
- type: "success" | "error" | "info" | "warning";
8293
+ type: "error" | "success" | "info" | "warning";
8266
8294
  id?: number | undefined;
8267
8295
  }[] | undefined;
8268
8296
  required?: boolean | undefined;
@@ -8283,7 +8311,7 @@ declare function init(config: AuthHeroConfig): {
8283
8311
  hint?: string | undefined;
8284
8312
  messages?: {
8285
8313
  text: string;
8286
- type: "success" | "error" | "info" | "warning";
8314
+ type: "error" | "success" | "info" | "warning";
8287
8315
  id?: number | undefined;
8288
8316
  }[] | undefined;
8289
8317
  required?: boolean | undefined;
@@ -8516,7 +8544,7 @@ declare function init(config: AuthHeroConfig): {
8516
8544
  hint?: string | undefined;
8517
8545
  messages?: {
8518
8546
  text: string;
8519
- type: "success" | "error" | "info" | "warning";
8547
+ type: "error" | "success" | "info" | "warning";
8520
8548
  id?: number | undefined;
8521
8549
  }[] | undefined;
8522
8550
  required?: boolean | undefined;
@@ -8534,7 +8562,7 @@ declare function init(config: AuthHeroConfig): {
8534
8562
  hint?: string | undefined;
8535
8563
  messages?: {
8536
8564
  text: string;
8537
- type: "success" | "error" | "info" | "warning";
8565
+ type: "error" | "success" | "info" | "warning";
8538
8566
  id?: number | undefined;
8539
8567
  }[] | undefined;
8540
8568
  required?: boolean | undefined;
@@ -8558,7 +8586,7 @@ declare function init(config: AuthHeroConfig): {
8558
8586
  hint?: string | undefined;
8559
8587
  messages?: {
8560
8588
  text: string;
8561
- type: "success" | "error" | "info" | "warning";
8589
+ type: "error" | "success" | "info" | "warning";
8562
8590
  id?: number | undefined;
8563
8591
  }[] | undefined;
8564
8592
  required?: boolean | undefined;
@@ -8582,7 +8610,7 @@ declare function init(config: AuthHeroConfig): {
8582
8610
  hint?: string | undefined;
8583
8611
  messages?: {
8584
8612
  text: string;
8585
- type: "success" | "error" | "info" | "warning";
8613
+ type: "error" | "success" | "info" | "warning";
8586
8614
  id?: number | undefined;
8587
8615
  }[] | undefined;
8588
8616
  required?: boolean | undefined;
@@ -8606,7 +8634,7 @@ declare function init(config: AuthHeroConfig): {
8606
8634
  hint?: string | undefined;
8607
8635
  messages?: {
8608
8636
  text: string;
8609
- type: "success" | "error" | "info" | "warning";
8637
+ type: "error" | "success" | "info" | "warning";
8610
8638
  id?: number | undefined;
8611
8639
  }[] | undefined;
8612
8640
  required?: boolean | undefined;
@@ -8631,7 +8659,7 @@ declare function init(config: AuthHeroConfig): {
8631
8659
  hint?: string | undefined;
8632
8660
  messages?: {
8633
8661
  text: string;
8634
- type: "success" | "error" | "info" | "warning";
8662
+ type: "error" | "success" | "info" | "warning";
8635
8663
  id?: number | undefined;
8636
8664
  }[] | undefined;
8637
8665
  required?: boolean | undefined;
@@ -8646,7 +8674,7 @@ declare function init(config: AuthHeroConfig): {
8646
8674
  hint?: string | undefined;
8647
8675
  messages?: {
8648
8676
  text: string;
8649
- type: "success" | "error" | "info" | "warning";
8677
+ type: "error" | "success" | "info" | "warning";
8650
8678
  id?: number | undefined;
8651
8679
  }[] | undefined;
8652
8680
  required?: boolean | undefined;
@@ -8667,7 +8695,7 @@ declare function init(config: AuthHeroConfig): {
8667
8695
  hint?: string | undefined;
8668
8696
  messages?: {
8669
8697
  text: string;
8670
- type: "success" | "error" | "info" | "warning";
8698
+ type: "error" | "success" | "info" | "warning";
8671
8699
  id?: number | undefined;
8672
8700
  }[] | undefined;
8673
8701
  required?: boolean | undefined;
@@ -8692,7 +8720,7 @@ declare function init(config: AuthHeroConfig): {
8692
8720
  hint?: string | undefined;
8693
8721
  messages?: {
8694
8722
  text: string;
8695
- type: "success" | "error" | "info" | "warning";
8723
+ type: "error" | "success" | "info" | "warning";
8696
8724
  id?: number | undefined;
8697
8725
  }[] | undefined;
8698
8726
  required?: boolean | undefined;
@@ -8711,7 +8739,7 @@ declare function init(config: AuthHeroConfig): {
8711
8739
  hint?: string | undefined;
8712
8740
  messages?: {
8713
8741
  text: string;
8714
- type: "success" | "error" | "info" | "warning";
8742
+ type: "error" | "success" | "info" | "warning";
8715
8743
  id?: number | undefined;
8716
8744
  }[] | undefined;
8717
8745
  required?: boolean | undefined;
@@ -8731,7 +8759,7 @@ declare function init(config: AuthHeroConfig): {
8731
8759
  hint?: string | undefined;
8732
8760
  messages?: {
8733
8761
  text: string;
8734
- type: "success" | "error" | "info" | "warning";
8762
+ type: "error" | "success" | "info" | "warning";
8735
8763
  id?: number | undefined;
8736
8764
  }[] | undefined;
8737
8765
  required?: boolean | undefined;
@@ -8750,7 +8778,7 @@ declare function init(config: AuthHeroConfig): {
8750
8778
  hint?: string | undefined;
8751
8779
  messages?: {
8752
8780
  text: string;
8753
- type: "success" | "error" | "info" | "warning";
8781
+ type: "error" | "success" | "info" | "warning";
8754
8782
  id?: number | undefined;
8755
8783
  }[] | undefined;
8756
8784
  required?: boolean | undefined;
@@ -8772,7 +8800,7 @@ declare function init(config: AuthHeroConfig): {
8772
8800
  hint?: string | undefined;
8773
8801
  messages?: {
8774
8802
  text: string;
8775
- type: "success" | "error" | "info" | "warning";
8803
+ type: "error" | "success" | "info" | "warning";
8776
8804
  id?: number | undefined;
8777
8805
  }[] | undefined;
8778
8806
  required?: boolean | undefined;
@@ -8794,7 +8822,7 @@ declare function init(config: AuthHeroConfig): {
8794
8822
  hint?: string | undefined;
8795
8823
  messages?: {
8796
8824
  text: string;
8797
- type: "success" | "error" | "info" | "warning";
8825
+ type: "error" | "success" | "info" | "warning";
8798
8826
  id?: number | undefined;
8799
8827
  }[] | undefined;
8800
8828
  required?: boolean | undefined;
@@ -8813,7 +8841,7 @@ declare function init(config: AuthHeroConfig): {
8813
8841
  hint?: string | undefined;
8814
8842
  messages?: {
8815
8843
  text: string;
8816
- type: "success" | "error" | "info" | "warning";
8844
+ type: "error" | "success" | "info" | "warning";
8817
8845
  id?: number | undefined;
8818
8846
  }[] | undefined;
8819
8847
  required?: boolean | undefined;
@@ -8838,7 +8866,7 @@ declare function init(config: AuthHeroConfig): {
8838
8866
  hint?: string | undefined;
8839
8867
  messages?: {
8840
8868
  text: string;
8841
- type: "success" | "error" | "info" | "warning";
8869
+ type: "error" | "success" | "info" | "warning";
8842
8870
  id?: number | undefined;
8843
8871
  }[] | undefined;
8844
8872
  required?: boolean | undefined;
@@ -8859,7 +8887,7 @@ declare function init(config: AuthHeroConfig): {
8859
8887
  hint?: string | undefined;
8860
8888
  messages?: {
8861
8889
  text: string;
8862
- type: "success" | "error" | "info" | "warning";
8890
+ type: "error" | "success" | "info" | "warning";
8863
8891
  id?: number | undefined;
8864
8892
  }[] | undefined;
8865
8893
  required?: boolean | undefined;
@@ -8880,7 +8908,7 @@ declare function init(config: AuthHeroConfig): {
8880
8908
  hint?: string | undefined;
8881
8909
  messages?: {
8882
8910
  text: string;
8883
- type: "success" | "error" | "info" | "warning";
8911
+ type: "error" | "success" | "info" | "warning";
8884
8912
  id?: number | undefined;
8885
8913
  }[] | undefined;
8886
8914
  required?: boolean | undefined;
@@ -9111,7 +9139,7 @@ declare function init(config: AuthHeroConfig): {
9111
9139
  hint?: string | undefined;
9112
9140
  messages?: {
9113
9141
  text: string;
9114
- type: "success" | "error" | "info" | "warning";
9142
+ type: "error" | "success" | "info" | "warning";
9115
9143
  id?: number | undefined;
9116
9144
  }[] | undefined;
9117
9145
  required?: boolean | undefined;
@@ -9129,7 +9157,7 @@ declare function init(config: AuthHeroConfig): {
9129
9157
  hint?: string | undefined;
9130
9158
  messages?: {
9131
9159
  text: string;
9132
- type: "success" | "error" | "info" | "warning";
9160
+ type: "error" | "success" | "info" | "warning";
9133
9161
  id?: number | undefined;
9134
9162
  }[] | undefined;
9135
9163
  required?: boolean | undefined;
@@ -9153,7 +9181,7 @@ declare function init(config: AuthHeroConfig): {
9153
9181
  hint?: string | undefined;
9154
9182
  messages?: {
9155
9183
  text: string;
9156
- type: "success" | "error" | "info" | "warning";
9184
+ type: "error" | "success" | "info" | "warning";
9157
9185
  id?: number | undefined;
9158
9186
  }[] | undefined;
9159
9187
  required?: boolean | undefined;
@@ -9177,7 +9205,7 @@ declare function init(config: AuthHeroConfig): {
9177
9205
  hint?: string | undefined;
9178
9206
  messages?: {
9179
9207
  text: string;
9180
- type: "success" | "error" | "info" | "warning";
9208
+ type: "error" | "success" | "info" | "warning";
9181
9209
  id?: number | undefined;
9182
9210
  }[] | undefined;
9183
9211
  required?: boolean | undefined;
@@ -9201,7 +9229,7 @@ declare function init(config: AuthHeroConfig): {
9201
9229
  hint?: string | undefined;
9202
9230
  messages?: {
9203
9231
  text: string;
9204
- type: "success" | "error" | "info" | "warning";
9232
+ type: "error" | "success" | "info" | "warning";
9205
9233
  id?: number | undefined;
9206
9234
  }[] | undefined;
9207
9235
  required?: boolean | undefined;
@@ -9230,7 +9258,7 @@ declare function init(config: AuthHeroConfig): {
9230
9258
  hint?: string | undefined;
9231
9259
  messages?: {
9232
9260
  text: string;
9233
- type: "success" | "error" | "info" | "warning";
9261
+ type: "error" | "success" | "info" | "warning";
9234
9262
  id?: number | undefined;
9235
9263
  }[] | undefined;
9236
9264
  required?: boolean | undefined;
@@ -9245,7 +9273,7 @@ declare function init(config: AuthHeroConfig): {
9245
9273
  hint?: string | undefined;
9246
9274
  messages?: {
9247
9275
  text: string;
9248
- type: "success" | "error" | "info" | "warning";
9276
+ type: "error" | "success" | "info" | "warning";
9249
9277
  id?: number | undefined;
9250
9278
  }[] | undefined;
9251
9279
  required?: boolean | undefined;
@@ -9266,7 +9294,7 @@ declare function init(config: AuthHeroConfig): {
9266
9294
  hint?: string | undefined;
9267
9295
  messages?: {
9268
9296
  text: string;
9269
- type: "success" | "error" | "info" | "warning";
9297
+ type: "error" | "success" | "info" | "warning";
9270
9298
  id?: number | undefined;
9271
9299
  }[] | undefined;
9272
9300
  required?: boolean | undefined;
@@ -9291,7 +9319,7 @@ declare function init(config: AuthHeroConfig): {
9291
9319
  hint?: string | undefined;
9292
9320
  messages?: {
9293
9321
  text: string;
9294
- type: "success" | "error" | "info" | "warning";
9322
+ type: "error" | "success" | "info" | "warning";
9295
9323
  id?: number | undefined;
9296
9324
  }[] | undefined;
9297
9325
  required?: boolean | undefined;
@@ -9310,7 +9338,7 @@ declare function init(config: AuthHeroConfig): {
9310
9338
  hint?: string | undefined;
9311
9339
  messages?: {
9312
9340
  text: string;
9313
- type: "success" | "error" | "info" | "warning";
9341
+ type: "error" | "success" | "info" | "warning";
9314
9342
  id?: number | undefined;
9315
9343
  }[] | undefined;
9316
9344
  required?: boolean | undefined;
@@ -9330,7 +9358,7 @@ declare function init(config: AuthHeroConfig): {
9330
9358
  hint?: string | undefined;
9331
9359
  messages?: {
9332
9360
  text: string;
9333
- type: "success" | "error" | "info" | "warning";
9361
+ type: "error" | "success" | "info" | "warning";
9334
9362
  id?: number | undefined;
9335
9363
  }[] | undefined;
9336
9364
  required?: boolean | undefined;
@@ -9349,7 +9377,7 @@ declare function init(config: AuthHeroConfig): {
9349
9377
  hint?: string | undefined;
9350
9378
  messages?: {
9351
9379
  text: string;
9352
- type: "success" | "error" | "info" | "warning";
9380
+ type: "error" | "success" | "info" | "warning";
9353
9381
  id?: number | undefined;
9354
9382
  }[] | undefined;
9355
9383
  required?: boolean | undefined;
@@ -9371,7 +9399,7 @@ declare function init(config: AuthHeroConfig): {
9371
9399
  hint?: string | undefined;
9372
9400
  messages?: {
9373
9401
  text: string;
9374
- type: "success" | "error" | "info" | "warning";
9402
+ type: "error" | "success" | "info" | "warning";
9375
9403
  id?: number | undefined;
9376
9404
  }[] | undefined;
9377
9405
  required?: boolean | undefined;
@@ -9393,7 +9421,7 @@ declare function init(config: AuthHeroConfig): {
9393
9421
  hint?: string | undefined;
9394
9422
  messages?: {
9395
9423
  text: string;
9396
- type: "success" | "error" | "info" | "warning";
9424
+ type: "error" | "success" | "info" | "warning";
9397
9425
  id?: number | undefined;
9398
9426
  }[] | undefined;
9399
9427
  required?: boolean | undefined;
@@ -9412,7 +9440,7 @@ declare function init(config: AuthHeroConfig): {
9412
9440
  hint?: string | undefined;
9413
9441
  messages?: {
9414
9442
  text: string;
9415
- type: "success" | "error" | "info" | "warning";
9443
+ type: "error" | "success" | "info" | "warning";
9416
9444
  id?: number | undefined;
9417
9445
  }[] | undefined;
9418
9446
  required?: boolean | undefined;
@@ -9437,7 +9465,7 @@ declare function init(config: AuthHeroConfig): {
9437
9465
  hint?: string | undefined;
9438
9466
  messages?: {
9439
9467
  text: string;
9440
- type: "success" | "error" | "info" | "warning";
9468
+ type: "error" | "success" | "info" | "warning";
9441
9469
  id?: number | undefined;
9442
9470
  }[] | undefined;
9443
9471
  required?: boolean | undefined;
@@ -9458,7 +9486,7 @@ declare function init(config: AuthHeroConfig): {
9458
9486
  hint?: string | undefined;
9459
9487
  messages?: {
9460
9488
  text: string;
9461
- type: "success" | "error" | "info" | "warning";
9489
+ type: "error" | "success" | "info" | "warning";
9462
9490
  id?: number | undefined;
9463
9491
  }[] | undefined;
9464
9492
  required?: boolean | undefined;
@@ -9479,7 +9507,7 @@ declare function init(config: AuthHeroConfig): {
9479
9507
  hint?: string | undefined;
9480
9508
  messages?: {
9481
9509
  text: string;
9482
- type: "success" | "error" | "info" | "warning";
9510
+ type: "error" | "success" | "info" | "warning";
9483
9511
  id?: number | undefined;
9484
9512
  }[] | undefined;
9485
9513
  required?: boolean | undefined;
@@ -9709,7 +9737,7 @@ declare function init(config: AuthHeroConfig): {
9709
9737
  };
9710
9738
  };
9711
9739
  output: {
9712
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9740
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9713
9741
  language: string;
9714
9742
  }[];
9715
9743
  outputFormat: "json";
@@ -9747,7 +9775,7 @@ declare function init(config: AuthHeroConfig): {
9747
9775
  $get: {
9748
9776
  input: {
9749
9777
  param: {
9750
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9778
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9751
9779
  language: string;
9752
9780
  };
9753
9781
  } & {
@@ -9769,7 +9797,7 @@ declare function init(config: AuthHeroConfig): {
9769
9797
  $put: {
9770
9798
  input: {
9771
9799
  param: {
9772
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9800
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9773
9801
  language: string;
9774
9802
  };
9775
9803
  } & {
@@ -9793,7 +9821,7 @@ declare function init(config: AuthHeroConfig): {
9793
9821
  $delete: {
9794
9822
  input: {
9795
9823
  param: {
9796
- prompt: "signup" | "status" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9824
+ prompt: "mfa" | "organizations" | "status" | "signup" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9797
9825
  language: string;
9798
9826
  };
9799
9827
  } & {
@@ -9885,7 +9913,7 @@ declare function init(config: AuthHeroConfig): {
9885
9913
  active?: boolean | undefined;
9886
9914
  } | undefined;
9887
9915
  signup?: {
9888
- status?: "optional" | "required" | "disabled" | undefined;
9916
+ status?: "optional" | "disabled" | "required" | undefined;
9889
9917
  verification?: {
9890
9918
  active?: boolean | undefined;
9891
9919
  } | undefined;
@@ -9902,7 +9930,7 @@ declare function init(config: AuthHeroConfig): {
9902
9930
  active?: boolean | undefined;
9903
9931
  } | undefined;
9904
9932
  signup?: {
9905
- status?: "optional" | "required" | "disabled" | undefined;
9933
+ status?: "optional" | "disabled" | "required" | undefined;
9906
9934
  } | undefined;
9907
9935
  validation?: {
9908
9936
  max_length?: number | undefined;
@@ -9919,7 +9947,7 @@ declare function init(config: AuthHeroConfig): {
9919
9947
  active?: boolean | undefined;
9920
9948
  } | undefined;
9921
9949
  signup?: {
9922
- status?: "optional" | "required" | "disabled" | undefined;
9950
+ status?: "optional" | "disabled" | "required" | undefined;
9923
9951
  } | undefined;
9924
9952
  } | undefined;
9925
9953
  } | undefined;
@@ -10019,7 +10047,7 @@ declare function init(config: AuthHeroConfig): {
10019
10047
  active?: boolean | undefined;
10020
10048
  } | undefined;
10021
10049
  signup?: {
10022
- status?: "optional" | "required" | "disabled" | undefined;
10050
+ status?: "optional" | "disabled" | "required" | undefined;
10023
10051
  verification?: {
10024
10052
  active?: boolean | undefined;
10025
10053
  } | undefined;
@@ -10036,7 +10064,7 @@ declare function init(config: AuthHeroConfig): {
10036
10064
  active?: boolean | undefined;
10037
10065
  } | undefined;
10038
10066
  signup?: {
10039
- status?: "optional" | "required" | "disabled" | undefined;
10067
+ status?: "optional" | "disabled" | "required" | undefined;
10040
10068
  } | undefined;
10041
10069
  validation?: {
10042
10070
  max_length?: number | undefined;
@@ -10053,7 +10081,7 @@ declare function init(config: AuthHeroConfig): {
10053
10081
  active?: boolean | undefined;
10054
10082
  } | undefined;
10055
10083
  signup?: {
10056
- status?: "optional" | "required" | "disabled" | undefined;
10084
+ status?: "optional" | "disabled" | "required" | undefined;
10057
10085
  } | undefined;
10058
10086
  } | undefined;
10059
10087
  } | undefined;
@@ -10168,7 +10196,7 @@ declare function init(config: AuthHeroConfig): {
10168
10196
  active?: boolean | undefined;
10169
10197
  } | undefined;
10170
10198
  signup?: {
10171
- status?: "optional" | "required" | "disabled" | undefined;
10199
+ status?: "optional" | "disabled" | "required" | undefined;
10172
10200
  verification?: {
10173
10201
  active?: boolean | undefined;
10174
10202
  } | undefined;
@@ -10185,7 +10213,7 @@ declare function init(config: AuthHeroConfig): {
10185
10213
  active?: boolean | undefined;
10186
10214
  } | undefined;
10187
10215
  signup?: {
10188
- status?: "optional" | "required" | "disabled" | undefined;
10216
+ status?: "optional" | "disabled" | "required" | undefined;
10189
10217
  } | undefined;
10190
10218
  validation?: {
10191
10219
  max_length?: number | undefined;
@@ -10202,7 +10230,7 @@ declare function init(config: AuthHeroConfig): {
10202
10230
  active?: boolean | undefined;
10203
10231
  } | undefined;
10204
10232
  signup?: {
10205
- status?: "optional" | "required" | "disabled" | undefined;
10233
+ status?: "optional" | "disabled" | "required" | undefined;
10206
10234
  } | undefined;
10207
10235
  } | undefined;
10208
10236
  } | undefined;
@@ -10347,7 +10375,7 @@ declare function init(config: AuthHeroConfig): {
10347
10375
  active?: boolean | undefined;
10348
10376
  } | undefined;
10349
10377
  signup?: {
10350
- status?: "optional" | "required" | "disabled" | undefined;
10378
+ status?: "optional" | "disabled" | "required" | undefined;
10351
10379
  verification?: {
10352
10380
  active?: boolean | undefined;
10353
10381
  } | undefined;
@@ -10364,7 +10392,7 @@ declare function init(config: AuthHeroConfig): {
10364
10392
  active?: boolean | undefined;
10365
10393
  } | undefined;
10366
10394
  signup?: {
10367
- status?: "optional" | "required" | "disabled" | undefined;
10395
+ status?: "optional" | "disabled" | "required" | undefined;
10368
10396
  } | undefined;
10369
10397
  validation?: {
10370
10398
  max_length?: number | undefined;
@@ -10381,7 +10409,7 @@ declare function init(config: AuthHeroConfig): {
10381
10409
  active?: boolean | undefined;
10382
10410
  } | undefined;
10383
10411
  signup?: {
10384
- status?: "optional" | "required" | "disabled" | undefined;
10412
+ status?: "optional" | "disabled" | "required" | undefined;
10385
10413
  } | undefined;
10386
10414
  } | undefined;
10387
10415
  } | undefined;
@@ -10505,7 +10533,7 @@ declare function init(config: AuthHeroConfig): {
10505
10533
  active?: boolean | undefined;
10506
10534
  } | undefined;
10507
10535
  signup?: {
10508
- status?: "optional" | "required" | "disabled" | undefined;
10536
+ status?: "optional" | "disabled" | "required" | undefined;
10509
10537
  verification?: {
10510
10538
  active?: boolean | undefined;
10511
10539
  } | undefined;
@@ -10522,7 +10550,7 @@ declare function init(config: AuthHeroConfig): {
10522
10550
  active?: boolean | undefined;
10523
10551
  } | undefined;
10524
10552
  signup?: {
10525
- status?: "optional" | "required" | "disabled" | undefined;
10553
+ status?: "optional" | "disabled" | "required" | undefined;
10526
10554
  } | undefined;
10527
10555
  validation?: {
10528
10556
  max_length?: number | undefined;
@@ -10539,7 +10567,7 @@ declare function init(config: AuthHeroConfig): {
10539
10567
  active?: boolean | undefined;
10540
10568
  } | undefined;
10541
10569
  signup?: {
10542
- status?: "optional" | "required" | "disabled" | undefined;
10570
+ status?: "optional" | "disabled" | "required" | undefined;
10543
10571
  } | undefined;
10544
10572
  } | undefined;
10545
10573
  } | undefined;
@@ -10655,7 +10683,7 @@ declare function init(config: AuthHeroConfig): {
10655
10683
  };
10656
10684
  } | {
10657
10685
  mode: "inline";
10658
- status: "success" | "error";
10686
+ status: "error" | "success";
10659
10687
  connection_id: string;
10660
10688
  connection_name: string;
10661
10689
  strategy: string;
@@ -11294,7 +11322,7 @@ declare function init(config: AuthHeroConfig): {
11294
11322
  log_type: string;
11295
11323
  category: "user_action" | "admin_action" | "system" | "api";
11296
11324
  actor: {
11297
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
11325
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
11298
11326
  id?: string | undefined;
11299
11327
  email?: string | undefined;
11300
11328
  org_id?: string | undefined;
@@ -11772,7 +11800,7 @@ declare function init(config: AuthHeroConfig): {
11772
11800
  [x: string]: hono_utils_types.JSONValue;
11773
11801
  };
11774
11802
  id: string;
11775
- status: "active" | "suspended" | "paused";
11803
+ status: "suspended" | "active" | "paused";
11776
11804
  filters?: {
11777
11805
  type: string;
11778
11806
  name: string;
@@ -11804,7 +11832,7 @@ declare function init(config: AuthHeroConfig): {
11804
11832
  [x: string]: hono_utils_types.JSONValue;
11805
11833
  };
11806
11834
  id: string;
11807
- status: "active" | "suspended" | "paused";
11835
+ status: "suspended" | "active" | "paused";
11808
11836
  filters?: {
11809
11837
  type: string;
11810
11838
  name: string;
@@ -11829,7 +11857,7 @@ declare function init(config: AuthHeroConfig): {
11829
11857
  name: string;
11830
11858
  type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
11831
11859
  sink: Record<string, unknown>;
11832
- status?: "active" | "suspended" | "paused" | undefined;
11860
+ status?: "suspended" | "active" | "paused" | undefined;
11833
11861
  filters?: {
11834
11862
  type: string;
11835
11863
  name: string;
@@ -11844,7 +11872,7 @@ declare function init(config: AuthHeroConfig): {
11844
11872
  [x: string]: hono_utils_types.JSONValue;
11845
11873
  };
11846
11874
  id: string;
11847
- status: "active" | "suspended" | "paused";
11875
+ status: "suspended" | "active" | "paused";
11848
11876
  filters?: {
11849
11877
  type: string;
11850
11878
  name: string;
@@ -11879,7 +11907,7 @@ declare function init(config: AuthHeroConfig): {
11879
11907
  }[] | undefined;
11880
11908
  isPriority?: boolean | undefined;
11881
11909
  id?: string | undefined;
11882
- status?: "active" | "suspended" | "paused" | undefined;
11910
+ status?: "suspended" | "active" | "paused" | undefined;
11883
11911
  created_at?: string | undefined;
11884
11912
  updated_at?: string | undefined;
11885
11913
  };
@@ -11891,7 +11919,7 @@ declare function init(config: AuthHeroConfig): {
11891
11919
  [x: string]: hono_utils_types.JSONValue;
11892
11920
  };
11893
11921
  id: string;
11894
- status: "active" | "suspended" | "paused";
11922
+ status: "suspended" | "active" | "paused";
11895
11923
  filters?: {
11896
11924
  type: string;
11897
11925
  name: string;
@@ -12423,7 +12451,7 @@ declare function init(config: AuthHeroConfig): {
12423
12451
  addons?: {
12424
12452
  [x: string]: any;
12425
12453
  } | undefined;
12426
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12454
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12427
12455
  client_metadata?: {
12428
12456
  [x: string]: string;
12429
12457
  } | undefined;
@@ -12519,7 +12547,7 @@ declare function init(config: AuthHeroConfig): {
12519
12547
  addons?: {
12520
12548
  [x: string]: any;
12521
12549
  } | undefined;
12522
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12550
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12523
12551
  client_metadata?: {
12524
12552
  [x: string]: string;
12525
12553
  } | undefined;
@@ -12630,7 +12658,7 @@ declare function init(config: AuthHeroConfig): {
12630
12658
  addons?: {
12631
12659
  [x: string]: any;
12632
12660
  } | undefined;
12633
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12661
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12634
12662
  client_metadata?: {
12635
12663
  [x: string]: string;
12636
12664
  } | undefined;
@@ -12740,7 +12768,7 @@ declare function init(config: AuthHeroConfig): {
12740
12768
  custom_login_page_preview?: string | undefined;
12741
12769
  form_template?: string | undefined;
12742
12770
  addons?: Record<string, any> | undefined;
12743
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12771
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12744
12772
  client_metadata?: Record<string, string> | undefined;
12745
12773
  hide_sign_up_disabled_error?: boolean | undefined;
12746
12774
  mobile?: Record<string, any> | undefined;
@@ -12820,7 +12848,7 @@ declare function init(config: AuthHeroConfig): {
12820
12848
  addons?: {
12821
12849
  [x: string]: any;
12822
12850
  } | undefined;
12823
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12851
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12824
12852
  client_metadata?: {
12825
12853
  [x: string]: string;
12826
12854
  } | undefined;
@@ -12909,7 +12937,7 @@ declare function init(config: AuthHeroConfig): {
12909
12937
  custom_login_page_preview?: string | undefined;
12910
12938
  form_template?: string | undefined;
12911
12939
  addons?: Record<string, any> | undefined;
12912
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
12940
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12913
12941
  client_metadata?: Record<string, string> | undefined;
12914
12942
  hide_sign_up_disabled_error?: boolean | undefined;
12915
12943
  mobile?: Record<string, any> | undefined;
@@ -12989,7 +13017,7 @@ declare function init(config: AuthHeroConfig): {
12989
13017
  addons?: {
12990
13018
  [x: string]: any;
12991
13019
  } | undefined;
12992
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13020
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12993
13021
  client_metadata?: {
12994
13022
  [x: string]: string;
12995
13023
  } | undefined;
@@ -13111,7 +13139,7 @@ declare function init(config: AuthHeroConfig): {
13111
13139
  active?: boolean | undefined;
13112
13140
  } | undefined;
13113
13141
  signup?: {
13114
- status?: "optional" | "required" | "disabled" | undefined;
13142
+ status?: "optional" | "disabled" | "required" | undefined;
13115
13143
  verification?: {
13116
13144
  active?: boolean | undefined;
13117
13145
  } | undefined;
@@ -13128,7 +13156,7 @@ declare function init(config: AuthHeroConfig): {
13128
13156
  active?: boolean | undefined;
13129
13157
  } | undefined;
13130
13158
  signup?: {
13131
- status?: "optional" | "required" | "disabled" | undefined;
13159
+ status?: "optional" | "disabled" | "required" | undefined;
13132
13160
  } | undefined;
13133
13161
  validation?: {
13134
13162
  max_length?: number | undefined;
@@ -13145,7 +13173,7 @@ declare function init(config: AuthHeroConfig): {
13145
13173
  active?: boolean | undefined;
13146
13174
  } | undefined;
13147
13175
  signup?: {
13148
- status?: "optional" | "required" | "disabled" | undefined;
13176
+ status?: "optional" | "disabled" | "required" | undefined;
13149
13177
  } | undefined;
13150
13178
  } | undefined;
13151
13179
  } | undefined;
@@ -13265,7 +13293,7 @@ declare function init(config: AuthHeroConfig): {
13265
13293
  active?: boolean | undefined;
13266
13294
  } | undefined;
13267
13295
  signup?: {
13268
- status?: "optional" | "required" | "disabled" | undefined;
13296
+ status?: "optional" | "disabled" | "required" | undefined;
13269
13297
  verification?: {
13270
13298
  active?: boolean | undefined;
13271
13299
  } | undefined;
@@ -13282,7 +13310,7 @@ declare function init(config: AuthHeroConfig): {
13282
13310
  active?: boolean | undefined;
13283
13311
  } | undefined;
13284
13312
  signup?: {
13285
- status?: "optional" | "required" | "disabled" | undefined;
13313
+ status?: "optional" | "disabled" | "required" | undefined;
13286
13314
  } | undefined;
13287
13315
  validation?: {
13288
13316
  max_length?: number | undefined;
@@ -13299,7 +13327,7 @@ declare function init(config: AuthHeroConfig): {
13299
13327
  active?: boolean | undefined;
13300
13328
  } | undefined;
13301
13329
  signup?: {
13302
- status?: "optional" | "required" | "disabled" | undefined;
13330
+ status?: "optional" | "disabled" | "required" | undefined;
13303
13331
  } | undefined;
13304
13332
  } | undefined;
13305
13333
  } | undefined;
@@ -15132,7 +15160,7 @@ declare function init(config: AuthHeroConfig): {
15132
15160
  type: "auth0_managed_certs" | "self_managed_certs";
15133
15161
  custom_domain_id: string;
15134
15162
  primary: boolean;
15135
- status: "disabled" | "pending" | "ready" | "pending_verification";
15163
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15136
15164
  verification_method?: "txt" | undefined;
15137
15165
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15138
15166
  domain_metadata?: {
@@ -15173,7 +15201,7 @@ declare function init(config: AuthHeroConfig): {
15173
15201
  type: "auth0_managed_certs" | "self_managed_certs";
15174
15202
  custom_domain_id: string;
15175
15203
  primary: boolean;
15176
- status: "disabled" | "pending" | "ready" | "pending_verification";
15204
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15177
15205
  verification_method?: "txt" | undefined;
15178
15206
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15179
15207
  domain_metadata?: {
@@ -15237,7 +15265,7 @@ declare function init(config: AuthHeroConfig): {
15237
15265
  type: "auth0_managed_certs" | "self_managed_certs";
15238
15266
  custom_domain_id: string;
15239
15267
  primary: boolean;
15240
- status: "disabled" | "pending" | "ready" | "pending_verification";
15268
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15241
15269
  verification_method?: "txt" | undefined;
15242
15270
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15243
15271
  domain_metadata?: {
@@ -15284,7 +15312,7 @@ declare function init(config: AuthHeroConfig): {
15284
15312
  type: "auth0_managed_certs" | "self_managed_certs";
15285
15313
  custom_domain_id: string;
15286
15314
  primary: boolean;
15287
- status: "disabled" | "pending" | "ready" | "pending_verification";
15315
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15288
15316
  verification_method?: "txt" | undefined;
15289
15317
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15290
15318
  domain_metadata?: {
@@ -15330,7 +15358,7 @@ declare function init(config: AuthHeroConfig): {
15330
15358
  type: "auth0_managed_certs" | "self_managed_certs";
15331
15359
  custom_domain_id: string;
15332
15360
  primary: boolean;
15333
- status: "disabled" | "pending" | "ready" | "pending_verification";
15361
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15334
15362
  verification_method?: "txt" | undefined;
15335
15363
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15336
15364
  domain_metadata?: {
@@ -15371,7 +15399,7 @@ declare function init(config: AuthHeroConfig): {
15371
15399
  type: "auth0_managed_certs" | "self_managed_certs";
15372
15400
  custom_domain_id: string;
15373
15401
  primary: boolean;
15374
- status: "disabled" | "pending" | "ready" | "pending_verification";
15402
+ status: "pending" | "ready" | "disabled" | "pending_verification";
15375
15403
  verification_method?: "txt" | undefined;
15376
15404
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15377
15405
  domain_metadata?: {
@@ -15470,7 +15498,7 @@ declare function init(config: AuthHeroConfig): {
15470
15498
  background_color: string;
15471
15499
  background_image_url: string;
15472
15500
  page_layout: "center" | "left" | "right";
15473
- logo_placement?: "none" | "widget" | "chip" | undefined;
15501
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15474
15502
  };
15475
15503
  widget: {
15476
15504
  header_text_alignment: "center" | "left" | "right";
@@ -15560,7 +15588,7 @@ declare function init(config: AuthHeroConfig): {
15560
15588
  background_color: string;
15561
15589
  background_image_url: string;
15562
15590
  page_layout: "center" | "left" | "right";
15563
- logo_placement?: "none" | "widget" | "chip" | undefined;
15591
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15564
15592
  };
15565
15593
  widget: {
15566
15594
  header_text_alignment: "center" | "left" | "right";
@@ -15639,7 +15667,7 @@ declare function init(config: AuthHeroConfig): {
15639
15667
  background_color: string;
15640
15668
  background_image_url: string;
15641
15669
  page_layout: "center" | "left" | "right";
15642
- logo_placement?: "none" | "widget" | "chip" | undefined;
15670
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15643
15671
  };
15644
15672
  widget: {
15645
15673
  header_text_alignment: "center" | "left" | "right";
@@ -15801,7 +15829,7 @@ declare function init(config: AuthHeroConfig): {
15801
15829
  } & {
15802
15830
  json: {
15803
15831
  body?: string | undefined;
15804
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
15832
+ screen?: "password" | "signup" | "login" | "identifier" | undefined;
15805
15833
  branding?: {
15806
15834
  colors?: {
15807
15835
  primary: string;
@@ -15887,7 +15915,7 @@ declare function init(config: AuthHeroConfig): {
15887
15915
  background_color: string;
15888
15916
  background_image_url: string;
15889
15917
  page_layout: "center" | "left" | "right";
15890
- logo_placement?: "none" | "widget" | "chip" | undefined;
15918
+ logo_placement?: "widget" | "none" | "chip" | undefined;
15891
15919
  } | undefined;
15892
15920
  widget?: {
15893
15921
  header_text_alignment: "center" | "left" | "right";
@@ -16045,7 +16073,7 @@ declare function init(config: AuthHeroConfig): {
16045
16073
  output: {
16046
16074
  id: string;
16047
16075
  trigger_id: string;
16048
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
16076
+ status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
16049
16077
  results: {
16050
16078
  action_name: string;
16051
16079
  error: {
@@ -16092,7 +16120,7 @@ declare function init(config: AuthHeroConfig): {
16092
16120
  logs: {
16093
16121
  action_name: string;
16094
16122
  lines: {
16095
- level: "log" | "error" | "info" | "warn" | "debug";
16123
+ level: "error" | "info" | "log" | "warn" | "debug";
16096
16124
  message: string;
16097
16125
  }[];
16098
16126
  }[];
@@ -16759,7 +16787,7 @@ declare function init(config: AuthHeroConfig): {
16759
16787
  args: hono_utils_types.JSONValue[];
16760
16788
  }[];
16761
16789
  logs: {
16762
- level: "log" | "error" | "info" | "warn" | "debug";
16790
+ level: "error" | "info" | "log" | "warn" | "debug";
16763
16791
  message: string;
16764
16792
  }[];
16765
16793
  error?: string | undefined;
@@ -17057,7 +17085,7 @@ declare function init(config: AuthHeroConfig): {
17057
17085
  scope?: string | undefined;
17058
17086
  grant_types?: string[] | undefined;
17059
17087
  response_types?: string[] | undefined;
17060
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
17088
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
17061
17089
  jwks_uri?: string | undefined;
17062
17090
  jwks?: Record<string, unknown> | undefined;
17063
17091
  software_id?: string | undefined;
@@ -17146,7 +17174,7 @@ declare function init(config: AuthHeroConfig): {
17146
17174
  scope?: string | undefined;
17147
17175
  grant_types?: string[] | undefined;
17148
17176
  response_types?: string[] | undefined;
17149
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
17177
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
17150
17178
  jwks_uri?: string | undefined;
17151
17179
  jwks?: Record<string, unknown> | undefined;
17152
17180
  software_id?: string | undefined;
@@ -17492,20 +17520,20 @@ declare function init(config: AuthHeroConfig): {
17492
17520
  email: string;
17493
17521
  send: "code" | "link";
17494
17522
  authParams: {
17495
- username?: string | undefined;
17496
- state?: string | undefined;
17523
+ audience?: string | undefined;
17497
17524
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17498
17525
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17499
17526
  scope?: string | undefined;
17500
- audience?: string | undefined;
17527
+ username?: string | undefined;
17501
17528
  prompt?: string | undefined;
17502
- ui_locales?: string | undefined;
17529
+ state?: string | undefined;
17503
17530
  organization?: string | undefined;
17531
+ nonce?: string | undefined;
17504
17532
  redirect_uri?: string | undefined;
17505
17533
  act_as?: string | undefined;
17506
- nonce?: string | undefined;
17507
17534
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17508
17535
  code_challenge?: string | undefined;
17536
+ ui_locales?: string | undefined;
17509
17537
  max_age?: number | undefined;
17510
17538
  acr_values?: string | undefined;
17511
17539
  claims?: {
@@ -17528,20 +17556,20 @@ declare function init(config: AuthHeroConfig): {
17528
17556
  phone_number: string;
17529
17557
  send: "code" | "link";
17530
17558
  authParams: {
17531
- username?: string | undefined;
17532
- state?: string | undefined;
17559
+ audience?: string | undefined;
17533
17560
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17534
17561
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17535
17562
  scope?: string | undefined;
17536
- audience?: string | undefined;
17563
+ username?: string | undefined;
17537
17564
  prompt?: string | undefined;
17538
- ui_locales?: string | undefined;
17565
+ state?: string | undefined;
17539
17566
  organization?: string | undefined;
17567
+ nonce?: string | undefined;
17540
17568
  redirect_uri?: string | undefined;
17541
17569
  act_as?: string | undefined;
17542
- nonce?: string | undefined;
17543
17570
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17544
17571
  code_challenge?: string | undefined;
17572
+ ui_locales?: string | undefined;
17545
17573
  max_age?: number | undefined;
17546
17574
  acr_values?: string | undefined;
17547
17575
  claims?: {
@@ -17672,14 +17700,14 @@ declare function init(config: AuthHeroConfig): {
17672
17700
  input: {
17673
17701
  form: {
17674
17702
  token: string;
17675
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17703
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17676
17704
  client_id?: string | undefined;
17677
17705
  client_secret?: string | undefined;
17678
17706
  };
17679
17707
  } & {
17680
17708
  json: {
17681
17709
  token: string;
17682
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17710
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17683
17711
  client_id?: string | undefined;
17684
17712
  client_secret?: string | undefined;
17685
17713
  };
@@ -17691,14 +17719,14 @@ declare function init(config: AuthHeroConfig): {
17691
17719
  input: {
17692
17720
  form: {
17693
17721
  token: string;
17694
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17722
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17695
17723
  client_id?: string | undefined;
17696
17724
  client_secret?: string | undefined;
17697
17725
  };
17698
17726
  } & {
17699
17727
  json: {
17700
17728
  token: string;
17701
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17729
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17702
17730
  client_id?: string | undefined;
17703
17731
  client_secret?: string | undefined;
17704
17732
  };
@@ -17713,14 +17741,14 @@ declare function init(config: AuthHeroConfig): {
17713
17741
  input: {
17714
17742
  form: {
17715
17743
  token: string;
17716
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17744
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17717
17745
  client_id?: string | undefined;
17718
17746
  client_secret?: string | undefined;
17719
17747
  };
17720
17748
  } & {
17721
17749
  json: {
17722
17750
  token: string;
17723
- token_type_hint?: "access_token" | "refresh_token" | undefined;
17751
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
17724
17752
  client_id?: string | undefined;
17725
17753
  client_secret?: string | undefined;
17726
17754
  };
@@ -17770,7 +17798,7 @@ declare function init(config: AuthHeroConfig): {
17770
17798
  client_id: string;
17771
17799
  username: string;
17772
17800
  otp: string;
17773
- realm: "email" | "sms";
17801
+ realm: "sms" | "email";
17774
17802
  } | {
17775
17803
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17776
17804
  subject_token: string;
@@ -17817,7 +17845,7 @@ declare function init(config: AuthHeroConfig): {
17817
17845
  client_id: string;
17818
17846
  username: string;
17819
17847
  otp: string;
17820
- realm: "email" | "sms";
17848
+ realm: "sms" | "email";
17821
17849
  } | {
17822
17850
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17823
17851
  subject_token: string;
@@ -17869,7 +17897,7 @@ declare function init(config: AuthHeroConfig): {
17869
17897
  client_id: string;
17870
17898
  username: string;
17871
17899
  otp: string;
17872
- realm: "email" | "sms";
17900
+ realm: "sms" | "email";
17873
17901
  } | {
17874
17902
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17875
17903
  subject_token: string;
@@ -17916,7 +17944,7 @@ declare function init(config: AuthHeroConfig): {
17916
17944
  client_id: string;
17917
17945
  username: string;
17918
17946
  otp: string;
17919
- realm: "email" | "sms";
17947
+ realm: "sms" | "email";
17920
17948
  } | {
17921
17949
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17922
17950
  subject_token: string;
@@ -17976,7 +18004,7 @@ declare function init(config: AuthHeroConfig): {
17976
18004
  client_id: string;
17977
18005
  username: string;
17978
18006
  otp: string;
17979
- realm: "email" | "sms";
18007
+ realm: "sms" | "email";
17980
18008
  } | {
17981
18009
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17982
18010
  subject_token: string;
@@ -18023,7 +18051,7 @@ declare function init(config: AuthHeroConfig): {
18023
18051
  client_id: string;
18024
18052
  username: string;
18025
18053
  otp: string;
18026
- realm: "email" | "sms";
18054
+ realm: "sms" | "email";
18027
18055
  } | {
18028
18056
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18029
18057
  subject_token: string;
@@ -18078,7 +18106,7 @@ declare function init(config: AuthHeroConfig): {
18078
18106
  client_id: string;
18079
18107
  username: string;
18080
18108
  otp: string;
18081
- realm: "email" | "sms";
18109
+ realm: "sms" | "email";
18082
18110
  } | {
18083
18111
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18084
18112
  subject_token: string;
@@ -18125,7 +18153,7 @@ declare function init(config: AuthHeroConfig): {
18125
18153
  client_id: string;
18126
18154
  username: string;
18127
18155
  otp: string;
18128
- realm: "email" | "sms";
18156
+ realm: "sms" | "email";
18129
18157
  } | {
18130
18158
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18131
18159
  subject_token: string;
@@ -18180,7 +18208,7 @@ declare function init(config: AuthHeroConfig): {
18180
18208
  client_id: string;
18181
18209
  username: string;
18182
18210
  otp: string;
18183
- realm: "email" | "sms";
18211
+ realm: "sms" | "email";
18184
18212
  } | {
18185
18213
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18186
18214
  subject_token: string;
@@ -18227,7 +18255,7 @@ declare function init(config: AuthHeroConfig): {
18227
18255
  client_id: string;
18228
18256
  username: string;
18229
18257
  otp: string;
18230
- realm: "email" | "sms";
18258
+ realm: "sms" | "email";
18231
18259
  } | {
18232
18260
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18233
18261
  subject_token: string;
@@ -19068,7 +19096,7 @@ declare function init(config: AuthHeroConfig): {
19068
19096
  } & {
19069
19097
  form: {
19070
19098
  username: string;
19071
- login_selection?: "code" | "password" | undefined;
19099
+ login_selection?: "password" | "code" | undefined;
19072
19100
  };
19073
19101
  };
19074
19102
  output: {};
@@ -19082,7 +19110,7 @@ declare function init(config: AuthHeroConfig): {
19082
19110
  } & {
19083
19111
  form: {
19084
19112
  username: string;
19085
- login_selection?: "code" | "password" | undefined;
19113
+ login_selection?: "password" | "code" | undefined;
19086
19114
  };
19087
19115
  };
19088
19116
  output: {};
@@ -19447,7 +19475,7 @@ declare function init(config: AuthHeroConfig): {
19447
19475
  $get: {
19448
19476
  input: {
19449
19477
  param: {
19450
- screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19478
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19451
19479
  };
19452
19480
  } & {
19453
19481
  query: {
@@ -19463,7 +19491,7 @@ declare function init(config: AuthHeroConfig): {
19463
19491
  } | {
19464
19492
  input: {
19465
19493
  param: {
19466
- screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19494
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19467
19495
  };
19468
19496
  } & {
19469
19497
  query: {
@@ -19479,7 +19507,7 @@ declare function init(config: AuthHeroConfig): {
19479
19507
  } | {
19480
19508
  input: {
19481
19509
  param: {
19482
- screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19510
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19483
19511
  };
19484
19512
  } & {
19485
19513
  query: {
@@ -19499,7 +19527,7 @@ declare function init(config: AuthHeroConfig): {
19499
19527
  $post: {
19500
19528
  input: {
19501
19529
  param: {
19502
- screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19530
+ screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19503
19531
  };
19504
19532
  } & {
19505
19533
  query: {
@@ -19517,7 +19545,7 @@ declare function init(config: AuthHeroConfig): {
19517
19545
  } | {
19518
19546
  input: {
19519
19547
  param: {
19520
- screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19548
+ screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19521
19549
  };
19522
19550
  } & {
19523
19551
  query: {