authhero 9.2.0 → 9.3.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 (42) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +143 -143
  3. package/dist/authhero.d.ts +305 -231
  4. package/dist/authhero.mjs +13637 -14012
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  7. package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
  8. package/dist/types/index.d.ts +305 -231
  9. package/dist/types/oauth2-client/client.d.ts +50 -0
  10. package/dist/types/oauth2-client/index.d.ts +3 -0
  11. package/dist/types/oauth2-client/providers.d.ts +49 -0
  12. package/dist/types/routes/auth-api/index.d.ts +29 -29
  13. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  14. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  15. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  16. package/dist/types/routes/auth-api/token.d.ts +10 -10
  17. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  18. package/dist/types/routes/management-api/actions.d.ts +1 -1
  19. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  20. package/dist/types/routes/management-api/branding.d.ts +3 -3
  21. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  22. package/dist/types/routes/management-api/clients.d.ts +14 -14
  23. package/dist/types/routes/management-api/connections.d.ts +16 -16
  24. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  25. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  26. package/dist/types/routes/management-api/forms.d.ts +126 -126
  27. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  28. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  29. package/dist/types/routes/management-api/hooks.d.ts +74 -0
  30. package/dist/types/routes/management-api/index.d.ts +261 -187
  31. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  32. package/dist/types/routes/management-api/tenants.d.ts +28 -28
  33. package/dist/types/routes/universal-login/common.d.ts +8 -8
  34. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  35. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  36. package/dist/types/routes/universal-login/identifier.d.ts +4 -4
  37. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  38. package/dist/types/routes/universal-login/index.d.ts +8 -8
  39. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  40. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  41. package/dist/types/strategies/internal-oauth2.d.ts +5 -5
  42. package/package.json +6 -7
@@ -168,7 +168,7 @@ export declare function init(config: AuthHeroConfig): {
168
168
  };
