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
@@ -4,6 +4,49 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4
4
  Bindings: Bindings;
5
5
  Variables: Variables;
6
6
  }, import("hono/types").MergeSchemaPath<{
7
+ "/export": {
8
+ $get: {
9
+ input: {
10
+ query: {
11
+ include_password_hashes?: "true" | "false" | undefined;
12
+ gzip?: "true" | "false" | undefined;
13
+ };
14
+ } & {
15
+ header: {
16
+ "tenant-id"?: string | undefined;
17
+ };
18
+ };
19
+ output: Response;
20
+ outputFormat: "json";
21
+ status: import("hono/utils/http-status").StatusCode;
22
+ };
23
+ };
24
+ } & {
25
+ "/import": {
26
+ $post: {
27
+ input: {
28
+ query: {
29
+ include_password_hashes?: "true" | "false" | undefined;
30
+ };
31
+ } & {
32
+ header: {
33
+ "tenant-id"?: string | undefined;
34
+ };
35
+ };
36
+ output: {
37
+ counts: {
38
+ [x: string]: number;
39
+ };
40
+ errors: {
41
+ entity: string;
42
+ error: string;
43
+ }[];
44
+ };
45
+ outputFormat: "json";
46
+ status: 200;
47
+ };
48
+ };
49
+ }, "/tenant-data"> & import("hono/types").MergeSchemaPath<{
7
50
  "/": {
8
51
  $get: {
9
52
  input: {
@@ -37,7 +80,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
37
80
  };
38
81
  } & {
39
82
  json: {
40
- type: "email" | "passkey" | "push" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
83
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
84
  phone_number?: string | undefined;
42
85
  totp_secret?: string | undefined;
43
86
  credential_id?: string | undefined;
@@ -177,7 +220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
177
220
  };
178
221
  };
179
222
  output: {
180
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
223
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
181
224
  enabled: boolean;
182
225
  trial_expired?: boolean | undefined;
183
226
  }[];
@@ -332,7 +375,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
332
375
  $get: {
333
376
  input: {
334
377
  param: {
335
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
378
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
336
379
  };
337
380
  } & {
338
381
  header: {
@@ -340,7 +383,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
340
383
  };
341
384
  };
342
385
  output: {
343
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
386
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
344
387
  enabled: boolean;
345
388
  trial_expired?: boolean | undefined;
346
389
  };
@@ -353,7 +396,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
353
396
  $put: {
354
397
  input: {
355
398
  param: {
356
- factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
399
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
357
400
  };
358
401
  } & {
359
402
  header: {
@@ -365,7 +408,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
365
408
  };
366
409
  };
367
410
  output: {
368
- name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
411
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
369
412
  enabled: boolean;
370
413
  trial_expired?: boolean | undefined;
371
414
  };
@@ -1112,9 +1155,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1112
1155
  };
1113
1156
  id?: string | undefined;
1114
1157
  roles?: string[] | undefined;
1158
+ connection_id?: string | undefined;
1115
1159
  app_metadata?: Record<string, any> | undefined;
1116
1160
  user_metadata?: Record<string, any> | undefined;
1117
- connection_id?: string | undefined;
1118
1161
  ttl_sec?: number | undefined;
1119
1162
  send_invitation_email?: boolean | undefined;
1120
1163
  };
@@ -1298,8 +1341,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1298
1341
  };
1299
1342
  } & {
1300
1343
  json: {
1301
- show_as_button?: boolean | undefined;
1302
1344
  assign_membership_on_login?: boolean | undefined;
1345
+ show_as_button?: boolean | undefined;
1303
1346
  is_signup_enabled?: boolean | undefined;
1304
1347
  };
1305
1348
  };
@@ -2541,7 +2584,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2541
2584
  hint?: string | undefined;
2542
2585
  messages?: {
2543
2586
  text: string;
2544
- type: "success" | "error" | "info" | "warning";
2587
+ type: "error" | "success" | "info" | "warning";
2545
2588
  id?: number | undefined;
2546
2589
  }[] | undefined;
2547
2590
  required?: boolean | undefined;
@@ -2559,7 +2602,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2559
2602
  hint?: string | undefined;
2560
2603
  messages?: {
2561
2604
  text: string;
2562
- type: "success" | "error" | "info" | "warning";
2605
+ type: "error" | "success" | "info" | "warning";
2563
2606
  id?: number | undefined;
2564
2607
  }[] | undefined;
2565
2608
  required?: boolean | undefined;
@@ -2583,7 +2626,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2583
2626
  hint?: string | undefined;
2584
2627
  messages?: {
2585
2628
  text: string;
2586
- type: "success" | "error" | "info" | "warning";
2629
+ type: "error" | "success" | "info" | "warning";
2587
2630
  id?: number | undefined;
2588
2631
  }[] | undefined;
2589
2632
  required?: boolean | undefined;
@@ -2607,7 +2650,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2607
2650
  hint?: string | undefined;
2608
2651
  messages?: {
2609
2652
  text: string;
2610
- type: "success" | "error" | "info" | "warning";
2653
+ type: "error" | "success" | "info" | "warning";
2611
2654
  id?: number | undefined;
2612
2655
  }[] | undefined;
2613
2656
  required?: boolean | undefined;
@@ -2631,7 +2674,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2631
2674
  hint?: string | undefined;
2632
2675
  messages?: {
2633
2676
  text: string;
2634
- type: "success" | "error" | "info" | "warning";
2677
+ type: "error" | "success" | "info" | "warning";
2635
2678
  id?: number | undefined;
2636
2679
  }[] | undefined;
2637
2680
  required?: boolean | undefined;
@@ -2660,7 +2703,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2660
2703
  hint?: string | undefined;
2661
2704
  messages?: {
2662
2705
  text: string;
2663
- type: "success" | "error" | "info" | "warning";
2706
+ type: "error" | "success" | "info" | "warning";
2664
2707
  id?: number | undefined;
2665
2708
  }[] | undefined;
2666
2709
  required?: boolean | undefined;
@@ -2675,7 +2718,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2675
2718
  hint?: string | undefined;
2676
2719
  messages?: {
2677
2720
  text: string;
2678
- type: "success" | "error" | "info" | "warning";
2721
+ type: "error" | "success" | "info" | "warning";
2679
2722
  id?: number | undefined;
2680
2723
  }[] | undefined;
2681
2724
  required?: boolean | undefined;
@@ -2696,7 +2739,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2696
2739
  hint?: string | undefined;
2697
2740
  messages?: {
2698
2741
  text: string;
2699
- type: "success" | "error" | "info" | "warning";
2742
+ type: "error" | "success" | "info" | "warning";
2700
2743
  id?: number | undefined;
2701
2744
  }[] | undefined;
2702
2745
  required?: boolean | undefined;
@@ -2721,7 +2764,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2721
2764
  hint?: string | undefined;
2722
2765
  messages?: {
2723
2766
  text: string;
2724
- type: "success" | "error" | "info" | "warning";
2767
+ type: "error" | "success" | "info" | "warning";
2725
2768
  id?: number | undefined;
2726
2769
  }[] | undefined;
2727
2770
  required?: boolean | undefined;
@@ -2740,7 +2783,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2740
2783
  hint?: string | undefined;
2741
2784
  messages?: {
2742
2785
  text: string;
2743
- type: "success" | "error" | "info" | "warning";
2786
+ type: "error" | "success" | "info" | "warning";
2744
2787
  id?: number | undefined;
2745
2788
  }[] | undefined;
2746
2789
  required?: boolean | undefined;
@@ -2760,7 +2803,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2760
2803
  hint?: string | undefined;
2761
2804
  messages?: {
2762
2805
  text: string;
2763
- type: "success" | "error" | "info" | "warning";
2806
+ type: "error" | "success" | "info" | "warning";
2764
2807
  id?: number | undefined;
2765
2808
  }[] | undefined;
2766
2809
  required?: boolean | undefined;
@@ -2779,7 +2822,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2779
2822
  hint?: string | undefined;
2780
2823
  messages?: {
2781
2824
  text: string;
2782
- type: "success" | "error" | "info" | "warning";
2825
+ type: "error" | "success" | "info" | "warning";
2783
2826
  id?: number | undefined;
2784
2827
  }[] | undefined;
2785
2828
  required?: boolean | undefined;
@@ -2801,7 +2844,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2801
2844
  hint?: string | undefined;
2802
2845
  messages?: {
2803
2846
  text: string;
2804
- type: "success" | "error" | "info" | "warning";
2847
+ type: "error" | "success" | "info" | "warning";
2805
2848
  id?: number | undefined;
2806
2849
  }[] | undefined;
2807
2850
  required?: boolean | undefined;
@@ -2823,7 +2866,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2823
2866
  hint?: string | undefined;
2824
2867
  messages?: {
2825
2868
  text: string;
2826
- type: "success" | "error" | "info" | "warning";
2869
+ type: "error" | "success" | "info" | "warning";
2827
2870
  id?: number | undefined;
2828
2871
  }[] | undefined;
