authhero 8.16.0 → 8.17.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 (36) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +106 -106
  3. package/dist/authhero.d.ts +198 -196
  4. package/dist/authhero.mjs +6671 -6613
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  7. package/dist/types/helpers/logging.d.ts +11 -0
  8. package/dist/types/index.d.ts +198 -196
  9. package/dist/types/routes/auth-api/index.d.ts +4 -4
  10. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  11. package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
  12. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  13. package/dist/types/routes/management-api/actions.d.ts +1 -1
  14. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  15. package/dist/types/routes/management-api/branding.d.ts +7 -7
  16. package/dist/types/routes/management-api/clients.d.ts +6 -6
  17. package/dist/types/routes/management-api/connections.d.ts +16 -16
  18. package/dist/types/routes/management-api/failed-events.d.ts +3 -1
  19. package/dist/types/routes/management-api/forms.d.ts +126 -126
  20. package/dist/types/routes/management-api/index.d.ts +181 -179
  21. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  22. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  23. package/dist/types/routes/management-api/organizations.d.ts +3 -3
  24. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  25. package/dist/types/routes/management-api/tenants.d.ts +34 -34
  26. package/dist/types/routes/management-api/themes.d.ts +3 -3
  27. package/dist/types/routes/universal-login/common.d.ts +8 -8
  28. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  29. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  30. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  31. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  32. package/dist/types/routes/universal-login/index.d.ts +6 -6
  33. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  34. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  35. package/dist/types/utils/username-password-provider.d.ts +1 -10
  36. package/package.json +5 -5
@@ -96,7 +96,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
96
96
  };
97
97
  } & {
98
98
  json: {
99
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
99
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
100
100
  phone_number?: string | undefined;
101
101
  totp_secret?: string | undefined;
102
102
  credential_id?: string | undefined;
@@ -1170,10 +1170,10 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1170
1170
  email?: string | undefined;
1171
1171
  };
1172
1172
  id?: string | undefined;
1173
+ roles?: string[] | undefined;
1174
+ connection_id?: string | undefined;
1173
1175
  app_metadata?: Record<string, any> | undefined;
1174
1176
  user_metadata?: Record<string, any> | undefined;
1175
- connection_id?: string | undefined;
1176
- roles?: string[] | undefined;
1177
1177
  ttl_sec?: number | undefined;
1178
1178
  send_invitation_email?: boolean | undefined;
1179
1179
  };
@@ -1357,8 +1357,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1357
1357
  };
1358
1358
  } & {
1359
1359
  json: {
1360
- show_as_button?: boolean | undefined;
1361
1360
  assign_membership_on_login?: boolean | undefined;
1361
+ show_as_button?: boolean | undefined;
1362
1362
  is_signup_enabled?: boolean | undefined;
1363
1363
  };
1364
1364
  };
@@ -2600,7 +2600,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2600
2600
  hint?: string | undefined;
2601
2601
  messages?: {
2602
2602
  text: string;
2603
- type: "success" | "error" | "info" | "warning";
2603
+ type: "error" | "success" | "info" | "warning";
2604
2604
  id?: number | undefined;
2605
2605
  }[] | undefined;
2606
2606
  required?: boolean | undefined;
@@ -2618,7 +2618,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2618
2618
  hint?: string | undefined;
2619
2619
  messages?: {
2620
2620
  text: string;
2621
- type: "success" | "error" | "info" | "warning";
2621
+ type: "error" | "success" | "info" | "warning";
2622
2622
  id?: number | undefined;
2623
2623
  }[] | undefined;
2624
2624
  required?: boolean | undefined;
@@ -2642,7 +2642,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2642
2642
  hint?: string | undefined;
2643
2643
  messages?: {
2644
2644
  text: string;
2645
- type: "success" | "error" | "info" | "warning";
2645
+ type: "error" | "success" | "info" | "warning";
2646
2646
  id?: number | undefined;
2647
2647
  }[] | undefined;
2648
2648
  required?: boolean | undefined;
@@ -2666,7 +2666,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2666
2666
  hint?: string | undefined;
2667
2667
  messages?: {
2668
2668
  text: string;
2669
- type: "success" | "error" | "info" | "warning";
2669
+ type: "error" | "success" | "info" | "warning";
2670
2670
  id?: number | undefined;
2671
2671
  }[] | undefined;
2672
2672
  required?: boolean | undefined;
@@ -2690,7 +2690,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2690
2690
  hint?: string | undefined;
2691
2691
  messages?: {
2692
2692
  text: string;
2693
- type: "success" | "error" | "info" | "warning";
2693
+ type: "error" | "success" | "info" | "warning";
2694
2694
  id?: number | undefined;
2695
2695
  }[] | undefined;
2696
2696
  required?: boolean | undefined;
@@ -2719,7 +2719,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2719
2719
  hint?: string | undefined;
2720
2720
  messages?: {
2721
2721
  text: string;
2722
- type: "success" | "error" | "info" | "warning";
2722
+ type: "error" | "success" | "info" | "warning";
2723
2723
  id?: number | undefined;
2724
2724
  }[] | undefined;
2725
2725
  required?: boolean | undefined;
@@ -2734,7 +2734,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2734
2734
  hint?: string | undefined;
2735
2735
  messages?: {
2736
2736
  text: string;
2737
- type: "success" | "error" | "info" | "warning";
2737
+ type: "error" | "success" | "info" | "warning";
2738
2738
  id?: number | undefined;
2739
2739
  }[] | undefined;
2740
2740
  required?: boolean | undefined;
@@ -2755,7 +2755,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2755
2755
  hint?: string | undefined;
2756
2756
  messages?: {
2757
2757
  text: string;
2758
- type: "success" | "error" | "info" | "warning";
2758
+ type: "error" | "success" | "info" | "warning";
2759
2759
  id?: number | undefined;
2760
2760
  }[] | undefined;
2761
2761
  required?: boolean | undefined;
@@ -2780,7 +2780,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2780
2780
  hint?: string | undefined;
2781
2781
  messages?: {
2782
2782
  text: string;
2783
- type: "success" | "error" | "info" | "warning";
2783
+ type: "error" | "success" | "info" | "warning";
2784
2784
  id?: number | undefined;
2785
2785
  }[] | undefined;
2786
2786
  required?: boolean | undefined;
@@ -2799,7 +2799,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2799
2799
  hint?: string | undefined;
2800
2800
  messages?: {
2801
2801
  text: string;
2802
- type: "success" | "error" | "info" | "warning";
2802
+ type: "error" | "success" | "info" | "warning";
2803
2803
  id?: number | undefined;
2804
2804
  }[] | undefined;
2805
2805
  required?: boolean | undefined;
@@ -2819,7 +2819,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2819
2819
  hint?: string | undefined;
2820
2820
  messages?: {
2821
2821
  text: string;
2822
- type: "success" | "error" | "info" | "warning";
2822
+ type: "error" | "success" | "info" | "warning";
2823
2823
  id?: number | undefined;
2824
2824
  }[] | undefined;
2825
2825
  required?: boolean | undefined;
@@ -2838,7 +2838,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2838
2838
  hint?: string | undefined;
2839
2839
  messages?: {
2840
2840
  text: string;
2841
- type: "success" | "error" | "info" | "warning";
2841
+ type: "error" | "success" | "info" | "warning";
2842
2842
  id?: number | undefined;
2843
2843
  }[] | undefined;
2844
2844
  required?: boolean | undefined;
@@ -2860,7 +2860,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2860
2860
  hint?: string | undefined;
2861
2861
  messages?: {
2862
2862
  text: string;
2863
- type: "success" | "error" | "info" | "warning";
2863
+ type: "error" | "success" | "info" | "warning";
2864
2864
  id?: number | undefined;
2865
2865
  }[] | undefined;
2866
2866
  required?: boolean | undefined;
@@ -2882,7 +2882,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2882
2882
  hint?: string | undefined;
2883
2883
  messages?: {
2884
2884
  text: string;
2885
- type: "success" | "error" | "info" | "warning";
2885
+ type: "error" | "success" | "info" | "warning";
2886
2886
  id?: number | undefined;
2887
2887
  }[] | undefined;
2888
2888
  required?: boolean | undefined;
@@ -2901,7 +2901,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2901
2901
  hint?: string | undefined;
2902
2902
  messages?: {
2903
2903
  text: string;
2904
- type: "success" | "error" | "info" | "warning";
2904
+ type: "error" | "success" | "info" | "warning";
2905
2905
  id?: number | undefined;
2906
2906
  }[] | undefined;
2907
2907
  required?: boolean | undefined;
@@ -2926,7 +2926,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2926
2926
  hint?: string | undefined;