169
169
  } & {
170
170
  json: {
171
- type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
171
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
172
172
  phone_number?: string | undefined;
173
173
  totp_secret?: string | undefined;
174
174
  credential_id?: string | undefined;
@@ -308,7 +308,7 @@ export declare function init(config: AuthHeroConfig): {
308
308
  };
309
309
  };
310
310
  output: {
311
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
311
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
312
312
  enabled: boolean;
313
313
  trial_expired?: boolean | undefined;
314
314
  }[];
@@ -463,7 +463,7 @@ export declare function init(config: AuthHeroConfig): {
463
463
  $get: {
464
464
  input: {
465
465
  param: {
466
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
466
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
467
467
  };
468
468
  } & {
469
469
  header: {
@@ -471,7 +471,7 @@ export declare function init(config: AuthHeroConfig): {
471
471
  };
472
472
  };
473
473
  output: {
474
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
474
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
475
475
  enabled: boolean;
476
476
  trial_expired?: boolean | undefined;
477
477
  };
@@ -484,7 +484,7 @@ export declare function init(config: AuthHeroConfig): {
484
484
  $put: {
485
485
  input: {
486
486
  param: {
487
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
487
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
488
488
  };
489
489
  } & {
490
490
  header: {
@@ -496,7 +496,7 @@ export declare function init(config: AuthHeroConfig): {
496
496
  };
497
497
  };
498
498
  output: {
499
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
499
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
500
500
  enabled: boolean;
501
501
  trial_expired?: boolean | undefined;
502
502
  };
@@ -2760,7 +2760,7 @@ export declare function init(config: AuthHeroConfig): {
2760
2760
  hint?: string | undefined;
2761
2761
  messages?: {
2762
2762
  text: string;
2763
- type: "error" | "success" | "info" | "warning";
2763
+ type: "success" | "error" | "info" | "warning";
2764
2764
  id?: number | undefined;
2765
2765
  }[] | undefined;
2766
2766
  required?: boolean | undefined;
@@ -2778,7 +2778,7 @@ export declare function init(config: AuthHeroConfig): {
2778
2778
  hint?: string | undefined;
2779
2779
  messages?: {
2780
2780
  text: string;
2781
- type: "error" | "success" | "info" | "warning";
2781
+ type: "success" | "error" | "info" | "warning";
2782
2782
  id?: number | undefined;
2783
2783
  }[] | undefined;
2784
2784
  required?: boolean | undefined;
@@ -2802,7 +2802,7 @@ export declare function init(config: AuthHeroConfig): {
2802
2802
  hint?: string | undefined;
2803
2803
  messages?: {
2804
2804
  text: string;
2805
- type: "error" | "success" | "info" | "warning";
2805
+ type: "success" | "error" | "info" | "warning";
2806
2806
  id?: number | undefined;
2807
2807
  }[] | undefined;
2808
2808
  required?: boolean | undefined;
@@ -2826,7 +2826,7 @@ export declare function init(config: AuthHeroConfig): {
2826
2826
  hint?: string | undefined;
2827
2827
  messages?: {
2828
2828
  text: string;
2829
- type: "error" | "success" | "info" | "warning";
2829
+ type: "success" | "error" | "info" | "warning";
2830
2830
  id?: number | undefined;
2831
2831
  }[] | undefined;
2832
2832
  required?: boolean | undefined;
@@ -2850,7 +2850,7 @@ export declare function init(config: AuthHeroConfig): {
2850
2850
  hint?: string | undefined;
2851
2851
  messages?: {
2852
2852
  text: string;
2853
- type: "error" | "success" | "info" | "warning";
2853
+ type: "success" | "error" | "info" | "warning";
2854
2854
  id?: number | undefined;
2855
2855
  }[] | undefined;
2856
2856
  required?: boolean | undefined;
@@ -2879,7 +2879,7 @@ export declare function init(config: AuthHeroConfig): {
2879
2879
  hint?: string | undefined;
2880
2880
  messages?: {
2881
2881
  text: string;
2882
- type: "error" | "success" | "info" | "warning";
2882
+ type: "success" | "error" | "info" | "warning";
2883
2883
  id?: number | undefined;
2884
2884
  }[] | undefined;
2885
2885
  required?: boolean | undefined;
@@ -2894,7 +2894,7 @@ export declare function init(config: AuthHeroConfig): {
2894
2894
  hint?: string | undefined;
2895
2895
  messages?: {
2896
2896
  text: string;
2897
- type: "error" | "success" | "info" | "warning";
2897
+ type: "success" | "error" | "info" | "warning";
2898
2898
  id?: number | undefined;
2899
2899
  }[] | undefined;
2900
2900
  required?: boolean | undefined;
@@ -2915,7 +2915,7 @@ export declare function init(config: AuthHeroConfig): {
2915
2915
  hint?: string | undefined;
2916
2916
  messages?: {
2917
2917
  text: string;
2918
- type: "error" | "success" | "info" | "warning";
2918
+ type: "success" | "error" | "info" | "warning";
2919
2919
  id?: number | undefined;
2920
2920
  }[] | undefined;
2921
2921
  required?: boolean | undefined;
@@ -2940,7 +2940,7 @@ export declare function init(config: AuthHeroConfig): {
2940
2940
  hint?: string | undefined;
2941
2941
  messages?: {
2942
2942
  text: string;
2943
- type: "error" | "success" | "info" | "warning";
2943
+ type: "success" | "error" | "info" | "warning";
2944
2944
  id?: number | undefined;
2945
2945
  }[] | undefined;
2946
2946
  required?: boolean | undefined;
@@ -2961,7 +2961,7 @@ export declare function init(config: AuthHeroConfig): {
2961
2961
  hint?: string | undefined;
2962
2962
  messages?: {
2963
2963
  text: string;
2964
- type: "error" | "success" | "info" | "warning";
2964
+ type: "success" | "error" | "info" | "warning";
2965
2965
  id?: number | undefined;
2966
2966
  }[] | undefined;
2967
2967
  required?: boolean | undefined;
@@ -2981,7 +2981,7 @@ export declare function init(config: AuthHeroConfig): {
2981
2981
  hint?: string | undefined;
2982
2982
  messages?: {
2983
2983
  text: string;
2984
- type: "error" | "success" | "info" | "warning";
2984
+ type: "success" | "error" | "info" | "warning";
2985
2985
  id?: number | undefined;
2986
2986
  }[] | undefined;
2987
2987
  required?: boolean | undefined;
@@ -3000,7 +3000,7 @@ export declare function init(config: AuthHeroConfig): {
3000
3000
  hint?: string | undefined;
3001
3001
  messages?: {
3002
3002
  text: string;
3003
- type: "error" | "success" | "info" | "warning";
3003
+ type: "success" | "error" | "info" | "warning";
3004
3004
  id?: number | undefined;
3005
3005
  }[] | undefined;
3006
3006
  required?: boolean | undefined;
@@ -3022,7 +3022,7 @@ export declare function init(config: AuthHeroConfig): {
3022
3022
  hint?: string | undefined;
3023
3023
  messages?: {
3024
3024
  text: string;
3025
- type: "error" | "success" | "info" | "warning";
3025
+ type: "success" | "error" | "info" | "warning";
3026
3026
  id?: number | undefined;
3027
3027
  }[] | undefined;
3028
3028
  required?: boolean | undefined;
@@ -3044,7 +3044,7 @@ export declare function init(config: AuthHeroConfig): {
3044
3044
  hint?: string | undefined;
3045
3045
  messages?: {
3046
3046
  text: string;
3047
- type: "error" | "success" | "info" | "warning";
3047
+ type: "success" | "error" | "info" | "warning";
3048
3048
  id?: number | undefined;
3049
3049
  }[] | undefined;
3050
3050
  required?: boolean | undefined;
@@ -3063,7 +3063,7 @@ export declare function init(config: AuthHeroConfig): {
3063
3063
  hint?: string | undefined;
3064
3064
  messages?: {
3065
3065
  text: string;
3066
- type: "error" | "success" | "info" | "warning";
3066
+ type: "success" | "error" | "info" | "warning";
3067
3067
  id?: number | undefined;
3068
3068
  }[] | undefined;
3069
3069
  required?: boolean | undefined;
@@ -3090,7 +3090,7 @@ export declare function init(config: AuthHeroConfig): {
3090
3090
  hint?: string | undefined;
3091
3091
  messages?: {
3092
3092
  text: string;
3093
- type: "error" | "success" | "info" | "warning";
3093
+ type: "success" | "error" | "info" | "warning";
3094
3094
  id?: number | undefined;
3095
3095
  }[] | undefined;
3096
3096
  required?: boolean | undefined;
@@ -3111,7 +3111,7 @@ export declare function init(config: AuthHeroConfig): {
3111
3111
  hint?: string | undefined;
3112
3112
  messages?: {
3113
3113
  text: string;
3114
- type: "error" | "success" | "info" | "warning";
3114
+ type: "success" | "error" | "info" | "warning";
3115
3115
  id?: number | undefined;
3116
3116
  }[] | undefined;
3117
3117
  required?: boolean | undefined;
@@ -3134,7 +3134,7 @@ export declare function init(config: AuthHeroConfig): {
3134
3134
  hint?: string | undefined;
3135
3135
  messages?: {
3136
3136
  text: string;
3137
- type: "error" | "success" | "info" | "warning";
3137
+ type: "success" | "error" | "info" | "warning";
3138
3138
  id?: number | undefined;
3139
3139
  }[] | undefined;
3140
3140
  required?: boolean | undefined;
@@ -3367,7 +3367,7 @@ export declare function init(config: AuthHeroConfig): {
3367
3367
  hint?: string | undefined;
3368
3368
  messages?: {
3369
3369
  text: string;
3370
- type: "error" | "success" | "info" | "warning";
3370
+ type: "success" | "error" | "info" | "warning";
3371
3371
  id?: number | undefined;
3372
3372
  }[] | undefined;
3373
3373
  required?: boolean | undefined;
@@ -3385,7 +3385,7 @@ export declare function init(config: AuthHeroConfig): {
3385
3385
  hint?: string | undefined;
3386
3386
  messages?: {
3387
3387
  text: string;
3388
- type: "error" | "success" | "info" | "warning";
3388
+ type: "success" | "error" | "info" | "warning";
3389
3389
  id?: number | undefined;
3390
3390
  }[] | undefined;
3391
3391
  required?: boolean | undefined;
@@ -3409,7 +3409,7 @@ export declare function init(config: AuthHeroConfig): {
3409
3409
  hint?: string | undefined;
3410
3410
  messages?: {
3411
3411
  text: string;
3412
- type: "error" | "success" | "info" | "warning";
3412
+ type: "success" | "error" | "info" | "warning";
3413
3413
  id?: number | undefined;
3414
3414
  }[] | undefined;
3415
3415
  required?: boolean | undefined;
@@ -3433,7 +3433,7 @@ export declare function init(config: AuthHeroConfig): {
3433
3433
  hint?: string | undefined;
3434
3434
  messages?: {
3435
3435
  text: string;
3436
- type: "error" | "success" | "info" | "warning";
3436
+ type: "success" | "error" | "info" | "warning";
3437
3437
  id?: number | undefined;
3438
3438
  }[] | undefined;
3439
3439
  required?: boolean | undefined;
@@ -3457,7 +3457,7 @@ export declare function init(config: AuthHeroConfig): {
3457
3457
  hint?: string | undefined;
3458
3458
  messages?: {
3459
3459
  text: string;
3460
- type: "error" | "success" | "info" | "warning";
3460
+ type: "success" | "error" | "info" | "warning";
3461
3461
  id?: number | undefined;
3462
3462
  }[] | undefined;
3463
3463
  required?: boolean | undefined;
@@ -3486,7 +3486,7 @@ export declare function init(config: AuthHeroConfig): {
3486
3486
  hint?: string | undefined;
3487
3487
  messages?: {
3488
3488
  text: string;
3489
- type: "error" | "success" | "info" | "warning";
3489
+ type: "success" | "error" | "info" | "warning";
3490
3490
  id?: number | undefined;
3491
3491
  }[] | undefined;
3492
3492
  required?: boolean | undefined;
@@ -3501,7 +3501,7 @@ export declare function init(config: AuthHeroConfig): {
3501
3501
  hint?: string | undefined;
3502
3502
  messages?: {
3503
3503
  text: string;
3504
- type: "error" | "success" | "info" | "warning";
3504
+ type: "success" | "error" | "info" | "warning";
3505
3505
  id?: number | undefined;
3506
3506
  }[] | undefined;
3507
3507
  required?: boolean | undefined;
@@ -3522,7 +3522,7 @@ export declare function init(config: AuthHeroConfig): {
3522
3522
  hint?: string | undefined;
3523
3523
  messages?: {
3524
3524
  text: string;
3525
- type: "error" | "success" | "info" | "warning";
3525
+ type: "success" | "error" | "info" | "warning";
3526
3526
  id?: number | undefined;
3527
3527
  }[] | undefined;
3528
3528
  required?: boolean | undefined;
@@ -3547,7 +3547,7 @@ export declare function init(config: AuthHeroConfig): {
3547
3547
  hint?: string | undefined;
3548
3548
  messages?: {
3549
3549
  text: string;
3550
- type: "error" | "success" | "info" | "warning";
3550
+ type: "success" | "error" | "info" | "warning";
3551
3551
  id?: number | undefined;
3552
3552
  }[] | undefined;
3553
3553
  required?: boolean | undefined;
@@ -3568,7 +3568,7 @@ export declare function init(config: AuthHeroConfig): {
3568
3568
  hint?: string | undefined;
3569
3569
  messages?: {
3570
3570
  text: string;
3571
- type: "error" | "success" | "info" | "warning";
3571
+ type: "success" | "error" | "info" | "warning";
3572
3572
  id?: number | undefined;
3573
3573
  }[] | undefined;
3574
3574
  required?: boolean | undefined;
@@ -3588,7 +3588,7 @@ export declare function init(config: AuthHeroConfig): {
3588
3588
  hint?: string | undefined;
3589
3589
  messages?: {
3590
3590
  text: string;
3591
- type: "error" | "success" | "info" | "warning";
3591
+ type: "success" | "error" | "info" | "warning";
3592
3592
  id?: number | undefined;
3593
3593
  }[] | undefined;
3594
3594
  required?: boolean | undefined;
@@ -3607,7 +3607,7 @@ export declare function init(config: AuthHeroConfig): {
3607
3607
  hint?: string | undefined;
3608
3608
  messages?: {
3609
3609
  text: string;
3610
- type: "error" | "success" | "info" | "warning";
3610
+ type: "success" | "error" | "info" | "warning";
3611
3611
  id?: number | undefined;
3612
3612
  }[] | undefined;
3613
3613
  required?: boolean | undefined;
@@ -3629,7 +3629,7 @@ export declare function init(config: AuthHeroConfig): {
3629
3629
  hint?: string | undefined;
3630
3630
  messages?: {
3631
3631
  text: string;
3632
- type: "error" | "success" | "info" | "warning";
3632
+ type: "success" | "error" | "info" | "warning";
3633
3633
  id?: number | undefined;
3634
3634
  }[] | undefined;
3635
3635
  required?: boolean | undefined;
@@ -3651,7 +3651,7 @@ export declare function init(config: AuthHeroConfig): {
3651
3651
  hint?: string | undefined;
3652
3652
  messages?: {
3653
3653
  text: string;
3654
- type: "error" | "success" | "info" | "warning";
3654
+ type: "success" | "error" | "info" | "warning";
3655
3655
  id?: number | undefined;
3656
3656
  }[] | undefined;
3657
3657
  required?: boolean | undefined;
@@ -3670,7 +3670,7 @@ export declare function init(config: AuthHeroConfig): {
3670
3670
  hint?: string | undefined;
3671
3671
  messages?: {
3672
3672
  text: string;
3673
- type: "error" | "success" | "info" | "warning";
3673
+ type: "success" | "error" | "info" | "warning";
3674
3674
  id?: number | undefined;
3675
3675
  }[] | undefined;
3676
3676
  required?: boolean | undefined;
@@ -3697,7 +3697,7 @@ export declare function init(config: AuthHeroConfig): {
3697
3697
  hint?: string | undefined;
3698
3698
  messages?: {
3699
3699
  text: string;
3700
- type: "error" | "success" | "info" | "warning";
3700
+ type: "success" | "error" | "info" | "warning";
3701
3701
  id?: number | undefined;
3702
3702
  }[] | undefined;
3703
3703
  required?: boolean | undefined;
@@ -3718,7 +3718,7 @@ export declare function init(config: AuthHeroConfig): {
3718
3718
  hint?: string | undefined;
3719
3719
  messages?: {
3720
3720
  text: string;
3721
- type: "error" | "success" | "info" | "warning";
3721
+ type: "success" | "error" | "info" | "warning";
3722
3722
  id?: number | undefined;
3723
3723
  }[] | undefined;
3724
3724
  required?: boolean | undefined;
@@ -3741,7 +3741,7 @@ export declare function init(config: AuthHeroConfig): {
3741
3741
  hint?: string | undefined;
3742
3742
  messages?: {
3743
3743
  text: string;
3744
- type: "error" | "success" | "info" | "warning";
3744
+ type: "success" | "error" | "info" | "warning";
3745
3745
  id?: number | undefined;
3746
3746
  }[] | undefined;
3747
3747
  required?: boolean | undefined;
@@ -3990,7 +3990,7 @@ export declare function init(config: AuthHeroConfig): {
3990
3990
  hint?: string | undefined;
3991
3991
  messages?: {
3992
3992
  text: string;
3993
- type: "error" | "success" | "info" | "warning";
3993
+ type: "success" | "error" | "info" | "warning";
3994
3994
  id?: number | undefined;
3995
3995
  }[] | undefined;
3996
3996
  required?: boolean | undefined;
@@ -4008,7 +4008,7 @@ export declare function init(config: AuthHeroConfig): {
4008
4008
  hint?: string | undefined;
4009
4009
  messages?: {
4010
4010
  text: string;
4011
- type: "error" | "success" | "info" | "warning";
4011
+ type: "success" | "error" | "info" | "warning";
4012
4012
  id?: number | undefined;
4013
4013
  }[] | undefined;
4014
4014
  required?: boolean | undefined;
@@ -4032,7 +4032,7 @@ export declare function init(config: AuthHeroConfig): {
4032
4032
  hint?: string | undefined;
4033
4033
  messages?: {
4034
4034
  text: string;
4035
- type: "error" | "success" | "info" | "warning";
4035
+ type: "success" | "error" | "info" | "warning";
4036
4036
  id?: number | undefined;
4037
4037
  }[] | undefined;
4038
4038
  required?: boolean | undefined;
@@ -4056,7 +4056,7 @@ export declare function init(config: AuthHeroConfig): {
4056
4056
  hint?: string | undefined;
4057
4057
  messages?: {
4058
4058
  text: string;
4059
- type: "error" | "success" | "info" | "warning";
4059
+ type: "success" | "error" | "info" | "warning";
4060
4060
  id?: number | undefined;
4061
4061
  }[] | undefined;
4062
4062
  required?: boolean | undefined;
@@ -4080,7 +4080,7 @@ export declare function init(config: AuthHeroConfig): {
4080
4080
  hint?: string | undefined;
4081
4081
  messages?: {
4082
4082
  text: string;
4083
- type: "error" | "success" | "info" | "warning";
4083
+ type: "success" | "error" | "info" | "warning";
4084
4084
  id?: number | undefined;
4085
4085
  }[] | undefined;
4086
4086
  required?: boolean | undefined;
@@ -4109,7 +4109,7 @@ export declare function init(config: AuthHeroConfig): {
4109
4109
  hint?: string | undefined;
4110
4110
  messages?: {
4111
4111
  text: string;
4112
- type: "error" | "success" | "info" | "warning";
4112
+ type: "success" | "error" | "info" | "warning";
4113
4113
  id?: number | undefined;
4114
4114
  }[] | undefined;
4115
4115
  required?: boolean | undefined;
@@ -4124,7 +4124,7 @@ export declare function init(config: AuthHeroConfig): {
4124
4124
  hint?: string | undefined;
4125
4125
  messages?: {
4126
4126
  text: string;
4127
- type: "error" | "success" | "info" | "warning";
4127
+ type: "success" | "error" | "info" | "warning";
4128
4128
  id?: number | undefined;
4129
4129
  }[] | undefined;
4130
4130
  required?: boolean | undefined;
@@ -4145,7 +4145,7 @@ export declare function init(config: AuthHeroConfig): {
4145
4145
  hint?: string | undefined;
4146
4146
  messages?: {
4147
4147
  text: string;
4148
- type: "error" | "success" | "info" | "warning";
4148
+ type: "success" | "error" | "info" | "warning";
4149
4149
  id?: number | undefined;
4150
4150
  }[] | undefined;
4151
4151
  required?: boolean | undefined;
@@ -4170,7 +4170,7 @@ export declare function init(config: AuthHeroConfig): {
4170
4170
  hint?: string | undefined;
4171
4171
  messages?: {
4172
4172
  text: string;
4173
- type: "error" | "success" | "info" | "warning";
4173
+ type: "success" | "error" | "info" | "warning";
4174
4174
  id?: number | undefined;
4175
4175
  }[] | undefined;
4176
4176
  required?: boolean | undefined;
@@ -4191,7 +4191,7 @@ export declare function init(config: AuthHeroConfig): {
4191
4191
  hint?: string | undefined;
4192
4192
  messages?: {
4193
4193
  text: string;
4194
- type: "error" | "success" | "info" | "warning";
4194
+ type: "success" | "error" | "info" | "warning";
4195
4195
  id?: number | undefined;
4196
4196
  }[] | undefined;
4197
4197
  required?: boolean | undefined;
@@ -4211,7 +4211,7 @@ export declare function init(config: AuthHeroConfig): {
4211
4211
  hint?: string | undefined;
4212
4212
  messages?: {
4213
4213
  text: string;
4214
- type: "error" | "success" | "info" | "warning";
4214
+ type: "success" | "error" | "info" | "warning";
4215
4215
  id?: number | undefined;
4216
4216
  }[] | undefined;
4217
4217
  required?: boolean | undefined;
@@ -4230,7 +4230,7 @@ export declare function init(config: AuthHeroConfig): {
4230
4230
  hint?: string | undefined;
4231
4231
  messages?: {
4232
4232
  text: string;
4233
- type: "error" | "success" | "info" | "warning";
4233
+ type: "success" | "error" | "info" | "warning";
4234
4234
  id?: number | undefined;
4235
4235
  }[] | undefined;
4236
4236
  required?: boolean | undefined;
@@ -4252,7 +4252,7 @@ export declare function init(config: AuthHeroConfig): {
4252
4252
  hint?: string | undefined;
4253
4253
  messages?: {
4254
4254
  text: string;
4255
- type: "error" | "success" | "info" | "warning";
4255
+ type: "success" | "error" | "info" | "warning";
4256
4256
  id?: number | undefined;
4257
4257
  }[] | undefined;
4258
4258
  required?: boolean | undefined;
@@ -4274,7 +4274,7 @@ export declare function init(config: AuthHeroConfig): {
4274
4274
  hint?: string | undefined;
4275
4275
  messages?: {
4276
4276
  text: string;
4277
- type: "error" | "success" | "info" | "warning";
4277
+ type: "success" | "error" | "info" | "warning";
4278
4278
  id?: number | undefined;
4279
4279
  }[] | undefined;
4280
4280
  required?: boolean | undefined;
@@ -4293,7 +4293,7 @@ export declare function init(config: AuthHeroConfig): {
4293
4293
  hint?: string | undefined;
4294
4294
  messages?: {
4295
4295
  text: string;
4296
- type: "error" | "success" | "info" | "warning";
4296
+ type: "success" | "error" | "info" | "warning";
4297
4297
  id?: number | undefined;
4298
4298
  }[] | undefined;
4299
4299
  required?: boolean | undefined;
@@ -4320,7 +4320,7 @@ export declare function init(config: AuthHeroConfig): {
4320
4320
  hint?: string | undefined;
4321
4321
  messages?: {
4322
4322
  text: string;
4323
- type: "error" | "success" | "info" | "warning";
4323
+ type: "success" | "error" | "info" | "warning";
4324
4324
  id?: number | undefined;
4325
4325
  }[] | undefined;
4326
4326
  required?: boolean | undefined;
@@ -4341,7 +4341,7 @@ export declare function init(config: AuthHeroConfig): {
4341
4341
  hint?: string | undefined;
4342
4342
  messages?: {
4343
4343
  text: string;
4344
- type: "error" | "success" | "info" | "warning";
4344
+ type: "success" | "error" | "info" | "warning";
4345
4345
  id?: number | undefined;
4346
4346
  }[] | undefined;
4347
4347
  required?: boolean | undefined;
@@ -4364,7 +4364,7 @@ export declare function init(config: AuthHeroConfig): {
4364
4364
  hint?: string | undefined;
4365
4365
  messages?: {
4366
4366
  text: string;
4367
- type: "error" | "success" | "info" | "warning";
4367
+ type: "success" | "error" | "info" | "warning";
4368
4368
  id?: number | undefined;
4369
4369
  }[] | undefined;
4370
4370
  required?: boolean | undefined;
@@ -4618,7 +4618,7 @@ export declare function init(config: AuthHeroConfig): {
4618
4618
  hint?: string | undefined;
4619
4619
  messages?: {
4620
4620
  text: string;
4621
- type: "error" | "success" | "info" | "warning";
4621
+ type: "success" | "error" | "info" | "warning";
4622
4622
  id?: number | undefined;
4623
4623
  }[] | undefined;
4624
4624
  required?: boolean | undefined;
@@ -4636,7 +4636,7 @@ export declare function init(config: AuthHeroConfig): {
4636
4636
  hint?: string | undefined;
4637
4637
  messages?: {
4638
4638
  text: string;
4639
- type: "error" | "success" | "info" | "warning";
4639
+ type: "success" | "error" | "info" | "warning";
4640
4640
  id?: number | undefined;
4641
4641
  }[] | undefined;
4642
4642
  required?: boolean | undefined;
@@ -4660,7 +4660,7 @@ export declare function init(config: AuthHeroConfig): {
4660
4660
  hint?: string | undefined;
4661
4661
  messages?: {
4662
4662
  text: string;
4663
- type: "error" | "success" | "info" | "warning";
4663
+ type: "success" | "error" | "info" | "warning";
4664
4664
  id?: number | undefined;
4665
4665
  }[] | undefined;
4666
4666
  required?: boolean | undefined;
@@ -4684,7 +4684,7 @@ export declare function init(config: AuthHeroConfig): {
4684
4684
  hint?: string | undefined;
4685
4685
  messages?: {
4686
4686
  text: string;
4687
- type: "error" | "success" | "info" | "warning";
4687
+ type: "success" | "error" | "info" | "warning";
4688
4688
  id?: number | undefined;
4689
4689
  }[] | undefined;
4690
4690
  required?: boolean | undefined;
@@ -4708,7 +4708,7 @@ export declare function init(config: AuthHeroConfig): {
4708
4708
  hint?: string | undefined;
4709
4709
  messages?: {
4710
4710
  text: string;
4711
- type: "error" | "success" | "info" | "warning";
4711
+ type: "success" | "error" | "info" | "warning";
4712
4712
  id?: number | undefined;
4713
4713
  }[] | undefined;
4714
4714
  required?: boolean | undefined;
@@ -4733,7 +4733,7 @@ export declare function init(config: AuthHeroConfig): {
4733
4733
  hint?: string | undefined;
4734
4734
  messages?: {
4735
4735
  text: string;
4736
- type: "error" | "success" | "info" | "warning";
4736
+ type: "success" | "error" | "info" | "warning";
4737
4737
  id?: number | undefined;
4738
4738
  }[] | undefined;
4739
4739
  required?: boolean | undefined;
@@ -4748,7 +4748,7 @@ export declare function init(config: AuthHeroConfig): {
4748
4748
  hint?: string | undefined;
4749
4749
  messages?: {
4750
4750
  text: string;
4751
- type: "error" | "success" | "info" | "warning";
4751
+ type: "success" | "error" | "info" | "warning";
4752
4752
  id?: number | undefined;
4753
4753
  }[] | undefined;
4754
4754
  required?: boolean | undefined;
@@ -4769,7 +4769,7 @@ export declare function init(config: AuthHeroConfig): {
4769
4769
  hint?: string | undefined;
4770
4770
  messages?: {
4771
4771
  text: string;
4772
- type: "error" | "success" | "info" | "warning";
4772
+ type: "success" | "error" | "info" | "warning";
4773
4773
  id?: number | undefined;
4774
4774
  }[] | undefined;
4775
4775
  required?: boolean | undefined;
@@ -4794,7 +4794,7 @@ export declare function init(config: AuthHeroConfig): {
4794
4794
  hint?: string | undefined;
4795
4795
  messages?: {
4796
4796
  text: string;
4797
- type: "error" | "success" | "info" | "warning";
4797
+ type: "success" | "error" | "info" | "warning";
4798
4798
  id?: number | undefined;
4799
4799
  }[] | undefined;
4800
4800
  required?: boolean | undefined;
@@ -4815,7 +4815,7 @@ export declare function init(config: AuthHeroConfig): {
4815
4815
  hint?: string | undefined;
4816
4816
  messages?: {
4817
4817
  text: string;
4818
- type: "error" | "success" | "info" | "warning";
4818
+ type: "success" | "error" | "info" | "warning";
4819
4819
  id?: number | undefined;
4820
4820
  }[] | undefined;
4821
4821
  required?: boolean | undefined;
@@ -4835,7 +4835,7 @@ export declare function init(config: AuthHeroConfig): {
4835
4835
  hint?: string | undefined;
4836
4836
  messages?: {
4837
4837
  text: string;
4838
- type: "error" | "success" | "info" | "warning";
4838
+ type: "success" | "error" | "info" | "warning";
4839
4839
  id?: number | undefined;
4840
4840
  }[] | undefined;
4841
4841
  required?: boolean | undefined;
@@ -4854,7 +4854,7 @@ export declare function init(config: AuthHeroConfig): {
4854
4854
  hint?: string | undefined;
4855
4855
  messages?: {
4856
4856
  text: string;
4857
- type: "error" | "success" | "info" | "warning";
4857
+ type: "success" | "error" | "info" | "warning";
4858
4858
  id?: number | undefined;
4859
4859
  }[] | undefined;
4860
4860
  required?: boolean | undefined;
@@ -4876,7 +4876,7 @@ export declare function init(config: AuthHeroConfig): {
4876
4876
  hint?: string | undefined;
4877
4877
  messages?: {
4878
4878
  text: string;
4879
- type: "error" | "success" | "info" | "warning";
4879
+ type: "success" | "error" | "info" | "warning";
4880
4880
  id?: number | undefined;
4881
4881
  }[] | undefined;
4882
4882
  required?: boolean | undefined;
@@ -4898,7 +4898,7 @@ export declare function init(config: AuthHeroConfig): {
4898
4898
  hint?: string | undefined;
4899
4899
  messages?: {
4900
4900
  text: string;
4901
- type: "error" | "success" | "info" | "warning";
4901
+ type: "success" | "error" | "info" | "warning";
4902
4902
  id?: number | undefined;
4903
4903
  }[] | undefined;
4904
4904
  required?: boolean | undefined;
@@ -4917,7 +4917,7 @@ export declare function init(config: AuthHeroConfig): {
4917
4917
  hint?: string | undefined;
4918
4918
  messages?: {
4919
4919
  text: string;
4920
- type: "error" | "success" | "info" | "warning";
4920
+ type: "success" | "error" | "info" | "warning";
4921
4921
  id?: number | undefined;
4922
4922
  }[] | undefined;
4923
4923
  required?: boolean | undefined;
@@ -4944,7 +4944,7 @@ export declare function init(config: AuthHeroConfig): {
4944
4944
  hint?: string | undefined;
4945
4945
  messages?: {
4946
4946
  text: string;
4947
- type: "error" | "success" | "info" | "warning";
4947
+ type: "success" | "error" | "info" | "warning";
4948
4948
  id?: number | undefined;
4949
4949
  }[] | undefined;
4950
4950
  required?: boolean | undefined;
@@ -4965,7 +4965,7 @@ export declare function init(config: AuthHeroConfig): {
4965
4965
  hint?: string | undefined;
4966
4966
  messages?: {
4967
4967
  text: string;
4968
- type: "error" | "success" | "info" | "warning";
4968
+ type: "success" | "error" | "info" | "warning";
4969
4969
  id?: number | undefined;
4970
4970
  }[] | undefined;
4971
4971
  required?: boolean | undefined;
@@ -4988,7 +4988,7 @@ export declare function init(config: AuthHeroConfig): {
4988
4988
  hint?: string | undefined;
4989
4989
  messages?: {
4990
4990
  text: string;
4991
- type: "error" | "success" | "info" | "warning";
4991
+ type: "success" | "error" | "info" | "warning";
4992
4992
  id?: number | undefined;
4993
4993
  }[] | undefined;
4994
4994
  required?: boolean | undefined;
@@ -5219,7 +5219,7 @@ export declare function init(config: AuthHeroConfig): {
5219
5219
  hint?: string | undefined;
5220
5220
  messages?: {
5221
5221
  text: string;
5222
- type: "error" | "success" | "info" | "warning";
5222
+ type: "success" | "error" | "info" | "warning";
5223
5223
  id?: number | undefined;
5224
5224
  }[] | undefined;
5225
5225
  required?: boolean | undefined;
@@ -5237,7 +5237,7 @@ export declare function init(config: AuthHeroConfig): {
5237
5237
  hint?: string | undefined;
5238
5238
  messages?: {
5239
5239
  text: string;
5240
- type: "error" | "success" | "info" | "warning";
5240
+ type: "success" | "error" | "info" | "warning";
5241
5241
  id?: number | undefined;
5242
5242
  }[] | undefined;
5243
5243
  required?: boolean | undefined;
@@ -5261,7 +5261,7 @@ export declare function init(config: AuthHeroConfig): {
5261
5261
  hint?: string | undefined;
5262
5262
  messages?: {
5263
5263
  text: string;
5264
- type: "error" | "success" | "info" | "warning";
5264
+ type: "success" | "error" | "info" | "warning";
5265
5265
  id?: number | undefined;
5266
5266
  }[] | undefined;
5267
5267
  required?: boolean | undefined;
@@ -5285,7 +5285,7 @@ export declare function init(config: AuthHeroConfig): {
5285
5285
  hint?: string | undefined;
5286
5286
  messages?: {
5287
5287
  text: string;
5288
- type: "error" | "success" | "info" | "warning";
5288
+ type: "success" | "error" | "info" | "warning";
5289
5289
  id?: number | undefined;
5290
5290
  }[] | undefined;
5291
5291
  required?: boolean | undefined;
@@ -5309,7 +5309,7 @@ export declare function init(config: AuthHeroConfig): {
5309
5309
  hint?: string | undefined;
5310
5310
  messages?: {
5311
5311
  text: string;
5312
- type: "error" | "success" | "info" | "warning";
5312
+ type: "success" | "error" | "info" | "warning";
5313
5313
  id?: number | undefined;
5314
5314
  }[] | undefined;
5315
5315
  required?: boolean | undefined;
@@ -5338,7 +5338,7 @@ export declare function init(config: AuthHeroConfig): {
5338
5338
  hint?: string | undefined;
5339
5339
  messages?: {
5340
5340
  text: string;
5341
- type: "error" | "success" | "info" | "warning";
5341
+ type: "success" | "error" | "info" | "warning";
5342
5342
  id?: number | undefined;
5343
5343
  }[] | undefined;
5344
5344
  required?: boolean | undefined;
@@ -5353,7 +5353,7 @@ export declare function init(config: AuthHeroConfig): {
5353
5353
  hint?: string | undefined;
5354
5354
  messages?: {
5355
5355
  text: string;
5356
- type: "error" | "success" | "info" | "warning";
5356
+ type: "success" | "error" | "info" | "warning";
5357
5357
  id?: number | undefined;
5358
5358
  }[] | undefined;
5359
5359
  required?: boolean | undefined;
@@ -5374,7 +5374,7 @@ export declare function init(config: AuthHeroConfig): {
5374
5374
  hint?: string | undefined;
5375
5375
  messages?: {
5376
5376
  text: string;
5377
- type: "error" | "success" | "info" | "warning";
5377
+ type: "success" | "error" | "info" | "warning";
5378
5378
  id?: number | undefined;
5379
5379
  }[] | undefined;
5380
5380
  required?: boolean | undefined;
@@ -5399,7 +5399,7 @@ export declare function init(config: AuthHeroConfig): {
5399
5399
  hint?: string | undefined;
5400
5400
  messages?: {
5401
5401
  text: string;
5402
- type: "error" | "success" | "info" | "warning";
5402
+ type: "success" | "error" | "info" | "warning";
5403
5403
  id?: number | undefined;
5404
5404
  }[] | undefined;
5405
5405
  required?: boolean | undefined;
@@ -5420,7 +5420,7 @@ export declare function init(config: AuthHeroConfig): {
5420
5420
  hint?: string | undefined;
5421
5421
  messages?: {
5422
5422
  text: string;
5423
- type: "error" | "success" | "info" | "warning";
5423
+ type: "success" | "error" | "info" | "warning";
5424
5424
  id?: number | undefined;
5425
5425
  }[] | undefined;
5426
5426
  required?: boolean | undefined;
@@ -5440,7 +5440,7 @@ export declare function init(config: AuthHeroConfig): {
5440
5440
  hint?: string | undefined;
5441
5441
  messages?: {
5442
5442
  text: string;
5443
- type: "error" | "success" | "info" | "warning";
5443
+ type: "success" | "error" | "info" | "warning";
5444
5444
  id?: number | undefined;
5445
5445
  }[] | undefined;
5446
5446
  required?: boolean | undefined;
@@ -5459,7 +5459,7 @@ export declare function init(config: AuthHeroConfig): {
5459
5459
  hint?: string | undefined;
5460
5460
  messages?: {
5461
5461
  text: string;
5462
- type: "error" | "success" | "info" | "warning";
5462
+ type: "success" | "error" | "info" | "warning";
5463
5463
  id?: number | undefined;
5464
5464
  }[] | undefined;
5465
5465
  required?: boolean | undefined;
@@ -5481,7 +5481,7 @@ export declare function init(config: AuthHeroConfig): {
5481
5481
  hint?: string | undefined;
5482
5482
  messages?: {
5483
5483
  text: string;
5484
- type: "error" | "success" | "info" | "warning";
5484
+ type: "success" | "error" | "info" | "warning";
5485
5485
  id?: number | undefined;
5486
5486
  }[] | undefined;
5487
5487
  required?: boolean | undefined;
@@ -5503,7 +5503,7 @@ export declare function init(config: AuthHeroConfig): {
5503
5503
  hint?: string | undefined;
5504
5504
  messages?: {
5505
5505
  text: string;
5506
- type: "error" | "success" | "info" | "warning";
5506
+ type: "success" | "error" | "info" | "warning";
5507
5507
  id?: number | undefined;
5508
5508
  }[] | undefined;
5509
5509
  required?: boolean | undefined;
@@ -5522,7 +5522,7 @@ export declare function init(config: AuthHeroConfig): {
5522
5522
  hint?: string | undefined;
5523
5523
  messages?: {
5524
5524
  text: string;
5525
- type: "error" | "success" | "info" | "warning";
5525
+ type: "success" | "error" | "info" | "warning";
5526
5526
  id?: number | undefined;
5527
5527
  }[] | undefined;
5528
5528
  required?: boolean | undefined;
@@ -5549,7 +5549,7 @@ export declare function init(config: AuthHeroConfig): {
5549
5549
  hint?: string | undefined;
5550
5550
  messages?: {
5551
5551
  text: string;
5552
- type: "error" | "success" | "info" | "warning";
5552
+ type: "success" | "error" | "info" | "warning";
5553
5553
  id?: number | undefined;
5554
5554
  }[] | undefined;
5555
5555
  required?: boolean | undefined;
@@ -5570,7 +5570,7 @@ export declare function init(config: AuthHeroConfig): {
5570
5570
  hint?: string | undefined;
5571
5571
  messages?: {
5572
5572
  text: string;
5573
- type: "error" | "success" | "info" | "warning";
5573
+ type: "success" | "error" | "info" | "warning";
5574
5574
  id?: number | undefined;
5575
5575
  }[] | undefined;
5576
5576
  required?: boolean | undefined;
@@ -5593,7 +5593,7 @@ export declare function init(config: AuthHeroConfig): {
5593
5593
  hint?: string | undefined;
5594
5594
  messages?: {
5595
5595
  text: string;
5596
- type: "error" | "success" | "info" | "warning";
5596
+ type: "success" | "error" | "info" | "warning";
5597
5597
  id?: number | undefined;
5598
5598
  }[] | undefined;
5599
5599
  required?: boolean | undefined;
@@ -5826,7 +5826,7 @@ export declare function init(config: AuthHeroConfig): {
5826
5826
  hint?: string | undefined;
5827
5827
  messages?: {
5828
5828
  text: string;
5829
- type: "error" | "success" | "info" | "warning";
5829
+ type: "success" | "error" | "info" | "warning";
5830
5830
  id?: number | undefined;
5831
5831
  }[] | undefined;
5832
5832
  required?: boolean | undefined;
@@ -5844,7 +5844,7 @@ export declare function init(config: AuthHeroConfig): {
5844
5844
  hint?: string | undefined;
5845
5845
  messages?: {
5846
5846
  text: string;
5847
- type: "error" | "success" | "info" | "warning";
5847
+ type: "success" | "error" | "info" | "warning";
5848
5848
  id?: number | undefined;
5849
5849
  }[] | undefined;
5850
5850
  required?: boolean | undefined;
@@ -5868,7 +5868,7 @@ export declare function init(config: AuthHeroConfig): {
5868
5868
  hint?: string | undefined;
5869
5869
  messages?: {
5870
5870
  text: string;
5871
- type: "error" | "success" | "info" | "warning";
5871
+ type: "success" | "error" | "info" | "warning";
5872
5872
  id?: number | undefined;
5873
5873
  }[] | undefined;
5874
5874
  required?: boolean | undefined;
@@ -5892,7 +5892,7 @@ export declare function init(config: AuthHeroConfig): {
5892
5892
  hint?: string | undefined;
5893
5893
  messages?: {
5894
5894
  text: string;
5895
- type: "error" | "success" | "info" | "warning";
5895
+ type: "success" | "error" | "info" | "warning";
5896
5896
  id?: number | undefined;
5897
5897
  }[] | undefined;
5898
5898
  required?: boolean | undefined;
@@ -5916,7 +5916,7 @@ export declare function init(config: AuthHeroConfig): {
5916
5916
  hint?: string | undefined;
5917
5917
  messages?: {
5918
5918
  text: string;
5919
- type: "error" | "success" | "info" | "warning";
5919
+ type: "success" | "error" | "info" | "warning";
5920
5920
  id?: number | undefined;
5921
5921
  }[] | undefined;
5922
5922
  required?: boolean | undefined;
@@ -5941,7 +5941,7 @@ export declare function init(config: AuthHeroConfig): {
5941
5941
  hint?: string | undefined;
5942
5942
  messages?: {
5943
5943
  text: string;
5944
- type: "error" | "success" | "info" | "warning";
5944
+ type: "success" | "error" | "info" | "warning";
5945
5945
  id?: number | undefined;
5946
5946
  }[] | undefined;
5947
5947
  required?: boolean | undefined;
@@ -5956,7 +5956,7 @@ export declare function init(config: AuthHeroConfig): {
5956
5956
  hint?: string | undefined;
5957
5957
  messages?: {
5958
5958
  text: string;
5959
- type: "error" | "success" | "info" | "warning";
5959
+ type: "success" | "error" | "info" | "warning";
5960
5960
  id?: number | undefined;
5961
5961
  }[] | undefined;
5962
5962
  required?: boolean | undefined;
@@ -5977,7 +5977,7 @@ export declare function init(config: AuthHeroConfig): {
5977
5977
  hint?: string | undefined;
5978
5978
  messages?: {
5979
5979
  text: string;
5980
- type: "error" | "success" | "info" | "warning";
5980
+ type: "success" | "error" | "info" | "warning";
5981
5981
  id?: number | undefined;
5982
5982
  }[] | undefined;
5983
5983
  required?: boolean | undefined;
@@ -6002,7 +6002,7 @@ export declare function init(config: AuthHeroConfig): {
6002
6002
  hint?: string | undefined;
6003
6003
  messages?: {
6004
6004
  text: string;
6005
- type: "error" | "success" | "info" | "warning";
6005
+ type: "success" | "error" | "info" | "warning";
6006
6006
  id?: number | undefined;
6007
6007
  }[] | undefined;
6008
6008
  required?: boolean | undefined;
@@ -6023,7 +6023,7 @@ export declare function init(config: AuthHeroConfig): {
6023
6023
  hint?: string | undefined;
6024
6024
  messages?: {
6025
6025
  text: string;
6026
- type: "error" | "success" | "info" | "warning";
6026
+ type: "success" | "error" | "info" | "warning";
6027
6027
  id?: number | undefined;
6028
6028
  }[] | undefined;
6029
6029
  required?: boolean | undefined;
@@ -6043,7 +6043,7 @@ export declare function init(config: AuthHeroConfig): {
6043
6043
  hint?: string | undefined;
6044
6044
  messages?: {
6045
6045
  text: string;
6046
- type: "error" | "success" | "info" | "warning";
6046
+ type: "success" | "error" | "info" | "warning";
6047
6047
  id?: number | undefined;
6048
6048
  }[] | undefined;
6049
6049
  required?: boolean | undefined;
@@ -6062,7 +6062,7 @@ export declare function init(config: AuthHeroConfig): {
6062
6062
  hint?: string | undefined;
6063
6063
  messages?: {
6064
6064
  text: string;
6065
- type: "error" | "success" | "info" | "warning";
6065
+ type: "success" | "error" | "info" | "warning";
6066
6066
  id?: number | undefined;
6067
6067
  }[] | undefined;
6068
6068
  required?: boolean | undefined;
@@ -6084,7 +6084,7 @@ export declare function init(config: AuthHeroConfig): {
6084
6084
  hint?: string | undefined;
6085
6085
  messages?: {
6086
6086
  text: string;
6087
- type: "error" | "success" | "info" | "warning";
6087
+ type: "success" | "error" | "info" | "warning";
6088
6088
  id?: number | undefined;
6089
6089
  }[] | undefined;
6090
6090
  required?: boolean | undefined;
@@ -6106,7 +6106,7 @@ export declare function init(config: AuthHeroConfig): {
6106
6106
  hint?: string | undefined;
6107
6107
  messages?: {
6108
6108
  text: string;
6109
- type: "error" | "success" | "info" | "warning";
6109
+ type: "success" | "error" | "info" | "warning";
6110
6110
  id?: number | undefined;
6111
6111
  }[] | undefined;
6112
6112
  required?: boolean | undefined;
@@ -6125,7 +6125,7 @@ export declare function init(config: AuthHeroConfig): {
6125
6125
  hint?: string | undefined;
6126
6126
  messages?: {
6127
6127
  text: string;
6128
- type: "error" | "success" | "info" | "warning";
6128
+ type: "success" | "error" | "info" | "warning";
6129
6129
  id?: number | undefined;
6130
6130
  }[] | undefined;
6131
6131
  required?: boolean | undefined;
@@ -6152,7 +6152,7 @@ export declare function init(config: AuthHeroConfig): {
6152
6152
  hint?: string | undefined;
6153
6153
  messages?: {
6154
6154
  text: string;
6155
- type: "error" | "success" | "info" | "warning";
6155
+ type: "success" | "error" | "info" | "warning";
6156
6156
  id?: number | undefined;
6157
6157
  }[] | undefined;
6158
6158
  required?: boolean | undefined;
@@ -6173,7 +6173,7 @@ export declare function init(config: AuthHeroConfig): {
6173
6173
  hint?: string | undefined;
6174
6174
  messages?: {
6175
6175
  text: string;
6176
- type: "error" | "success" | "info" | "warning";
6176
+ type: "success" | "error" | "info" | "warning";
6177
6177
  id?: number | undefined;
6178
6178
  }[] | undefined;
6179
6179
  required?: boolean | undefined;
@@ -6196,7 +6196,7 @@ export declare function init(config: AuthHeroConfig): {
6196
6196
  hint?: string | undefined;
6197
6197
  messages?: {
6198
6198
  text: string;
6199
- type: "error" | "success" | "info" | "warning";
6199
+ type: "success" | "error" | "info" | "warning";
6200
6200
  id?: number | undefined;
6201
6201
  }[] | undefined;
6202
6202
  required?: boolean | undefined;
@@ -6427,7 +6427,7 @@ export declare function init(config: AuthHeroConfig): {
6427
6427
  hint?: string | undefined;
6428
6428
  messages?: {
6429
6429
  text: string;
6430
- type: "error" | "success" | "info" | "warning";
6430
+ type: "success" | "error" | "info" | "warning";
6431
6431
  id?: number | undefined;
6432
6432
  }[] | undefined;
6433
6433
  required?: boolean | undefined;
@@ -6445,7 +6445,7 @@ export declare function init(config: AuthHeroConfig): {
6445
6445
  hint?: string | undefined;
6446
6446
  messages?: {
6447
6447
  text: string;
6448
- type: "error" | "success" | "info" | "warning";
6448
+ type: "success" | "error" | "info" | "warning";
6449
6449
  id?: number | undefined;
6450
6450
  }[] | undefined;
6451
6451
  required?: boolean | undefined;
@@ -6469,7 +6469,7 @@ export declare function init(config: AuthHeroConfig): {
6469
6469
  hint?: string | undefined;
6470
6470
  messages?: {
6471
6471
  text: string;
6472
- type: "error" | "success" | "info" | "warning";
6472
+ type: "success" | "error" | "info" | "warning";
6473
6473
  id?: number | undefined;
6474
6474
  }[] | undefined;
6475
6475
  required?: boolean | undefined;
@@ -6493,7 +6493,7 @@ export declare function init(config: AuthHeroConfig): {
6493
6493
  hint?: string | undefined;
6494
6494
  messages?: {
6495
6495
  text: string;
6496
- type: "error" | "success" | "info" | "warning";
6496
+ type: "success" | "error" | "info" | "warning";
6497
6497
  id?: number | undefined;
6498
6498
  }[] | undefined;
6499
6499
  required?: boolean | undefined;
@@ -6517,7 +6517,7 @@ export declare function init(config: AuthHeroConfig): {
6517
6517
  hint?: string | undefined;
6518
6518
  messages?: {
6519
6519
  text: string;
6520
- type: "error" | "success" | "info" | "warning";
6520
+ type: "success" | "error" | "info" | "warning";
6521
6521
  id?: number | undefined;
6522
6522
  }[] | undefined;
6523
6523
  required?: boolean | undefined;
@@ -6546,7 +6546,7 @@ export declare function init(config: AuthHeroConfig): {
6546
6546
  hint?: string | undefined;
6547
6547
  messages?: {
6548
6548
  text: string;
6549
- type: "error" | "success" | "info" | "warning";
6549
+ type: "success" | "error" | "info" | "warning";
6550
6550
  id?: number | undefined;
6551
6551
  }[] | undefined;
6552
6552
  required?: boolean | undefined;
@@ -6561,7 +6561,7 @@ export declare function init(config: AuthHeroConfig): {
6561
6561
  hint?: string | undefined;
6562
6562
  messages?: {
6563
6563
  text: string;
6564
- type: "error" | "success" | "info" | "warning";
6564
+ type: "success" | "error" | "info" | "warning";
6565
6565
  id?: number | undefined;
6566
6566
  }[] | undefined;
6567
6567
  required?: boolean | undefined;
@@ -6582,7 +6582,7 @@ export declare function init(config: AuthHeroConfig): {
6582
6582
  hint?: string | undefined;
6583
6583
  messages?: {
6584
6584
  text: string;
6585
- type: "error" | "success" | "info" | "warning";
6585
+ type: "success" | "error" | "info" | "warning";
6586
6586
  id?: number | undefined;
6587
6587
  }[] | undefined;
6588
6588
  required?: boolean | undefined;
@@ -6607,7 +6607,7 @@ export declare function init(config: AuthHeroConfig): {
6607
6607
  hint?: string | undefined;
6608
6608
  messages?: {
6609
6609
  text: string;
6610
- type: "error" | "success" | "info" | "warning";
6610
+ type: "success" | "error" | "info" | "warning";
6611
6611
  id?: number | undefined;
6612
6612
  }[] | undefined;
6613
6613
  required?: boolean | undefined;
@@ -6628,7 +6628,7 @@ export declare function init(config: AuthHeroConfig): {
6628
6628
  hint?: string | undefined;
6629
6629
  messages?: {
6630
6630
  text: string;
6631
- type: "error" | "success" | "info" | "warning";
6631
+ type: "success" | "error" | "info" | "warning";
6632
6632
  id?: number | undefined;
6633
6633
  }[] | undefined;
6634
6634
  required?: boolean | undefined;
@@ -6648,7 +6648,7 @@ export declare function init(config: AuthHeroConfig): {
6648
6648
  hint?: string | undefined;
6649
6649
  messages?: {
6650
6650
  text: string;
6651
- type: "error" | "success" | "info" | "warning";
6651
+ type: "success" | "error" | "info" | "warning";
6652
6652
  id?: number | undefined;
6653
6653
  }[] | undefined;
6654
6654
  required?: boolean | undefined;
@@ -6667,7 +6667,7 @@ export declare function init(config: AuthHeroConfig): {
6667
6667
  hint?: string | undefined;
6668
6668
  messages?: {
6669
6669
  text: string;
6670
- type: "error" | "success" | "info" | "warning";
6670
+ type: "success" | "error" | "info" | "warning";
6671
6671
  id?: number | undefined;
6672
6672
  }[] | undefined;
6673
6673
  required?: boolean | undefined;
@@ -6689,7 +6689,7 @@ export declare function init(config: AuthHeroConfig): {
6689
6689
  hint?: string | undefined;
6690
6690
  messages?: {
6691
6691
  text: string;
6692
- type: "error" | "success" | "info" | "warning";
6692
+ type: "success" | "error" | "info" | "warning";
6693
6693
  id?: number | undefined;
6694
6694
  }[] | undefined;
6695
6695
  required?: boolean | undefined;
@@ -6711,7 +6711,7 @@ export declare function init(config: AuthHeroConfig): {
6711
6711
  hint?: string | undefined;
6712
6712
  messages?: {
6713
6713
  text: string;
6714
- type: "error" | "success" | "info" | "warning";
6714
+ type: "success" | "error" | "info" | "warning";
6715
6715
  id?: number | undefined;
6716
6716
  }[] | undefined;
6717
6717
  required?: boolean | undefined;
@@ -6730,7 +6730,7 @@ export declare function init(config: AuthHeroConfig): {
6730
6730
  hint?: string | undefined;
6731
6731
  messages?: {
6732
6732
  text: string;
6733
- type: "error" | "success" | "info" | "warning";
6733
+ type: "success" | "error" | "info" | "warning";
6734
6734
  id?: number | undefined;
6735
6735
  }[] | undefined;
6736
6736
  required?: boolean | undefined;
@@ -6757,7 +6757,7 @@ export declare function init(config: AuthHeroConfig): {
6757
6757
  hint?: string | undefined;
6758
6758
  messages?: {
6759
6759
  text: string;
6760
- type: "error" | "success" | "info" | "warning";
6760
+ type: "success" | "error" | "info" | "warning";
6761
6761
  id?: number | undefined;
6762
6762
  }[] | undefined;
6763
6763
  required?: boolean | undefined;
@@ -6778,7 +6778,7 @@ export declare function init(config: AuthHeroConfig): {
6778
6778
  hint?: string | undefined;
6779
6779
  messages?: {
6780
6780
  text: string;
6781
- type: "error" | "success" | "info" | "warning";
6781
+ type: "success" | "error" | "info" | "warning";
6782
6782
  id?: number | undefined;
6783
6783
  }[] | undefined;
6784
6784
  required?: boolean | undefined;
@@ -6801,7 +6801,7 @@ export declare function init(config: AuthHeroConfig): {
6801
6801
  hint?: string | undefined;
6802
6802
  messages?: {
6803
6803
  text: string;
6804
- type: "error" | "success" | "info" | "warning";
6804
+ type: "success" | "error" | "info" | "warning";
6805
6805
  id?: number | undefined;
6806
6806
  }[] | undefined;
6807
6807
  required?: boolean | undefined;
@@ -7033,7 +7033,7 @@ export declare function init(config: AuthHeroConfig): {
7033
7033
  };
7034
7034
  };
7035
7035
  output: {
7036
- prompt: "signup" | "status" | "login-id" | "login" | "mfa" | "organizations" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
7036
+ prompt: "mfa" | "status" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
7037
7037
  language: string;
7038
7038
  }[];
7039
7039
  outputFormat: "json";
@@ -7071,7 +7071,7 @@ export declare function init(config: AuthHeroConfig): {
7071
7071
  $get: {
7072
7072
  input: {
7073
7073
  param: {
7074
- prompt: "signup" | "status" | "login-id" | "login" | "mfa" | "organizations" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
7074
+ prompt: "mfa" | "status" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
7075
7075
  language: string;
7076
7076
  };
7077
7077
  } & {
@@ -7093,7 +7093,7 @@ export declare function init(config: AuthHeroConfig): {
7093
7093
  $put: {
7094
7094
  input: {
7095
7095
  param: {
7096
- prompt: "signup" | "status" | "login-id" | "login" | "mfa" | "organizations" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
7096
+ prompt: "mfa" | "status" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
7097
7097
  language: string;
7098
7098
  };
7099
7099
  } & {
@@ -7117,7 +7117,7 @@ export declare function init(config: AuthHeroConfig): {
7117
7117
  $delete: {
7118
7118
  input: {
7119
7119
  param: {
7120
- prompt: "signup" | "status" | "login-id" | "login" | "mfa" | "organizations" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "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";
7120
+ prompt: "mfa" | "status" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
7121
7121
  language: string;
7122
7122
  };
7123
7123
  } & {
@@ -7209,7 +7209,7 @@ export declare function init(config: AuthHeroConfig): {
7209
7209
  active?: boolean | undefined;
7210
7210
  } | undefined;
7211
7211
  signup?: {
7212
- status?: "optional" | "required" | "disabled" | undefined;
7212
+ status?: "required" | "optional" | "disabled" | undefined;
7213
7213
  verification?: {
7214
7214
  active?: boolean | undefined;
7215
7215
  } | undefined;
@@ -7226,7 +7226,7 @@ export declare function init(config: AuthHeroConfig): {
7226
7226
  active?: boolean | undefined;
7227
7227
  } | undefined;
7228
7228
  signup?: {
7229
- status?: "optional" | "required" | "disabled" | undefined;
7229
+ status?: "required" | "optional" | "disabled" | undefined;
7230
7230
  } | undefined;
7231
7231
  validation?: {
7232
7232
  max_length?: number | undefined;
@@ -7243,7 +7243,7 @@ export declare function init(config: AuthHeroConfig): {
7243
7243
  active?: boolean | undefined;
7244
7244
  } | undefined;
7245
7245
  signup?: {
7246
- status?: "optional" | "required" | "disabled" | undefined;
7246
+ status?: "required" | "optional" | "disabled" | undefined;
7247
7247
  } | undefined;
7248
7248
  } | undefined;
7249
7249
  } | undefined;
@@ -7343,7 +7343,7 @@ export declare function init(config: AuthHeroConfig): {
7343
7343
  active?: boolean | undefined;
7344
7344
  } | undefined;
7345
7345
  signup?: {
7346
- status?: "optional" | "required" | "disabled" | undefined;
7346
+ status?: "required" | "optional" | "disabled" | undefined;
7347
7347
  verification?: {
7348
7348
  active?: boolean | undefined;
7349
7349
  } | undefined;
@@ -7360,7 +7360,7 @@ export declare function init(config: AuthHeroConfig): {
7360
7360
  active?: boolean | undefined;
7361
7361
  } | undefined;
7362
7362
  signup?: {
7363
- status?: "optional" | "required" | "disabled" | undefined;
7363
+ status?: "required" | "optional" | "disabled" | undefined;
7364
7364
  } | undefined;
7365
7365
  validation?: {
7366
7366
  max_length?: number | undefined;
@@ -7377,7 +7377,7 @@ export declare function init(config: AuthHeroConfig): {
7377
7377
  active?: boolean | undefined;
7378
7378
  } | undefined;
7379
7379
  signup?: {
7380
- status?: "optional" | "required" | "disabled" | undefined;
7380
+ status?: "required" | "optional" | "disabled" | undefined;
7381
7381
  } | undefined;
7382
7382
  } | undefined;
7383
7383
  } | undefined;
@@ -7493,7 +7493,7 @@ export declare function init(config: AuthHeroConfig): {
7493
7493
  active?: boolean | undefined;
7494
7494
  } | undefined;
7495
7495
  signup?: {
7496
- status?: "optional" | "required" | "disabled" | undefined;
7496
+ status?: "required" | "optional" | "disabled" | undefined;
7497
7497
  verification?: {
7498
7498
  active?: boolean | undefined;
7499
7499
  } | undefined;
@@ -7510,7 +7510,7 @@ export declare function init(config: AuthHeroConfig): {
7510
7510
  active?: boolean | undefined;
7511
7511
  } | undefined;
7512
7512
  signup?: {
7513
- status?: "optional" | "required" | "disabled" | undefined;
7513
+ status?: "required" | "optional" | "disabled" | undefined;
7514
7514
  } | undefined;
7515
7515
  validation?: {
7516
7516
  max_length?: number | undefined;
@@ -7527,7 +7527,7 @@ export declare function init(config: AuthHeroConfig): {
7527
7527
  active?: boolean | undefined;
7528
7528
  } | undefined;
7529
7529
  signup?: {
7530
- status?: "optional" | "required" | "disabled" | undefined;
7530
+ status?: "required" | "optional" | "disabled" | undefined;
7531
7531
  } | undefined;
7532
7532
  } | undefined;
7533
7533
  } | undefined;
@@ -7672,7 +7672,7 @@ export declare function init(config: AuthHeroConfig): {
7672
7672
  active?: boolean | undefined;
7673
7673
  } | undefined;
7674
7674
  signup?: {
7675
- status?: "optional" | "required" | "disabled" | undefined;
7675
+ status?: "required" | "optional" | "disabled" | undefined;
7676
7676
  verification?: {
7677
7677
  active?: boolean | undefined;
7678
7678
  } | undefined;
@@ -7689,7 +7689,7 @@ export declare function init(config: AuthHeroConfig): {
7689
7689
  active?: boolean | undefined;
7690
7690
  } | undefined;
7691
7691
  signup?: {
7692
- status?: "optional" | "required" | "disabled" | undefined;
7692
+ status?: "required" | "optional" | "disabled" | undefined;
7693
7693
  } | undefined;
7694
7694
  validation?: {
7695
7695
  max_length?: number | undefined;
@@ -7706,7 +7706,7 @@ export declare function init(config: AuthHeroConfig): {
7706
7706
  active?: boolean | undefined;
7707
7707
  } | undefined;
7708
7708
  signup?: {
7709
- status?: "optional" | "required" | "disabled" | undefined;
7709
+ status?: "required" | "optional" | "disabled" | undefined;
7710
7710
  } | undefined;
7711
7711
  } | undefined;
7712
7712
  } | undefined;
@@ -7830,7 +7830,7 @@ export declare function init(config: AuthHeroConfig): {
7830
7830
  active?: boolean | undefined;
7831
7831
  } | undefined;
7832
7832
  signup?: {
7833
- status?: "optional" | "required" | "disabled" | undefined;
7833
+ status?: "required" | "optional" | "disabled" | undefined;
7834
7834
  verification?: {
7835
7835
  active?: boolean | undefined;
7836
7836
  } | undefined;
@@ -7847,7 +7847,7 @@ export declare function init(config: AuthHeroConfig): {
7847
7847
  active?: boolean | undefined;
7848
7848
  } | undefined;
7849
7849
  signup?: {
7850
- status?: "optional" | "required" | "disabled" | undefined;
7850
+ status?: "required" | "optional" | "disabled" | undefined;
7851
7851
  } | undefined;
7852
7852
  validation?: {
7853
7853
  max_length?: number | undefined;
@@ -7864,7 +7864,7 @@ export declare function init(config: AuthHeroConfig): {
7864
7864
  active?: boolean | undefined;
7865
7865
  } | undefined;
7866
7866
  signup?: {
7867
- status?: "optional" | "required" | "disabled" | undefined;
7867
+ status?: "required" | "optional" | "disabled" | undefined;
7868
7868
  } | undefined;
7869
7869
  } | undefined;
7870
7870
  } | undefined;
@@ -7980,7 +7980,7 @@ export declare function init(config: AuthHeroConfig): {
7980
7980
  };
7981
7981
  } | {
7982
7982
  mode: "inline";
7983
- status: "error" | "success";
7983
+ status: "success" | "error";
7984
7984
  connection_id: string;
7985
7985
  connection_name: string;
7986
7986
  strategy: string;
@@ -8201,6 +8201,19 @@ export declare function init(config: AuthHeroConfig): {
8201
8201
  metadata?: {
8202
8202
  [x: string]: import("hono/utils/types").JSONValue;
8203
8203
  } | undefined;
8204
+ } | {
8205
+ trigger_id: "post-user-login";
8206
+ enabled: boolean;
8207
+ synchronous: boolean;
8208
+ created_at: string;
8209
+ updated_at: string;
8210
+ hook_id: string;
8211
+ page_id: "impersonate";
8212
+ priority?: number | undefined;
8213
+ metadata?: {
8214
+ [x: string]: import("hono/utils/types").JSONValue;
8215
+ } | undefined;
8216
+ permission_required?: string | undefined;
8204
8217
  })[] | {
8205
8218
  start: number;
8206
8219
  limit: number;
@@ -8253,6 +8266,19 @@ export declare function init(config: AuthHeroConfig): {
8253
8266
  metadata?: {
8254
8267
  [x: string]: import("hono/utils/types").JSONValue;
8255
8268
  } | undefined;
8269
+ } | {
8270
+ trigger_id: "post-user-login";
8271
+ enabled: boolean;
8272
+ synchronous: boolean;
8273
+ created_at: string;
8274
+ updated_at: string;
8275
+ hook_id: string;
8276
+ page_id: "impersonate";
8277
+ priority?: number | undefined;
8278
+ metadata?: {
8279
+ [x: string]: import("hono/utils/types").JSONValue;
8280
+ } | undefined;
8281
+ permission_required?: string | undefined;
8256
8282
  })[];
8257
8283
  total?: number | undefined;
8258
8284
  next?: string | undefined;
@@ -8301,6 +8327,15 @@ export declare function init(config: AuthHeroConfig): {
8301
8327
  priority?: number | undefined;
8302
8328
  hook_id?: string | undefined;
8303
8329
  metadata?: Record<string, unknown> | undefined;
8330
+ } | {
8331
+ trigger_id: "post-user-login";
8332
+ page_id: "impersonate";
8333
+ permission_required?: string | undefined;
8334
+ enabled?: boolean | undefined;
8335
+ synchronous?: boolean | undefined;
8336
+ priority?: number | undefined;
8337
+ hook_id?: string | undefined;
8338
+ metadata?: Record<string, unknown> | undefined;
8304
8339
  };
8305
8340
  };
8306
8341
  output: {
@@ -8351,6 +8386,19 @@ export declare function init(config: AuthHeroConfig): {
8351
8386
  metadata?: {
8352
8387
  [x: string]: import("hono/utils/types").JSONValue;
8353
8388
  } | undefined;
8389
+ } | {
8390
+ trigger_id: "post-user-login";
8391
+ enabled: boolean;
8392
+ synchronous: boolean;
8393
+ created_at: string;
8394
+ updated_at: string;
8395
+ hook_id: string;
8396
+ page_id: "impersonate";
8397
+ priority?: number | undefined;
8398
+ metadata?: {
8399
+ [x: string]: import("hono/utils/types").JSONValue;
8400
+ } | undefined;
8401
+ permission_required?: string | undefined;
8354
8402
  };
8355
8403
  outputFormat: "json";
8356
8404
  status: 201;
@@ -8433,6 +8481,19 @@ export declare function init(config: AuthHeroConfig): {
8433
8481
  metadata?: {
8434
8482
  [x: string]: import("hono/utils/types").JSONValue;
8435
8483
  } | undefined;
8484
+ } | {
8485
+ trigger_id: "post-user-login";
8486
+ enabled: boolean;
8487
+ synchronous: boolean;
8488
+ created_at: string;
8489
+ updated_at: string;
8490
+ hook_id: string;
8491
+ page_id: "impersonate";
8492
+ priority?: number | undefined;
8493
+ metadata?: {
8494
+ [x: string]: import("hono/utils/types").JSONValue;
8495
+ } | undefined;
8496
+ permission_required?: string | undefined;
8436
8497
  };
8437
8498
  outputFormat: "json";
8438
8499
  status: 200;
@@ -8511,6 +8572,19 @@ export declare function init(config: AuthHeroConfig): {
8511
8572
  metadata?: {
8512
8573
  [x: string]: import("hono/utils/types").JSONValue;
8513
8574
  } | undefined;
8575
+ } | {
8576
+ trigger_id: "post-user-login";
8577
+ enabled: boolean;
8578
+ synchronous: boolean;
8579
+ created_at: string;
8580
+ updated_at: string;
8581
+ hook_id: string;
8582
+ page_id: "impersonate";
8583
+ priority?: number | undefined;
8584
+ metadata?: {
8585
+ [x: string]: import("hono/utils/types").JSONValue;
8586
+ } | undefined;
8587
+ permission_required?: string | undefined;
8514
8588
  };
8515
8589
  outputFormat: "json";
8516
8590
  status: 200;
@@ -8620,7 +8694,7 @@ export declare function init(config: AuthHeroConfig): {
8620
8694
  log_type: string;
8621
8695
  category: "user_action" | "admin_action" | "system" | "api";
8622
8696
  actor: {
8623
- type: "api_key" | "user" | "client_credentials" | "system" | "admin";
8697
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
8624
8698
  id?: string | undefined;
8625
8699
  email?: string | undefined;
8626
8700
  org_id?: string | undefined;
@@ -9559,7 +9633,7 @@ export declare function init(config: AuthHeroConfig): {
9559
9633
  audience?: string | undefined;
9560
9634
  client_id?: string | undefined;
9561
9635
  allow_any_organization?: string | undefined;
9562
- subject_type?: "client" | "user" | undefined;
9636
+ subject_type?: "user" | "client" | undefined;
9563
9637
  };
9564
9638
  } & {
9565
9639
  header: {
@@ -9574,7 +9648,7 @@ export declare function init(config: AuthHeroConfig): {
9574
9648
  organization_usage?: "deny" | "allow" | "require" | undefined;
9575
9649
  allow_any_organization?: boolean | undefined;
9576
9650
  is_system?: boolean | undefined;
9577
- subject_type?: "client" | "user" | undefined;
9651
+ subject_type?: "user" | "client" | undefined;
9578
9652
  authorization_details_types?: string[] | undefined;
9579
9653
  created_at?: string | undefined;
9580
9654
  updated_at?: string | undefined;
@@ -9590,7 +9664,7 @@ export declare function init(config: AuthHeroConfig): {
9590
9664
  organization_usage?: "deny" | "allow" | "require" | undefined;
9591
9665
  allow_any_organization?: boolean | undefined;
9592
9666
  is_system?: boolean | undefined;
9593
- subject_type?: "client" | "user" | undefined;
9667
+ subject_type?: "user" | "client" | undefined;
9594
9668
  authorization_details_types?: string[] | undefined;
9595
9669
  created_at?: string | undefined;
9596
9670
  updated_at?: string | undefined;
@@ -9606,7 +9680,7 @@ export declare function init(config: AuthHeroConfig): {
9606
9680
  organization_usage?: "deny" | "allow" | "require" | undefined;
9607
9681
  allow_any_organization?: boolean | undefined;
9608
9682
  is_system?: boolean | undefined;
9609
- subject_type?: "client" | "user" | undefined;
9683
+ subject_type?: "user" | "client" | undefined;
9610
9684
  authorization_details_types?: string[] | undefined;
9611
9685
  created_at?: string | undefined;
9612
9686
  updated_at?: string | undefined;
@@ -9637,7 +9711,7 @@ export declare function init(config: AuthHeroConfig): {
9637
9711
  organization_usage?: "deny" | "allow" | "require" | undefined;
9638
9712
  allow_any_organization?: boolean | undefined;
9639
9713
  is_system?: boolean | undefined;
9640
- subject_type?: "client" | "user" | undefined;
9714
+ subject_type?: "user" | "client" | undefined;
9641
9715
  authorization_details_types?: string[] | undefined;
9642
9716
  created_at?: string | undefined;
9643
9717
  updated_at?: string | undefined;
@@ -9682,7 +9756,7 @@ export declare function init(config: AuthHeroConfig): {
9682
9756
  organization_usage?: "deny" | "allow" | "require" | undefined;
9683
9757
  allow_any_organization?: boolean | undefined;
9684
9758
  is_system?: boolean | undefined;
9685
- subject_type?: "client" | "user" | undefined;
9759
+ subject_type?: "user" | "client" | undefined;
9686
9760
  authorization_details_types?: string[] | undefined;
9687
9761
  };
9688
9762
  };
@@ -9694,7 +9768,7 @@ export declare function init(config: AuthHeroConfig): {
9694
9768
  organization_usage?: "deny" | "allow" | "require" | undefined;
9695
9769
  allow_any_organization?: boolean | undefined;
9696
9770
  is_system?: boolean | undefined;
9697
- subject_type?: "client" | "user" | undefined;
9771
+ subject_type?: "user" | "client" | undefined;
9698
9772
  authorization_details_types?: string[] | undefined;
9699
9773
  created_at?: string | undefined;
9700
9774
  updated_at?: string | undefined;
@@ -9718,7 +9792,7 @@ export declare function init(config: AuthHeroConfig): {
9718
9792
  organization_usage?: "deny" | "allow" | "require" | undefined;
9719
9793
  allow_any_organization?: boolean | undefined;
9720
9794
  is_system?: boolean | undefined;
9721
- subject_type?: "client" | "user" | undefined;
9795
+ subject_type?: "user" | "client" | undefined;
9722
9796
  authorization_details_types?: string[] | undefined;
9723
9797
  };
9724
9798
  };
@@ -9730,7 +9804,7 @@ export declare function init(config: AuthHeroConfig): {
9730
9804
  organization_usage?: "deny" | "allow" | "require" | undefined;
9731
9805
  allow_any_organization?: boolean | undefined;
9732
9806
  is_system?: boolean | undefined;
9733
- subject_type?: "client" | "user" | undefined;
9807
+ subject_type?: "user" | "client" | undefined;
9734
9808
  authorization_details_types?: string[] | undefined;
9735
9809
  created_at?: string | undefined;
9736
9810
  updated_at?: string | undefined;
@@ -9814,7 +9888,7 @@ export declare function init(config: AuthHeroConfig): {
9814
9888
  addons?: {
9815
9889
  [x: string]: any;
9816
9890
  } | undefined;
9817
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9891
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9818
9892
  client_metadata?: {
9819
9893
  [x: string]: string;
9820
9894
  } | undefined;
@@ -9916,7 +9990,7 @@ export declare function init(config: AuthHeroConfig): {
9916
9990
  addons?: {
9917
9991
  [x: string]: any;
9918
9992
  } | undefined;
9919
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
9993
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
9920
9994
  client_metadata?: {
9921
9995
  [x: string]: string;
9922
9996
  } | undefined;
@@ -10018,7 +10092,7 @@ export declare function init(config: AuthHeroConfig): {
10018
10092
  addons?: {
10019
10093
  [x: string]: any;
10020
10094
  } | undefined;
10021
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10095
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
10022
10096
  client_metadata?: {
10023
10097
  [x: string]: string;
10024
10098
  } | undefined;
@@ -10135,7 +10209,7 @@ export declare function init(config: AuthHeroConfig): {
10135
10209
  addons?: {
10136
10210
  [x: string]: any;
10137
10211
  } | undefined;
10138
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10212
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
10139
10213
  client_metadata?: {
10140
10214
  [x: string]: string;
10141
10215
  } | undefined;
@@ -10253,7 +10327,7 @@ export declare function init(config: AuthHeroConfig): {
10253
10327
  custom_login_page_preview?: string | undefined;
10254
10328
  form_template?: string | undefined;
10255
10329
  addons?: Record<string, any> | undefined;
10256
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10330
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
10257
10331
  client_metadata?: Record<string, string> | undefined;
10258
10332
  hide_sign_up_disabled_error?: boolean | undefined;
10259
10333
  mobile?: Record<string, any> | undefined;
@@ -10339,7 +10413,7 @@ export declare function init(config: AuthHeroConfig): {
10339
10413
  addons?: {
10340
10414
  [x: string]: any;
10341
10415
  } | undefined;
10342
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10416
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
10343
10417
  client_metadata?: {
10344
10418
  [x: string]: string;
10345
10419
  } | undefined;
@@ -10436,7 +10510,7 @@ export declare function init(config: AuthHeroConfig): {
10436
10510
  custom_login_page_preview?: string | undefined;
10437
10511
  form_template?: string | undefined;
10438
10512
  addons?: Record<string, any> | undefined;
10439
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10513
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
10440
10514
  client_metadata?: Record<string, string> | undefined;
10441
10515
  hide_sign_up_disabled_error?: boolean | undefined;
10442
10516
  mobile?: Record<string, any> | undefined;
@@ -10522,7 +10596,7 @@ export declare function init(config: AuthHeroConfig): {
10522
10596
  addons?: {
10523
10597
  [x: string]: any;
10524
10598
  } | undefined;
10525
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
10599
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
10526
10600
  client_metadata?: {
10527
10601
  [x: string]: string;
10528
10602
  } | undefined;
@@ -10644,7 +10718,7 @@ export declare function init(config: AuthHeroConfig): {
10644
10718
  active?: boolean | undefined;
10645
10719
  } | undefined;
10646
10720
  signup?: {
10647
- status?: "optional" | "required" | "disabled" | undefined;
10721
+ status?: "required" | "optional" | "disabled" | undefined;
10648
10722
  verification?: {
10649
10723
  active?: boolean | undefined;
10650
10724
  } | undefined;
@@ -10661,7 +10735,7 @@ export declare function init(config: AuthHeroConfig): {
10661
10735
  active?: boolean | undefined;
10662
10736
  } | undefined;
10663
10737
  signup?: {
10664
- status?: "optional" | "required" | "disabled" | undefined;
10738
+ status?: "required" | "optional" | "disabled" | undefined;
10665
10739
  } | undefined;
10666
10740
  validation?: {
10667
10741
  max_length?: number | undefined;
@@ -10678,7 +10752,7 @@ export declare function init(config: AuthHeroConfig): {
10678
10752
  active?: boolean | undefined;
10679
10753
  } | undefined;
10680
10754
  signup?: {
10681
- status?: "optional" | "required" | "disabled" | undefined;
10755
+ status?: "required" | "optional" | "disabled" | undefined;
10682
10756
  } | undefined;
10683
10757
  } | undefined;
10684
10758
  } | undefined;
@@ -10798,7 +10872,7 @@ export declare function init(config: AuthHeroConfig): {
10798
10872
  active?: boolean | undefined;
10799
10873
  } | undefined;
10800
10874
  signup?: {
10801
- status?: "optional" | "required" | "disabled" | undefined;
10875
+ status?: "required" | "optional" | "disabled" | undefined;
10802
10876
  verification?: {
10803
10877
  active?: boolean | undefined;
10804
10878
  } | undefined;
@@ -10815,7 +10889,7 @@ export declare function init(config: AuthHeroConfig): {
10815
10889
  active?: boolean | undefined;
10816
10890
  } | undefined;
10817
10891
  signup?: {
10818
- status?: "optional" | "required" | "disabled" | undefined;
10892
+ status?: "required" | "optional" | "disabled" | undefined;
10819
10893
  } | undefined;
10820
10894
  validation?: {
10821
10895
  max_length?: number | undefined;
@@ -10832,7 +10906,7 @@ export declare function init(config: AuthHeroConfig): {
10832
10906
  active?: boolean | undefined;
10833
10907
  } | undefined;
10834
10908
  signup?: {
10835
- status?: "optional" | "required" | "disabled" | undefined;
10909
+ status?: "required" | "optional" | "disabled" | undefined;
10836
10910
  } | undefined;
10837
10911
  } | undefined;
10838
10912
  } | undefined;
@@ -12750,7 +12824,7 @@ export declare function init(config: AuthHeroConfig): {
12750
12824
  type: "auth0_managed_certs" | "self_managed_certs";
12751
12825
  custom_domain_id: string;
12752
12826
  primary: boolean;
12753
- status: "disabled" | "pending" | "ready" | "pending_verification";
12827
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12754
12828
  verification_method?: "txt" | undefined;
12755
12829
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12756
12830
  domain_metadata?: {
@@ -12791,7 +12865,7 @@ export declare function init(config: AuthHeroConfig): {
12791
12865
  type: "auth0_managed_certs" | "self_managed_certs";
12792
12866
  custom_domain_id: string;
12793
12867
  primary: boolean;
12794
- status: "disabled" | "pending" | "ready" | "pending_verification";
12868
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12795
12869
  verification_method?: "txt" | undefined;
12796
12870
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12797
12871
  domain_metadata?: {
@@ -12855,7 +12929,7 @@ export declare function init(config: AuthHeroConfig): {
12855
12929
  type: "auth0_managed_certs" | "self_managed_certs";
12856
12930
  custom_domain_id: string;
12857
12931
  primary: boolean;
12858
- status: "disabled" | "pending" | "ready" | "pending_verification";
12932
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12859
12933
  verification_method?: "txt" | undefined;
12860
12934
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12861
12935
  domain_metadata?: {
@@ -12902,7 +12976,7 @@ export declare function init(config: AuthHeroConfig): {
12902
12976
  type: "auth0_managed_certs" | "self_managed_certs";
12903
12977
  custom_domain_id: string;
12904
12978
  primary: boolean;
12905
- status: "disabled" | "pending" | "ready" | "pending_verification";
12979
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12906
12980
  verification_method?: "txt" | undefined;
12907
12981
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12908
12982
  domain_metadata?: {
@@ -12948,7 +13022,7 @@ export declare function init(config: AuthHeroConfig): {
12948
13022
  type: "auth0_managed_certs" | "self_managed_certs";
12949
13023
  custom_domain_id: string;
12950
13024
  primary: boolean;
12951
- status: "disabled" | "pending" | "ready" | "pending_verification";
13025
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12952
13026
  verification_method?: "txt" | undefined;
12953
13027
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12954
13028
  domain_metadata?: {
@@ -12989,7 +13063,7 @@ export declare function init(config: AuthHeroConfig): {
12989
13063
  type: "auth0_managed_certs" | "self_managed_certs";
12990
13064
  custom_domain_id: string;
12991
13065
  primary: boolean;
12992
- status: "disabled" | "pending" | "ready" | "pending_verification";
13066
+ status: "pending" | "ready" | "disabled" | "pending_verification";
12993
13067
  verification_method?: "txt" | undefined;
12994
13068
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12995
13069
  domain_metadata?: {
@@ -13380,7 +13454,7 @@ export declare function init(config: AuthHeroConfig): {
13380
13454
  };
13381
13455
  output: {};
13382
13456
  outputFormat: string;
13383
- status: 204;
13457
+ status: 400;
13384
13458
  } | {
13385
13459
  input: {
13386
13460
  header: {
@@ -13393,7 +13467,7 @@ export declare function init(config: AuthHeroConfig): {
13393
13467
  };
13394
13468
  output: {};
13395
13469
  outputFormat: string;
13396
- status: 400;
13470
+ status: 204;
13397
13471
  };
13398
13472
  };
13399
13473
  } & {
@@ -13419,7 +13493,7 @@ export declare function init(config: AuthHeroConfig): {
13419
13493
  } & {
13420
13494
  json: {
13421
13495
  body?: string | undefined;
13422
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
13496
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
13423
13497
  branding?: {
13424
13498
  colors?: {
13425
13499
  primary: string;
@@ -13710,7 +13784,7 @@ export declare function init(config: AuthHeroConfig): {
13710
13784
  logs: {
13711
13785
  action_name: string;
13712
13786
  lines: {
13713
- level: "error" | "info" | "log" | "warn" | "debug";
13787
+ level: "error" | "log" | "info" | "warn" | "debug";
13714
13788
  message: string;
13715
13789
  }[];
13716
13790
  }[];
@@ -14379,7 +14453,7 @@ export declare function init(config: AuthHeroConfig): {
14379
14453
  args: import("hono/utils/types").JSONValue[];
14380
14454
  }[];
14381
14455
  logs: {
14382
- level: "error" | "info" | "log" | "warn" | "debug";
14456
+ level: "error" | "log" | "info" | "warn" | "debug";
14383
14457
  message: string;
14384
14458
  }[];
14385
14459
  error?: string | undefined;
@@ -14690,7 +14764,7 @@ export declare function init(config: AuthHeroConfig): {
14690
14764
  scope?: string | undefined;
14691
14765
  grant_types?: string[] | undefined;
14692
14766
  response_types?: string[] | undefined;
14693
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14767
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14694
14768
  jwks_uri?: string | undefined;
14695
14769
  jwks?: Record<string, unknown> | undefined;
14696
14770
  software_id?: string | undefined;
@@ -14779,7 +14853,7 @@ export declare function init(config: AuthHeroConfig): {
14779
14853
  scope?: string | undefined;
14780
14854
  grant_types?: string[] | undefined;
14781
14855
  response_types?: string[] | undefined;
14782
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14856
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14783
14857
  jwks_uri?: string | undefined;
14784
14858
  jwks?: Record<string, unknown> | undefined;
14785
14859
  software_id?: string | undefined;
@@ -15125,19 +15199,19 @@ export declare function init(config: AuthHeroConfig): {
15125
15199
  email: string;
15126
15200
  send: "code" | "link";
15127
15201
  authParams: {
15128
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
15129
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
15130
- scope?: string | undefined;
15131
15202
  username?: string | undefined;
15132
15203
  state?: string | undefined;
15133
15204
  audience?: string | undefined;
15134
- act_as?: string | undefined;
15135
- redirect_uri?: string | undefined;
15205
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
15206
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
15207
+ scope?: string | undefined;
15136
15208
  organization?: string | undefined;
15137
- nonce?: string | undefined;
15138
- prompt?: string | undefined;
15209
+ redirect_uri?: string | undefined;
15139
15210
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
15140
15211
  code_challenge?: string | undefined;
15212
+ nonce?: string | undefined;
15213
+ act_as?: string | undefined;
15214
+ prompt?: string | undefined;
15141
15215
  ui_locales?: string | undefined;
15142
15216
  max_age?: number | undefined;
15143
15217
  acr_values?: string | undefined;
@@ -15161,19 +15235,19 @@ export declare function init(config: AuthHeroConfig): {
15161
15235
  phone_number: string;
15162
15236
  send: "code" | "link";
15163
15237
  authParams: {
15164
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
15165
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
15166
- scope?: string | undefined;
15167
15238
  username?: string | undefined;
15168
15239
  state?: string | undefined;
15169
15240
  audience?: string | undefined;
15170
- act_as?: string | undefined;
15171
- redirect_uri?: string | undefined;
15241
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
15242
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
15243
+ scope?: string | undefined;
15172
15244
  organization?: string | undefined;
15173
- nonce?: string | undefined;
15174
- prompt?: string | undefined;
15245
+ redirect_uri?: string | undefined;
15175
15246
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
15176
15247
  code_challenge?: string | undefined;
15248
+ nonce?: string | undefined;
15249
+ act_as?: string | undefined;
15250
+ prompt?: string | undefined;
15177
15251
  ui_locales?: string | undefined;
15178
15252
  max_age?: number | undefined;
15179
15253
  acr_values?: string | undefined;
@@ -15403,7 +15477,7 @@ export declare function init(config: AuthHeroConfig): {
15403
15477
  client_id: string;
15404
15478
  username: string;
15405
15479
  otp: string;
15406
- realm: "email" | "sms";
15480
+ realm: "sms" | "email";
15407
15481
  } | {
15408
15482
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15409
15483
  subject_token: string;
@@ -15450,7 +15524,7 @@ export declare function init(config: AuthHeroConfig): {
15450
15524
  client_id: string;
15451
15525
  username: string;
15452
15526
  otp: string;
15453
- realm: "email" | "sms";
15527
+ realm: "sms" | "email";
15454
15528
  } | {
15455
15529
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15456
15530
  subject_token: string;
@@ -15502,7 +15576,7 @@ export declare function init(config: AuthHeroConfig): {
15502
15576
  client_id: string;
15503
15577
  username: string;
15504
15578
  otp: string;
15505
- realm: "email" | "sms";
15579
+ realm: "sms" | "email";
15506
15580
  } | {
15507
15581
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15508
15582
  subject_token: string;
@@ -15549,7 +15623,7 @@ export declare function init(config: AuthHeroConfig): {
15549
15623
  client_id: string;
15550
15624
  username: string;
15551
15625
  otp: string;
15552
- realm: "email" | "sms";
15626
+ realm: "sms" | "email";
15553
15627
  } | {
15554
15628
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15555
15629
  subject_token: string;
@@ -15609,7 +15683,7 @@ export declare function init(config: AuthHeroConfig): {
15609
15683
  client_id: string;
15610
15684
  username: string;
15611
15685
  otp: string;
15612
- realm: "email" | "sms";
15686
+ realm: "sms" | "email";
15613
15687
  } | {
15614
15688
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15615
15689
  subject_token: string;
@@ -15656,7 +15730,7 @@ export declare function init(config: AuthHeroConfig): {
15656
15730
  client_id: string;
15657
15731
  username: string;
15658
15732
  otp: string;
15659
- realm: "email" | "sms";
15733
+ realm: "sms" | "email";
15660
15734
  } | {
15661
15735
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15662
15736
  subject_token: string;
@@ -15711,7 +15785,7 @@ export declare function init(config: AuthHeroConfig): {
15711
15785
  client_id: string;
15712
15786
  username: string;
15713
15787
  otp: string;
15714
- realm: "email" | "sms";
15788
+ realm: "sms" | "email";
15715
15789
  } | {
15716
15790
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15717
15791
  subject_token: string;
@@ -15758,7 +15832,7 @@ export declare function init(config: AuthHeroConfig): {
15758
15832
  client_id: string;
15759
15833
  username: string;
15760
15834
  otp: string;
15761
- realm: "email" | "sms";
15835
+ realm: "sms" | "email";
15762
15836
  } | {
15763
15837
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15764
15838
  subject_token: string;
@@ -15813,7 +15887,7 @@ export declare function init(config: AuthHeroConfig): {
15813
15887
  client_id: string;
15814
15888
  username: string;
15815
15889
  otp: string;
15816
- realm: "email" | "sms";
15890
+ realm: "sms" | "email";
15817
15891
  } | {
15818
15892
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15819
15893
  subject_token: string;
@@ -15860,7 +15934,7 @@ export declare function init(config: AuthHeroConfig): {
15860
15934
  client_id: string;
15861
15935
  username: string;
15862
15936
  otp: string;
15863
- realm: "email" | "sms";
15937
+ realm: "sms" | "email";
15864
15938
  } | {
15865
15939
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
15866
15940
  subject_token: string;
@@ -16082,7 +16156,7 @@ export declare function init(config: AuthHeroConfig): {
16082
16156
  };
16083
16157
  output: {};
16084
16158
  outputFormat: string;
16085
- status: 302;
16159
+ status: 200;
16086
16160
  } | {
16087
16161
  input: {
16088
16162
  query: {
@@ -16096,7 +16170,7 @@ export declare function init(config: AuthHeroConfig): {
16096
16170
  };
16097
16171
  output: {};
16098
16172
  outputFormat: string;
16099
- status: 200;
16173
+ status: 400;
16100
16174
  } | {
16101
16175
  input: {
16102
16176
  query: {
@@ -16110,7 +16184,7 @@ export declare function init(config: AuthHeroConfig): {
16110
16184
  };
16111
16185
  output: {};
16112
16186
  outputFormat: string;
16113
- status: 400;
16187
+ status: 302;
16114
16188
  };
16115
16189
  };
16116
16190
  }, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
@@ -16217,7 +16291,7 @@ export declare function init(config: AuthHeroConfig): {
16217
16291
  };
16218
16292
  output: {};
16219
16293
  outputFormat: string;
16220
- status: 302;
16294
+ status: 400;
16221
16295
  } | {
16222
16296
  input: {
16223
16297
  query: {
@@ -16226,7 +16300,7 @@ export declare function init(config: AuthHeroConfig): {
16226
16300
  };
16227
16301
  output: {};
16228
16302
  outputFormat: string;
16229
- status: 400;
16303
+ status: 302;
16230
16304
  } | {
16231
16305
  input: {
16232
16306
  query: {
@@ -16355,7 +16429,7 @@ export declare function init(config: AuthHeroConfig): {
16355
16429
  };
16356
16430
  output: {};
16357
16431
  outputFormat: string;
16358
- status: 302;
16432
+ status: 400;
16359
16433
  } | {
16360
16434
  input: {
16361
16435
  query: {
@@ -16368,7 +16442,7 @@ export declare function init(config: AuthHeroConfig): {
16368
16442
  };
16369
16443
  output: {};
16370
16444
  outputFormat: string;
16371
- status: 400;
16445
+ status: 302;
16372
16446
  };
16373
16447
  };
16374
16448
  }, "/impersonate"> & import("hono/types").MergeSchemaPath<{
@@ -16705,12 +16779,12 @@ export declare function init(config: AuthHeroConfig): {
16705
16779
  } & {
16706
16780
  form: {
16707
16781
  username: string;
16708
- login_selection?: "code" | "password" | undefined;
16782
+ login_selection?: "password" | "code" | undefined;
16709
16783
  };
16710
16784
  };
16711
16785
  output: {};
16712
16786
  outputFormat: string;
16713
- status: 302;
16787
+ status: 400;
16714
16788
  } | {
16715
16789
  input: {
16716
16790
  query: {
@@ -16719,12 +16793,12 @@ export declare function init(config: AuthHeroConfig): {
16719
16793
  } & {
16720
16794
  form: {
16721
16795
  username: string;
16722
- login_selection?: "code" | "password" | undefined;
16796
+ login_selection?: "password" | "code" | undefined;
16723
16797
  };
16724
16798
  };
16725
16799
  output: {};
16726
16800
  outputFormat: string;
16727
- status: 400;
16801
+ status: 302;
16728
16802
  };
16729
16803
  };
16730
16804
  }, "/login/identifier"> & import("hono/types").MergeSchemaPath<{
@@ -17084,7 +17158,7 @@ export declare function init(config: AuthHeroConfig): {
17084
17158
  $get: {
17085
17159
  input: {
17086
17160
  param: {
17087
- screen: "signup" | "login" | "consent" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17161
+ screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17088
17162
  };
17089
17163
  } & {
17090
17164
  query: {
@@ -17100,7 +17174,7 @@ export declare function init(config: AuthHeroConfig): {
17100
17174
  } | {
17101
17175
  input: {
17102
17176
  param: {
17103
- screen: "signup" | "login" | "consent" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17177
+ screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17104
17178
  };
17105
17179
  } & {
17106
17180
  query: {
@@ -17112,11 +17186,11 @@ export declare function init(config: AuthHeroConfig): {
17112
17186
  };
17113
17187
  output: {};
17114
17188
  outputFormat: string;
17115
- status: 302;
17189
+ status: 400;
17116
17190
  } | {
17117
17191
  input: {
17118
17192
  param: {
17119
- screen: "signup" | "login" | "consent" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17193
+ screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17120
17194
  };
17121
17195
  } & {
17122
17196
  query: {
@@ -17128,7 +17202,7 @@ export declare function init(config: AuthHeroConfig): {
17128
17202
  };
17129
17203
  output: {};
17130
17204
  outputFormat: string;
17131
- status: 400;
17205
+ status: 302;
17132
17206
  };
17133
17207
  };
17134
17208
  } & {
@@ -17136,7 +17210,7 @@ export declare function init(config: AuthHeroConfig): {
17136
17210
  $post: {
17137
17211
  input: {
17138
17212
  param: {
17139
- screen: "signup" | "login" | "consent" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17213
+ screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17140
17214
  };
17141
17215
  } & {
17142
17216
  query: {
@@ -17154,7 +17228,7 @@ export declare function init(config: AuthHeroConfig): {
17154
17228
  } | {
17155
17229
  input: {
17156
17230
  param: {
17157
- screen: "signup" | "login" | "consent" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17231
+ screen: "signup" | "impersonate" | "consent" | "login" | "reset-password" | "enter-password" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
17158
17232
  };
17159
17233
  } & {
17160
17234
  query: {