2829
2872
  required?: boolean | undefined;
@@ -2842,7 +2885,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2842
2885
  hint?: string | undefined;
2843
2886
  messages?: {
2844
2887
  text: string;
2845
- type: "success" | "error" | "info" | "warning";
2888
+ type: "error" | "success" | "info" | "warning";
2846
2889
  id?: number | undefined;
2847
2890
  }[] | undefined;
2848
2891
  required?: boolean | undefined;
@@ -2867,7 +2910,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2867
2910
  hint?: string | undefined;
2868
2911
  messages?: {
2869
2912
  text: string;
2870
- type: "success" | "error" | "info" | "warning";
2913
+ type: "error" | "success" | "info" | "warning";
2871
2914
  id?: number | undefined;
2872
2915
  }[] | undefined;
2873
2916
  required?: boolean | undefined;
@@ -2888,7 +2931,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2888
2931
  hint?: string | undefined;
2889
2932
  messages?: {
2890
2933
  text: string;
2891
- type: "success" | "error" | "info" | "warning";
2934
+ type: "error" | "success" | "info" | "warning";
2892
2935
  id?: number | undefined;
2893
2936
  }[] | undefined;
2894
2937
  required?: boolean | undefined;
@@ -2909,7 +2952,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2909
2952
  hint?: string | undefined;
2910
2953
  messages?: {
2911
2954
  text: string;
2912
- type: "success" | "error" | "info" | "warning";
2955
+ type: "error" | "success" | "info" | "warning";
2913
2956
  id?: number | undefined;
2914
2957
  }[] | undefined;
2915
2958
  required?: boolean | undefined;
@@ -3142,7 +3185,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3142
3185
  hint?: string | undefined;
3143
3186
  messages?: {
3144
3187
  text: string;
3145
- type: "success" | "error" | "info" | "warning";
3188
+ type: "error" | "success" | "info" | "warning";
3146
3189
  id?: number | undefined;
3147
3190
  }[] | undefined;
3148
3191
  required?: boolean | undefined;
@@ -3160,7 +3203,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3160
3203
  hint?: string | undefined;
3161
3204
  messages?: {
3162
3205
  text: string;
3163
- type: "success" | "error" | "info" | "warning";
3206
+ type: "error" | "success" | "info" | "warning";
3164
3207
  id?: number | undefined;
3165
3208
  }[] | undefined;
3166
3209
  required?: boolean | undefined;
@@ -3184,7 +3227,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3184
3227
  hint?: string | undefined;
3185
3228
  messages?: {
3186
3229
  text: string;
3187
- type: "success" | "error" | "info" | "warning";
3230
+ type: "error" | "success" | "info" | "warning";
3188
3231
  id?: number | undefined;
3189
3232
  }[] | undefined;
3190
3233
  required?: boolean | undefined;
@@ -3208,7 +3251,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3208
3251
  hint?: string | undefined;
3209
3252
  messages?: {
3210
3253
  text: string;
3211
- type: "success" | "error" | "info" | "warning";
3254
+ type: "error" | "success" | "info" | "warning";
3212
3255
  id?: number | undefined;
3213
3256
  }[] | undefined;
3214
3257
  required?: boolean | undefined;
@@ -3232,7 +3275,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3232
3275
  hint?: string | undefined;
3233
3276
  messages?: {
3234
3277
  text: string;
3235
- type: "success" | "error" | "info" | "warning";
3278
+ type: "error" | "success" | "info" | "warning";
3236
3279
  id?: number | undefined;
3237
3280
  }[] | undefined;
3238
3281
  required?: boolean | undefined;
@@ -3261,7 +3304,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3261
3304
  hint?: string | undefined;
3262
3305
  messages?: {
3263
3306
  text: string;
3264
- type: "success" | "error" | "info" | "warning";
3307
+ type: "error" | "success" | "info" | "warning";
3265
3308
  id?: number | undefined;
3266
3309
  }[] | undefined;
3267
3310
  required?: boolean | undefined;
@@ -3276,7 +3319,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3276
3319
  hint?: string | undefined;
3277
3320
  messages?: {
3278
3321
  text: string;
3279
- type: "success" | "error" | "info" | "warning";
3322
+ type: "error" | "success" | "info" | "warning";
3280
3323
  id?: number | undefined;
3281
3324
  }[] | undefined;
3282
3325
  required?: boolean | undefined;
@@ -3297,7 +3340,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3297
3340
  hint?: string | undefined;
3298
3341
  messages?: {
3299
3342
  text: string;
3300
- type: "success" | "error" | "info" | "warning";
3343
+ type: "error" | "success" | "info" | "warning";
3301
3344
  id?: number | undefined;
3302
3345
  }[] | undefined;
3303
3346
  required?: boolean | undefined;
@@ -3322,7 +3365,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3322
3365
  hint?: string | undefined;
3323
3366
  messages?: {
3324
3367
  text: string;
3325
- type: "success" | "error" | "info" | "warning";
3368
+ type: "error" | "success" | "info" | "warning";
3326
3369
  id?: number | undefined;
3327
3370
  }[] | undefined;
3328
3371
  required?: boolean | undefined;
@@ -3341,7 +3384,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3341
3384
  hint?: string | undefined;
3342
3385
  messages?: {
3343
3386
  text: string;
3344
- type: "success" | "error" | "info" | "warning";
3387
+ type: "error" | "success" | "info" | "warning";
3345
3388
  id?: number | undefined;
3346
3389
  }[] | undefined;
3347
3390
  required?: boolean | undefined;
@@ -3361,7 +3404,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3361
3404
  hint?: string | undefined;
3362
3405
  messages?: {
3363
3406
  text: string;
3364
- type: "success" | "error" | "info" | "warning";
3407
+ type: "error" | "success" | "info" | "warning";
3365
3408
  id?: number | undefined;
3366
3409
  }[] | undefined;
3367
3410
  required?: boolean | undefined;
@@ -3380,7 +3423,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3380
3423
  hint?: string | undefined;
3381
3424
  messages?: {
3382
3425
  text: string;
3383
- type: "success" | "error" | "info" | "warning";
3426
+ type: "error" | "success" | "info" | "warning";
3384
3427
  id?: number | undefined;
3385
3428
  }[] | undefined;
3386
3429
  required?: boolean | undefined;
@@ -3402,7 +3445,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3402
3445
  hint?: string | undefined;
3403
3446
  messages?: {
3404
3447
  text: string;
3405
- type: "success" | "error" | "info" | "warning";
3448
+ type: "error" | "success" | "info" | "warning";
3406
3449
  id?: number | undefined;
3407
3450
  }[] | undefined;
3408
3451
  required?: boolean | undefined;
@@ -3424,7 +3467,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3424
3467
  hint?: string | undefined;
3425
3468
  messages?: {
3426
3469
  text: string;
3427
- type: "success" | "error" | "info" | "warning";
3470
+ type: "error" | "success" | "info" | "warning";
3428
3471
  id?: number | undefined;
3429
3472
  }[] | undefined;
3430
3473
  required?: boolean | undefined;
@@ -3443,7 +3486,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3443
3486
  hint?: string | undefined;
3444
3487
  messages?: {
3445
3488
  text: string;
3446
- type: "success" | "error" | "info" | "warning";
3489
+ type: "error" | "success" | "info" | "warning";
3447
3490
  id?: number | undefined;
3448
3491
  }[] | undefined;
3449
3492
  required?: boolean | undefined;
@@ -3468,7 +3511,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3468
3511
  hint?: string | undefined;
3469
3512
  messages?: {
3470
3513
  text: string;
3471
- type: "success" | "error" | "info" | "warning";
3514
+ type: "error" | "success" | "info" | "warning";
3472
3515
  id?: number | undefined;
3473
3516
  }[] | undefined;
3474
3517
  required?: boolean | undefined;
@@ -3489,7 +3532,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3489
3532
  hint?: string | undefined;
3490
3533
  messages?: {
3491
3534
  text: string;
3492
- type: "success" | "error" | "info" | "warning";
3535
+ type: "error" | "success" | "info" | "warning";
3493
3536
  id?: number | undefined;
3494
3537
  }[] | undefined;
3495
3538
  required?: boolean | undefined;
@@ -3510,7 +3553,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3510
3553
  hint?: string | undefined;
3511
3554
  messages?: {
3512
3555
  text: string;
3513
- type: "success" | "error" | "info" | "warning";
3556
+ type: "error" | "success" | "info" | "warning";
3514
3557
  id?: number | undefined;
3515
3558
  }[] | undefined;
3516
3559
  required?: boolean | undefined;
@@ -3758,7 +3801,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3758
3801
  hint?: string | undefined;
3759
3802
  messages?: {
3760
3803
  text: string;
3761
- type: "success" | "error" | "info" | "warning";
3804
+ type: "error" | "success" | "info" | "warning";
3762
3805
  id?: number | undefined;
3763
3806
  }[] | undefined;
3764
3807
  required?: boolean | undefined;
@@ -3776,7 +3819,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3776
3819
  hint?: string | undefined;