2927
2927
  messages?: {
2928
2928
  text: string;
2929
- type: "success" | "error" | "info" | "warning";
2929
+ type: "error" | "success" | "info" | "warning";
2930
2930
  id?: number | undefined;
2931
2931
  }[] | undefined;
2932
2932
  required?: boolean | undefined;
@@ -2947,7 +2947,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2947
2947
  hint?: string | undefined;
2948
2948
  messages?: {
2949
2949
  text: string;
2950
- type: "success" | "error" | "info" | "warning";
2950
+ type: "error" | "success" | "info" | "warning";
2951
2951
  id?: number | undefined;
2952
2952
  }[] | undefined;
2953
2953
  required?: boolean | undefined;
@@ -2968,7 +2968,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2968
2968
  hint?: string | undefined;
2969
2969
  messages?: {
2970
2970
  text: string;
2971
- type: "success" | "error" | "info" | "warning";
2971
+ type: "error" | "success" | "info" | "warning";
2972
2972
  id?: number | undefined;
2973
2973
  }[] | undefined;
2974
2974
  required?: boolean | undefined;
@@ -3201,7 +3201,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3201
3201
  hint?: string | undefined;
3202
3202
  messages?: {
3203
3203
  text: string;
3204
- type: "success" | "error" | "info" | "warning";
3204
+ type: "error" | "success" | "info" | "warning";
3205
3205
  id?: number | undefined;
3206
3206
  }[] | undefined;
3207
3207
  required?: boolean | undefined;
@@ -3219,7 +3219,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3219
3219
  hint?: string | undefined;
3220
3220
  messages?: {
3221
3221
  text: string;
3222
- type: "success" | "error" | "info" | "warning";
3222
+ type: "error" | "success" | "info" | "warning";
3223
3223
  id?: number | undefined;
3224
3224
  }[] | undefined;
3225
3225
  required?: boolean | undefined;
@@ -3243,7 +3243,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3243
3243
  hint?: string | undefined;
3244
3244
  messages?: {
3245
3245
  text: string;
3246
- type: "success" | "error" | "info" | "warning";
3246
+ type: "error" | "success" | "info" | "warning";
3247
3247
  id?: number | undefined;
3248
3248
  }[] | undefined;
3249
3249
  required?: boolean | undefined;
@@ -3267,7 +3267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3267
3267
  hint?: string | undefined;
3268
3268
  messages?: {
3269
3269
  text: string;
3270
- type: "success" | "error" | "info" | "warning";
3270
+ type: "error" | "success" | "info" | "warning";
3271
3271
  id?: number | undefined;
3272
3272
  }[] | undefined;
3273
3273
  required?: boolean | undefined;
@@ -3291,7 +3291,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3291
3291
  hint?: string | undefined;
3292
3292
  messages?: {
3293
3293
  text: string;
3294
- type: "success" | "error" | "info" | "warning";
3294
+ type: "error" | "success" | "info" | "warning";
3295
3295
  id?: number | undefined;
3296
3296
  }[] | undefined;
3297
3297
  required?: boolean | undefined;
@@ -3320,7 +3320,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3320
3320
  hint?: string | undefined;
3321
3321
  messages?: {
3322
3322
  text: string;
3323
- type: "success" | "error" | "info" | "warning";
3323
+ type: "error" | "success" | "info" | "warning";
3324
3324
  id?: number | undefined;
3325
3325
  }[] | undefined;
3326
3326
  required?: boolean | undefined;
@@ -3335,7 +3335,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3335
3335
  hint?: string | undefined;
3336
3336
  messages?: {
3337
3337
  text: string;
3338
- type: "success" | "error" | "info" | "warning";
3338
+ type: "error" | "success" | "info" | "warning";
3339
3339
  id?: number | undefined;
3340
3340
  }[] | undefined;
3341
3341
  required?: boolean | undefined;
@@ -3356,7 +3356,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3356
3356
  hint?: string | undefined;
3357
3357
  messages?: {
3358
3358
  text: string;
3359
- type: "success" | "error" | "info" | "warning";
3359
+ type: "error" | "success" | "info" | "warning";
3360
3360
  id?: number | undefined;
3361
3361
  }[] | undefined;
3362
3362
  required?: boolean | undefined;
@@ -3381,7 +3381,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3381
3381
  hint?: string | undefined;
3382
3382
  messages?: {
3383
3383
  text: string;
3384
- type: "success" | "error" | "info" | "warning";
3384
+ type: "error" | "success" | "info" | "warning";
3385
3385
  id?: number | undefined;
3386
3386
  }[] | undefined;
3387
3387
  required?: boolean | undefined;
@@ -3400,7 +3400,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3400
3400
  hint?: string | undefined;
3401
3401
  messages?: {
3402
3402
  text: string;
3403
- type: "success" | "error" | "info" | "warning";
3403
+ type: "error" | "success" | "info" | "warning";
3404
3404
  id?: number | undefined;
3405
3405
  }[] | undefined;
3406
3406
  required?: boolean | undefined;
@@ -3420,7 +3420,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3420
3420
  hint?: string | undefined;
3421
3421
  messages?: {
3422
3422
  text: string;
3423
- type: "success" | "error" | "info" | "warning";
3423
+ type: "error" | "success" | "info" | "warning";
3424
3424
  id?: number | undefined;
3425
3425
  }[] | undefined;
3426
3426
  required?: boolean | undefined;
@@ -3439,7 +3439,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3439
3439
  hint?: string | undefined;
3440
3440
  messages?: {
3441
3441
  text: string;
3442
- type: "success" | "error" | "info" | "warning";
3442
+ type: "error" | "success" | "info" | "warning";
3443
3443
  id?: number | undefined;
3444
3444
  }[] | undefined;
3445
3445
  required?: boolean | undefined;
@@ -3461,7 +3461,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3461
3461
  hint?: string | undefined;
3462
3462
  messages?: {
3463
3463
  text: string;
3464
- type: "success" | "error" | "info" | "warning";
3464
+ type: "error" | "success" | "info" | "warning";
3465
3465
  id?: number | undefined;
3466
3466
  }[] | undefined;
3467
3467
  required?: boolean | undefined;
@@ -3483,7 +3483,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3483
3483
  hint?: string | undefined;
3484
3484
  messages?: {
3485
3485
  text: string;
3486
- type: "success" | "error" | "info" | "warning";
3486
+ type: "error" | "success" | "info" | "warning";
3487
3487
  id?: number | undefined;
3488
3488
  }[] | undefined;
3489
3489
  required?: boolean | undefined;
@@ -3502,7 +3502,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3502
3502
  hint?: string | undefined;
3503
3503
  messages?: {
3504
3504
  text: string;
3505
- type: "success" | "error" | "info" | "warning";
3505
+ type: "error" | "success" | "info" | "warning";
3506
3506
  id?: number | undefined;
3507
3507
  }[] | undefined;
3508
3508
  required?: boolean | undefined;
@@ -3527,7 +3527,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3527
3527
  hint?: string | undefined;
3528
3528
  messages?: {
3529
3529
  text: string;
3530
- type: "success" | "error" | "info" | "warning";
3530
+ type: "error" | "success" | "info" | "warning";
3531
3531
  id?: number | undefined;
3532
3532
  }[] | undefined;
3533
3533
  required?: boolean | undefined;
@@ -3548,7 +3548,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3548
3548
  hint?: string | undefined;
3549
3549
  messages?: {
3550
3550
  text: string;
3551
- type: "success" | "error" | "info" | "warning";
3551
+ type: "error" | "success" | "info" | "warning";
3552
3552
  id?: number | undefined;
3553
3553
  }[] | undefined;
3554
3554
  required?: boolean | undefined;
@@ -3569,7 +3569,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3569
3569
  hint?: string | undefined;
3570
3570
  messages?: {
3571
3571
  text: string;
3572
- type: "success" | "error" | "info" | "warning";
3572
+ type: "error" | "success" | "info" | "warning";
3573
3573
  id?: number | undefined;
3574
3574
  }[] | undefined;
3575
3575
  required?: boolean | undefined;
@@ -3817,7 +3817,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3817
3817
  hint?: string | undefined;
3818
3818
  messages?: {
3819
3819
  text: string;
3820
- type: "success" | "error" | "info" | "warning";
3820
+ type: "error" | "success" | "info" | "warning";
3821
3821
  id?: number | undefined;
3822
3822
  }[] | undefined;
3823
3823
  required?: boolean | undefined;
@@ -3835,7 +3835,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3835
3835
  hint?: string | undefined;
3836
3836
  messages?: {
3837
3837
  text: string;
3838
- type: "success" | "error" | "info" | "warning";
3838
+ type: "error" | "success" | "info" | "warning";
3839
3839
  id?: number | undefined;
3840
3840
  }[] | undefined;
3841
3841
  required?: boolean | undefined;
@@ -3859,7 +3859,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3859
3859
  hint?: string | undefined;
3860
3860
  messages?: {
3861
3861
  text: string;
3862
- type: "success" | "error" | "info" | "warning";
3862
+ type: "error" | "success" | "info" | "warning";
3863
3863
  id?: number | undefined;
3864
3864
  }[] | undefined;
3865
3865
  required?: boolean | undefined;
@@ -3883,7 +3883,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3883
3883
  hint?: string | undefined;
3884
3884
  messages?: {
3885
3885
  text: string;
3886
- type: "success" | "error" | "info" | "warning";
3886
+ type: "error" | "success" | "info" | "warning";
3887
3887
  id?: number | undefined;
3888
3888
  }[] | undefined;
3889
3889
  required?: boolean | undefined;
@@ -3907,7 +3907,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3907
3907
  hint?: string | undefined;
3908
3908
  messages?: {
3909
3909
  text: string;
3910
- type: "success" | "error" | "info" | "warning";
3910
+ type: "error" | "success" | "info" | "warning";
3911
3911
  id?: number | undefined;
3912
3912
  }[] | undefined;
3913
3913
  required?: boolean | undefined;
@@ -3936,7 +3936,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3936
3936
  hint?: string | undefined;
3937
3937
  messages?: {
3938
3938
  text: string;
3939
- type: "success" | "error" | "info" | "warning";
3939
+ type: "error" | "success" | "info" | "warning";
3940
3940
  id?: number | undefined;
3941
3941
  }[] | undefined;
3942
3942
  required?: boolean | undefined;
@@ -3951,7 +3951,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3951
3951
  hint?: string | undefined;
3952
3952
  messages?: {
3953
3953
  text: string;
3954
- type: "success" | "error" | "info" | "warning";
3954
+ type: "error" | "success" | "info" | "warning";
3955
3955
  id?: number | undefined;
3956
3956
  }[] | undefined;
3957
3957
  required?: boolean | undefined;
@@ -3972,7 +3972,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3972
3972
  hint?: string | undefined;
3973
3973
  messages?: {
3974
3974
  text: string;
3975
- type: "success" | "error" | "info" | "warning";
3975
+ type: "error" | "success" | "info" | "warning";
3976
3976
  id?: number | undefined;
3977
3977
  }[] | undefined;
3978
3978
  required?: boolean | undefined;
@@ -3997,7 +3997,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
3997
3997
  hint?: string | undefined;
3998
3998
  messages?: {
3999
3999
  text: string;
4000
- type: "success" | "error" | "info" | "warning";
4000
+ type: "error" | "success" | "info" | "warning";
4001
4001
  id?: number | undefined;
4002
4002
  }[] | undefined;
4003
4003
  required?: boolean | undefined;
@@ -4016,7 +4016,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4016
4016
  hint?: string | undefined;
4017
4017
  messages?: {
4018
4018
  text: string;
4019
- type: "success" | "error" | "info" | "warning";
4019
+ type: "error" | "success" | "info" | "warning";
4020
4020
  id?: number | undefined;
4021
4021
  }[] | undefined;
4022
4022
  required?: boolean | undefined;
@@ -4036,7 +4036,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4036
4036
  hint?: string | undefined;
4037
4037
  messages?: {
4038
4038
  text: string;
4039
- type: "success" | "error" | "info" | "warning";
4039
+ type: "error" | "success" | "info" | "warning";
4040
4040
  id?: number | undefined;
4041
4041
  }[] | undefined;
4042
4042
  required?: boolean | undefined;
@@ -4055,7 +4055,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4055
4055
  hint?: string | undefined;
4056
4056
  messages?: {
4057
4057
  text: string;
4058
- type: "success" | "error" | "info" | "warning";
4058
+ type: "error" | "success" | "info" | "warning";
4059
4059
  id?: number | undefined;
4060
4060
  }[] | undefined;
4061
4061
  required?: boolean | undefined;
@@ -4077,7 +4077,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4077
4077
  hint?: string | undefined;
4078
4078
  messages?: {
4079
4079
  text: string;
4080
- type: "success" | "error" | "info" | "warning";
4080
+ type: "error" | "success" | "info" | "warning";
4081
4081
  id?: number | undefined;
4082
4082
  }[] | undefined;
4083
4083
  required?: boolean | undefined;
@@ -4099,7 +4099,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4099
4099
  hint?: string | undefined;
4100
4100
  messages?: {
4101
4101
  text: string;
4102
- type: "success" | "error" | "info" | "warning";
4102
+ type: "error" | "success" | "info" | "warning";
4103
4103
  id?: number | undefined;
4104
4104
  }[] | undefined;
4105
4105
  required?: boolean | undefined;
@@ -4118,7 +4118,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4118
4118
  hint?: string | undefined;
4119
4119
  messages?: {
4120
4120
  text: string;
4121
- type: "success" | "error" | "info" | "warning";
4121
+ type: "error" | "success" | "info" | "warning";
4122
4122
  id?: number | undefined;
4123
4123
  }[] | undefined;
4124
4124
  required?: boolean | undefined;
@@ -4143,7 +4143,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4143
4143
  hint?: string | undefined;
4144
4144
  messages?: {
4145
4145
  text: string;
4146
- type: "success" | "error" | "info" | "warning";
4146
+ type: "error" | "success" | "info" | "warning";
4147
4147
  id?: number | undefined;
4148
4148
  }[] | undefined;
4149
4149
  required?: boolean | undefined;
@@ -4164,7 +4164,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4164
4164
  hint?: string | undefined;
4165
4165
  messages?: {
4166
4166
  text: string;
4167
- type: "success" | "error" | "info" | "warning";
4167
+ type: "error" | "success" | "info" | "warning";
4168
4168
  id?: number | undefined;
4169
4169
  }[] | undefined;
4170
4170
  required?: boolean | undefined;
@@ -4185,7 +4185,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4185
4185
  hint?: string | undefined;
4186
4186
  messages?: {
4187
4187
  text: string;
4188
- type: "success" | "error" | "info" | "warning";
4188
+ type: "error" | "success" | "info" | "warning";
4189
4189
  id?: number | undefined;
4190
4190
  }[] | undefined;
4191
4191
  required?: boolean | undefined;
@@ -4439,7 +4439,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4439
4439
  hint?: string | undefined;
4440
4440
  messages?: {
4441
4441
  text: string;
4442
- type: "success" | "error" | "info" | "warning";
4442
+ type: "error" | "success" | "info" | "warning";
4443
4443
  id?: number | undefined;
4444
4444
  }[] | undefined;
4445
4445
  required?: boolean | undefined;
@@ -4457,7 +4457,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4457
4457
  hint?: string | undefined;
4458
4458
  messages?: {
4459
4459
  text: string;
4460
- type: "success" | "error" | "info" | "warning";
4460
+ type: "error" | "success" | "info" | "warning";
4461
4461
  id?: number | undefined;
4462
4462
  }[] | undefined;
4463
4463
  required?: boolean | undefined;
@@ -4481,7 +4481,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4481
4481
  hint?: string | undefined;
4482
4482
  messages?: {
4483
4483
  text: string;
4484
- type: "success" | "error" | "info" | "warning";
4484
+ type: "error" | "success" | "info" | "warning";
4485
4485
  id?: number | undefined;
4486
4486
  }[] | undefined;
4487
4487
  required?: boolean | undefined;
@@ -4505,7 +4505,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4505
4505
  hint?: string | undefined;
4506
4506
  messages?: {
4507
4507
  text: string;
4508
- type: "success" | "error" | "info" | "warning";
4508
+ type: "error" | "success" | "info" | "warning";
4509
4509
  id?: number | undefined;
4510
4510
  }[] | undefined;
4511
4511
  required?: boolean | undefined;
@@ -4529,7 +4529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4529
4529
  hint?: string | undefined;
4530
4530
  messages?: {
4531
4531
  text: string;
4532
- type: "success" | "error" | "info" | "warning";
4532
+ type: "error" | "success" | "info" | "warning";
4533
4533
  id?: number | undefined;
4534
4534
  }[] | undefined;
4535
4535
  required?: boolean | undefined;
@@ -4554,7 +4554,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4554
4554
  hint?: string | undefined;
4555
4555
  messages?: {
4556
4556
  text: string;
4557
- type: "success" | "error" | "info" | "warning";
4557
+ type: "error" | "success" | "info" | "warning";
4558
4558
  id?: number | undefined;
4559
4559
  }[] | undefined;
4560
4560
  required?: boolean | undefined;
@@ -4569,7 +4569,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4569
4569
  hint?: string | undefined;
4570
4570
  messages?: {
4571
4571
  text: string;
4572
- type: "success" | "error" | "info" | "warning";
4572
+ type: "error" | "success" | "info" | "warning";
4573
4573
  id?: number | undefined;
4574
4574
  }[] | undefined;