3777
3820
  messages?: {
3778
3821
  text: string;
3779
- type: "success" | "error" | "info" | "warning";
3822
+ type: "error" | "success" | "info" | "warning";
3780
3823
  id?: number | undefined;
3781
3824
  }[] | undefined;
3782
3825
  required?: boolean | undefined;
@@ -3800,7 +3843,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3800
3843
  hint?: string | undefined;
3801
3844
  messages?: {
3802
3845
  text: string;
3803
- type: "success" | "error" | "info" | "warning";
3846
+ type: "error" | "success" | "info" | "warning";
3804
3847
  id?: number | undefined;
3805
3848
  }[] | undefined;
3806
3849
  required?: boolean | undefined;
@@ -3824,7 +3867,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3824
3867
  hint?: string | undefined;
3825
3868
  messages?: {
3826
3869
  text: string;
3827
- type: "success" | "error" | "info" | "warning";
3870
+ type: "error" | "success" | "info" | "warning";
3828
3871
  id?: number | undefined;
3829
3872
  }[] | undefined;
3830
3873
  required?: boolean | undefined;
@@ -3848,7 +3891,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3848
3891
  hint?: string | undefined;
3849
3892
  messages?: {
3850
3893
  text: string;
3851
- type: "success" | "error" | "info" | "warning";
3894
+ type: "error" | "success" | "info" | "warning";
3852
3895
  id?: number | undefined;
3853
3896
  }[] | undefined;
3854
3897
  required?: boolean | undefined;
@@ -3877,7 +3920,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3877
3920
  hint?: string | undefined;
3878
3921
  messages?: {
3879
3922
  text: string;
3880
- type: "success" | "error" | "info" | "warning";
3923
+ type: "error" | "success" | "info" | "warning";
3881
3924
  id?: number | undefined;
3882
3925
  }[] | undefined;
3883
3926
  required?: boolean | undefined;
@@ -3892,7 +3935,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3892
3935
  hint?: string | undefined;
3893
3936
  messages?: {
3894
3937
  text: string;
3895
- type: "success" | "error" | "info" | "warning";
3938
+ type: "error" | "success" | "info" | "warning";
3896
3939
  id?: number | undefined;
3897
3940
  }[] | undefined;
3898
3941
  required?: boolean | undefined;
@@ -3913,7 +3956,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3913
3956
  hint?: string | undefined;
3914
3957
  messages?: {
3915
3958
  text: string;
3916
- type: "success" | "error" | "info" | "warning";
3959
+ type: "error" | "success" | "info" | "warning";
3917
3960
  id?: number | undefined;
3918
3961
  }[] | undefined;
3919
3962
  required?: boolean | undefined;
@@ -3938,7 +3981,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3938
3981
  hint?: string | undefined;
3939
3982
  messages?: {
3940
3983
  text: string;
3941
- type: "success" | "error" | "info" | "warning";
3984
+ type: "error" | "success" | "info" | "warning";
3942
3985
  id?: number | undefined;
3943
3986
  }[] | undefined;
3944
3987
  required?: boolean | undefined;
@@ -3957,7 +4000,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3957
4000
  hint?: string | undefined;
3958
4001
  messages?: {
3959
4002
  text: string;
3960
- type: "success" | "error" | "info" | "warning";
4003
+ type: "error" | "success" | "info" | "warning";
3961
4004
  id?: number | undefined;
3962
4005
  }[] | undefined;
3963
4006
  required?: boolean | undefined;
@@ -3977,7 +4020,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3977
4020
  hint?: string | undefined;
3978
4021
  messages?: {
3979
4022
  text: string;
3980
- type: "success" | "error" | "info" | "warning";
4023
+ type: "error" | "success" | "info" | "warning";
3981
4024
  id?: number | undefined;
3982
4025
  }[] | undefined;
3983
4026
  required?: boolean | undefined;
@@ -3996,7 +4039,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3996
4039
  hint?: string | undefined;
3997
4040
  messages?: {
3998
4041
  text: string;
3999
- type: "success" | "error" | "info" | "warning";
4042
+ type: "error" | "success" | "info" | "warning";
4000
4043
  id?: number | undefined;
4001
4044
  }[] | undefined;
4002
4045
  required?: boolean | undefined;
@@ -4018,7 +4061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4018
4061
  hint?: string | undefined;
4019
4062
  messages?: {
4020
4063
  text: string;
4021
- type: "success" | "error" | "info" | "warning";
4064
+ type: "error" | "success" | "info" | "warning";
4022
4065
  id?: number | undefined;
4023
4066
  }[] | undefined;
4024
4067
  required?: boolean | undefined;
@@ -4040,7 +4083,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4040
4083
  hint?: string | undefined;
4041
4084
  messages?: {
4042
4085
  text: string;
4043
- type: "success" | "error" | "info" | "warning";
4086
+ type: "error" | "success" | "info" | "warning";
4044
4087
  id?: number | undefined;
4045
4088
  }[] | undefined;
4046
4089
  required?: boolean | undefined;
@@ -4059,7 +4102,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4059
4102
  hint?: string | undefined;
4060
4103
  messages?: {
4061
4104
  text: string;
4062
- type: "success" | "error" | "info" | "warning";
4105
+ type: "error" | "success" | "info" | "warning";
4063
4106
  id?: number | undefined;
4064
4107
  }[] | undefined;
4065
4108
  required?: boolean | undefined;
@@ -4084,7 +4127,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4084
4127
  hint?: string | undefined;
4085
4128
  messages?: {
4086
4129
  text: string;
4087
- type: "success" | "error" | "info" | "warning";
4130
+ type: "error" | "success" | "info" | "warning";
4088
4131
  id?: number | undefined;
4089
4132
  }[] | undefined;
4090
4133
  required?: boolean | undefined;
@@ -4105,7 +4148,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4105
4148
  hint?: string | undefined;
4106
4149
  messages?: {
4107
4150
  text: string;
4108
- type: "success" | "error" | "info" | "warning";
4151
+ type: "error" | "success" | "info" | "warning";
4109
4152
  id?: number | undefined;
4110
4153
  }[] | undefined;
4111
4154
  required?: boolean | undefined;
@@ -4126,7 +4169,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4126
4169
  hint?: string | undefined;
4127
4170
  messages?: {
4128
4171
  text: string;
4129
- type: "success" | "error" | "info" | "warning";
4172
+ type: "error" | "success" | "info" | "warning";
4130
4173
  id?: number | undefined;
4131
4174
  }[] | undefined;
4132
4175
  required?: boolean | undefined;
@@ -4380,7 +4423,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4380
4423
  hint?: string | undefined;
4381
4424
  messages?: {
4382
4425
  text: string;
4383
- type: "success" | "error" | "info" | "warning";
4426
+ type: "error" | "success" | "info" | "warning";
4384
4427
  id?: number | undefined;
4385
4428
  }[] | undefined;
4386
4429
  required?: boolean | undefined;
@@ -4398,7 +4441,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4398
4441
  hint?: string | undefined;
4399
4442
  messages?: {
4400
4443
  text: string;
4401
- type: "success" | "error" | "info" | "warning";
4444
+ type: "error" | "success" | "info" | "warning";
4402
4445
  id?: number | undefined;
4403
4446
  }[] | undefined;
4404
4447
  required?: boolean | undefined;
@@ -4422,7 +4465,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4422
4465
  hint?: string | undefined;
4423
4466
  messages?: {
4424
4467
  text: string;
4425
- type: "success" | "error" | "info" | "warning";
4468
+ type: "error" | "success" | "info" | "warning";
4426
4469
  id?: number | undefined;
4427
4470
  }[] | undefined;
4428
4471
  required?: boolean | undefined;
@@ -4446,7 +4489,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4446
4489
  hint?: string | undefined;
4447
4490
  messages?: {
4448
4491
  text: string;
4449
- type: "success" | "error" | "info" | "warning";
4492
+ type: "error" | "success" | "info" | "warning";
4450
4493
  id?: number | undefined;
4451
4494
  }[] | undefined;
4452
4495
  required?: boolean | undefined;
@@ -4470,7 +4513,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4470
4513
  hint?: string | undefined;
4471
4514
  messages?: {
4472
4515
  text: string;
4473
- type: "success" | "error" | "info" | "warning";
4516
+ type: "error" | "success" | "info" | "warning";
4474
4517
  id?: number | undefined;
4475
4518
  }[] | undefined;
4476
4519
  required?: boolean | undefined;
@@ -4495,7 +4538,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4495
4538
  hint?: string | undefined;
4496
4539
  messages?: {
4497
4540
  text: string;
4498
- type: "success" | "error" | "info" | "warning";
4541
+ type: "error" | "success" | "info" | "warning";
4499
4542
  id?: number | undefined;
4500
4543
  }[] | undefined;
4501
4544
  required?: boolean | undefined;
@@ -4510,7 +4553,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4510
4553
  hint?: string | undefined;