4575
4575
  required?: boolean | undefined;
@@ -4590,7 +4590,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4590
4590
  hint?: string | undefined;
4591
4591
  messages?: {
4592
4592
  text: string;
4593
- type: "success" | "error" | "info" | "warning";
4593
+ type: "error" | "success" | "info" | "warning";
4594
4594
  id?: number | undefined;
4595
4595
  }[] | undefined;
4596
4596
  required?: boolean | undefined;
@@ -4615,7 +4615,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4615
4615
  hint?: string | undefined;
4616
4616
  messages?: {
4617
4617
  text: string;
4618
- type: "success" | "error" | "info" | "warning";
4618
+ type: "error" | "success" | "info" | "warning";
4619
4619
  id?: number | undefined;
4620
4620
  }[] | undefined;
4621
4621
  required?: boolean | undefined;
@@ -4634,7 +4634,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4634
4634
  hint?: string | undefined;
4635
4635
  messages?: {
4636
4636
  text: string;
4637
- type: "success" | "error" | "info" | "warning";
4637
+ type: "error" | "success" | "info" | "warning";
4638
4638
  id?: number | undefined;
4639
4639
  }[] | undefined;
4640
4640
  required?: boolean | undefined;
@@ -4654,7 +4654,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4654
4654
  hint?: string | undefined;
4655
4655
  messages?: {
4656
4656
  text: string;
4657
- type: "success" | "error" | "info" | "warning";
4657
+ type: "error" | "success" | "info" | "warning";
4658
4658
  id?: number | undefined;
4659
4659
  }[] | undefined;
4660
4660
  required?: boolean | undefined;
@@ -4673,7 +4673,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4673
4673
  hint?: string | undefined;
4674
4674
  messages?: {
4675
4675
  text: string;
4676
- type: "success" | "error" | "info" | "warning";
4676
+ type: "error" | "success" | "info" | "warning";
4677
4677
  id?: number | undefined;
4678
4678
  }[] | undefined;
4679
4679
  required?: boolean | undefined;
@@ -4695,7 +4695,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4695
4695
  hint?: string | undefined;
4696
4696
  messages?: {
4697
4697
  text: string;
4698
- type: "success" | "error" | "info" | "warning";
4698
+ type: "error" | "success" | "info" | "warning";
4699
4699
  id?: number | undefined;
4700
4700
  }[] | undefined;
4701
4701
  required?: boolean | undefined;
@@ -4717,7 +4717,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4717
4717
  hint?: string | undefined;
4718
4718
  messages?: {
4719
4719
  text: string;
4720
- type: "success" | "error" | "info" | "warning";
4720
+ type: "error" | "success" | "info" | "warning";
4721
4721
  id?: number | undefined;
4722
4722
  }[] | undefined;
4723
4723
  required?: boolean | undefined;
@@ -4736,7 +4736,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4736
4736
  hint?: string | undefined;
4737
4737
  messages?: {
4738
4738
  text: string;
4739
- type: "success" | "error" | "info" | "warning";
4739
+ type: "error" | "success" | "info" | "warning";
4740
4740
  id?: number | undefined;
4741
4741
  }[] | undefined;
4742
4742
  required?: boolean | undefined;
@@ -4761,7 +4761,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4761
4761
  hint?: string | undefined;
4762
4762
  messages?: {
4763
4763
  text: string;
4764
- type: "success" | "error" | "info" | "warning";
4764
+ type: "error" | "success" | "info" | "warning";
4765
4765
  id?: number | undefined;
4766
4766
  }[] | undefined;
4767
4767
  required?: boolean | undefined;
@@ -4782,7 +4782,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4782
4782
  hint?: string | undefined;
4783
4783
  messages?: {
4784
4784
  text: string;
4785
- type: "success" | "error" | "info" | "warning";
4785
+ type: "error" | "success" | "info" | "warning";
4786
4786
  id?: number | undefined;
4787
4787
  }[] | undefined;
4788
4788
  required?: boolean | undefined;
@@ -4803,7 +4803,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4803
4803
  hint?: string | undefined;
4804
4804
  messages?: {
4805
4805
  text: string;
4806
- type: "success" | "error" | "info" | "warning";
4806
+ type: "error" | "success" | "info" | "warning";
4807
4807
  id?: number | undefined;
4808
4808
  }[] | undefined;
4809
4809
  required?: boolean | undefined;
@@ -5034,7 +5034,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5034
5034
  hint?: string | undefined;
5035
5035
  messages?: {
5036
5036
  text: string;
5037
- type: "success" | "error" | "info" | "warning";
5037
+ type: "error" | "success" | "info" | "warning";
5038
5038
  id?: number | undefined;
5039
5039
  }[] | undefined;
5040
5040
  required?: boolean | undefined;
@@ -5052,7 +5052,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5052
5052
  hint?: string | undefined;
5053
5053
  messages?: {
5054
5054
  text: string;
5055
- type: "success" | "error" | "info" | "warning";
5055
+ type: "error" | "success" | "info" | "warning";
5056
5056
  id?: number | undefined;
5057
5057
  }[] | undefined;
5058
5058
  required?: boolean | undefined;
@@ -5076,7 +5076,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5076
5076
  hint?: string | undefined;
5077
5077
  messages?: {
5078
5078
  text: string;
5079
- type: "success" | "error" | "info" | "warning";
5079
+ type: "error" | "success" | "info" | "warning";
5080
5080
  id?: number | undefined;
5081
5081
  }[] | undefined;
5082
5082
  required?: boolean | undefined;
@@ -5100,7 +5100,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5100
5100
  hint?: string | undefined;
5101
5101
  messages?: {
5102
5102
  text: string;
5103
- type: "success" | "error" | "info" | "warning";
5103
+ type: "error" | "success" | "info" | "warning";
5104
5104
  id?: number | undefined;
5105
5105
  }[] | undefined;
5106
5106
  required?: boolean | undefined;
@@ -5124,7 +5124,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5124
5124
  hint?: string | undefined;
5125
5125
  messages?: {
5126
5126
  text: string;
5127
- type: "success" | "error" | "info" | "warning";
5127
+ type: "error" | "success" | "info" | "warning";
5128
5128
  id?: number | undefined;
5129
5129
  }[] | undefined;
5130
5130
  required?: boolean | undefined;
@@ -5153,7 +5153,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5153
5153
  hint?: string | undefined;
5154
5154
  messages?: {
5155
5155
  text: string;
5156
- type: "success" | "error" | "info" | "warning";
5156
+ type: "error" | "success" | "info" | "warning";
5157
5157
  id?: number | undefined;
5158
5158
  }[] | undefined;
5159
5159
  required?: boolean | undefined;
@@ -5168,7 +5168,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5168
5168
  hint?: string | undefined;
5169
5169
  messages?: {
5170
5170
  text: string;
5171
- type: "success" | "error" | "info" | "warning";
5171
+ type: "error" | "success" | "info" | "warning";
5172
5172
  id?: number | undefined;
5173
5173
  }[] | undefined;
5174
5174
  required?: boolean | undefined;
@@ -5189,7 +5189,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5189
5189
  hint?: string | undefined;
5190
5190
  messages?: {
5191
5191
  text: string;
5192
- type: "success" | "error" | "info" | "warning";
5192
+ type: "error" | "success" | "info" | "warning";
5193
5193
  id?: number | undefined;
5194
5194
  }[] | undefined;
5195
5195
  required?: boolean | undefined;
@@ -5214,7 +5214,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5214
5214
  hint?: string | undefined;
5215
5215
  messages?: {
5216
5216
  text: string;
5217
- type: "success" | "error" | "info" | "warning";
5217
+ type: "error" | "success" | "info" | "warning";
5218
5218
  id?: number | undefined;
5219
5219
  }[] | undefined;
5220
5220
  required?: boolean | undefined;
@@ -5233,7 +5233,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5233
5233
  hint?: string | undefined;
5234
5234
  messages?: {
5235
5235
  text: string;
5236
- type: "success" | "error" | "info" | "warning";
5236
+ type: "error" | "success" | "info" | "warning";
5237
5237
  id?: number | undefined;
5238
5238
  }[] | undefined;
5239
5239
  required?: boolean | undefined;
@@ -5253,7 +5253,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5253
5253
  hint?: string | undefined;
5254
5254
  messages?: {
5255
5255
  text: string;
5256
- type: "success" | "error" | "info" | "warning";
5256
+ type: "error" | "success" | "info" | "warning";
5257
5257
  id?: number | undefined;
5258
5258
  }[] | undefined;
5259
5259
  required?: boolean | undefined;
@@ -5272,7 +5272,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5272
5272
  hint?: string | undefined;