4511
4554
  messages?: {
4512
4555
  text: string;
4513
- type: "success" | "error" | "info" | "warning";
4556
+ type: "error" | "success" | "info" | "warning";
4514
4557
  id?: number | undefined;
4515
4558
  }[] | undefined;
4516
4559
  required?: boolean | undefined;
@@ -4531,7 +4574,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4531
4574
  hint?: string | undefined;
4532
4575
  messages?: {
4533
4576
  text: string;
4534
- type: "success" | "error" | "info" | "warning";
4577
+ type: "error" | "success" | "info" | "warning";
4535
4578
  id?: number | undefined;
4536
4579
  }[] | undefined;
4537
4580
  required?: boolean | undefined;
@@ -4556,7 +4599,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4556
4599
  hint?: string | undefined;
4557
4600
  messages?: {
4558
4601
  text: string;
4559
- type: "success" | "error" | "info" | "warning";
4602
+ type: "error" | "success" | "info" | "warning";
4560
4603
  id?: number | undefined;
4561
4604
  }[] | undefined;
4562
4605
  required?: boolean | undefined;
@@ -4575,7 +4618,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4575
4618
  hint?: string | undefined;
4576
4619
  messages?: {
4577
4620
  text: string;
4578
- type: "success" | "error" | "info" | "warning";
4621
+ type: "error" | "success" | "info" | "warning";
4579
4622
  id?: number | undefined;
4580
4623
  }[] | undefined;
4581
4624
  required?: boolean | undefined;
@@ -4595,7 +4638,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4595
4638
  hint?: string | undefined;
4596
4639
  messages?: {
4597
4640
  text: string;
4598
- type: "success" | "error" | "info" | "warning";
4641
+ type: "error" | "success" | "info" | "warning";
4599
4642
  id?: number | undefined;
4600
4643
  }[] | undefined;
4601
4644
  required?: boolean | undefined;
@@ -4614,7 +4657,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4614
4657
  hint?: string | undefined;
4615
4658
  messages?: {
4616
4659
  text: string;
4617
- type: "success" | "error" | "info" | "warning";
4660
+ type: "error" | "success" | "info" | "warning";
4618
4661
  id?: number | undefined;
4619
4662
  }[] | undefined;
4620
4663
  required?: boolean | undefined;
@@ -4636,7 +4679,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4636
4679
  hint?: string | undefined;
4637
4680
  messages?: {
4638
4681
  text: string;
4639
- type: "success" | "error" | "info" | "warning";
4682
+ type: "error" | "success" | "info" | "warning";
4640
4683
  id?: number | undefined;
4641
4684
  }[] | undefined;
4642
4685
  required?: boolean | undefined;
@@ -4658,7 +4701,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4658
4701
  hint?: string | undefined;
4659
4702
  messages?: {
4660
4703
  text: string;
4661
- type: "success" | "error" | "info" | "warning";
4704
+ type: "error" | "success" | "info" | "warning";
4662
4705
  id?: number | undefined;
4663
4706
  }[] | undefined;
4664
4707
  required?: boolean | undefined;
@@ -4677,7 +4720,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4677
4720
  hint?: string | undefined;
4678
4721
  messages?: {
4679
4722
  text: string;
4680
- type: "success" | "error" | "info" | "warning";
4723
+ type: "error" | "success" | "info" | "warning";
4681
4724
  id?: number | undefined;
4682
4725
  }[] | undefined;
4683
4726
  required?: boolean | undefined;
@@ -4702,7 +4745,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4702
4745
  hint?: string | undefined;
4703
4746
  messages?: {
4704
4747
  text: string;
4705
- type: "success" | "error" | "info" | "warning";
4748
+ type: "error" | "success" | "info" | "warning";
4706
4749
  id?: number | undefined;
4707
4750
  }[] | undefined;
4708
4751
  required?: boolean | undefined;
@@ -4723,7 +4766,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4723
4766
  hint?: string | undefined;
4724
4767
  messages?: {
4725
4768
  text: string;
4726
- type: "success" | "error" | "info" | "warning";
4769
+ type: "error" | "success" | "info" | "warning";
4727
4770
  id?: number | undefined;
4728
4771
  }[] | undefined;
4729
4772
  required?: boolean | undefined;
@@ -4744,7 +4787,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4744
4787
  hint?: string | undefined;
4745
4788
  messages?: {
4746
4789
  text: string;
4747
- type: "success" | "error" | "info" | "warning";
4790
+ type: "error" | "success" | "info" | "warning";
4748
4791
  id?: number | undefined;
4749
4792
  }[] | undefined;
4750
4793
  required?: boolean | undefined;
@@ -4975,7 +5018,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4975
5018
  hint?: string | undefined;
4976
5019
  messages?: {
4977
5020
  text: string;
4978
- type: "success" | "error" | "info" | "warning";
5021
+ type: "error" | "success" | "info" | "warning";
4979
5022
  id?: number | undefined;
4980
5023
  }[] | undefined;
4981
5024
  required?: boolean | undefined;
@@ -4993,7 +5036,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4993
5036
  hint?: string | undefined;
4994
5037
  messages?: {
4995
5038
  text: string;
4996
- type: "success" | "error" | "info" | "warning";
5039
+ type: "error" | "success" | "info" | "warning";
4997
5040
  id?: number | undefined;
4998
5041
  }[] | undefined;
4999
5042
  required?: boolean | undefined;
@@ -5017,7 +5060,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5017
5060
  hint?: string | undefined;
5018
5061
  messages?: {
5019
5062
  text: string;
5020
- type: "success" | "error" | "info" | "warning";
5063
+ type: "error" | "success" | "info" | "warning";
5021
5064
  id?: number | undefined;
5022
5065
  }[] | undefined;
5023
5066
  required?: boolean | undefined;
@@ -5041,7 +5084,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5041
5084
  hint?: string | undefined;
5042
5085
  messages?: {
5043
5086
  text: string;
5044
- type: "success" | "error" | "info" | "warning";
5087
+ type: "error" | "success" | "info" | "warning";
5045
5088
  id?: number | undefined;
5046
5089
  }[] | undefined;
5047
5090
  required?: boolean | undefined;
@@ -5065,7 +5108,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5065
5108
  hint?: string | undefined;
5066
5109
  messages?: {
5067
5110
  text: string;
5068
- type: "success" | "error" | "info" | "warning";
5111
+ type: "error" | "success" | "info" | "warning";
5069
5112
  id?: number | undefined;
5070
5113
  }[] | undefined;
5071
5114
  required?: boolean | undefined;
@@ -5094,7 +5137,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5094
5137
  hint?: string | undefined;
5095
5138
  messages?: {
5096
5139
  text: string;
5097
- type: "success" | "error" | "info" | "warning";
5140
+ type: "error" | "success" | "info" | "warning";
5098
5141
  id?: number | undefined;
5099
5142
  }[] | undefined;
5100
5143
  required?: boolean | undefined;
@@ -5109,7 +5152,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5109
5152
  hint?: string | undefined;
5110
5153
  messages?: {
5111
5154
  text: string;
5112
- type: "success" | "error" | "info" | "warning";
5155
+ type: "error" | "success" | "info" | "warning";
5113
5156
  id?: number | undefined;
5114
5157
  }[] | undefined;
5115
5158
  required?: boolean | undefined;
@@ -5130,7 +5173,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5130
5173
  hint?: string | undefined;
5131
5174
  messages?: {
5132
5175
  text: string;
5133
- type: "success" | "error" | "info" | "warning";
5176
+ type: "error" | "success" | "info" | "warning";
5134
5177
  id?: number | undefined;
5135
5178
  }[] | undefined;
5136
5179
  required?: boolean | undefined;
@@ -5155,7 +5198,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5155
5198
  hint?: string | undefined;
5156
5199
  messages?: {
5157
5200
  text: string;
5158
- type: "success" | "error" | "info" | "warning";
5201
+ type: "error" | "success" | "info" | "warning";
5159
5202
  id?: number | undefined;
5160
5203
  }[] | undefined;
5161
5204
  required?: boolean | undefined;
@@ -5174,7 +5217,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5174
5217
  hint?: string | undefined;
5175
5218
  messages?: {
5176
5219
  text: string;
5177
- type: "success" | "error" | "info" | "warning";
5220
+ type: "error" | "success" | "info" | "warning";
5178
5221
  id?: number | undefined;
5179
5222
  }[] | undefined;
5180
5223
  required?: boolean | undefined;
@@ -5194,7 +5237,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5194
5237
  hint?: string | undefined;
5195
5238
  messages?: {
5196
5239
  text: string;
5197
- type: "success" | "error" | "info" | "warning";
5240
+ type: "error" | "success" | "info" | "warning";
5198
5241
  id?: number | undefined;
5199
5242
  }[] | undefined;
5200
5243
  required?: boolean | undefined;
@@ -5213,7 +5256,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5213
5256
  hint?: string | undefined;
5214
5257
  messages?: {
5215
5258
  text: string;
5216
- type: "success" | "error" | "info" | "warning";
5259
+ type: "error" | "success" | "info" | "warning";
5217
5260
  id?: number | undefined;
5218
5261
  }[] | undefined;
5219
5262
  required?: boolean | undefined;
@@ -5235,7 +5278,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5235
5278
  hint?: string | undefined;
5236
5279
  messages?: {
5237
5280
  text: string;
5238
- type: "success" | "error" | "info" | "warning";
5281
+ type: "error" | "success" | "info" | "warning";
5239
5282
  id?: number | undefined;
5240
5283
  }[] | undefined;
5241
5284
  required?: boolean | undefined;
@@ -5257,7 +5300,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5257
5300
  hint?: string | undefined;
5258
5301
  messages?: {
5259
5302
  text: string;
5260
- type: "success" | "error" | "info" | "warning";
5303
+ type: "error" | "success" | "info" | "warning";
5261
5304
  id?: number | undefined;
5262
5305
  }[] | undefined;
5263
5306
  required?: boolean | undefined;
@@ -5276,7 +5319,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5276
5319
  hint?: string | undefined;
5277
5320
  messages?: {
5278
5321
  text: string;
5279
- type: "success" | "error" | "info" | "warning";
5322
+ type: "error" | "success" | "info" | "warning";
5280
5323
  id?: number | undefined;
5281
5324
  }[] | undefined;
5282
5325
  required?: boolean | undefined;
@@ -5301,7 +5344,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5301
5344
  hint?: string | undefined;
5302
5345
  messages?: {
5303
5346
  text: string;
5304
- type: "success" | "error" | "info" | "warning";
5347
+ type: "error" | "success" | "info" | "warning";
5305
5348
  id?: number | undefined;
5306
5349
  }[] | undefined;
5307
5350
  required?: boolean | undefined;
@@ -5322,7 +5365,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5322
5365
  hint?: string | undefined;
5323
5366
  messages?: {
5324
5367
  text: string;
5325
- type: "success" | "error" | "info" | "warning";
5368
+ type: "error" | "success" | "info" | "warning";
5326
5369
  id?: number | undefined;
5327
5370
  }[] | undefined;
5328
5371
  required?: boolean | undefined;
@@ -5343,7 +5386,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5343
5386
  hint?: string | undefined;
5344
5387
  messages?: {
5345
5388
  text: string;
5346
- type: "success" | "error" | "info" | "warning";
5389
+ type: "error" | "success" | "info" | "warning";
5347
5390
  id?: number | undefined;
5348
5391
  }[] | undefined;
5349
5392
  required?: boolean | undefined;
@@ -5576,7 +5619,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5576
5619
  hint?: string | undefined;
5577
5620
  messages?: {
5578
5621
  text: string;
5579
- type: "success" | "error" | "info" | "warning";
5622
+ type: "error" | "success" | "info" | "warning";
5580
5623
  id?: number | undefined;
5581
5624
  }[] | undefined;
5582
5625
  required?: boolean | undefined;
@@ -5594,7 +5637,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5594
5637
  hint?: string | undefined;
5595
5638
  messages?: {
5596
5639
  text: string;
5597
- type: "success" | "error" | "info" | "warning";
5640
+ type: "error" | "success" | "info" | "warning";
5598
5641
  id?: number | undefined;
5599
5642
  }[] | undefined;
5600
5643
  required?: boolean | undefined;
@@ -5618,7 +5661,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5618
5661
  hint?: string | undefined;
5619
5662
  messages?: {
5620
5663
  text: string;
5621
- type: "success" | "error" | "info" | "warning";
5664
+ type: "error" | "success" | "info" | "warning";
5622
5665
  id?: number | undefined;
5623
5666
  }[] | undefined;
5624
5667
  required?: boolean | undefined;
@@ -5642,7 +5685,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5642
5685
  hint?: string | undefined;
5643
5686
  messages?: {
5644
5687
  text: string;
5645
- type: "success" | "error" | "info" | "warning";
5688
+ type: "error" | "success" | "info" | "warning";
5646
5689
  id?: number | undefined;
5647
5690
  }[] | undefined;
5648
5691
  required?: boolean | undefined;
@@ -5666,7 +5709,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5666
5709
  hint?: string | undefined;
5667
5710
  messages?: {
5668
5711
  text: string;
5669
- type: "success" | "error" | "info" | "warning";
5712
+ type: "error" | "success" | "info" | "warning";
5670
5713
  id?: number | undefined;
5671
5714
  }[] | undefined;
5672
5715
  required?: boolean | undefined;
@@ -5691,7 +5734,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5691
5734
  hint?: string | undefined;
5692
5735
  messages?: {
5693
5736
  text: string;
5694
- type: "success" | "error" | "info" | "warning";
5737
+ type: "error" | "success" | "info" | "warning";
5695
5738
  id?: number | undefined;
5696
5739
  }[] | undefined;
5697
5740
  required?: boolean | undefined;
@@ -5706,7 +5749,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5706
5749
  hint?: string | undefined;
5707
5750
  messages?: {
5708
5751
  text: string;
5709
- type: "success" | "error" | "info" | "warning";
5752
+ type: "error" | "success" | "info" | "warning";
5710
5753
  id?: number | undefined;
5711
5754
  }[] | undefined;
5712
5755
  required?: boolean | undefined;
@@ -5727,7 +5770,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5727
5770
  hint?: string | undefined;
5728
5771
  messages?: {
5729
5772
  text: string;
5730
- type: "success" | "error" | "info" | "warning";
5773
+ type: "error" | "success" | "info" | "warning";
5731
5774
  id?: number | undefined;
5732
5775
  }[] | undefined;
5733
5776
  required?: boolean | undefined;
@@ -5752,7 +5795,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5752
5795
  hint?: string | undefined;
5753
5796
  messages?: {
5754
5797
  text: string;
5755
- type: "success" | "error" | "info" | "warning";
5798
+ type: "error" | "success" | "info" | "warning";
5756
5799
  id?: number | undefined;
5757
5800
  }[] | undefined;
5758
5801
  required?: boolean | undefined;
@@ -5771,7 +5814,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5771
5814
  hint?: string | undefined;
5772
5815
  messages?: {
5773
5816
  text: string;
5774
- type: "success" | "error" | "info" | "warning";
5817
+ type: "error" | "success" | "info" | "warning";
5775
5818
  id?: number | undefined;
5776
5819
  }[] | undefined;
5777
5820
  required?: boolean | undefined;
@@ -5791,7 +5834,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5791
5834
  hint?: string | undefined;
5792
5835
  messages?: {
5793
5836
  text: string;
5794
- type: "success" | "error" | "info" | "warning";
5837
+ type: "error" | "success" | "info" | "warning";
5795
5838
  id?: number | undefined;
5796
5839
  }[] | undefined;
5797
5840
  required?: boolean | undefined;
@@ -5810,7 +5853,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5810
5853
  hint?: string | undefined;
5811
5854
  messages?: {
5812
5855
  text: string;
5813
- type: "success" | "error" | "info" | "warning";
5856
+ type: "error" | "success" | "info" | "warning";
5814
5857
  id?: number | undefined;
5815
5858
  }[] | undefined;
5816
5859
  required?: boolean | undefined;
@@ -5832,7 +5875,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5832
5875
  hint?: string | undefined;
5833
5876
  messages?: {
5834
5877
  text: string;
5835
- type: "success" | "error" | "info" | "warning";
5878
+ type: "error" | "success" | "info" | "warning";
5836
5879
  id?: number | undefined;
5837
5880
  }[] | undefined;
5838
5881
  required?: boolean | undefined;
@@ -5854,7 +5897,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5854
5897
  hint?: string | undefined;
5855
5898
  messages?: {
5856
5899
  text: string;
5857
- type: "success" | "error" | "info" | "warning";
5900
+ type: "error" | "success" | "info" | "warning";
5858
5901
  id?: number | undefined;
5859
5902
  }[] | undefined;
5860
5903
  required?: boolean | undefined;
@@ -5873,7 +5916,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5873
5916
  hint?: string | undefined;
5874
5917
  messages?: {
5875
5918
  text: string;
5876
- type: "success" | "error" | "info" | "warning";
5919
+ type: "error" | "success" | "info" | "warning";
5877
5920
  id?: number | undefined;
5878
5921
  }[] | undefined;
5879
5922
  required?: boolean | undefined;
@@ -5898,7 +5941,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5898
5941
  hint?: string | undefined;
5899
5942
  messages?: {
5900
5943
  text: string;
5901
- type: "success" | "error" | "info" | "warning";
5944
+ type: "error" | "success" | "info" | "warning";
5902
5945
  id?: number | undefined;
5903
5946
  }[] | undefined;
5904
5947
  required?: boolean | undefined;
@@ -5919,7 +5962,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5919
5962
  hint?: string | undefined;
5920
5963
  messages?: {
5921
5964
  text: string;
5922
- type: "success" | "error" | "info" | "warning";
5965
+ type: "error" | "success" | "info" | "warning";
5923
5966
  id?: number | undefined;
5924
5967
  }[] | undefined;
5925
5968
  required?: boolean | undefined;