5273
5273
  messages?: {
5274
5274
  text: string;
5275
- type: "success" | "error" | "info" | "warning";
5275
+ type: "error" | "success" | "info" | "warning";
5276
5276
  id?: number | undefined;
5277
5277
  }[] | undefined;
5278
5278
  required?: boolean | undefined;
@@ -5294,7 +5294,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5294
5294
  hint?: string | undefined;
5295
5295
  messages?: {
5296
5296
  text: string;
5297
- type: "success" | "error" | "info" | "warning";
5297
+ type: "error" | "success" | "info" | "warning";
5298
5298
  id?: number | undefined;
5299
5299
  }[] | undefined;
5300
5300
  required?: boolean | undefined;
@@ -5316,7 +5316,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5316
5316
  hint?: string | undefined;
5317
5317
  messages?: {
5318
5318
  text: string;
5319
- type: "success" | "error" | "info" | "warning";
5319
+ type: "error" | "success" | "info" | "warning";
5320
5320
  id?: number | undefined;
5321
5321
  }[] | undefined;
5322
5322
  required?: boolean | undefined;
@@ -5335,7 +5335,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5335
5335
  hint?: string | undefined;
5336
5336
  messages?: {
5337
5337
  text: string;
5338
- type: "success" | "error" | "info" | "warning";
5338
+ type: "error" | "success" | "info" | "warning";
5339
5339
  id?: number | undefined;
5340
5340
  }[] | undefined;
5341
5341
  required?: boolean | undefined;
@@ -5360,7 +5360,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5360
5360
  hint?: string | undefined;
5361
5361
  messages?: {
5362
5362
  text: string;
5363
- type: "success" | "error" | "info" | "warning";
5363
+ type: "error" | "success" | "info" | "warning";
5364
5364
  id?: number | undefined;
5365
5365
  }[] | undefined;
5366
5366
  required?: boolean | undefined;
@@ -5381,7 +5381,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5381
5381
  hint?: string | undefined;
5382
5382
  messages?: {
5383
5383
  text: string;
5384
- type: "success" | "error" | "info" | "warning";
5384
+ type: "error" | "success" | "info" | "warning";
5385
5385
  id?: number | undefined;
5386
5386
  }[] | undefined;
5387
5387
  required?: boolean | undefined;
@@ -5402,7 +5402,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5402
5402
  hint?: string | undefined;
5403
5403
  messages?: {
5404
5404
  text: string;
5405
- type: "success" | "error" | "info" | "warning";
5405
+ type: "error" | "success" | "info" | "warning";
5406
5406
  id?: number | undefined;
5407
5407
  }[] | undefined;
5408
5408
  required?: boolean | undefined;
@@ -5635,7 +5635,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5635
5635
  hint?: string | undefined;
5636
5636
  messages?: {
5637
5637
  text: string;
5638
- type: "success" | "error" | "info" | "warning";
5638
+ type: "error" | "success" | "info" | "warning";
5639
5639
  id?: number | undefined;
5640
5640
  }[] | undefined;
5641
5641
  required?: boolean | undefined;
@@ -5653,7 +5653,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5653
5653
  hint?: string | undefined;
5654
5654
  messages?: {
5655
5655
  text: string;
5656
- type: "success" | "error" | "info" | "warning";
5656
+ type: "error" | "success" | "info" | "warning";
5657
5657
  id?: number | undefined;
5658
5658
  }[] | undefined;
5659
5659
  required?: boolean | undefined;
@@ -5677,7 +5677,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5677
5677
  hint?: string | undefined;
5678
5678
  messages?: {
5679
5679
  text: string;
5680
- type: "success" | "error" | "info" | "warning";
5680
+ type: "error" | "success" | "info" | "warning";
5681
5681
  id?: number | undefined;
5682
5682
  }[] | undefined;
5683
5683
  required?: boolean | undefined;
@@ -5701,7 +5701,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5701
5701
  hint?: string | undefined;
5702
5702
  messages?: {
5703
5703
  text: string;
5704
- type: "success" | "error" | "info" | "warning";
5704
+ type: "error" | "success" | "info" | "warning";
5705
5705
  id?: number | undefined;
5706
5706
  }[] | undefined;
5707
5707
  required?: boolean | undefined;
@@ -5725,7 +5725,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5725
5725
  hint?: string | undefined;
5726
5726
  messages?: {
5727
5727
  text: string;
5728
- type: "success" | "error" | "info" | "warning";
5728
+ type: "error" | "success" | "info" | "warning";
5729
5729
  id?: number | undefined;
5730
5730
  }[] | undefined;
5731
5731
  required?: boolean | undefined;
@@ -5750,7 +5750,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5750
5750
  hint?: string | undefined;
5751
5751
  messages?: {
5752
5752
  text: string;
5753
- type: "success" | "error" | "info" | "warning";
5753
+ type: "error" | "success" | "info" | "warning";
5754
5754
  id?: number | undefined;
5755
5755
  }[] | undefined;
5756
5756
  required?: boolean | undefined;
@@ -5765,7 +5765,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5765
5765
  hint?: string | undefined;
5766
5766
  messages?: {
5767
5767
  text: string;
5768
- type: "success" | "error" | "info" | "warning";
5768
+ type: "error" | "success" | "info" | "warning";
5769
5769
  id?: number | undefined;
5770
5770
  }[] | undefined;
5771
5771
  required?: boolean | undefined;
@@ -5786,7 +5786,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5786
5786
  hint?: string | undefined;
5787
5787
  messages?: {
5788
5788
  text: string;
5789
- type: "success" | "error" | "info" | "warning";
5789
+ type: "error" | "success" | "info" | "warning";
5790
5790
  id?: number | undefined;
5791
5791
  }[] | undefined;
5792
5792
  required?: boolean | undefined;
@@ -5811,7 +5811,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5811
5811
  hint?: string | undefined;
5812
5812
  messages?: {
5813
5813
  text: string;
5814
- type: "success" | "error" | "info" | "warning";
5814
+ type: "error" | "success" | "info" | "warning";
5815
5815
  id?: number | undefined;
5816
5816
  }[] | undefined;
5817
5817
  required?: boolean | undefined;
@@ -5830,7 +5830,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5830
5830
  hint?: string | undefined;
5831
5831
  messages?: {
5832
5832
  text: string;
5833
- type: "success" | "error" | "info" | "warning";
5833
+ type: "error" | "success" | "info" | "warning";
5834
5834
  id?: number | undefined;
5835
5835
  }[] | undefined;
5836
5836
  required?: boolean | undefined;
@@ -5850,7 +5850,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5850
5850
  hint?: string | undefined;
5851
5851
  messages?: {
5852
5852
  text: string;
5853
- type: "success" | "error" | "info" | "warning";
5853
+ type: "error" | "success" | "info" | "warning";
5854
5854
  id?: number | undefined;
5855
5855
  }[] | undefined;
5856
5856
  required?: boolean | undefined;
@@ -5869,7 +5869,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5869
5869
  hint?: string | undefined;
5870
5870
  messages?: {
5871
5871
  text: string;
5872
- type: "success" | "error" | "info" | "warning";
5872
+ type: "error" | "success" | "info" | "warning";
5873
5873
  id?: number | undefined;
5874
5874
  }[] | undefined;
5875
5875
  required?: boolean | undefined;
@@ -5891,7 +5891,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5891
5891
  hint?: string | undefined;
5892
5892
  messages?: {
5893
5893
  text: string;
5894
- type: "success" | "error" | "info" | "warning";
5894
+ type: "error" | "success" | "info" | "warning";
5895
5895
  id?: number | undefined;
5896
5896
  }[] | undefined;
5897
5897
  required?: boolean | undefined;
@@ -5913,7 +5913,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5913
5913
  hint?: string | undefined;
5914
5914
  messages?: {
5915
5915
  text: string;
5916
- type: "success" | "error" | "info" | "warning";
5916
+ type: "error" | "success" | "info" | "warning";
5917
5917
  id?: number | undefined;
5918
5918
  }[] | undefined;
5919
5919
  required?: boolean | undefined;
@@ -5932,7 +5932,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5932
5932
  hint?: string | undefined;
5933
5933
  messages?: {
5934
5934
  text: string;
5935
- type: "success" | "error" | "info" | "warning";
5935
+ type: "error" | "success" | "info" | "warning";
5936
5936
  id?: number | undefined;
5937
5937
  }[] | undefined;
5938
5938
  required?: boolean | undefined;
@@ -5957,7 +5957,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5957
5957
  hint?: string | undefined;
5958
5958
  messages?: {
5959
5959
  text: string;
5960
- type: "success" | "error" | "info" | "warning";
5960
+ type: "error" | "success" | "info" | "warning";
5961
5961
  id?: number | undefined;
5962
5962
  }[] | undefined;
5963
5963
  required?: boolean | undefined;
@@ -5978,7 +5978,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5978
5978
  hint?: string | undefined;
5979
5979
  messages?: {
5980
5980
  text: string;
5981
- type: "success" | "error" | "info" | "warning";
5981
+ type: "error" | "success" | "info" | "warning";
5982
5982
  id?: number | undefined;
5983
5983
  }[] | undefined;
5984
5984
  required?: boolean | undefined;
@@ -5999,7 +5999,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
5999
5999
  hint?: string | undefined;
6000
6000
  messages?: {
6001
6001
  text: string;
6002
- type: "success" | "error" | "info" | "warning";
6002
+ type: "error" | "success" | "info" | "warning";
6003
6003
  id?: number | undefined;
6004
6004
  }[] | undefined;
6005
6005
  required?: boolean | undefined;
@@ -6230,7 +6230,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6230
6230
  hint?: string | undefined;
6231
6231
  messages?: {
6232
6232
  text: string;
6233
- type: "success" | "error" | "info" | "warning";
6233
+ type: "error" | "success" | "info" | "warning";
6234
6234
  id?: number | undefined;
6235
6235
  }[] | undefined;
6236
6236
  required?: boolean | undefined;
@@ -6248,7 +6248,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6248
6248
  hint?: string | undefined;
6249
6249
  messages?: {
6250
6250
  text: string;
6251
- type: "success" | "error" | "info" | "warning";
6251
+ type: "error" | "success" | "info" | "warning";
6252
6252
  id?: number | undefined;
6253
6253
  }[] | undefined;
6254
6254
  required?: boolean | undefined;
@@ -6272,7 +6272,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6272
6272
  hint?: string | undefined;
6273
6273
  messages?: {
6274
6274
  text: string;
6275
- type: "success" | "error" | "info" | "warning";
6275
+ type: "error" | "success" | "info" | "warning";
6276
6276
  id?: number | undefined;
6277
6277
  }[] | undefined;
6278
6278
  required?: boolean | undefined;
@@ -6296,7 +6296,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6296
6296
  hint?: string | undefined;
6297
6297
  messages?: {
6298
6298
  text: string;
6299
- type: "success" | "error" | "info" | "warning";
6299
+ type: "error" | "success" | "info" | "warning";
6300
6300
  id?: number | undefined;
6301
6301
  }[] | undefined;
6302
6302
  required?: boolean | undefined;
@@ -6320,7 +6320,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6320
6320
  hint?: string | undefined;
6321
6321
  messages?: {
6322
6322
  text: string;
6323
- type: "success" | "error" | "info" | "warning";
6323
+ type: "error" | "success" | "info" | "warning";
6324
6324
  id?: number | undefined;
6325
6325
  }[] | undefined;
6326
6326
  required?: boolean | undefined;
@@ -6349,7 +6349,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6349
6349
  hint?: string | undefined;
6350
6350
  messages?: {
6351
6351
  text: string;
6352
- type: "success" | "error" | "info" | "warning";
6352
+ type: "error" | "success" | "info" | "warning";
6353
6353
  id?: number | undefined;
6354
6354
  }[] | undefined;
6355
6355
  required?: boolean | undefined;
@@ -6364,7 +6364,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6364
6364
  hint?: string | undefined;
6365
6365
  messages?: {
6366
6366
  text: string;
6367
- type: "success" | "error" | "info" | "warning";
6367
+ type: "error" | "success" | "info" | "warning";
6368
6368
  id?: number | undefined;
6369
6369
  }[] | undefined;
6370
6370
  required?: boolean | undefined;
@@ -6385,7 +6385,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6385
6385
  hint?: string | undefined;
6386
6386
  messages?: {
6387
6387
  text: string;
6388
- type: "success" | "error" | "info" | "warning";
6388
+ type: "error" | "success" | "info" | "warning";
6389
6389
  id?: number | undefined;
6390
6390
  }[] | undefined;
6391
6391
  required?: boolean | undefined;
@@ -6410,7 +6410,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6410
6410
  hint?: string | undefined;
6411
6411
  messages?: {
6412
6412
  text: string;
6413
- type: "success" | "error" | "info" | "warning";
6413
+ type: "error" | "success" | "info" | "warning";
6414
6414
  id?: number | undefined;
6415
6415
  }[] | undefined;
6416
6416
  required?: boolean | undefined;
@@ -6429,7 +6429,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6429
6429
  hint?: string | undefined;
6430
6430
  messages?: {
6431
6431
  text: string;
6432
- type: "success" | "error" | "info" | "warning";
6432
+ type: "error" | "success" | "info" | "warning";
6433
6433
  id?: number | undefined;
6434
6434
  }[] | undefined;
6435
6435
  required?: boolean | undefined;
@@ -6449,7 +6449,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6449
6449
  hint?: string | undefined;
6450
6450
  messages?: {
6451
6451
  text: string;
6452
- type: "success" | "error" | "info" | "warning";
6452
+ type: "error" | "success" | "info" | "warning";
6453
6453
  id?: number | undefined;
6454
6454
  }[] | undefined;
6455
6455
  required?: boolean | undefined;
@@ -6468,7 +6468,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6468
6468
  hint?: string | undefined;
6469
6469
  messages?: {
6470
6470
  text: string;
6471
- type: "success" | "error" | "info" | "warning";
6471
+ type: "error" | "success" | "info" | "warning";
6472
6472
  id?: number | undefined;
6473
6473
  }[] | undefined;
6474
6474
  required?: boolean | undefined;
@@ -6490,7 +6490,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6490
6490
  hint?: string | undefined;
6491
6491
  messages?: {
6492
6492
  text: string;
6493
- type: "success" | "error" | "info" | "warning";
6493
+ type: "error" | "success" | "info" | "warning";
6494
6494
  id?: number | undefined;
6495
6495
  }[] | undefined;
6496
6496
  required?: boolean | undefined;
@@ -6512,7 +6512,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6512
6512
  hint?: string | undefined;
6513
6513
  messages?: {
6514
6514
  text: string;
6515
- type: "success" | "error" | "info" | "warning";
6515
+ type: "error" | "success" | "info" | "warning";
6516
6516
  id?: number | undefined;
6517
6517
  }[] | undefined;
6518
6518
  required?: boolean | undefined;
@@ -6531,7 +6531,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6531
6531
  hint?: string | undefined;
6532
6532
  messages?: {
6533
6533
  text: string;
6534
- type: "success" | "error" | "info" | "warning";
6534
+ type: "error" | "success" | "info" | "warning";
6535
6535
  id?: number | undefined;
6536
6536
  }[] | undefined;
6537
6537
  required?: boolean | undefined;
@@ -6556,7 +6556,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6556
6556
  hint?: string | undefined;
6557
6557
  messages?: {
6558
6558
  text: string;
6559
- type: "success" | "error" | "info" | "warning";
6559
+ type: "error" | "success" | "info" | "warning";
6560
6560
  id?: number | undefined;
6561
6561
  }[] | undefined;
6562
6562
  required?: boolean | undefined;
@@ -6577,7 +6577,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6577
6577
  hint?: string | undefined;
6578
6578
  messages?: {
6579
6579
  text: string;
6580
- type: "success" | "error" | "info" | "warning";
6580
+ type: "error" | "success" | "info" | "warning";
6581
6581
  id?: number | undefined;
6582
6582
  }[] | undefined;
6583
6583
  required?: boolean | undefined;
@@ -6598,7 +6598,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6598
6598
  hint?: string | undefined;
6599
6599
  messages?: {
6600
6600
  text: string;
6601
- type: "success" | "error" | "info" | "warning";
6601
+ type: "error" | "success" | "info" | "warning";
6602
6602
  id?: number | undefined;
6603
6603
  }[] | undefined;
6604
6604
  required?: boolean | undefined;
@@ -6828,7 +6828,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6828
6828
  };
6829
6829
  };
6830
6830
  output: {
6831
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6831
+ 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";
6832
6832
  language: string;
6833
6833
  }[];
6834
6834
  outputFormat: "json";