@@ -5940,7 +5983,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5940
5983
  hint?: string | undefined;
5941
5984
  messages?: {
5942
5985
  text: string;
5943
- type: "success" | "error" | "info" | "warning";
5986
+ type: "error" | "success" | "info" | "warning";
5944
5987
  id?: number | undefined;
5945
5988
  }[] | undefined;
5946
5989
  required?: boolean | undefined;
@@ -6171,7 +6214,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6171
6214
  hint?: string | undefined;
6172
6215
  messages?: {
6173
6216
  text: string;
6174
- type: "success" | "error" | "info" | "warning";
6217
+ type: "error" | "success" | "info" | "warning";
6175
6218
  id?: number | undefined;
6176
6219
  }[] | undefined;
6177
6220
  required?: boolean | undefined;
@@ -6189,7 +6232,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6189
6232
  hint?: string | undefined;
6190
6233
  messages?: {
6191
6234
  text: string;
6192
- type: "success" | "error" | "info" | "warning";
6235
+ type: "error" | "success" | "info" | "warning";
6193
6236
  id?: number | undefined;
6194
6237
  }[] | undefined;
6195
6238
  required?: boolean | undefined;
@@ -6213,7 +6256,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6213
6256
  hint?: string | undefined;
6214
6257
  messages?: {
6215
6258
  text: string;
6216
- type: "success" | "error" | "info" | "warning";
6259
+ type: "error" | "success" | "info" | "warning";
6217
6260
  id?: number | undefined;
6218
6261
  }[] | undefined;
6219
6262
  required?: boolean | undefined;
@@ -6237,7 +6280,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6237
6280
  hint?: string | undefined;
6238
6281
  messages?: {
6239
6282
  text: string;
6240
- type: "success" | "error" | "info" | "warning";
6283
+ type: "error" | "success" | "info" | "warning";
6241
6284
  id?: number | undefined;
6242
6285
  }[] | undefined;
6243
6286
  required?: boolean | undefined;
@@ -6261,7 +6304,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6261
6304
  hint?: string | undefined;
6262
6305
  messages?: {
6263
6306
  text: string;
6264
- type: "success" | "error" | "info" | "warning";
6307
+ type: "error" | "success" | "info" | "warning";
6265
6308
  id?: number | undefined;
6266
6309
  }[] | undefined;
6267
6310
  required?: boolean | undefined;
@@ -6290,7 +6333,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6290
6333
  hint?: string | undefined;
6291
6334
  messages?: {
6292
6335
  text: string;
6293
- type: "success" | "error" | "info" | "warning";
6336
+ type: "error" | "success" | "info" | "warning";
6294
6337
  id?: number | undefined;
6295
6338
  }[] | undefined;
6296
6339
  required?: boolean | undefined;
@@ -6305,7 +6348,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6305
6348
  hint?: string | undefined;
6306
6349
  messages?: {
6307
6350
  text: string;
6308
- type: "success" | "error" | "info" | "warning";
6351
+ type: "error" | "success" | "info" | "warning";
6309
6352
  id?: number | undefined;
6310
6353
  }[] | undefined;
6311
6354
  required?: boolean | undefined;
@@ -6326,7 +6369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6326
6369
  hint?: string | undefined;
6327
6370
  messages?: {
6328
6371
  text: string;
6329
- type: "success" | "error" | "info" | "warning";
6372
+ type: "error" | "success" | "info" | "warning";
6330
6373
  id?: number | undefined;
6331
6374
  }[] | undefined;
6332
6375
  required?: boolean | undefined;
@@ -6351,7 +6394,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6351
6394
  hint?: string | undefined;
6352
6395
  messages?: {
6353
6396
  text: string;
6354
- type: "success" | "error" | "info" | "warning";
6397
+ type: "error" | "success" | "info" | "warning";
6355
6398
  id?: number | undefined;
6356
6399
  }[] | undefined;
6357
6400
  required?: boolean | undefined;
@@ -6370,7 +6413,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6370
6413
  hint?: string | undefined;
6371
6414
  messages?: {
6372
6415
  text: string;
6373
- type: "success" | "error" | "info" | "warning";
6416
+ type: "error" | "success" | "info" | "warning";
6374
6417
  id?: number | undefined;
6375
6418
  }[] | undefined;
6376
6419
  required?: boolean | undefined;
@@ -6390,7 +6433,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6390
6433
  hint?: string | undefined;
6391
6434
  messages?: {
6392
6435
  text: string;
6393
- type: "success" | "error" | "info" | "warning";
6436
+ type: "error" | "success" | "info" | "warning";
6394
6437
  id?: number | undefined;
6395
6438
  }[] | undefined;
6396
6439
  required?: boolean | undefined;
@@ -6409,7 +6452,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6409
6452
  hint?: string | undefined;
6410
6453
  messages?: {
6411
6454
  text: string;
6412
- type: "success" | "error" | "info" | "warning";
6455
+ type: "error" | "success" | "info" | "warning";
6413
6456
  id?: number | undefined;
6414
6457
  }[] | undefined;
6415
6458
  required?: boolean | undefined;
@@ -6431,7 +6474,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6431
6474
  hint?: string | undefined;
6432
6475
  messages?: {
6433
6476
  text: string;
6434
- type: "success" | "error" | "info" | "warning";
6477
+ type: "error" | "success" | "info" | "warning";
6435
6478
  id?: number | undefined;
6436
6479
  }[] | undefined;
6437
6480
  required?: boolean | undefined;
@@ -6453,7 +6496,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6453
6496
  hint?: string | undefined;
6454
6497
  messages?: {
6455
6498
  text: string;
6456
- type: "success" | "error" | "info" | "warning";
6499
+ type: "error" | "success" | "info" | "warning";
6457
6500
  id?: number | undefined;
6458
6501
  }[] | undefined;
6459
6502
  required?: boolean | undefined;
@@ -6472,7 +6515,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6472
6515
  hint?: string | undefined;
6473
6516
  messages?: {
6474
6517
  text: string;
6475
- type: "success" | "error" | "info" | "warning";
6518
+ type: "error" | "success" | "info" | "warning";
6476
6519
  id?: number | undefined;
6477
6520
  }[] | undefined;
6478
6521
  required?: boolean | undefined;
@@ -6497,7 +6540,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6497
6540
  hint?: string | undefined;
6498
6541
  messages?: {
6499
6542
  text: string;
6500
- type: "success" | "error" | "info" | "warning";
6543
+ type: "error" | "success" | "info" | "warning";
6501
6544
  id?: number | undefined;
6502
6545
  }[] | undefined;
6503
6546
  required?: boolean | undefined;
@@ -6518,7 +6561,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6518
6561
  hint?: string | undefined;
6519
6562
  messages?: {
6520
6563
  text: string;
6521
- type: "success" | "error" | "info" | "warning";
6564
+ type: "error" | "success" | "info" | "warning";
6522
6565
  id?: number | undefined;
6523
6566
  }[] | undefined;
6524
6567
  required?: boolean | undefined;
@@ -6539,7 +6582,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6539
6582
  hint?: string | undefined;
6540
6583
  messages?: {
6541
6584
  text: string;
6542
- type: "success" | "error" | "info" | "warning";
6585
+ type: "error" | "success" | "info" | "warning";
6543
6586
  id?: number | undefined;
6544
6587
  }[] | undefined;
6545
6588
  required?: boolean | undefined;
@@ -6769,7 +6812,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6769
6812
  };
6770
6813
  };
6771
6814
  output: {
6772
- 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";
6815
+ 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";
6773
6816
  language: string;
6774
6817
  }[];
6775
6818
  outputFormat: "json";
@@ -6807,7 +6850,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6807
6850
  $get: {
6808
6851
  input: {
6809
6852
  param: {
6810
- 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";
6853
+ 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";
6811
6854
  language: string;
6812
6855
  };
6813
6856
  } & {
@@ -6829,7 +6872,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6829
6872
  $put: {
6830
6873
  input: {
6831
6874
  param: {
6832
- 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";
6875
+ 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";
6833
6876
  language: string;
6834
6877
  };
6835
6878
  } & {
@@ -6853,7 +6896,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6853
6896
  $delete: {
6854
6897
  input: {
6855
6898
  param: {
6856
- 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";
6899
+ 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";
6857
6900
  language: string;
6858
6901
  };
6859
6902
  } & {
@@ -6945,7 +6988,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6945
6988
  active?: boolean | undefined;
6946
6989
  } | undefined;
6947
6990
  signup?: {
6948
- status?: "optional" | "required" | "disabled" | undefined;
6991
+ status?: "optional" | "disabled" | "required" | undefined;
6949
6992
  verification?: {
6950
6993
  active?: boolean | undefined;
6951
6994
  } | undefined;
@@ -6962,7 +7005,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6962
7005
  active?: boolean | undefined;
6963
7006
  } | undefined;
6964
7007
  signup?: {
6965
- status?: "optional" | "required" | "disabled" | undefined;
7008
+ status?: "optional" | "disabled" | "required" | undefined;
6966
7009
  } | undefined;
6967
7010
  validation?: {
6968
7011
  max_length?: number | undefined;
@@ -6979,7 +7022,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6979
7022
  active?: boolean | undefined;
6980
7023
  } | undefined;
6981
7024
  signup?: {
6982
- status?: "optional" | "required" | "disabled" | undefined;
7025
+ status?: "optional" | "disabled" | "required" | undefined;
6983
7026
  } | undefined;
6984
7027
  } | undefined;
6985
7028
  } | undefined;
@@ -7079,7 +7122,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7079
7122
  active?: boolean | undefined;
7080
7123
  } | undefined;
7081
7124
  signup?: {
7082
- status?: "optional" | "required" | "disabled" | undefined;
7125
+ status?: "optional" | "disabled" | "required" | undefined;
7083
7126
  verification?: {
7084
7127
  active?: boolean | undefined;
7085
7128
  } | undefined;
@@ -7096,7 +7139,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7096
7139
  active?: boolean | undefined;
7097
7140
  } | undefined;
7098
7141
  signup?: {
7099
- status?: "optional" | "required" | "disabled" | undefined;
7142
+ status?: "optional" | "disabled" | "required" | undefined;
7100
7143
  } | undefined;
7101
7144
  validation?: {
7102
7145
  max_length?: number | undefined;
@@ -7113,7 +7156,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7113
7156
  active?: boolean | undefined;
7114
7157
  } | undefined;
7115
7158
  signup?: {
7116
- status?: "optional" | "required" | "disabled" | undefined;
7159
+ status?: "optional" | "disabled" | "required" | undefined;
7117
7160
  } | undefined;
7118
7161
  } | undefined;
7119
7162
  } | undefined;
@@ -7228,7 +7271,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7228
7271
  active?: boolean | undefined;
7229
7272
  } | undefined;
7230
7273
  signup?: {
7231
- status?: "optional" | "required" | "disabled" | undefined;
7274
+ status?: "optional" | "disabled" | "required" | undefined;
7232
7275
  verification?: {
7233
7276
  active?: boolean | undefined;
7234
7277
  } | undefined;
@@ -7245,7 +7288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7245
7288
  active?: boolean | undefined;
7246
7289
  } | undefined;
7247
7290
  signup?: {
7248
- status?: "optional" | "required" | "disabled" | undefined;
7291
+ status?: "optional" | "disabled" | "required" | undefined;
7249
7292
  } | undefined;
7250
7293
  validation?: {
7251
7294
  max_length?: number | undefined;
@@ -7262,7 +7305,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7262
7305
  active?: boolean | undefined;
7263
7306
  } | undefined;
7264
7307
  signup?: {
7265
- status?: "optional" | "required" | "disabled" | undefined;
7308
+ status?: "optional" | "disabled" | "required" | undefined;
7266
7309
  } | undefined;
7267
7310
  } | undefined;
7268
7311
  } | undefined;
@@ -7407,7 +7450,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7407
7450
  active?: boolean | undefined;
7408
7451
  } | undefined;
7409
7452
  signup?: {
7410
- status?: "optional" | "required" | "disabled" | undefined;
7453
+ status?: "optional" | "disabled" | "required" | undefined;
7411
7454
  verification?: {
7412
7455
  active?: boolean | undefined;
7413
7456
  } | undefined;
@@ -7424,7 +7467,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7424
7467
  active?: boolean | undefined;
7425
7468
  } | undefined;
7426
7469
  signup?: {
7427
- status?: "optional" | "required" | "disabled" | undefined;
7470
+ status?: "optional" | "disabled" | "required" | undefined;
7428
7471
  } | undefined;
7429
7472
  validation?: {
7430
7473
  max_length?: number | undefined;
@@ -7441,7 +7484,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7441
7484
  active?: boolean | undefined;
7442
7485
  } | undefined;
7443
7486
  signup?: {
7444
- status?: "optional" | "required" | "disabled" | undefined;
7487
+ status?: "optional" | "disabled" | "required" | undefined;
7445
7488
  } | undefined;
7446
7489
  } | undefined;
7447
7490
  } | undefined;
@@ -7565,7 +7608,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7565
7608
  active?: boolean | undefined;
7566
7609
  } | undefined;
7567
7610
  signup?: {
7568
- status?: "optional" | "required" | "disabled" | undefined;
7611
+ status?: "optional" | "disabled" | "required" | undefined;
7569
7612
  verification?: {
7570
7613
  active?: boolean | undefined;
7571
7614
  } | undefined;
@@ -7582,7 +7625,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7582
7625
  active?: boolean | undefined;
7583
7626
  } | undefined;
7584
7627
  signup?: {
7585
- status?: "optional" | "required" | "disabled" | undefined;
7628
+ status?: "optional" | "disabled" | "required" | undefined;
7586
7629
  } | undefined;
7587
7630
  validation?: {
7588
7631
  max_length?: number | undefined;
@@ -7599,7 +7642,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7599
7642
  active?: boolean | undefined;
7600
7643
  } | undefined;
7601
7644
  signup?: {
7602
- status?: "optional" | "required" | "disabled" | undefined;
7645
+ status?: "optional" | "disabled" | "required" | undefined;
7603
7646
  } | undefined;
7604
7647
  } | undefined;
7605
7648
  } | undefined;
@@ -7715,7 +7758,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7715
7758
  };
7716
7759
  } | {
7717
7760
  mode: "inline";
7718
- status: "success" | "error";
7761
+ status: "error" | "success";
7719
7762
  connection_id: string;
7720
7763
  connection_name: string;
7721
7764
  strategy: string;
@@ -8354,7 +8397,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8354
8397
  log_type: string;
8355
8398
  category: "user_action" | "admin_action" | "system" | "api";
8356
8399
  actor: {
8357
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
8400
+ type: "client_credentials" | "user" | "api_key" | "system" | "admin";
8358
8401
  id?: string | undefined;
8359
8402
  email?: string | undefined;
8360
8403
  org_id?: string | undefined;
@@ -8832,7 +8875,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8832
8875
  [x: string]: import("hono/utils/types").JSONValue;
8833
8876
  };
8834
8877
  id: string;
8835
- status: "active" | "suspended" | "paused";
8878
+ status: "suspended" | "active" | "paused";
8836
8879
  filters?: {
8837
8880
  type: string;
8838
8881
  name: string;
@@ -8864,7 +8907,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8864
8907
  [x: string]: import("hono/utils/types").JSONValue;
8865
8908
  };
8866
8909
  id: string;
8867
- status: "active" | "suspended" | "paused";
8910
+ status: "suspended" | "active" | "paused";
8868
8911
  filters?: {
8869
8912
  type: string;
8870
8913
  name: string;
@@ -8889,7 +8932,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8889
8932
  name: string;
8890
8933
  type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
8891
8934
  sink: Record<string, unknown>;
8892
- status?: "active" | "suspended" | "paused" | undefined;
8935
+ status?: "suspended" | "active" | "paused" | undefined;
8893
8936
  filters?: {
8894
8937
  type: string;
8895
8938
  name: string;
@@ -8904,7 +8947,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8904
8947
  [x: string]: import("hono/utils/types").JSONValue;
8905
8948
  };
8906
8949
  id: string;
8907
- status: "active" | "suspended" | "paused";
8950
+ status: "suspended" | "active" | "paused";
8908
8951
  filters?: {
8909
8952
  type: string;
8910
8953
  name: string;
@@ -8939,7 +8982,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8939
8982
  }[] | undefined;
8940
8983
  isPriority?: boolean | undefined;
8941
8984
  id?: string | undefined;
8942
- status?: "active" | "suspended" | "paused" | undefined;
8985
+ status?: "suspended" | "active" | "paused" | undefined;
8943
8986
  created_at?: string | undefined;
8944
8987
  updated_at?: string | undefined;
8945
8988
  };
@@ -8951,7 +8994,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8951
8994
  [x: string]: import("hono/utils/types").JSONValue;
8952
8995
  };
8953
8996
  id: string;