@@ -6866,7 +6866,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6866
6866
  $get: {
6867
6867
  input: {
6868
6868
  param: {
6869
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6869
+ 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";
6870
6870
  language: string;
6871
6871
  };
6872
6872
  } & {
@@ -6888,7 +6888,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6888
6888
  $put: {
6889
6889
  input: {
6890
6890
  param: {
6891
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6891
+ 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";
6892
6892
  language: string;
6893
6893
  };
6894
6894
  } & {
@@ -6912,7 +6912,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
6912
6912
  $delete: {
6913
6913
  input: {
6914
6914
  param: {
6915
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
6915
+ 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";
6916
6916
  language: string;
6917
6917
  };
6918
6918
  } & {
@@ -7004,7 +7004,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7004
7004
  active?: boolean | undefined;
7005
7005
  } | undefined;
7006
7006
  signup?: {
7007
- status?: "required" | "optional" | "disabled" | undefined;
7007
+ status?: "optional" | "disabled" | "required" | undefined;
7008
7008
  verification?: {
7009
7009
  active?: boolean | undefined;
7010
7010
  } | undefined;
@@ -7021,7 +7021,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7021
7021
  active?: boolean | undefined;
7022
7022
  } | undefined;
7023
7023
  signup?: {
7024
- status?: "required" | "optional" | "disabled" | undefined;
7024
+ status?: "optional" | "disabled" | "required" | undefined;
7025
7025
  } | undefined;
7026
7026
  validation?: {
7027
7027
  max_length?: number | undefined;
@@ -7038,7 +7038,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7038
7038
  active?: boolean | undefined;
7039
7039
  } | undefined;
7040
7040
  signup?: {
7041
- status?: "required" | "optional" | "disabled" | undefined;
7041
+ status?: "optional" | "disabled" | "required" | undefined;
7042
7042
  } | undefined;
7043
7043
  } | undefined;
7044
7044
  } | undefined;
@@ -7138,7 +7138,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7138
7138
  active?: boolean | undefined;
7139
7139
  } | undefined;
7140
7140
  signup?: {
7141
- status?: "required" | "optional" | "disabled" | undefined;
7141
+ status?: "optional" | "disabled" | "required" | undefined;
7142
7142
  verification?: {
7143
7143
  active?: boolean | undefined;
7144
7144
  } | undefined;
@@ -7155,7 +7155,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7155
7155
  active?: boolean | undefined;
7156
7156
  } | undefined;
7157
7157
  signup?: {
7158
- status?: "required" | "optional" | "disabled" | undefined;
7158
+ status?: "optional" | "disabled" | "required" | undefined;
7159
7159
  } | undefined;
7160
7160
  validation?: {
7161
7161
  max_length?: number | undefined;
@@ -7172,7 +7172,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7172
7172
  active?: boolean | undefined;
7173
7173
  } | undefined;
7174
7174
  signup?: {
7175
- status?: "required" | "optional" | "disabled" | undefined;
7175
+ status?: "optional" | "disabled" | "required" | undefined;
7176
7176
  } | undefined;
7177
7177
  } | undefined;
7178
7178
  } | undefined;
@@ -7287,7 +7287,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7287
7287
  active?: boolean | undefined;
7288
7288
  } | undefined;
7289
7289
  signup?: {
7290
- status?: "required" | "optional" | "disabled" | undefined;
7290
+ status?: "optional" | "disabled" | "required" | undefined;
7291
7291
  verification?: {
7292
7292
  active?: boolean | undefined;
7293
7293
  } | undefined;
@@ -7304,7 +7304,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7304
7304
  active?: boolean | undefined;
7305
7305
  } | undefined;
7306
7306
  signup?: {
7307
- status?: "required" | "optional" | "disabled" | undefined;
7307
+ status?: "optional" | "disabled" | "required" | undefined;
7308
7308
  } | undefined;
7309
7309
  validation?: {
7310
7310
  max_length?: number | undefined;
@@ -7321,7 +7321,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7321
7321
  active?: boolean | undefined;
7322
7322
  } | undefined;
7323
7323
  signup?: {
7324
- status?: "required" | "optional" | "disabled" | undefined;
7324
+ status?: "optional" | "disabled" | "required" | undefined;
7325
7325
  } | undefined;
7326
7326
  } | undefined;
7327
7327
  } | undefined;
@@ -7466,7 +7466,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7466
7466
  active?: boolean | undefined;
7467
7467
  } | undefined;
7468
7468
  signup?: {
7469
- status?: "required" | "optional" | "disabled" | undefined;
7469
+ status?: "optional" | "disabled" | "required" | undefined;
7470
7470
  verification?: {
7471
7471
  active?: boolean | undefined;
7472
7472
  } | undefined;
@@ -7483,7 +7483,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7483
7483
  active?: boolean | undefined;
7484
7484
  } | undefined;
7485
7485
  signup?: {
7486
- status?: "required" | "optional" | "disabled" | undefined;
7486
+ status?: "optional" | "disabled" | "required" | undefined;
7487
7487
  } | undefined;
7488
7488
  validation?: {
7489
7489
  max_length?: number | undefined;
@@ -7500,7 +7500,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7500
7500
  active?: boolean | undefined;
7501
7501
  } | undefined;
7502
7502
  signup?: {
7503
- status?: "required" | "optional" | "disabled" | undefined;
7503
+ status?: "optional" | "disabled" | "required" | undefined;
7504
7504
  } | undefined;
7505
7505
  } | undefined;
7506
7506
  } | undefined;
@@ -7624,7 +7624,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7624
7624
  active?: boolean | undefined;
7625
7625
  } | undefined;
7626
7626
  signup?: {
7627
- status?: "required" | "optional" | "disabled" | undefined;
7627
+ status?: "optional" | "disabled" | "required" | undefined;
7628
7628
  verification?: {
7629
7629
  active?: boolean | undefined;
7630
7630
  } | undefined;
@@ -7641,7 +7641,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7641
7641
  active?: boolean | undefined;
7642
7642
  } | undefined;
7643
7643
  signup?: {
7644
- status?: "required" | "optional" | "disabled" | undefined;
7644
+ status?: "optional" | "disabled" | "required" | undefined;
7645
7645
  } | undefined;
7646
7646
  validation?: {
7647
7647
  max_length?: number | undefined;
@@ -7658,7 +7658,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7658
7658
  active?: boolean | undefined;
7659
7659
  } | undefined;
7660
7660
  signup?: {
7661
- status?: "required" | "optional" | "disabled" | undefined;
7661
+ status?: "optional" | "disabled" | "required" | undefined;
7662
7662
  } | undefined;
7663
7663
  } | undefined;
7664
7664
  } | undefined;
@@ -7774,7 +7774,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
7774
7774
  };