8954
- status: "active" | "suspended" | "paused";
8997
+ status: "suspended" | "active" | "paused";
8955
8998
  filters?: {
8956
8999
  type: string;
8957
9000
  name: string;
@@ -9483,7 +9526,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9483
9526
  addons?: {
9484
9527
  [x: string]: any;
9485
9528
  } | undefined;
9486
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9529
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
9487
9530
  client_metadata?: {
9488
9531
  [x: string]: string;
9489
9532
  } | undefined;
@@ -9579,7 +9622,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9579
9622
  addons?: {
9580
9623
  [x: string]: any;
9581
9624
  } | undefined;
9582
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9625
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
9583
9626
  client_metadata?: {
9584
9627
  [x: string]: string;
9585
9628
  } | undefined;
@@ -9690,7 +9733,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9690
9733
  addons?: {
9691
9734
  [x: string]: any;
9692
9735
  } | undefined;
9693
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9736
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
9694
9737
  client_metadata?: {
9695
9738
  [x: string]: string;
9696
9739
  } | undefined;
@@ -9800,7 +9843,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9800
9843
  custom_login_page_preview?: string | undefined;
9801
9844
  form_template?: string | undefined;
9802
9845
  addons?: Record<string, any> | undefined;
9803
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9846
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
9804
9847
  client_metadata?: Record<string, string> | undefined;
9805
9848
  hide_sign_up_disabled_error?: boolean | undefined;
9806
9849
  mobile?: Record<string, any> | undefined;
@@ -9880,7 +9923,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9880
9923
  addons?: {
9881
9924
  [x: string]: any;
9882
9925
  } | undefined;
9883
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9926
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
9884
9927
  client_metadata?: {
9885
9928
  [x: string]: string;
9886
9929
  } | undefined;
@@ -9969,7 +10012,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9969
10012
  custom_login_page_preview?: string | undefined;
9970
10013
  form_template?: string | undefined;
9971
10014
  addons?: Record<string, any> | undefined;
9972
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10015
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
9973
10016
  client_metadata?: Record<string, string> | undefined;
9974
10017
  hide_sign_up_disabled_error?: boolean | undefined;
9975
10018
  mobile?: Record<string, any> | undefined;
@@ -10049,7 +10092,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10049
10092
  addons?: {
10050
10093
  [x: string]: any;
10051
10094
  } | undefined;
10052
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10095
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
10053
10096
  client_metadata?: {
10054
10097
  [x: string]: string;
10055
10098
  } | undefined;
@@ -10171,7 +10214,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10171
10214
  active?: boolean | undefined;
10172
10215
  } | undefined;
10173
10216
  signup?: {
10174
- status?: "optional" | "required" | "disabled" | undefined;
10217
+ status?: "optional" | "disabled" | "required" | undefined;
10175
10218
  verification?: {
10176
10219
  active?: boolean | undefined;
10177
10220
  } | undefined;
@@ -10188,7 +10231,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10188
10231
  active?: boolean | undefined;
10189
10232
  } | undefined;
10190
10233
  signup?: {
10191
- status?: "optional" | "required" | "disabled" | undefined;
10234
+ status?: "optional" | "disabled" | "required" | undefined;
10192
10235
  } | undefined;
10193
10236
  validation?: {
10194
10237
  max_length?: number | undefined;
@@ -10205,7 +10248,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10205
10248
  active?: boolean | undefined;
10206
10249
  } | undefined;
10207
10250
  signup?: {
10208
- status?: "optional" | "required" | "disabled" | undefined;
10251
+ status?: "optional" | "disabled" | "required" | undefined;
10209
10252
  } | undefined;
10210
10253
  } | undefined;
10211
10254
  } | undefined;
@@ -10325,7 +10368,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10325
10368
  active?: boolean | undefined;
10326
10369
  } | undefined;
10327
10370
  signup?: {
10328
- status?: "optional" | "required" | "disabled" | undefined;
10371
+ status?: "optional" | "disabled" | "required" | undefined;
10329
10372
  verification?: {
10330
10373
  active?: boolean | undefined;
10331
10374
  } | undefined;
@@ -10342,7 +10385,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10342
10385
  active?: boolean | undefined;
10343
10386
  } | undefined;
10344
10387
  signup?: {
10345
- status?: "optional" | "required" | "disabled" | undefined;
10388
+ status?: "optional" | "disabled" | "required" | undefined;
10346
10389
  } | undefined;
10347
10390
  validation?: {
10348
10391
  max_length?: number | undefined;
@@ -10359,7 +10402,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10359
10402
  active?: boolean | undefined;
10360
10403
  } | undefined;
10361
10404
  signup?: {
10362
- status?: "optional" | "required" | "disabled" | undefined;
10405
+ status?: "optional" | "disabled" | "required" | undefined;
10363
10406
  } | undefined;
10364
10407
  } | undefined;
10365
10408
  } | undefined;
@@ -12192,7 +12235,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12192
12235
  type: "auth0_managed_certs" | "self_managed_certs";
12193
12236
  custom_domain_id: string;
12194
12237
  primary: boolean;
12195
- status: "disabled" | "pending" | "ready" | "pending_verification";
12238
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12196
12239
  verification_method?: "txt" | undefined;
12197
12240
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12198
12241
  domain_metadata?: {
@@ -12233,7 +12276,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12233
12276
  type: "auth0_managed_certs" | "self_managed_certs";
12234
12277
  custom_domain_id: string;
12235
12278
  primary: boolean;
12236
- status: "disabled" | "pending" | "ready" | "pending_verification";
12279
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12237
12280
  verification_method?: "txt" | undefined;
12238
12281
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12239
12282
  domain_metadata?: {
@@ -12297,7 +12340,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12297
12340
  type: "auth0_managed_certs" | "self_managed_certs";
12298
12341
  custom_domain_id: string;
12299
12342
  primary: boolean;
12300
- status: "disabled" | "pending" | "ready" | "pending_verification";
12343
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12301
12344
  verification_method?: "txt" | undefined;
12302
12345
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12303
12346
  domain_metadata?: {
@@ -12344,7 +12387,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12344
12387
  type: "auth0_managed_certs" | "self_managed_certs";
12345
12388
  custom_domain_id: string;
12346
12389
  primary: boolean;
12347
- status: "disabled" | "pending" | "ready" | "pending_verification";
12390
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12348
12391
  verification_method?: "txt" | undefined;
12349
12392
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12350
12393
  domain_metadata?: {
@@ -12390,7 +12433,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12390
12433
  type: "auth0_managed_certs" | "self_managed_certs";
12391
12434
  custom_domain_id: string;
12392
12435
  primary: boolean;
12393
- status: "disabled" | "pending" | "ready" | "pending_verification";
12436
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12394
12437
  verification_method?: "txt" | undefined;
12395
12438
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12396
12439
  domain_metadata?: {
@@ -12431,7 +12474,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12431
12474
  type: "auth0_managed_certs" | "self_managed_certs";
12432
12475
  custom_domain_id: string;
12433
12476
  primary: boolean;
12434
- status: "disabled" | "pending" | "ready" | "pending_verification";
12477
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12435
12478
  verification_method?: "txt" | undefined;
12436
12479
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12437
12480
  domain_metadata?: {
@@ -12530,7 +12573,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12530
12573
  background_color: string;
12531
12574
  background_image_url: string;
12532
12575
  page_layout: "center" | "left" | "right";
12533
- logo_placement?: "none" | "widget" | "chip" | undefined;
12576
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12534
12577
  };
12535
12578
  widget: {
12536
12579
  header_text_alignment: "center" | "left" | "right";
@@ -12620,7 +12663,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12620
12663
  background_color: string;
12621
12664
  background_image_url: string;
12622
12665
  page_layout: "center" | "left" | "right";
12623
- logo_placement?: "none" | "widget" | "chip" | undefined;
12666
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12624
12667
  };
12625
12668
  widget: {
12626
12669
  header_text_alignment: "center" | "left" | "right";
@@ -12699,7 +12742,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12699
12742
  background_color: string;
12700
12743
  background_image_url: string;
12701
12744
  page_layout: "center" | "left" | "right";
12702
- logo_placement?: "none" | "widget" | "chip" | undefined;
12745
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12703
12746
  };
12704
12747
  widget: {
12705
12748
  header_text_alignment: "center" | "left" | "right";
@@ -12861,7 +12904,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12861
12904
  } & {
12862
12905
  json: {
12863
12906
  body?: string | undefined;
12864
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
12907
+ screen?: "password" | "signup" | "login" | "identifier" | undefined;
12865
12908
  branding?: {
12866
12909
  colors?: {
12867
12910
  primary: string;
@@ -12947,7 +12990,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12947
12990
  background_color: string;
12948
12991
  background_image_url: string;
12949
12992
  page_layout: "center" | "left" | "right";
12950
- logo_placement?: "none" | "widget" | "chip" | undefined;
12993
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12951
12994
  } | undefined;
12952
12995
  widget?: {
12953
12996
  header_text_alignment: "center" | "left" | "right";
@@ -13105,7 +13148,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13105
13148
  output: {
13106
13149
  id: string;
13107
13150
  trigger_id: string;
13108
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
13151
+ status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
13109
13152
  results: {
13110
13153
  action_name: string;
13111
13154
  error: {
@@ -13152,7 +13195,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13152
13195
  logs: {
13153
13196
  action_name: string;
13154
13197
  lines: {
13155
- level: "log" | "error" | "info" | "warn" | "debug";
13198
+ level: "error" | "info" | "log" | "warn" | "debug";
13156
13199
  message: string;
13157
13200
  }[];
13158
13201
  }[];
@@ -13819,7 +13862,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13819
13862
  args: import("hono/utils/types").JSONValue[];
13820
13863
  }[];
13821
13864
  logs: {
13822
- level: "log" | "error" | "info" | "warn" | "debug";
13865
+ level: "error" | "info" | "log" | "warn" | "debug";
13823
13866
  message: string;
13824
13867
  }[];
13825
13868
  error?: string | undefined;