7775
7775
  } | {
7776
7776
  mode: "inline";
7777
- status: "success" | "error";
7777
+ status: "error" | "success";
7778
7778
  connection_id: string;
7779
7779
  connection_name: string;
7780
7780
  strategy: string;
@@ -8413,7 +8413,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8413
8413
  log_type: string;
8414
8414
  category: "user_action" | "admin_action" | "system" | "api";
8415
8415
  actor: {
8416
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
8416
+ type: "client_credentials" | "user" | "system" | "admin" | "api_key";
8417
8417
  id?: string | undefined;
8418
8418
  email?: string | undefined;
8419
8419
  org_id?: string | undefined;
@@ -8462,6 +8462,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8462
8462
  body?: import("hono/utils/types").JSONValue | undefined;
8463
8463
  } | undefined;
8464
8464
  connection?: string | undefined;
8465
+ connection_id?: string | undefined;
8466
+ client_name?: string | undefined;
8465
8467
  strategy?: string | undefined;
8466
8468
  strategy_type?: string | undefined;
8467
8469
  audience?: string | undefined;
@@ -8721,7 +8723,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8721
8723
  created_at: string;
8722
8724
  updated_at: string;
8723
8725
  name: string;
8724
- provider: "auth0" | "oidc" | "okta" | "cognito";
8726
+ provider: "auth0" | "cognito" | "okta" | "oidc";
8725
8727
  connection: string;
8726
8728
  enabled: boolean;
8727
8729
  credentials: {
@@ -8753,7 +8755,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8753
8755
  created_at: string;
8754
8756
  updated_at: string;
8755
8757
  name: string;
8756
- provider: "auth0" | "oidc" | "okta" | "cognito";
8758
+ provider: "auth0" | "cognito" | "okta" | "oidc";
8757
8759
  connection: string;
8758
8760
  enabled: boolean;
8759
8761
  credentials: {
@@ -8779,7 +8781,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8779
8781
  } & {
8780
8782
  json: {
8781
8783
  name: string;
8782
- provider: "auth0" | "oidc" | "okta" | "cognito";
8784
+ provider: "auth0" | "cognito" | "okta" | "oidc";
8783
8785
  connection: string;
8784
8786
  credentials: {
8785
8787
  domain: string;
@@ -8796,7 +8798,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8796
8798
  created_at: string;
8797
8799
  updated_at: string;
8798
8800
  name: string;
8799
- provider: "auth0" | "oidc" | "okta" | "cognito";
8801
+ provider: "auth0" | "cognito" | "okta" | "oidc";
8800
8802
  connection: string;
8801
8803
  enabled: boolean;
8802
8804
  credentials: {
@@ -8827,7 +8829,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8827
8829
  json: {
8828
8830
  id?: string | undefined;
8829
8831
  name?: string | undefined;
8830
- provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
8832
+ provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
8831
8833
  connection?: string | undefined;
8832
8834
  enabled?: boolean | undefined;
8833
8835
  credentials?: {
@@ -8843,7 +8845,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8843
8845
  created_at: string;
8844
8846
  updated_at: string;
8845
8847
  name: string;
8846
- provider: "auth0" | "oidc" | "okta" | "cognito";
8848
+ provider: "auth0" | "cognito" | "okta" | "oidc";
8847
8849
  connection: string;
8848
8850
  enabled: boolean;
8849
8851
  credentials: {
@@ -8891,7 +8893,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8891
8893
  [x: string]: import("hono/utils/types").JSONValue;
8892
8894
  };
8893
8895
  id: string;
8894
- status: "active" | "suspended" | "paused";
8896
+ status: "suspended" | "active" | "paused";
8895
8897
  filters?: {
8896
8898
  type: string;
8897
8899
  name: string;
@@ -8923,7 +8925,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8923
8925
  [x: string]: import("hono/utils/types").JSONValue;
8924
8926
  };
8925
8927
  id: string;
8926
- status: "active" | "suspended" | "paused";
8928
+ status: "suspended" | "active" | "paused";
8927
8929
  filters?: {
8928
8930
  type: string;
8929
8931
  name: string;
@@ -8948,7 +8950,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8948
8950
  name: string;
8949
8951
  type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
8950
8952
  sink: Record<string, unknown>;
8951
- status?: "active" | "suspended" | "paused" | undefined;
8953
+ status?: "suspended" | "active" | "paused" | undefined;
8952
8954
  filters?: {
8953
8955
  type: string;
8954
8956
  name: string;
@@ -8963,7 +8965,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8963
8965
  [x: string]: import("hono/utils/types").JSONValue;
8964
8966
  };
8965
8967
  id: string;
8966
- status: "active" | "suspended" | "paused";
8968
+ status: "suspended" | "active" | "paused";
8967
8969
  filters?: {
8968
8970
  type: string;
8969
8971
  name: string;
@@ -8998,7 +9000,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
8998
9000
  }[] | undefined;
8999
9001
  isPriority?: boolean | undefined;
9000
9002
  id?: string | undefined;
9001
- status?: "active" | "suspended" | "paused" | undefined;
9003
+ status?: "suspended" | "active" | "paused" | undefined;
9002
9004
  created_at?: string | undefined;
9003
9005
  updated_at?: string | undefined;
9004
9006
  };
@@ -9010,7 +9012,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
9010
9012
  [x: string]: import("hono/utils/types").JSONValue;
9011
9013
  };
9012
9014
  id: string;
9013
- status: "active" | "suspended" | "paused";
9015
+ status: "suspended" | "active" | "paused";
9014
9016
  filters?: {
9015
9017
  type: string;
9016
9018
  name: string;
@@ -10230,7 +10232,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10230
10232
  active?: boolean | undefined;
10231
10233
  } | undefined;
10232
10234
  signup?: {
10233
- status?: "required" | "optional" | "disabled" | undefined;
10235
+ status?: "optional" | "disabled" | "required" | undefined;
10234
10236
  verification?: {
10235
10237
  active?: boolean | undefined;
10236
10238
  } | undefined;
@@ -10247,7 +10249,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10247
10249
  active?: boolean | undefined;
10248
10250
  } | undefined;
10249
10251
  signup?: {
10250
- status?: "required" | "optional" | "disabled" | undefined;
10252
+ status?: "optional" | "disabled" | "required" | undefined;
10251
10253
  } | undefined;
10252
10254
  validation?: {
10253
10255
  max_length?: number | undefined;
@@ -10264,7 +10266,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10264
10266
  active?: boolean | undefined;
10265
10267
  } | undefined;
10266
10268
  signup?: {
10267
- status?: "required" | "optional" | "disabled" | undefined;
10269
+ status?: "optional" | "disabled" | "required" | undefined;
10268
10270
  } | undefined;
10269
10271
  } | undefined;
10270
10272
  } | undefined;
@@ -10384,7 +10386,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10384
10386
  active?: boolean | undefined;
10385
10387
  } | undefined;
10386
10388
  signup?: {
10387
- status?: "required" | "optional" | "disabled" | undefined;
10389
+ status?: "optional" | "disabled" | "required" | undefined;
10388
10390
  verification?: {
10389
10391
  active?: boolean | undefined;
10390
10392
  } | undefined;
@@ -10401,7 +10403,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10401
10403
  active?: boolean | undefined;
10402
10404
  } | undefined;
10403
10405
  signup?: {
10404
- status?: "required" | "optional" | "disabled" | undefined;
10406
+ status?: "optional" | "disabled" | "required" | undefined;
10405
10407
  } | undefined;
10406
10408
  validation?: {
10407
10409
  max_length?: number | undefined;
@@ -10418,7 +10420,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10418
10420
  active?: boolean | undefined;
10419
10421
  } | undefined;
10420
10422
  signup?: {
10421
- status?: "required" | "optional" | "disabled" | undefined;
10423
+ status?: "optional" | "disabled" | "required" | undefined;
10422
10424
  } | undefined;
10423
10425
  } | undefined;
10424
10426
  } | undefined;
@@ -12589,7 +12591,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12589
12591
  background_color: string;
12590
12592
  background_image_url: string;
12591
12593
  page_layout: "center" | "left" | "right";
12592
- logo_placement?: "none" | "widget" | "chip" | undefined;
12594
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12593
12595
  };
12594
12596
  widget: {
12595
12597
  header_text_alignment: "center" | "left" | "right";
@@ -12679,7 +12681,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12679
12681
  background_color: string;
12680
12682
  background_image_url: string;
12681
12683
  page_layout: "center" | "left" | "right";
12682
- logo_placement?: "none" | "widget" | "chip" | undefined;
12684
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12683
12685
  };
12684
12686
  widget: {
12685
12687
  header_text_alignment: "center" | "left" | "right";
@@ -12758,7 +12760,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12758
12760
  background_color: string;
12759
12761
  background_image_url: string;
12760
12762
  page_layout: "center" | "left" | "right";
12761
- logo_placement?: "none" | "widget" | "chip" | undefined;
12763
+ logo_placement?: "widget" | "none" | "chip" | undefined;
12762
12764
  };
12763
12765
  widget: {
12764
12766
  header_text_alignment: "center" | "left" | "right";
@@ -12881,7 +12883,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12881
12883
  };
12882
12884
  output: {};
12883
12885
  outputFormat: string;
12884
- status: 400;
12886
+ status: 204;
12885
12887
  } | {
12886
12888
  input: {
12887
12889
  header: {
@@ -12894,7 +12896,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12894
12896
  };
12895
12897
  output: {};
12896
12898
  outputFormat: string;
12897
- status: 204;
12899
+ status: 400;
12898
12900
  };
12899
12901
  };
12900
12902
  } & {
@@ -12920,7 +12922,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
12920
12922
  } & {
12921
12923
  json: {
12922
12924
  body?: string | undefined;
12923
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
12925
+ screen?: "password" | "signup" | "login" | "identifier" | undefined;
12924
12926
  branding?: {
12925
12927
  colors?: {
12926
12928
  primary: string;
@@ -13006,7 +13008,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13006
13008
  background_color: string;
13007
13009
  background_image_url: string;
13008
13010
  page_layout: "center" | "left" | "right";
13009
- logo_placement?: "none" | "widget" | "chip" | undefined;
13011
+ logo_placement?: "widget" | "none" | "chip" | undefined;
13010
13012
  } | undefined;
13011
13013
  widget?: {
13012
13014
  header_text_alignment: "center" | "left" | "right";
@@ -13164,7 +13166,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13164
13166
  output: {
13165
13167
  id: string;
13166
13168
  trigger_id: string;
13167
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
13169
+ status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
13168
13170
  results: {
13169
13171
  action_name: string;
13170
13172
  error: {
@@ -13211,7 +13213,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13211
13213
  logs: {
13212
13214
  action_name: string;
13213
13215
  lines: {
13214
- level: "error" | "log" | "info" | "warn" | "debug";
13216
+ level: "log" | "error" | "info" | "warn" | "debug";
13215
13217
  message: string;
13216
13218
  }[];
13217
13219
  }[];
@@ -13878,7 +13880,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
13878
13880
  args: import("hono/utils/types").JSONValue[];
13879
13881
  }[];
13880
13882
  logs: {
13881
- level: "error" | "log" | "info" | "warn" | "debug";
13883
+ level: "log" | "error" | "info" | "warn" | "debug";
13882
13884
  message: string;
13883
13885
  }[];
13884
13886
  error?: string | undefined;