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
@@ -4349,7 +4349,7 @@ declare function init(config: AuthHeroConfig): {
4349
4349
  };
4350
4350
  } & {
4351
4351
  json: {
4352
- type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
4352
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
4353
4353
  phone_number?: string | undefined;
4354
4354
  totp_secret?: string | undefined;
4355
4355
  credential_id?: string | undefined;
@@ -4489,7 +4489,7 @@ declare function init(config: AuthHeroConfig): {
4489
4489
  };
4490
4490
  };
4491
4491
  output: {
4492
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4492
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4493
4493
  enabled: boolean;
4494
4494
  trial_expired?: boolean | undefined;
4495
4495
  }[];
@@ -4644,7 +4644,7 @@ declare function init(config: AuthHeroConfig): {
4644
4644
  $get: {
4645
4645
  input: {
4646
4646
  param: {
4647
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4647
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4648
4648
  };
4649
4649
  } & {
4650
4650
  header: {
@@ -4652,7 +4652,7 @@ declare function init(config: AuthHeroConfig): {
4652
4652
  };
4653
4653
  };
4654
4654
  output: {
4655
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4655
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4656
4656
  enabled: boolean;
4657
4657
  trial_expired?: boolean | undefined;
4658
4658
  };
@@ -4665,7 +4665,7 @@ declare function init(config: AuthHeroConfig): {
4665
4665
  $put: {
4666
4666
  input: {
4667
4667
  param: {
4668
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4668
+ factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4669
4669
  };
4670
4670
  } & {
4671
4671
  header: {
@@ -4677,7 +4677,7 @@ declare function init(config: AuthHeroConfig): {
4677
4677
  };
4678
4678
  };
4679
4679
  output: {
4680
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4680
+ name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4681
4681
  enabled: boolean;
4682
4682
  trial_expired?: boolean | undefined;
4683
4683
  };
@@ -6941,7 +6941,7 @@ declare function init(config: AuthHeroConfig): {
6941
6941
  hint?: string | undefined;
6942
6942
  messages?: {
6943
6943
  text: string;
6944
- type: "error" | "success" | "info" | "warning";
6944
+ type: "success" | "error" | "info" | "warning";
6945
6945
  id?: number | undefined;
6946
6946
  }[] | undefined;
6947
6947
  required?: boolean | undefined;
@@ -6959,7 +6959,7 @@ declare function init(config: AuthHeroConfig): {
6959
6959
  hint?: string | undefined;
6960
6960
  messages?: {
6961
6961
  text: string;
6962
- type: "error" | "success" | "info" | "warning";
6962
+ type: "success" | "error" | "info" | "warning";
6963
6963
  id?: number | undefined;
6964
6964
  }[] | undefined;
6965
6965
  required?: boolean | undefined;
@@ -6983,7 +6983,7 @@ declare function init(config: AuthHeroConfig): {
6983
6983
  hint?: string | undefined;
6984
6984
  messages?: {
6985
6985
  text: string;
6986
- type: "error" | "success" | "info" | "warning";
6986
+ type: "success" | "error" | "info" | "warning";
6987
6987
  id?: number | undefined;
6988
6988
  }[] | undefined;
6989
6989
  required?: boolean | undefined;
@@ -7007,7 +7007,7 @@ declare function init(config: AuthHeroConfig): {
7007
7007
  hint?: string | undefined;
7008
7008
  messages?: {
7009
7009
  text: string;
7010
- type: "error" | "success" | "info" | "warning";
7010
+ type: "success" | "error" | "info" | "warning";
7011
7011
  id?: number | undefined;
7012
7012
  }[] | undefined;
7013
7013
  required?: boolean | undefined;
@@ -7031,7 +7031,7 @@ declare function init(config: AuthHeroConfig): {
7031
7031
  hint?: string | undefined;
7032
7032
  messages?: {
7033
7033
  text: string;
7034
- type: "error" | "success" | "info" | "warning";
7034
+ type: "success" | "error" | "info" | "warning";
7035
7035
  id?: number | undefined;
7036
7036
  }[] | undefined;
7037
7037
  required?: boolean | undefined;
@@ -7060,7 +7060,7 @@ declare function init(config: AuthHeroConfig): {
7060
7060
  hint?: string | undefined;
7061
7061
  messages?: {
7062
7062
  text: string;
7063
- type: "error" | "success" | "info" | "warning";
7063
+ type: "success" | "error" | "info" | "warning";
7064
7064
  id?: number | undefined;
7065
7065
  }[] | undefined;
7066
7066
  required?: boolean | undefined;
@@ -7075,7 +7075,7 @@ declare function init(config: AuthHeroConfig): {
7075
7075
  hint?: string | undefined;
7076
7076
  messages?: {
7077
7077
  text: string;
7078
- type: "error" | "success" | "info" | "warning";
7078
+ type: "success" | "error" | "info" | "warning";
7079
7079
  id?: number | undefined;
7080
7080
  }[] | undefined;
7081
7081
  required?: boolean | undefined;
@@ -7096,7 +7096,7 @@ declare function init(config: AuthHeroConfig): {
7096
7096
  hint?: string | undefined;
7097
7097
  messages?: {
7098
7098
  text: string;
7099
- type: "error" | "success" | "info" | "warning";
7099
+ type: "success" | "error" | "info" | "warning";
7100
7100
  id?: number | undefined;
7101
7101
  }[] | undefined;
7102
7102
  required?: boolean | undefined;
@@ -7121,7 +7121,7 @@ declare function init(config: AuthHeroConfig): {
7121
7121
  hint?: string | undefined;
7122
7122
  messages?: {
7123
7123
  text: string;
7124
- type: "error" | "success" | "info" | "warning";
7124
+ type: "success" | "error" | "info" | "warning";
7125
7125
  id?: number | undefined;
7126
7126
  }[] | undefined;
7127
7127
  required?: boolean | undefined;
@@ -7142,7 +7142,7 @@ declare function init(config: AuthHeroConfig): {
7142
7142
  hint?: string | undefined;
7143
7143
  messages?: {
7144
7144
  text: string;
7145
- type: "error" | "success" | "info" | "warning";
7145
+ type: "success" | "error" | "info" | "warning";
7146
7146
  id?: number | undefined;
7147
7147
  }[] | undefined;
7148
7148
  required?: boolean | undefined;
@@ -7162,7 +7162,7 @@ declare function init(config: AuthHeroConfig): {
7162
7162
  hint?: string | undefined;
7163
7163
  messages?: {
7164
7164
  text: string;
7165
- type: "error" | "success" | "info" | "warning";
7165
+ type: "success" | "error" | "info" | "warning";
7166
7166
  id?: number | undefined;
7167
7167
  }[] | undefined;
7168
7168
  required?: boolean | undefined;
@@ -7181,7 +7181,7 @@ declare function init(config: AuthHeroConfig): {
7181
7181
  hint?: string | undefined;
7182
7182
  messages?: {
7183
7183
  text: string;
7184
- type: "error" | "success" | "info" | "warning";
7184
+ type: "success" | "error" | "info" | "warning";
7185
7185
  id?: number | undefined;
7186
7186
  }[] | undefined;
7187
7187
  required?: boolean | undefined;
@@ -7203,7 +7203,7 @@ declare function init(config: AuthHeroConfig): {
7203
7203
  hint?: string | undefined;
7204
7204
  messages?: {
7205
7205
  text: string;
7206
- type: "error" | "success" | "info" | "warning";
7206
+ type: "success" | "error" | "info" | "warning";
7207
7207
  id?: number | undefined;
7208
7208
  }[] | undefined;
7209
7209
  required?: boolean | undefined;
@@ -7225,7 +7225,7 @@ declare function init(config: AuthHeroConfig): {
7225
7225
  hint?: string | undefined;
7226
7226
  messages?: {
7227
7227
  text: string;
7228
- type: "error" | "success" | "info" | "warning";
7228
+ type: "success" | "error" | "info" | "warning";
7229
7229
  id?: number | undefined;
7230
7230
  }[] | undefined;
7231
7231
  required?: boolean | undefined;
@@ -7244,7 +7244,7 @@ declare function init(config: AuthHeroConfig): {
7244
7244
  hint?: string | undefined;
7245
7245
  messages?: {
7246
7246
  text: string;
7247
- type: "error" | "success" | "info" | "warning";
7247
+ type: "success" | "error" | "info" | "warning";
7248
7248
  id?: number | undefined;
7249
7249
  }[] | undefined;
7250
7250
  required?: boolean | undefined;
@@ -7271,7 +7271,7 @@ declare function init(config: AuthHeroConfig): {
7271
7271
  hint?: string | undefined;
7272
7272
  messages?: {
7273
7273
  text: string;
7274
- type: "error" | "success" | "info" | "warning";
7274
+ type: "success" | "error" | "info" | "warning";
7275
7275
  id?: number | undefined;
7276
7276
  }[] | undefined;
7277
7277
  required?: boolean | undefined;
@@ -7292,7 +7292,7 @@ declare function init(config: AuthHeroConfig): {
7292
7292
  hint?: string | undefined;
7293
7293
  messages?: {
7294
7294
  text: string;
7295
- type: "error" | "success" | "info" | "warning";
7295
+ type: "success" | "error" | "info" | "warning";
7296
7296
  id?: number | undefined;
7297
7297
  }[] | undefined;
7298
7298
  required?: boolean | undefined;
@@ -7315,7 +7315,7 @@ declare function init(config: AuthHeroConfig): {
7315
7315
  hint?: string | undefined;
7316
7316
  messages?: {
7317
7317
  text: string;
7318
- type: "error" | "success" | "info" | "warning";
7318
+ type: "success" | "error" | "info" | "warning";
7319
7319
  id?: number | undefined;
7320
7320
  }[] | undefined;
7321
7321
  required?: boolean | undefined;
@@ -7548,7 +7548,7 @@ declare function init(config: AuthHeroConfig): {
7548
7548
  hint?: string | undefined;
7549
7549
  messages?: {
7550
7550
  text: string;
7551
- type: "error" | "success" | "info" | "warning";
7551
+ type: "success" | "error" | "info" | "warning";
7552
7552
  id?: number | undefined;
7553
7553
  }[] | undefined;
7554
7554
  required?: boolean | undefined;
@@ -7566,7 +7566,7 @@ declare function init(config: AuthHeroConfig): {
7566
7566
  hint?: string | undefined;
7567
7567
  messages?: {
7568
7568
  text: string;
7569
- type: "error" | "success" | "info" | "warning";
7569
+ type: "success" | "error" | "info" | "warning";
7570
7570
  id?: number | undefined;
7571
7571
  }[] | undefined;
7572
7572
  required?: boolean | undefined;
@@ -7590,7 +7590,7 @@ declare function init(config: AuthHeroConfig): {
7590
7590
  hint?: string | undefined;
7591
7591
  messages?: {
7592
7592
  text: string;
7593
- type: "error" | "success" | "info" | "warning";
7593
+ type: "success" | "error" | "info" | "warning";
7594
7594
  id?: number | undefined;
7595
7595
  }[] | undefined;
7596
7596
  required?: boolean | undefined;
@@ -7614,7 +7614,7 @@ declare function init(config: AuthHeroConfig): {
7614
7614
  hint?: string | undefined;
7615
7615
  messages?: {
7616
7616
  text: string;
7617
- type: "error" | "success" | "info" | "warning";
7617
+ type: "success" | "error" | "info" | "warning";
7618
7618
  id?: number | undefined;
7619
7619
  }[] | undefined;
7620
7620
  required?: boolean | undefined;
@@ -7638,7 +7638,7 @@ declare function init(config: AuthHeroConfig): {
7638
7638
  hint?: string | undefined;
7639
7639
  messages?: {
7640
7640
  text: string;
7641
- type: "error" | "success" | "info" | "warning";
7641
+ type: "success" | "error" | "info" | "warning";
7642
7642
  id?: number | undefined;
7643
7643
  }[] | undefined;
7644
7644
  required?: boolean | undefined;
@@ -7667,7 +7667,7 @@ declare function init(config: AuthHeroConfig): {
7667
7667
  hint?: string | undefined;
7668
7668
  messages?: {
7669
7669
  text: string;
7670
- type: "error" | "success" | "info" | "warning";
7670
+ type: "success" | "error" | "info" | "warning";
7671
7671
  id?: number | undefined;
7672
7672
  }[] | undefined;
7673
7673
  required?: boolean | undefined;
@@ -7682,7 +7682,7 @@ declare function init(config: AuthHeroConfig): {
7682
7682
  hint?: string | undefined;
7683
7683
  messages?: {
7684
7684
  text: string;
7685
- type: "error" | "success" | "info" | "warning";
7685
+ type: "success" | "error" | "info" | "warning";
7686
7686
  id?: number | undefined;
7687
7687
  }[] | undefined;
7688
7688
  required?: boolean | undefined;
@@ -7703,7 +7703,7 @@ declare function init(config: AuthHeroConfig): {
7703
7703
  hint?: string | undefined;
7704
7704
  messages?: {
7705
7705
  text: string;
7706
- type: "error" | "success" | "info" | "warning";
7706
+ type: "success" | "error" | "info" | "warning";
7707
7707
  id?: number | undefined;
7708
7708
  }[] | undefined;
7709
7709
  required?: boolean | undefined;
@@ -7728,7 +7728,7 @@ declare function init(config: AuthHeroConfig): {
7728
7728
  hint?: string | undefined;
7729
7729
  messages?: {
7730
7730
  text: string;
7731
- type: "error" | "success" | "info" | "warning";
7731
+ type: "success" | "error" | "info" | "warning";
7732
7732
  id?: number | undefined;
7733
7733
  }[] | undefined;
7734
7734
  required?: boolean | undefined;
@@ -7749,7 +7749,7 @@ declare function init(config: AuthHeroConfig): {
7749
7749
  hint?: string | undefined;
7750
7750
  messages?: {
7751
7751
  text: string;
7752
- type: "error" | "success" | "info" | "warning";
7752
+ type: "success" | "error" | "info" | "warning";
7753
7753
  id?: number | undefined;
7754
7754
  }[] | undefined;
7755
7755
  required?: boolean | undefined;
@@ -7769,7 +7769,7 @@ declare function init(config: AuthHeroConfig): {
7769
7769
  hint?: string | undefined;
7770
7770
  messages?: {
7771
7771
  text: string;
7772
- type: "error" | "success" | "info" | "warning";
7772
+ type: "success" | "error" | "info" | "warning";
7773
7773
  id?: number | undefined;
7774
7774
  }[] | undefined;
7775
7775
  required?: boolean | undefined;
@@ -7788,7 +7788,7 @@ declare function init(config: AuthHeroConfig): {
7788
7788
  hint?: string | undefined;
7789
7789
  messages?: {
7790
7790
  text: string;
7791
- type: "error" | "success" | "info" | "warning";
7791
+ type: "success" | "error" | "info" | "warning";
7792
7792
  id?: number | undefined;
7793
7793
  }[] | undefined;
7794
7794
  required?: boolean | undefined;
@@ -7810,7 +7810,7 @@ declare function init(config: AuthHeroConfig): {
7810
7810
  hint?: string | undefined;
7811
7811
  messages?: {
7812
7812
  text: string;
7813
- type: "error" | "success" | "info" | "warning";
7813
+ type: "success" | "error" | "info" | "warning";
7814
7814
  id?: number | undefined;
7815
7815
  }[] | undefined;
7816
7816
  required?: boolean | undefined;
@@ -7832,7 +7832,7 @@ declare function init(config: AuthHeroConfig): {
7832
7832
  hint?: string | undefined;
7833
7833
  messages?: {
7834
7834
  text: string;
7835
- type: "error" | "success" | "info" | "warning";
7835
+ type: "success" | "error" | "info" | "warning";
7836
7836
  id?: number | undefined;
7837
7837
  }[] | undefined;
7838
7838
  required?: boolean | undefined;
@@ -7851,7 +7851,7 @@ declare function init(config: AuthHeroConfig): {
7851
7851
  hint?: string | undefined;
7852
7852
  messages?: {
7853
7853
  text: string;
7854
- type: "error" | "success" | "info" | "warning";
7854
+ type: "success" | "error" | "info" | "warning";
7855
7855
  id?: number | undefined;
7856
7856
  }[] | undefined;
7857
7857
  required?: boolean | undefined;
@@ -7878,7 +7878,7 @@ declare function init(config: AuthHeroConfig): {
7878
7878
  hint?: string | undefined;
7879
7879
  messages?: {
7880
7880
  text: string;
7881
- type: "error" | "success" | "info" | "warning";
7881
+ type: "success" | "error" | "info" | "warning";
7882
7882
  id?: number | undefined;
7883
7883
  }[] | undefined;
7884
7884
  required?: boolean | undefined;
@@ -7899,7 +7899,7 @@ declare function init(config: AuthHeroConfig): {
7899
7899
  hint?: string | undefined;
7900
7900
  messages?: {
7901
7901
  text: string;
7902
- type: "error" | "success" | "info" | "warning";
7902
+ type: "success" | "error" | "info" | "warning";
7903
7903
  id?: number | undefined;
7904
7904
  }[] | undefined;
7905
7905
  required?: boolean | undefined;
@@ -7922,7 +7922,7 @@ declare function init(config: AuthHeroConfig): {
7922
7922
  hint?: string | undefined;
7923
7923
  messages?: {
7924
7924
  text: string;
7925
- type: "error" | "success" | "info" | "warning";
7925
+ type: "success" | "error" | "info" | "warning";
7926
7926
  id?: number | undefined;
7927
7927
  }[] | undefined;
7928
7928
  required?: boolean | undefined;
@@ -8171,7 +8171,7 @@ declare function init(config: AuthHeroConfig): {
8171
8171
  hint?: string | undefined;
8172
8172
  messages?: {
8173
8173
  text: string;
8174
- type: "error" | "success" | "info" | "warning";
8174
+ type: "success" | "error" | "info" | "warning";
8175
8175
  id?: number | undefined;
8176
8176
  }[] | undefined;
8177
8177
  required?: boolean | undefined;
@@ -8189,7 +8189,7 @@ declare function init(config: AuthHeroConfig): {
8189
8189
  hint?: string | undefined;
8190
8190
  messages?: {
8191
8191
  text: string;
8192
- type: "error" | "success" | "info" | "warning";
8192
+ type: "success" | "error" | "info" | "warning";
8193
8193
  id?: number | undefined;
8194
8194
  }[] | undefined;
8195
8195
  required?: boolean | undefined;
@@ -8213,7 +8213,7 @@ declare function init(config: AuthHeroConfig): {
8213
8213
  hint?: string | undefined;
8214
8214
  messages?: {
8215
8215
  text: string;
8216
- type: "error" | "success" | "info" | "warning";
8216
+ type: "success" | "error" | "info" | "warning";
8217
8217
  id?: number | undefined;
8218
8218
  }[] | undefined;
8219
8219
  required?: boolean | undefined;
@@ -8237,7 +8237,7 @@ declare function init(config: AuthHeroConfig): {
8237
8237
  hint?: string | undefined;
8238
8238
  messages?: {
8239
8239
  text: string;
8240
- type: "error" | "success" | "info" | "warning";
8240
+ type: "success" | "error" | "info" | "warning";
8241
8241
  id?: number | undefined;
8242
8242
  }[] | undefined;
8243
8243
  required?: boolean | undefined;
@@ -8261,7 +8261,7 @@ declare function init(config: AuthHeroConfig): {
8261
8261
  hint?: string | undefined;
8262
8262
  messages?: {
8263
8263
  text: string;
8264
- type: "error" | "success" | "info" | "warning";
8264
+ type: "success" | "error" | "info" | "warning";
8265
8265
  id?: number | undefined;
8266
8266
  }[] | undefined;
8267
8267
  required?: boolean | undefined;
@@ -8290,7 +8290,7 @@ declare function init(config: AuthHeroConfig): {
8290
8290
  hint?: string | undefined;
8291
8291
  messages?: {
8292
8292
  text: string;
8293
- type: "error" | "success" | "info" | "warning";
8293
+ type: "success" | "error" | "info" | "warning";
8294
8294
  id?: number | undefined;
8295
8295
  }[] | undefined;
8296
8296
  required?: boolean | undefined;
@@ -8305,7 +8305,7 @@ declare function init(config: AuthHeroConfig): {
8305
8305
  hint?: string | undefined;
8306
8306
  messages?: {
8307
8307
  text: string;
8308
- type: "error" | "success" | "info" | "warning";
8308
+ type: "success" | "error" | "info" | "warning";
8309
8309
  id?: number | undefined;
8310
8310
  }[] | undefined;
8311
8311
  required?: boolean | undefined;
@@ -8326,7 +8326,7 @@ declare function init(config: AuthHeroConfig): {
8326
8326
  hint?: string | undefined;
8327
8327
  messages?: {
8328
8328
  text: string;
8329
- type: "error" | "success" | "info" | "warning";
8329
+ type: "success" | "error" | "info" | "warning";
8330
8330
  id?: number | undefined;
8331
8331
  }[] | undefined;
8332
8332
  required?: boolean | undefined;
@@ -8351,7 +8351,7 @@ declare function init(config: AuthHeroConfig): {
8351
8351
  hint?: string | undefined;
8352
8352
  messages?: {
8353
8353
  text: string;
8354
- type: "error" | "success" | "info" | "warning";
8354
+ type: "success" | "error" | "info" | "warning";
8355
8355
  id?: number | undefined;
8356
8356
  }[] | undefined;
8357
8357
  required?: boolean | undefined;
@@ -8372,7 +8372,7 @@ declare function init(config: AuthHeroConfig): {
8372
8372
  hint?: string | undefined;
8373
8373
  messages?: {
8374
8374
  text: string;
8375
- type: "error" | "success" | "info" | "warning";
8375
+ type: "success" | "error" | "info" | "warning";
8376
8376
  id?: number | undefined;
8377
8377
  }[] | undefined;
8378
8378
  required?: boolean | undefined;
@@ -8392,7 +8392,7 @@ declare function init(config: AuthHeroConfig): {
8392
8392
  hint?: string | undefined;
8393
8393
  messages?: {
8394
8394
  text: string;
8395
- type: "error" | "success" | "info" | "warning";
8395
+ type: "success" | "error" | "info" | "warning";
8396
8396
  id?: number | undefined;
8397
8397
  }[] | undefined;
8398
8398
  required?: boolean | undefined;
@@ -8411,7 +8411,7 @@ declare function init(config: AuthHeroConfig): {
8411
8411
  hint?: string | undefined;
8412
8412
  messages?: {
8413
8413
  text: string;
8414
- type: "error" | "success" | "info" | "warning";
8414
+ type: "success" | "error" | "info" | "warning";
8415
8415
  id?: number | undefined;
8416
8416
  }[] | undefined;
8417
8417
  required?: boolean | undefined;
@@ -8433,7 +8433,7 @@ declare function init(config: AuthHeroConfig): {
8433
8433
  hint?: string | undefined;
8434
8434
  messages?: {
8435
8435
  text: string;
8436
- type: "error" | "success" | "info" | "warning";
8436
+ type: "success" | "error" | "info" | "warning";
8437
8437
  id?: number | undefined;
8438
8438
  }[] | undefined;
8439
8439
  required?: boolean | undefined;
@@ -8455,7 +8455,7 @@ declare function init(config: AuthHeroConfig): {
8455
8455
  hint?: string | undefined;
8456
8456
  messages?: {
8457
8457
  text: string;
8458
- type: "error" | "success" | "info" | "warning";
8458
+ type: "success" | "error" | "info" | "warning";
8459
8459
  id?: number | undefined;
8460
8460
  }[] | undefined;
8461
8461
  required?: boolean | undefined;
@@ -8474,7 +8474,7 @@ declare function init(config: AuthHeroConfig): {
8474
8474
  hint?: string | undefined;
8475
8475
  messages?: {
8476
8476
  text: string;
8477
- type: "error" | "success" | "info" | "warning";
8477
+ type: "success" | "error" | "info" | "warning";
8478
8478
  id?: number | undefined;
8479
8479
  }[] | undefined;
8480
8480
  required?: boolean | undefined;
@@ -8501,7 +8501,7 @@ declare function init(config: AuthHeroConfig): {
8501
8501
  hint?: string | undefined;
8502
8502
  messages?: {
8503
8503
  text: string;
8504
- type: "error" | "success" | "info" | "warning";
8504
+ type: "success" | "error" | "info" | "warning";
8505
8505
  id?: number | undefined;
8506
8506
  }[] | undefined;
8507
8507
  required?: boolean | undefined;
@@ -8522,7 +8522,7 @@ declare function init(config: AuthHeroConfig): {
8522
8522
  hint?: string | undefined;
8523
8523
  messages?: {
8524
8524
  text: string;
8525
- type: "error" | "success" | "info" | "warning";
8525
+ type: "success" | "error" | "info" | "warning";
8526
8526
  id?: number | undefined;
8527
8527
  }[] | undefined;
8528
8528
  required?: boolean | undefined;
@@ -8545,7 +8545,7 @@ declare function init(config: AuthHeroConfig): {
8545
8545
  hint?: string | undefined;
8546
8546
  messages?: {
8547
8547
  text: string;
8548
- type: "error" | "success" | "info" | "warning";
8548
+ type: "success" | "error" | "info" | "warning";
8549
8549
  id?: number | undefined;
8550
8550
  }[] | undefined;
8551
8551
  required?: boolean | undefined;
@@ -8799,7 +8799,7 @@ declare function init(config: AuthHeroConfig): {
8799
8799
  hint?: string | undefined;
8800
8800
  messages?: {
8801
8801
  text: string;
8802
- type: "error" | "success" | "info" | "warning";
8802
+ type: "success" | "error" | "info" | "warning";
8803
8803
  id?: number | undefined;
8804
8804
  }[] | undefined;
8805
8805
  required?: boolean | undefined;
@@ -8817,7 +8817,7 @@ declare function init(config: AuthHeroConfig): {
8817
8817
  hint?: string | undefined;
8818
8818
  messages?: {
8819
8819
  text: string;
8820
- type: "error" | "success" | "info" | "warning";
8820
+ type: "success" | "error" | "info" | "warning";
8821
8821
  id?: number | undefined;
8822
8822
  }[] | undefined;
8823
8823
  required?: boolean | undefined;
@@ -8841,7 +8841,7 @@ declare function init(config: AuthHeroConfig): {
8841
8841
  hint?: string | undefined;
8842
8842
  messages?: {
8843
8843
  text: string;
8844
- type: "error" | "success" | "info" | "warning";
8844
+ type: "success" | "error" | "info" | "warning";
8845
8845
  id?: number | undefined;
8846
8846
  }[] | undefined;
8847
8847
  required?: boolean | undefined;
@@ -8865,7 +8865,7 @@ declare function init(config: AuthHeroConfig): {
8865
8865
  hint?: string | undefined;
8866
8866
  messages?: {
8867
8867
  text: string;
8868
- type: "error" | "success" | "info" | "warning";
8868
+ type: "success" | "error" | "info" | "warning";
8869
8869
  id?: number | undefined;
8870
8870
  }[] | undefined;
8871
8871
  required?: boolean | undefined;
@@ -8889,7 +8889,7 @@ declare function init(config: AuthHeroConfig): {
8889
8889
  hint?: string | undefined;
8890
8890
  messages?: {
8891
8891
  text: string;
8892
- type: "error" | "success" | "info" | "warning";
8892
+ type: "success" | "error" | "info" | "warning";
8893
8893
  id?: number | undefined;
8894
8894
  }[] | undefined;
8895
8895
  required?: boolean | undefined;
@@ -8914,7 +8914,7 @@ declare function init(config: AuthHeroConfig): {
8914
8914
  hint?: string | undefined;
8915
8915
  messages?: {
8916
8916
  text: string;
8917
- type: "error" | "success" | "info" | "warning";
8917
+ type: "success" | "error" | "info" | "warning";
8918
8918
  id?: number | undefined;
8919
8919
  }[] | undefined;
8920
8920
  required?: boolean | undefined;
@@ -8929,7 +8929,7 @@ declare function init(config: AuthHeroConfig): {
8929
8929
  hint?: string | undefined;
8930
8930
  messages?: {
8931
8931
  text: string;
8932
- type: "error" | "success" | "info" | "warning";
8932
+ type: "success" | "error" | "info" | "warning";
8933
8933
  id?: number | undefined;
8934
8934
  }[] | undefined;
8935
8935
  required?: boolean | undefined;
@@ -8950,7 +8950,7 @@ declare function init(config: AuthHeroConfig): {
8950
8950
  hint?: string | undefined;
8951
8951
  messages?: {
8952
8952
  text: string;
8953
- type: "error" | "success" | "info" | "warning";
8953
+ type: "success" | "error" | "info" | "warning";
8954
8954
  id?: number | undefined;
8955
8955
  }[] | undefined;
8956
8956
  required?: boolean | undefined;
@@ -8975,7 +8975,7 @@ declare function init(config: AuthHeroConfig): {
8975
8975
  hint?: string | undefined;
8976
8976
  messages?: {
8977
8977
  text: string;
8978
- type: "error" | "success" | "info" | "warning";
8978
+ type: "success" | "error" | "info" | "warning";
8979
8979
  id?: number | undefined;
8980
8980
  }[] | undefined;
8981
8981
  required?: boolean | undefined;
@@ -8996,7 +8996,7 @@ declare function init(config: AuthHeroConfig): {
8996
8996
  hint?: string | undefined;
8997
8997
  messages?: {
8998
8998
  text: string;
8999
- type: "error" | "success" | "info" | "warning";
8999
+ type: "success" | "error" | "info" | "warning";
9000
9000
  id?: number | undefined;
9001
9001
  }[] | undefined;
9002
9002
  required?: boolean | undefined;
@@ -9016,7 +9016,7 @@ declare function init(config: AuthHeroConfig): {
9016
9016
  hint?: string | undefined;
9017
9017
  messages?: {
9018
9018
  text: string;
9019
- type: "error" | "success" | "info" | "warning";
9019
+ type: "success" | "error" | "info" | "warning";
9020
9020
  id?: number | undefined;
9021
9021
  }[] | undefined;
9022
9022
  required?: boolean | undefined;
@@ -9035,7 +9035,7 @@ declare function init(config: AuthHeroConfig): {
9035
9035
  hint?: string | undefined;
9036
9036
  messages?: {
9037
9037
  text: string;
9038
- type: "error" | "success" | "info" | "warning";
9038
+ type: "success" | "error" | "info" | "warning";
9039
9039
  id?: number | undefined;
9040
9040
  }[] | undefined;
9041
9041
  required?: boolean | undefined;
@@ -9057,7 +9057,7 @@ declare function init(config: AuthHeroConfig): {
9057
9057
  hint?: string | undefined;
9058
9058
  messages?: {
9059
9059
  text: string;
9060
- type: "error" | "success" | "info" | "warning";
9060
+ type: "success" | "error" | "info" | "warning";
9061
9061
  id?: number | undefined;
9062
9062
  }[] | undefined;
9063
9063
  required?: boolean | undefined;
@@ -9079,7 +9079,7 @@ declare function init(config: AuthHeroConfig): {
9079
9079
  hint?: string | undefined;
9080
9080
  messages?: {
9081
9081
  text: string;
9082
- type: "error" | "success" | "info" | "warning";
9082
+ type: "success" | "error" | "info" | "warning";
9083
9083
  id?: number | undefined;
9084
9084
  }[] | undefined;
9085
9085
  required?: boolean | undefined;
@@ -9098,7 +9098,7 @@ declare function init(config: AuthHeroConfig): {
9098
9098
  hint?: string | undefined;
9099
9099
  messages?: {
9100
9100
  text: string;
9101
- type: "error" | "success" | "info" | "warning";
9101
+ type: "success" | "error" | "info" | "warning";
9102
9102
  id?: number | undefined;
9103
9103
  }[] | undefined;
9104
9104
  required?: boolean | undefined;
@@ -9125,7 +9125,7 @@ declare function init(config: AuthHeroConfig): {
9125
9125
  hint?: string | undefined;
9126
9126
  messages?: {
9127
9127
  text: string;
9128
- type: "error" | "success" | "info" | "warning";
9128
+ type: "success" | "error" | "info" | "warning";
9129
9129
  id?: number | undefined;
9130
9130
  }[] | undefined;
9131
9131
  required?: boolean | undefined;
@@ -9146,7 +9146,7 @@ declare function init(config: AuthHeroConfig): {
9146
9146
  hint?: string | undefined;
9147
9147
  messages?: {
9148
9148
  text: string;
9149
- type: "error" | "success" | "info" | "warning";
9149
+ type: "success" | "error" | "info" | "warning";
9150
9150
  id?: number | undefined;
9151
9151
  }[] | undefined;
9152
9152
  required?: boolean | undefined;
@@ -9169,7 +9169,7 @@ declare function init(config: AuthHeroConfig): {
9169
9169
  hint?: string | undefined;
9170
9170
  messages?: {
9171
9171
  text: string;
9172
- type: "error" | "success" | "info" | "warning";
9172
+ type: "success" | "error" | "info" | "warning";
9173
9173
  id?: number | undefined;
9174
9174
  }[] | undefined;
9175
9175
  required?: boolean | undefined;
@@ -9400,7 +9400,7 @@ declare function init(config: AuthHeroConfig): {
9400
9400
  hint?: string | undefined;
9401
9401
  messages?: {
9402
9402
  text: string;
9403
- type: "error" | "success" | "info" | "warning";
9403
+ type: "success" | "error" | "info" | "warning";
9404
9404
  id?: number | undefined;
9405
9405
  }[] | undefined;
9406
9406
  required?: boolean | undefined;
@@ -9418,7 +9418,7 @@ declare function init(config: AuthHeroConfig): {
9418
9418
  hint?: string | undefined;
9419
9419
  messages?: {
9420
9420
  text: string;
9421
- type: "error" | "success" | "info" | "warning";
9421
+ type: "success" | "error" | "info" | "warning";
9422
9422
  id?: number | undefined;
9423
9423
  }[] | undefined;
9424
9424
  required?: boolean | undefined;
@@ -9442,7 +9442,7 @@ declare function init(config: AuthHeroConfig): {
9442
9442
  hint?: string | undefined;
9443
9443
  messages?: {
9444
9444
  text: string;
9445
- type: "error" | "success" | "info" | "warning";
9445
+ type: "success" | "error" | "info" | "warning";
9446
9446
  id?: number | undefined;
9447
9447
  }[] | undefined;
9448
9448
  required?: boolean | undefined;
@@ -9466,7 +9466,7 @@ declare function init(config: AuthHeroConfig): {
9466
9466
  hint?: string | undefined;
9467
9467
  messages?: {
9468
9468
  text: string;
9469
- type: "error" | "success" | "info" | "warning";
9469
+ type: "success" | "error" | "info" | "warning";
9470
9470
  id?: number | undefined;
9471
9471
  }[] | undefined;
9472
9472
  required?: boolean | undefined;
@@ -9490,7 +9490,7 @@ declare function init(config: AuthHeroConfig): {
9490
9490
  hint?: string | undefined;
9491
9491
  messages?: {
9492
9492
  text: string;
9493
- type: "error" | "success" | "info" | "warning";
9493
+ type: "success" | "error" | "info" | "warning";
9494
9494
  id?: number | undefined;
9495
9495
  }[] | undefined;
9496
9496
  required?: boolean | undefined;
@@ -9519,7 +9519,7 @@ declare function init(config: AuthHeroConfig): {
9519
9519
  hint?: string | undefined;
9520
9520
  messages?: {
9521
9521
  text: string;
9522
- type: "error" | "success" | "info" | "warning";
9522
+ type: "success" | "error" | "info" | "warning";
9523
9523
  id?: number | undefined;
9524
9524
  }[] | undefined;
9525
9525
  required?: boolean | undefined;
@@ -9534,7 +9534,7 @@ declare function init(config: AuthHeroConfig): {
9534
9534
  hint?: string | undefined;
9535
9535
  messages?: {
9536
9536
  text: string;
9537
- type: "error" | "success" | "info" | "warning";
9537
+ type: "success" | "error" | "info" | "warning";
9538
9538
  id?: number | undefined;
9539
9539
  }[] | undefined;
9540
9540
  required?: boolean | undefined;
@@ -9555,7 +9555,7 @@ declare function init(config: AuthHeroConfig): {
9555
9555
  hint?: string | undefined;
9556
9556
  messages?: {
9557
9557
  text: string;
9558
- type: "error" | "success" | "info" | "warning";
9558
+ type: "success" | "error" | "info" | "warning";
9559
9559
  id?: number | undefined;
9560
9560
  }[] | undefined;
9561
9561
  required?: boolean | undefined;
@@ -9580,7 +9580,7 @@ declare function init(config: AuthHeroConfig): {
9580
9580
  hint?: string | undefined;
9581
9581
  messages?: {
9582
9582
  text: string;
9583
- type: "error" | "success" | "info" | "warning";
9583
+ type: "success" | "error" | "info" | "warning";
9584
9584
  id?: number | undefined;
9585
9585
  }[] | undefined;
9586
9586
  required?: boolean | undefined;
@@ -9601,7 +9601,7 @@ declare function init(config: AuthHeroConfig): {
9601
9601
  hint?: string | undefined;
9602
9602
  messages?: {
9603
9603
  text: string;
9604
- type: "error" | "success" | "info" | "warning";
9604
+ type: "success" | "error" | "info" | "warning";
9605
9605
  id?: number | undefined;
9606
9606
  }[] | undefined;
9607
9607
  required?: boolean | undefined;
@@ -9621,7 +9621,7 @@ declare function init(config: AuthHeroConfig): {
9621
9621
  hint?: string | undefined;
9622
9622
  messages?: {
9623
9623
  text: string;
9624
- type: "error" | "success" | "info" | "warning";
9624
+ type: "success" | "error" | "info" | "warning";
9625
9625
  id?: number | undefined;
9626
9626
  }[] | undefined;
9627
9627
  required?: boolean | undefined;
@@ -9640,7 +9640,7 @@ declare function init(config: AuthHeroConfig): {
9640
9640
  hint?: string | undefined;
9641
9641
  messages?: {
9642
9642
  text: string;
9643
- type: "error" | "success" | "info" | "warning";
9643
+ type: "success" | "error" | "info" | "warning";
9644
9644
  id?: number | undefined;
9645
9645
  }[] | undefined;
9646
9646
  required?: boolean | undefined;
@@ -9662,7 +9662,7 @@ declare function init(config: AuthHeroConfig): {
9662
9662
  hint?: string | undefined;
9663
9663
  messages?: {
9664
9664
  text: string;
9665
- type: "error" | "success" | "info" | "warning";
9665
+ type: "success" | "error" | "info" | "warning";
9666
9666
  id?: number | undefined;
9667
9667
  }[] | undefined;
9668
9668
  required?: boolean | undefined;
@@ -9684,7 +9684,7 @@ declare function init(config: AuthHeroConfig): {
9684
9684
  hint?: string | undefined;
9685
9685
  messages?: {
9686
9686
  text: string;
9687
- type: "error" | "success" | "info" | "warning";
9687
+ type: "success" | "error" | "info" | "warning";
9688
9688
  id?: number | undefined;
9689
9689
  }[] | undefined;
9690
9690
  required?: boolean | undefined;
@@ -9703,7 +9703,7 @@ declare function init(config: AuthHeroConfig): {
9703
9703
  hint?: string | undefined;
9704
9704
  messages?: {
9705
9705
  text: string;
9706
- type: "error" | "success" | "info" | "warning";
9706
+ type: "success" | "error" | "info" | "warning";
9707
9707
  id?: number | undefined;
9708
9708
  }[] | undefined;
9709
9709
  required?: boolean | undefined;
@@ -9730,7 +9730,7 @@ declare function init(config: AuthHeroConfig): {
9730
9730
  hint?: string | undefined;
9731
9731
  messages?: {
9732
9732
  text: string;
9733
- type: "error" | "success" | "info" | "warning";
9733
+ type: "success" | "error" | "info" | "warning";
9734
9734
  id?: number | undefined;
9735
9735
  }[] | undefined;
9736
9736
  required?: boolean | undefined;
@@ -9751,7 +9751,7 @@ declare function init(config: AuthHeroConfig): {
9751
9751
  hint?: string | undefined;
9752
9752
  messages?: {
9753
9753
  text: string;
9754
- type: "error" | "success" | "info" | "warning";
9754
+ type: "success" | "error" | "info" | "warning";
9755
9755
  id?: number | undefined;
9756
9756
  }[] | undefined;
9757
9757
  required?: boolean | undefined;
@@ -9774,7 +9774,7 @@ declare function init(config: AuthHeroConfig): {
9774
9774
  hint?: string | undefined;
9775
9775
  messages?: {
9776
9776
  text: string;
9777
- type: "error" | "success" | "info" | "warning";
9777
+ type: "success" | "error" | "info" | "warning";
9778
9778
  id?: number | undefined;
9779
9779
  }[] | undefined;
9780
9780
  required?: boolean | undefined;
@@ -10007,7 +10007,7 @@ declare function init(config: AuthHeroConfig): {
10007
10007
  hint?: string | undefined;
10008
10008
  messages?: {
10009
10009
  text: string;
10010
- type: "error" | "success" | "info" | "warning";
10010
+ type: "success" | "error" | "info" | "warning";
10011
10011
  id?: number | undefined;
10012
10012
  }[] | undefined;
10013
10013
  required?: boolean | undefined;
@@ -10025,7 +10025,7 @@ declare function init(config: AuthHeroConfig): {
10025
10025
  hint?: string | undefined;
10026
10026
  messages?: {
10027
10027
  text: string;
10028
- type: "error" | "success" | "info" | "warning";
10028
+ type: "success" | "error" | "info" | "warning";
10029
10029
  id?: number | undefined;
10030
10030
  }[] | undefined;
10031
10031
  required?: boolean | undefined;
@@ -10049,7 +10049,7 @@ declare function init(config: AuthHeroConfig): {
10049
10049
  hint?: string | undefined;
10050
10050
  messages?: {
10051
10051
  text: string;
10052
- type: "error" | "success" | "info" | "warning";
10052
+ type: "success" | "error" | "info" | "warning";
10053
10053
  id?: number | undefined;
10054
10054
  }[] | undefined;
10055
10055
  required?: boolean | undefined;
@@ -10073,7 +10073,7 @@ declare function init(config: AuthHeroConfig): {
10073
10073
  hint?: string | undefined;
10074
10074
  messages?: {
10075
10075
  text: string;
10076
- type: "error" | "success" | "info" | "warning";
10076
+ type: "success" | "error" | "info" | "warning";
10077
10077
  id?: number | undefined;
10078
10078
  }[] | undefined;
10079
10079
  required?: boolean | undefined;
@@ -10097,7 +10097,7 @@ declare function init(config: AuthHeroConfig): {
10097
10097
  hint?: string | undefined;
10098
10098
  messages?: {
10099
10099
  text: string;
10100
- type: "error" | "success" | "info" | "warning";
10100
+ type: "success" | "error" | "info" | "warning";
10101
10101
  id?: number | undefined;
10102
10102
  }[] | undefined;
10103
10103
  required?: boolean | undefined;
@@ -10122,7 +10122,7 @@ declare function init(config: AuthHeroConfig): {
10122
10122
  hint?: string | undefined;
10123
10123
  messages?: {
10124
10124
  text: string;
10125
- type: "error" | "success" | "info" | "warning";
10125
+ type: "success" | "error" | "info" | "warning";
10126
10126
  id?: number | undefined;
10127
10127
  }[] | undefined;
10128
10128
  required?: boolean | undefined;
@@ -10137,7 +10137,7 @@ declare function init(config: AuthHeroConfig): {
10137
10137
  hint?: string | undefined;
10138
10138
  messages?: {
10139
10139
  text: string;
10140
- type: "error" | "success" | "info" | "warning";
10140
+ type: "success" | "error" | "info" | "warning";
10141
10141
  id?: number | undefined;
10142
10142
  }[] | undefined;
10143
10143
  required?: boolean | undefined;
@@ -10158,7 +10158,7 @@ declare function init(config: AuthHeroConfig): {
10158
10158
  hint?: string | undefined;
10159
10159
  messages?: {
10160
10160
  text: string;
10161
- type: "error" | "success" | "info" | "warning";
10161
+ type: "success" | "error" | "info" | "warning";
10162
10162
  id?: number | undefined;
10163
10163
  }[] | undefined;
10164
10164
  required?: boolean | undefined;
@@ -10183,7 +10183,7 @@ declare function init(config: AuthHeroConfig): {
10183
10183
  hint?: string | undefined;
10184
10184
  messages?: {
10185
10185
  text: string;
10186
- type: "error" | "success" | "info" | "warning";
10186
+ type: "success" | "error" | "info" | "warning";
10187
10187
  id?: number | undefined;
10188
10188
  }[] | undefined;
10189
10189
  required?: boolean | undefined;
@@ -10204,7 +10204,7 @@ declare function init(config: AuthHeroConfig): {
10204
10204
  hint?: string | undefined;
10205
10205
  messages?: {
10206
10206
  text: string;
10207
- type: "error" | "success" | "info" | "warning";
10207
+ type: "success" | "error" | "info" | "warning";
10208
10208
  id?: number | undefined;
10209
10209
  }[] | undefined;
10210
10210
  required?: boolean | undefined;
@@ -10224,7 +10224,7 @@ declare function init(config: AuthHeroConfig): {
10224
10224
  hint?: string | undefined;
10225
10225
  messages?: {
10226
10226
  text: string;
10227
- type: "error" | "success" | "info" | "warning";
10227
+ type: "success" | "error" | "info" | "warning";
10228
10228
  id?: number | undefined;
10229
10229
  }[] | undefined;
10230
10230
  required?: boolean | undefined;
@@ -10243,7 +10243,7 @@ declare function init(config: AuthHeroConfig): {
10243
10243
  hint?: string | undefined;
10244
10244
  messages?: {
10245
10245
  text: string;
10246
- type: "error" | "success" | "info" | "warning";
10246
+ type: "success" | "error" | "info" | "warning";
10247
10247
  id?: number | undefined;
10248
10248
  }[] | undefined;
10249
10249
  required?: boolean | undefined;
@@ -10265,7 +10265,7 @@ declare function init(config: AuthHeroConfig): {
10265
10265
  hint?: string | undefined;
10266
10266
  messages?: {
10267
10267
  text: string;
10268
- type: "error" | "success" | "info" | "warning";
10268
+ type: "success" | "error" | "info" | "warning";
10269
10269
  id?: number | undefined;
10270
10270
  }[] | undefined;
10271
10271
  required?: boolean | undefined;
@@ -10287,7 +10287,7 @@ declare function init(config: AuthHeroConfig): {
10287
10287
  hint?: string | undefined;
10288
10288
  messages?: {
10289
10289
  text: string;
10290
- type: "error" | "success" | "info" | "warning";
10290
+ type: "success" | "error" | "info" | "warning";
10291
10291
  id?: number | undefined;
10292
10292
  }[] | undefined;
10293
10293
  required?: boolean | undefined;
@@ -10306,7 +10306,7 @@ declare function init(config: AuthHeroConfig): {
10306
10306
  hint?: string | undefined;
10307
10307
  messages?: {
10308
10308
  text: string;
10309
- type: "error" | "success" | "info" | "warning";
10309
+ type: "success" | "error" | "info" | "warning";
10310
10310
  id?: number | undefined;
10311
10311
  }[] | undefined;
10312
10312
  required?: boolean | undefined;
@@ -10333,7 +10333,7 @@ declare function init(config: AuthHeroConfig): {
10333
10333
  hint?: string | undefined;
10334
10334
  messages?: {
10335
10335
  text: string;
10336
- type: "error" | "success" | "info" | "warning";
10336
+ type: "success" | "error" | "info" | "warning";
10337
10337
  id?: number | undefined;
10338
10338
  }[] | undefined;
10339
10339
  required?: boolean | undefined;
@@ -10354,7 +10354,7 @@ declare function init(config: AuthHeroConfig): {
10354
10354
  hint?: string | undefined;
10355
10355
  messages?: {
10356
10356
  text: string;
10357
- type: "error" | "success" | "info" | "warning";
10357
+ type: "success" | "error" | "info" | "warning";
10358
10358
  id?: number | undefined;
10359
10359
  }[] | undefined;
10360
10360
  required?: boolean | undefined;
@@ -10377,7 +10377,7 @@ declare function init(config: AuthHeroConfig): {
10377
10377
  hint?: string | undefined;
10378
10378
  messages?: {
10379
10379
  text: string;
10380
- type: "error" | "success" | "info" | "warning";
10380
+ type: "success" | "error" | "info" | "warning";
10381
10381
  id?: number | undefined;
10382
10382
  }[] | undefined;
10383
10383
  required?: boolean | undefined;
@@ -10608,7 +10608,7 @@ declare function init(config: AuthHeroConfig): {
10608
10608
  hint?: string | undefined;
10609
10609
  messages?: {
10610
10610
  text: string;
10611
- type: "error" | "success" | "info" | "warning";
10611
+ type: "success" | "error" | "info" | "warning";
10612
10612
  id?: number | undefined;
10613
10613
  }[] | undefined;
10614
10614
  required?: boolean | undefined;
@@ -10626,7 +10626,7 @@ declare function init(config: AuthHeroConfig): {
10626
10626
  hint?: string | undefined;
10627
10627
  messages?: {
10628
10628
  text: string;
10629
- type: "error" | "success" | "info" | "warning";
10629
+ type: "success" | "error" | "info" | "warning";
10630
10630
  id?: number | undefined;
10631
10631
  }[] | undefined;
10632
10632
  required?: boolean | undefined;
@@ -10650,7 +10650,7 @@ declare function init(config: AuthHeroConfig): {
10650
10650
  hint?: string | undefined;
10651
10651
  messages?: {
10652
10652
  text: string;
10653
- type: "error" | "success" | "info" | "warning";
10653
+ type: "success" | "error" | "info" | "warning";
10654
10654
  id?: number | undefined;
10655
10655
  }[] | undefined;
10656
10656
  required?: boolean | undefined;
@@ -10674,7 +10674,7 @@ declare function init(config: AuthHeroConfig): {
10674
10674
  hint?: string | undefined;
10675
10675
  messages?: {
10676
10676
  text: string;
10677
- type: "error" | "success" | "info" | "warning";
10677
+ type: "success" | "error" | "info" | "warning";
10678
10678
  id?: number | undefined;
10679
10679
  }[] | undefined;
10680
10680
  required?: boolean | undefined;
@@ -10698,7 +10698,7 @@ declare function init(config: AuthHeroConfig): {
10698
10698
  hint?: string | undefined;
10699
10699
  messages?: {
10700
10700
  text: string;
10701
- type: "error" | "success" | "info" | "warning";
10701
+ type: "success" | "error" | "info" | "warning";
10702
10702
  id?: number | undefined;
10703
10703
  }[] | undefined;
10704
10704
  required?: boolean | undefined;
@@ -10727,7 +10727,7 @@ declare function init(config: AuthHeroConfig): {
10727
10727
  hint?: string | undefined;
10728
10728
  messages?: {
10729
10729
  text: string;
10730
- type: "error" | "success" | "info" | "warning";
10730
+ type: "success" | "error" | "info" | "warning";
10731
10731
  id?: number | undefined;
10732
10732
  }[] | undefined;
10733
10733
  required?: boolean | undefined;
@@ -10742,7 +10742,7 @@ declare function init(config: AuthHeroConfig): {
10742
10742
  hint?: string | undefined;
10743
10743
  messages?: {
10744
10744
  text: string;
10745
- type: "error" | "success" | "info" | "warning";
10745
+ type: "success" | "error" | "info" | "warning";
10746
10746
  id?: number | undefined;
10747
10747
  }[] | undefined;
10748
10748
  required?: boolean | undefined;
@@ -10763,7 +10763,7 @@ declare function init(config: AuthHeroConfig): {
10763
10763
  hint?: string | undefined;
10764
10764
  messages?: {
10765
10765
  text: string;
10766
- type: "error" | "success" | "info" | "warning";
10766
+ type: "success" | "error" | "info" | "warning";
10767
10767
  id?: number | undefined;
10768
10768
  }[] | undefined;
10769
10769
  required?: boolean | undefined;
@@ -10788,7 +10788,7 @@ declare function init(config: AuthHeroConfig): {
10788
10788
  hint?: string | undefined;
10789
10789
  messages?: {
10790
10790
  text: string;
10791
- type: "error" | "success" | "info" | "warning";
10791
+ type: "success" | "error" | "info" | "warning";
10792
10792
  id?: number | undefined;
10793
10793
  }[] | undefined;
10794
10794
  required?: boolean | undefined;
@@ -10809,7 +10809,7 @@ declare function init(config: AuthHeroConfig): {
10809
10809
  hint?: string | undefined;
10810
10810
  messages?: {
10811
10811
  text: string;
10812
- type: "error" | "success" | "info" | "warning";
10812
+ type: "success" | "error" | "info" | "warning";
10813
10813
  id?: number | undefined;
10814
10814
  }[] | undefined;
10815
10815
  required?: boolean | undefined;
@@ -10829,7 +10829,7 @@ declare function init(config: AuthHeroConfig): {
10829
10829
  hint?: string | undefined;
10830
10830
  messages?: {
10831
10831
  text: string;
10832
- type: "error" | "success" | "info" | "warning";
10832
+ type: "success" | "error" | "info" | "warning";
10833
10833
  id?: number | undefined;
10834
10834
  }[] | undefined;
10835
10835
  required?: boolean | undefined;
@@ -10848,7 +10848,7 @@ declare function init(config: AuthHeroConfig): {
10848
10848
  hint?: string | undefined;
10849
10849
  messages?: {
10850
10850
  text: string;
10851
- type: "error" | "success" | "info" | "warning";
10851
+ type: "success" | "error" | "info" | "warning";
10852
10852
  id?: number | undefined;
10853
10853
  }[] | undefined;
10854
10854
  required?: boolean | undefined;
@@ -10870,7 +10870,7 @@ declare function init(config: AuthHeroConfig): {
10870
10870
  hint?: string | undefined;
10871
10871
  messages?: {
10872
10872
  text: string;
10873
- type: "error" | "success" | "info" | "warning";
10873
+ type: "success" | "error" | "info" | "warning";
10874
10874
  id?: number | undefined;
10875
10875
  }[] | undefined;
10876
10876
  required?: boolean | undefined;
@@ -10892,7 +10892,7 @@ declare function init(config: AuthHeroConfig): {
10892
10892
  hint?: string | undefined;
10893
10893
  messages?: {
10894
10894
  text: string;
10895
- type: "error" | "success" | "info" | "warning";
10895
+ type: "success" | "error" | "info" | "warning";
10896
10896
  id?: number | undefined;
10897
10897
  }[] | undefined;
10898
10898
  required?: boolean | undefined;
@@ -10911,7 +10911,7 @@ declare function init(config: AuthHeroConfig): {
10911
10911
  hint?: string | undefined;
10912
10912
  messages?: {
10913
10913
  text: string;
10914
- type: "error" | "success" | "info" | "warning";
10914
+ type: "success" | "error" | "info" | "warning";
10915
10915
  id?: number | undefined;
10916
10916
  }[] | undefined;
10917
10917
  required?: boolean | undefined;
@@ -10938,7 +10938,7 @@ declare function init(config: AuthHeroConfig): {
10938
10938
  hint?: string | undefined;
10939
10939
  messages?: {
10940
10940
  text: string;
10941
- type: "error" | "success" | "info" | "warning";
10941
+ type: "success" | "error" | "info" | "warning";
10942
10942
  id?: number | undefined;
10943
10943
  }[] | undefined;
10944
10944
  required?: boolean | undefined;
@@ -10959,7 +10959,7 @@ declare function init(config: AuthHeroConfig): {
10959
10959
  hint?: string | undefined;
10960
10960
  messages?: {
10961
10961
  text: string;
10962
- type: "error" | "success" | "info" | "warning";
10962
+ type: "success" | "error" | "info" | "warning";
10963
10963
  id?: number | undefined;
10964
10964
  }[] | undefined;
10965
10965
  required?: boolean | undefined;
@@ -10982,7 +10982,7 @@ declare function init(config: AuthHeroConfig): {
10982
10982
  hint?: string | undefined;
10983
10983
  messages?: {
10984
10984
  text: string;
10985
- type: "error" | "success" | "info" | "warning";
10985
+ type: "success" | "error" | "info" | "warning";
10986
10986
  id?: number | undefined;
10987
10987
  }[] | undefined;
10988
10988
  required?: boolean | undefined;
@@ -11214,7 +11214,7 @@ declare function init(config: AuthHeroConfig): {
11214
11214
  };
11215
11215
  };
11216
11216
  output: {
11217
- 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";
11217
+ 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";
11218
11218
  language: string;
11219
11219
  }[];
11220
11220
  outputFormat: "json";
@@ -11252,7 +11252,7 @@ declare function init(config: AuthHeroConfig): {
11252
11252
  $get: {
11253
11253
  input: {
11254
11254
  param: {
11255
- 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";
11255
+ 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";
11256
11256
  language: string;
11257
11257
  };
11258
11258
  } & {
@@ -11274,7 +11274,7 @@ declare function init(config: AuthHeroConfig): {
11274
11274
  $put: {
11275
11275
  input: {
11276
11276
  param: {
11277
- 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";
11277
+ 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";
11278
11278
  language: string;
11279
11279
  };
11280
11280
  } & {
@@ -11298,7 +11298,7 @@ declare function init(config: AuthHeroConfig): {
11298
11298
  $delete: {
11299
11299
  input: {
11300
11300
  param: {
11301
- 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";
11301
+ 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";
11302
11302
  language: string;
11303
11303
  };
11304
11304
  } & {
@@ -11390,7 +11390,7 @@ declare function init(config: AuthHeroConfig): {
11390
11390
  active?: boolean | undefined;
11391
11391
  } | undefined;
11392
11392
  signup?: {
11393
- status?: "optional" | "required" | "disabled" | undefined;
11393
+ status?: "required" | "optional" | "disabled" | undefined;
11394
11394
  verification?: {
11395
11395
  active?: boolean | undefined;
11396
11396
  } | undefined;
@@ -11407,7 +11407,7 @@ declare function init(config: AuthHeroConfig): {
11407
11407
  active?: boolean | undefined;
11408
11408
  } | undefined;
11409
11409
  signup?: {
11410
- status?: "optional" | "required" | "disabled" | undefined;
11410
+ status?: "required" | "optional" | "disabled" | undefined;
11411
11411
  } | undefined;
11412
11412
  validation?: {
11413
11413
  max_length?: number | undefined;
@@ -11424,7 +11424,7 @@ declare function init(config: AuthHeroConfig): {
11424
11424
  active?: boolean | undefined;
11425
11425
  } | undefined;
11426
11426
  signup?: {
11427
- status?: "optional" | "required" | "disabled" | undefined;
11427
+ status?: "required" | "optional" | "disabled" | undefined;
11428
11428
  } | undefined;
11429
11429
  } | undefined;
11430
11430
  } | undefined;
@@ -11524,7 +11524,7 @@ declare function init(config: AuthHeroConfig): {
11524
11524
  active?: boolean | undefined;
11525
11525
  } | undefined;
11526
11526
  signup?: {
11527
- status?: "optional" | "required" | "disabled" | undefined;
11527
+ status?: "required" | "optional" | "disabled" | undefined;
11528
11528
  verification?: {
11529
11529
  active?: boolean | undefined;
11530
11530
  } | undefined;
@@ -11541,7 +11541,7 @@ declare function init(config: AuthHeroConfig): {
11541
11541
  active?: boolean | undefined;
11542
11542
  } | undefined;
11543
11543
  signup?: {
11544
- status?: "optional" | "required" | "disabled" | undefined;
11544
+ status?: "required" | "optional" | "disabled" | undefined;
11545
11545
  } | undefined;
11546
11546
  validation?: {
11547
11547
  max_length?: number | undefined;
@@ -11558,7 +11558,7 @@ declare function init(config: AuthHeroConfig): {
11558
11558
  active?: boolean | undefined;
11559
11559
  } | undefined;
11560
11560
  signup?: {
11561
- status?: "optional" | "required" | "disabled" | undefined;
11561
+ status?: "required" | "optional" | "disabled" | undefined;
11562
11562
  } | undefined;
11563
11563
  } | undefined;
11564
11564
  } | undefined;
@@ -11674,7 +11674,7 @@ declare function init(config: AuthHeroConfig): {
11674
11674
  active?: boolean | undefined;
11675
11675
  } | undefined;
11676
11676
  signup?: {
11677
- status?: "optional" | "required" | "disabled" | undefined;
11677
+ status?: "required" | "optional" | "disabled" | undefined;
11678
11678
  verification?: {
11679
11679
  active?: boolean | undefined;
11680
11680
  } | undefined;
@@ -11691,7 +11691,7 @@ declare function init(config: AuthHeroConfig): {
11691
11691
  active?: boolean | undefined;
11692
11692
  } | undefined;
11693
11693
  signup?: {
11694
- status?: "optional" | "required" | "disabled" | undefined;
11694
+ status?: "required" | "optional" | "disabled" | undefined;
11695
11695
  } | undefined;
11696
11696
  validation?: {
11697
11697
  max_length?: number | undefined;
@@ -11708,7 +11708,7 @@ declare function init(config: AuthHeroConfig): {
11708
11708
  active?: boolean | undefined;
11709
11709
  } | undefined;
11710
11710
  signup?: {
11711
- status?: "optional" | "required" | "disabled" | undefined;
11711
+ status?: "required" | "optional" | "disabled" | undefined;
11712
11712
  } | undefined;
11713
11713
  } | undefined;
11714
11714
  } | undefined;
@@ -11853,7 +11853,7 @@ declare function init(config: AuthHeroConfig): {
11853
11853
  active?: boolean | undefined;
11854
11854
  } | undefined;
11855
11855
  signup?: {
11856
- status?: "optional" | "required" | "disabled" | undefined;
11856
+ status?: "required" | "optional" | "disabled" | undefined;
11857
11857
  verification?: {
11858
11858
  active?: boolean | undefined;
11859
11859
  } | undefined;
@@ -11870,7 +11870,7 @@ declare function init(config: AuthHeroConfig): {
11870
11870
  active?: boolean | undefined;
11871
11871
  } | undefined;
11872
11872
  signup?: {
11873
- status?: "optional" | "required" | "disabled" | undefined;
11873
+ status?: "required" | "optional" | "disabled" | undefined;
11874
11874
  } | undefined;
11875
11875
  validation?: {
11876
11876
  max_length?: number | undefined;
@@ -11887,7 +11887,7 @@ declare function init(config: AuthHeroConfig): {
11887
11887
  active?: boolean | undefined;
11888
11888
  } | undefined;
11889
11889
  signup?: {
11890
- status?: "optional" | "required" | "disabled" | undefined;
11890
+ status?: "required" | "optional" | "disabled" | undefined;
11891
11891
  } | undefined;
11892
11892
  } | undefined;
11893
11893
  } | undefined;
@@ -12011,7 +12011,7 @@ declare function init(config: AuthHeroConfig): {
12011
12011
  active?: boolean | undefined;
12012
12012
  } | undefined;
12013
12013
  signup?: {
12014
- status?: "optional" | "required" | "disabled" | undefined;
12014
+ status?: "required" | "optional" | "disabled" | undefined;
12015
12015
  verification?: {
12016
12016
  active?: boolean | undefined;
12017
12017
  } | undefined;
@@ -12028,7 +12028,7 @@ declare function init(config: AuthHeroConfig): {
12028
12028
  active?: boolean | undefined;
12029
12029
  } | undefined;
12030
12030
  signup?: {
12031
- status?: "optional" | "required" | "disabled" | undefined;
12031
+ status?: "required" | "optional" | "disabled" | undefined;
12032
12032
  } | undefined;
12033
12033
  validation?: {
12034
12034
  max_length?: number | undefined;
@@ -12045,7 +12045,7 @@ declare function init(config: AuthHeroConfig): {
12045
12045
  active?: boolean | undefined;
12046
12046
  } | undefined;
12047
12047
  signup?: {
12048
- status?: "optional" | "required" | "disabled" | undefined;
12048
+ status?: "required" | "optional" | "disabled" | undefined;
12049
12049
  } | undefined;
12050
12050
  } | undefined;
12051
12051
  } | undefined;
@@ -12161,7 +12161,7 @@ declare function init(config: AuthHeroConfig): {
12161
12161
  };
12162
12162
  } | {
12163
12163
  mode: "inline";
12164
- status: "error" | "success";
12164
+ status: "success" | "error";
12165
12165
  connection_id: string;
12166
12166
  connection_name: string;
12167
12167
  strategy: string;
@@ -12382,6 +12382,19 @@ declare function init(config: AuthHeroConfig): {
12382
12382
  metadata?: {
12383
12383
  [x: string]: hono_utils_types.JSONValue;
12384
12384
  } | undefined;
12385
+ } | {
12386
+ trigger_id: "post-user-login";
12387
+ enabled: boolean;
12388
+ synchronous: boolean;
12389
+ created_at: string;
12390
+ updated_at: string;
12391
+ hook_id: string;
12392
+ page_id: "impersonate";
12393
+ priority?: number | undefined;
12394
+ metadata?: {
12395
+ [x: string]: hono_utils_types.JSONValue;
12396
+ } | undefined;
12397
+ permission_required?: string | undefined;
12385
12398
  })[] | {
12386
12399
  start: number;
12387
12400
  limit: number;
@@ -12434,6 +12447,19 @@ declare function init(config: AuthHeroConfig): {
12434
12447
  metadata?: {
12435
12448
  [x: string]: hono_utils_types.JSONValue;
12436
12449
  } | undefined;
12450
+ } | {
12451
+ trigger_id: "post-user-login";
12452
+ enabled: boolean;
12453
+ synchronous: boolean;
12454
+ created_at: string;
12455
+ updated_at: string;
12456
+ hook_id: string;
12457
+ page_id: "impersonate";
12458
+ priority?: number | undefined;
12459
+ metadata?: {
12460
+ [x: string]: hono_utils_types.JSONValue;
12461
+ } | undefined;
12462
+ permission_required?: string | undefined;
12437
12463
  })[];
12438
12464
  total?: number | undefined;
12439
12465
  next?: string | undefined;
@@ -12482,6 +12508,15 @@ declare function init(config: AuthHeroConfig): {
12482
12508
  priority?: number | undefined;
12483
12509
  hook_id?: string | undefined;
12484
12510
  metadata?: Record<string, unknown> | undefined;
12511
+ } | {
12512
+ trigger_id: "post-user-login";
12513
+ page_id: "impersonate";
12514
+ permission_required?: string | undefined;
12515
+ enabled?: boolean | undefined;
12516
+ synchronous?: boolean | undefined;
12517
+ priority?: number | undefined;
12518
+ hook_id?: string | undefined;
12519
+ metadata?: Record<string, unknown> | undefined;
12485
12520
  };
12486
12521
  };
12487
12522
  output: {
@@ -12532,6 +12567,19 @@ declare function init(config: AuthHeroConfig): {
12532
12567
  metadata?: {
12533
12568
  [x: string]: hono_utils_types.JSONValue;
12534
12569
  } | undefined;
12570
+ } | {
12571
+ trigger_id: "post-user-login";
12572
+ enabled: boolean;
12573
+ synchronous: boolean;
12574
+ created_at: string;
12575
+ updated_at: string;
12576
+ hook_id: string;
12577
+ page_id: "impersonate";
12578
+ priority?: number | undefined;
12579
+ metadata?: {
12580
+ [x: string]: hono_utils_types.JSONValue;
12581
+ } | undefined;
12582
+ permission_required?: string | undefined;
12535
12583
  };
12536
12584
  outputFormat: "json";
12537
12585
  status: 201;
@@ -12614,6 +12662,19 @@ declare function init(config: AuthHeroConfig): {
12614
12662
  metadata?: {
12615
12663
  [x: string]: hono_utils_types.JSONValue;
12616
12664
  } | undefined;
12665
+ } | {
12666
+ trigger_id: "post-user-login";
12667
+ enabled: boolean;
12668
+ synchronous: boolean;
12669
+ created_at: string;
12670
+ updated_at: string;
12671
+ hook_id: string;
12672
+ page_id: "impersonate";
12673
+ priority?: number | undefined;
12674
+ metadata?: {
12675
+ [x: string]: hono_utils_types.JSONValue;
12676
+ } | undefined;
12677
+ permission_required?: string | undefined;
12617
12678
  };
12618
12679
  outputFormat: "json";
12619
12680
  status: 200;
@@ -12692,6 +12753,19 @@ declare function init(config: AuthHeroConfig): {
12692
12753
  metadata?: {
12693
12754
  [x: string]: hono_utils_types.JSONValue;
12694
12755
  } | undefined;
12756
+ } | {
12757
+ trigger_id: "post-user-login";
12758
+ enabled: boolean;
12759
+ synchronous: boolean;
12760
+ created_at: string;
12761
+ updated_at: string;
12762
+ hook_id: string;
12763
+ page_id: "impersonate";
12764
+ priority?: number | undefined;
12765
+ metadata?: {
12766
+ [x: string]: hono_utils_types.JSONValue;
12767
+ } | undefined;
12768
+ permission_required?: string | undefined;
12695
12769
  };
12696
12770
  outputFormat: "json";
12697
12771
  status: 200;
@@ -12801,7 +12875,7 @@ declare function init(config: AuthHeroConfig): {
12801
12875
  log_type: string;
12802
12876
  category: "user_action" | "admin_action" | "system" | "api";
12803
12877
  actor: {
12804
- type: "api_key" | "user" | "client_credentials" | "system" | "admin";
12878
+ type: "user" | "client_credentials" | "system" | "admin" | "api_key";
12805
12879
  id?: string | undefined;
12806
12880
  email?: string | undefined;
12807
12881
  org_id?: string | undefined;
@@ -13740,7 +13814,7 @@ declare function init(config: AuthHeroConfig): {
13740
13814
  audience?: string | undefined;
13741
13815
  client_id?: string | undefined;
13742
13816
  allow_any_organization?: string | undefined;
13743
- subject_type?: "client" | "user" | undefined;
13817
+ subject_type?: "user" | "client" | undefined;
13744
13818
  };
13745
13819
  } & {
13746
13820
  header: {
@@ -13755,7 +13829,7 @@ declare function init(config: AuthHeroConfig): {
13755
13829
  organization_usage?: "deny" | "allow" | "require" | undefined;
13756
13830
  allow_any_organization?: boolean | undefined;
13757
13831
  is_system?: boolean | undefined;
13758
- subject_type?: "client" | "user" | undefined;
13832
+ subject_type?: "user" | "client" | undefined;
13759
13833
  authorization_details_types?: string[] | undefined;
13760
13834
  created_at?: string | undefined;
13761
13835
  updated_at?: string | undefined;
@@ -13771,7 +13845,7 @@ declare function init(config: AuthHeroConfig): {
13771
13845
  organization_usage?: "deny" | "allow" | "require" | undefined;
13772
13846
  allow_any_organization?: boolean | undefined;
13773
13847
  is_system?: boolean | undefined;
13774
- subject_type?: "client" | "user" | undefined;
13848
+ subject_type?: "user" | "client" | undefined;
13775
13849
  authorization_details_types?: string[] | undefined;
13776
13850
  created_at?: string | undefined;
13777
13851
  updated_at?: string | undefined;
@@ -13787,7 +13861,7 @@ declare function init(config: AuthHeroConfig): {
13787
13861
  organization_usage?: "deny" | "allow" | "require" | undefined;
13788
13862
  allow_any_organization?: boolean | undefined;
13789
13863
  is_system?: boolean | undefined;
13790
- subject_type?: "client" | "user" | undefined;
13864
+ subject_type?: "user" | "client" | undefined;
13791
13865
  authorization_details_types?: string[] | undefined;
13792
13866
  created_at?: string | undefined;
13793
13867
  updated_at?: string | undefined;
@@ -13818,7 +13892,7 @@ declare function init(config: AuthHeroConfig): {
13818
13892
  organization_usage?: "deny" | "allow" | "require" | undefined;
13819
13893
  allow_any_organization?: boolean | undefined;
13820
13894
  is_system?: boolean | undefined;
13821
- subject_type?: "client" | "user" | undefined;
13895
+ subject_type?: "user" | "client" | undefined;
13822
13896
  authorization_details_types?: string[] | undefined;
13823
13897
  created_at?: string | undefined;
13824
13898
  updated_at?: string | undefined;
@@ -13863,7 +13937,7 @@ declare function init(config: AuthHeroConfig): {
13863
13937
  organization_usage?: "deny" | "allow" | "require" | undefined;
13864
13938
  allow_any_organization?: boolean | undefined;
13865
13939
  is_system?: boolean | undefined;
13866
- subject_type?: "client" | "user" | undefined;
13940
+ subject_type?: "user" | "client" | undefined;
13867
13941
  authorization_details_types?: string[] | undefined;
13868
13942
  };
13869
13943
  };
@@ -13875,7 +13949,7 @@ declare function init(config: AuthHeroConfig): {
13875
13949
  organization_usage?: "deny" | "allow" | "require" | undefined;
13876
13950
  allow_any_organization?: boolean | undefined;
13877
13951
  is_system?: boolean | undefined;
13878
- subject_type?: "client" | "user" | undefined;
13952
+ subject_type?: "user" | "client" | undefined;
13879
13953
  authorization_details_types?: string[] | undefined;
13880
13954
  created_at?: string | undefined;
13881
13955
  updated_at?: string | undefined;
@@ -13899,7 +13973,7 @@ declare function init(config: AuthHeroConfig): {
13899
13973
  organization_usage?: "deny" | "allow" | "require" | undefined;
13900
13974
  allow_any_organization?: boolean | undefined;
13901
13975
  is_system?: boolean | undefined;
13902
- subject_type?: "client" | "user" | undefined;
13976
+ subject_type?: "user" | "client" | undefined;
13903
13977
  authorization_details_types?: string[] | undefined;
13904
13978
  };
13905
13979
  };
@@ -13911,7 +13985,7 @@ declare function init(config: AuthHeroConfig): {
13911
13985
  organization_usage?: "deny" | "allow" | "require" | undefined;
13912
13986
  allow_any_organization?: boolean | undefined;
13913
13987
  is_system?: boolean | undefined;
13914
- subject_type?: "client" | "user" | undefined;
13988
+ subject_type?: "user" | "client" | undefined;
13915
13989
  authorization_details_types?: string[] | undefined;
13916
13990
  created_at?: string | undefined;
13917
13991
  updated_at?: string | undefined;
@@ -13995,7 +14069,7 @@ declare function init(config: AuthHeroConfig): {
13995
14069
  addons?: {
13996
14070
  [x: string]: any;
13997
14071
  } | undefined;
13998
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14072
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13999
14073
  client_metadata?: {
14000
14074
  [x: string]: string;
14001
14075
  } | undefined;
@@ -14097,7 +14171,7 @@ declare function init(config: AuthHeroConfig): {
14097
14171
  addons?: {
14098
14172
  [x: string]: any;
14099
14173
  } | undefined;
14100
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14174
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14101
14175
  client_metadata?: {
14102
14176
  [x: string]: string;
14103
14177
  } | undefined;
@@ -14199,7 +14273,7 @@ declare function init(config: AuthHeroConfig): {
14199
14273
  addons?: {
14200
14274
  [x: string]: any;
14201
14275
  } | undefined;
14202
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14276
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14203
14277
  client_metadata?: {
14204
14278
  [x: string]: string;
14205
14279
  } | undefined;
@@ -14316,7 +14390,7 @@ declare function init(config: AuthHeroConfig): {
14316
14390
  addons?: {
14317
14391
  [x: string]: any;
14318
14392
  } | undefined;
14319
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14393
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14320
14394
  client_metadata?: {
14321
14395
  [x: string]: string;
14322
14396
  } | undefined;
@@ -14434,7 +14508,7 @@ declare function init(config: AuthHeroConfig): {
14434
14508
  custom_login_page_preview?: string | undefined;
14435
14509
  form_template?: string | undefined;
14436
14510
  addons?: Record<string, any> | undefined;
14437
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14511
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14438
14512
  client_metadata?: Record<string, string> | undefined;
14439
14513
  hide_sign_up_disabled_error?: boolean | undefined;
14440
14514
  mobile?: Record<string, any> | undefined;
@@ -14520,7 +14594,7 @@ declare function init(config: AuthHeroConfig): {
14520
14594
  addons?: {
14521
14595
  [x: string]: any;
14522
14596
  } | undefined;
14523
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14597
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14524
14598
  client_metadata?: {
14525
14599
  [x: string]: string;
14526
14600
  } | undefined;
@@ -14617,7 +14691,7 @@ declare function init(config: AuthHeroConfig): {
14617
14691
  custom_login_page_preview?: string | undefined;
14618
14692
  form_template?: string | undefined;
14619
14693
  addons?: Record<string, any> | undefined;
14620
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14694
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14621
14695
  client_metadata?: Record<string, string> | undefined;
14622
14696
  hide_sign_up_disabled_error?: boolean | undefined;
14623
14697
  mobile?: Record<string, any> | undefined;
@@ -14703,7 +14777,7 @@ declare function init(config: AuthHeroConfig): {
14703
14777
  addons?: {
14704
14778
  [x: string]: any;
14705
14779
  } | undefined;
14706
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
14780
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14707
14781
  client_metadata?: {
14708
14782
  [x: string]: string;
14709
14783
  } | undefined;
@@ -14825,7 +14899,7 @@ declare function init(config: AuthHeroConfig): {
14825
14899
  active?: boolean | undefined;
14826
14900
  } | undefined;
14827
14901
  signup?: {
14828
- status?: "optional" | "required" | "disabled" | undefined;
14902
+ status?: "required" | "optional" | "disabled" | undefined;
14829
14903
  verification?: {
14830
14904
  active?: boolean | undefined;
14831
14905
  } | undefined;
@@ -14842,7 +14916,7 @@ declare function init(config: AuthHeroConfig): {
14842
14916
  active?: boolean | undefined;
14843
14917
  } | undefined;
14844
14918
  signup?: {
14845
- status?: "optional" | "required" | "disabled" | undefined;
14919
+ status?: "required" | "optional" | "disabled" | undefined;
14846
14920
  } | undefined;
14847
14921
  validation?: {
14848
14922
  max_length?: number | undefined;
@@ -14859,7 +14933,7 @@ declare function init(config: AuthHeroConfig): {
14859
14933
  active?: boolean | undefined;
14860
14934
  } | undefined;
14861
14935
  signup?: {
14862
- status?: "optional" | "required" | "disabled" | undefined;
14936
+ status?: "required" | "optional" | "disabled" | undefined;
14863
14937
  } | undefined;
14864
14938
  } | undefined;
14865
14939
  } | undefined;
@@ -14979,7 +15053,7 @@ declare function init(config: AuthHeroConfig): {
14979
15053
  active?: boolean | undefined;
14980
15054
  } | undefined;
14981
15055
  signup?: {
14982
- status?: "optional" | "required" | "disabled" | undefined;
15056
+ status?: "required" | "optional" | "disabled" | undefined;
14983
15057
  verification?: {
14984
15058
  active?: boolean | undefined;
14985
15059
  } | undefined;
@@ -14996,7 +15070,7 @@ declare function init(config: AuthHeroConfig): {
14996
15070
  active?: boolean | undefined;
14997
15071
  } | undefined;
14998
15072
  signup?: {
14999
- status?: "optional" | "required" | "disabled" | undefined;
15073
+ status?: "required" | "optional" | "disabled" | undefined;
15000
15074
  } | undefined;
15001
15075
  validation?: {
15002
15076
  max_length?: number | undefined;
@@ -15013,7 +15087,7 @@ declare function init(config: AuthHeroConfig): {
15013
15087
  active?: boolean | undefined;
15014
15088
  } | undefined;
15015
15089
  signup?: {
15016
- status?: "optional" | "required" | "disabled" | undefined;
15090
+ status?: "required" | "optional" | "disabled" | undefined;
15017
15091
  } | undefined;
15018
15092
  } | undefined;
15019
15093
  } | undefined;
@@ -16931,7 +17005,7 @@ declare function init(config: AuthHeroConfig): {
16931
17005
  type: "auth0_managed_certs" | "self_managed_certs";
16932
17006
  custom_domain_id: string;
16933
17007
  primary: boolean;
16934
- status: "disabled" | "pending" | "ready" | "pending_verification";
17008
+ status: "pending" | "ready" | "disabled" | "pending_verification";
16935
17009
  verification_method?: "txt" | undefined;
16936
17010
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
16937
17011
  domain_metadata?: {
@@ -16972,7 +17046,7 @@ declare function init(config: AuthHeroConfig): {
16972
17046
  type: "auth0_managed_certs" | "self_managed_certs";
16973
17047
  custom_domain_id: string;
16974
17048
  primary: boolean;
16975
- status: "disabled" | "pending" | "ready" | "pending_verification";
17049
+ status: "pending" | "ready" | "disabled" | "pending_verification";
16976
17050
  verification_method?: "txt" | undefined;
16977
17051
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
16978
17052
  domain_metadata?: {
@@ -17036,7 +17110,7 @@ declare function init(config: AuthHeroConfig): {
17036
17110
  type: "auth0_managed_certs" | "self_managed_certs";
17037
17111
  custom_domain_id: string;
17038
17112
  primary: boolean;
17039
- status: "disabled" | "pending" | "ready" | "pending_verification";
17113
+ status: "pending" | "ready" | "disabled" | "pending_verification";
17040
17114
  verification_method?: "txt" | undefined;
17041
17115
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
17042
17116
  domain_metadata?: {
@@ -17083,7 +17157,7 @@ declare function init(config: AuthHeroConfig): {
17083
17157
  type: "auth0_managed_certs" | "self_managed_certs";
17084
17158
  custom_domain_id: string;
17085
17159
  primary: boolean;
17086
- status: "disabled" | "pending" | "ready" | "pending_verification";
17160
+ status: "pending" | "ready" | "disabled" | "pending_verification";
17087
17161
  verification_method?: "txt" | undefined;
17088
17162
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
17089
17163
  domain_metadata?: {
@@ -17129,7 +17203,7 @@ declare function init(config: AuthHeroConfig): {
17129
17203
  type: "auth0_managed_certs" | "self_managed_certs";
17130
17204
  custom_domain_id: string;
17131
17205
  primary: boolean;
17132
- status: "disabled" | "pending" | "ready" | "pending_verification";
17206
+ status: "pending" | "ready" | "disabled" | "pending_verification";
17133
17207
  verification_method?: "txt" | undefined;
17134
17208
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
17135
17209
  domain_metadata?: {
@@ -17170,7 +17244,7 @@ declare function init(config: AuthHeroConfig): {
17170
17244
  type: "auth0_managed_certs" | "self_managed_certs";
17171
17245
  custom_domain_id: string;
17172
17246
  primary: boolean;
17173
- status: "disabled" | "pending" | "ready" | "pending_verification";
17247
+ status: "pending" | "ready" | "disabled" | "pending_verification";
17174
17248
  verification_method?: "txt" | undefined;
17175
17249
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
17176
17250
  domain_metadata?: {
@@ -17561,7 +17635,7 @@ declare function init(config: AuthHeroConfig): {
17561
17635
  };
17562
17636
  output: {};
17563
17637
  outputFormat: string;
17564
- status: 204;
17638
+ status: 400;
17565
17639
  } | {
17566
17640
  input: {
17567
17641
  header: {
@@ -17574,7 +17648,7 @@ declare function init(config: AuthHeroConfig): {
17574
17648
  };
17575
17649
  output: {};
17576
17650
  outputFormat: string;
17577
- status: 400;
17651
+ status: 204;
17578
17652
  };
17579
17653
  };
17580
17654
  } & {
@@ -17600,7 +17674,7 @@ declare function init(config: AuthHeroConfig): {
17600
17674
  } & {
17601
17675
  json: {
17602
17676
  body?: string | undefined;
17603
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
17677
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
17604
17678
  branding?: {
17605
17679
  colors?: {
17606
17680
  primary: string;
@@ -17891,7 +17965,7 @@ declare function init(config: AuthHeroConfig): {
17891
17965
  logs: {
17892
17966
  action_name: string;
17893
17967
  lines: {
17894
- level: "error" | "info" | "log" | "warn" | "debug";
17968
+ level: "error" | "log" | "info" | "warn" | "debug";
17895
17969
  message: string;
17896
17970
  }[];
17897
17971
  }[];
@@ -18560,7 +18634,7 @@ declare function init(config: AuthHeroConfig): {
18560
18634
  args: hono_utils_types.JSONValue[];
18561
18635
  }[];
18562
18636
  logs: {
18563
- level: "error" | "info" | "log" | "warn" | "debug";
18637
+ level: "error" | "log" | "info" | "warn" | "debug";
18564
18638
  message: string;
18565
18639
  }[];
18566
18640
  error?: string | undefined;
@@ -18871,7 +18945,7 @@ declare function init(config: AuthHeroConfig): {
18871
18945
  scope?: string | undefined;
18872
18946
  grant_types?: string[] | undefined;
18873
18947
  response_types?: string[] | undefined;
18874
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
18948
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
18875
18949
  jwks_uri?: string | undefined;
18876
18950
  jwks?: Record<string, unknown> | undefined;
18877
18951
  software_id?: string | undefined;
@@ -18960,7 +19034,7 @@ declare function init(config: AuthHeroConfig): {
18960
19034
  scope?: string | undefined;
18961
19035
  grant_types?: string[] | undefined;
18962
19036
  response_types?: string[] | undefined;
18963
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
19037
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
18964
19038
  jwks_uri?: string | undefined;
18965
19039
  jwks?: Record<string, unknown> | undefined;
18966
19040
  software_id?: string | undefined;
@@ -19306,19 +19380,19 @@ declare function init(config: AuthHeroConfig): {
19306
19380
  email: string;
19307
19381
  send: "code" | "link";
19308
19382
  authParams: {
19309
- response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19310
- response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19311
- scope?: string | undefined;
19312
19383
  username?: string | undefined;
19313
19384
  state?: string | undefined;
19314
19385
  audience?: string | undefined;
19315
- act_as?: string | undefined;
19316
- redirect_uri?: string | undefined;
19386
+ response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19387
+ response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19388
+ scope?: string | undefined;
19317
19389
  organization?: string | undefined;
19318
- nonce?: string | undefined;
19319
- prompt?: string | undefined;
19390
+ redirect_uri?: string | undefined;
19320
19391
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19321
19392
  code_challenge?: string | undefined;
19393
+ nonce?: string | undefined;
19394
+ act_as?: string | undefined;
19395
+ prompt?: string | undefined;
19322
19396
  ui_locales?: string | undefined;
19323
19397
  max_age?: number | undefined;
19324
19398
  acr_values?: string | undefined;
@@ -19342,19 +19416,19 @@ declare function init(config: AuthHeroConfig): {
19342
19416
  phone_number: string;
19343
19417
  send: "code" | "link";
19344
19418
  authParams: {
19345
- response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19346
- response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19347
- scope?: string | undefined;
19348
19419
  username?: string | undefined;
19349
19420
  state?: string | undefined;
19350
19421
  audience?: string | undefined;
19351
- act_as?: string | undefined;
19352
- redirect_uri?: string | undefined;
19422
+ response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19423
+ response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19424
+ scope?: string | undefined;
19353
19425
  organization?: string | undefined;
19354
- nonce?: string | undefined;
19355
- prompt?: string | undefined;
19426
+ redirect_uri?: string | undefined;
19356
19427
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19357
19428
  code_challenge?: string | undefined;
19429
+ nonce?: string | undefined;
19430
+ act_as?: string | undefined;
19431
+ prompt?: string | undefined;
19358
19432
  ui_locales?: string | undefined;
19359
19433
  max_age?: number | undefined;
19360
19434
  acr_values?: string | undefined;
@@ -19584,7 +19658,7 @@ declare function init(config: AuthHeroConfig): {
19584
19658
  client_id: string;
19585
19659
  username: string;
19586
19660
  otp: string;
19587
- realm: "email" | "sms";
19661
+ realm: "sms" | "email";
19588
19662
  } | {
19589
19663
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19590
19664
  subject_token: string;
@@ -19631,7 +19705,7 @@ declare function init(config: AuthHeroConfig): {
19631
19705
  client_id: string;
19632
19706
  username: string;
19633
19707
  otp: string;
19634
- realm: "email" | "sms";
19708
+ realm: "sms" | "email";
19635
19709
  } | {
19636
19710
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19637
19711
  subject_token: string;
@@ -19683,7 +19757,7 @@ declare function init(config: AuthHeroConfig): {
19683
19757
  client_id: string;
19684
19758
  username: string;
19685
19759
  otp: string;
19686
- realm: "email" | "sms";
19760
+ realm: "sms" | "email";
19687
19761
  } | {
19688
19762
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19689
19763
  subject_token: string;
@@ -19730,7 +19804,7 @@ declare function init(config: AuthHeroConfig): {
19730
19804
  client_id: string;
19731
19805
  username: string;
19732
19806
  otp: string;
19733
- realm: "email" | "sms";
19807
+ realm: "sms" | "email";
19734
19808
  } | {
19735
19809
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19736
19810
  subject_token: string;
@@ -19790,7 +19864,7 @@ declare function init(config: AuthHeroConfig): {
19790
19864
  client_id: string;
19791
19865
  username: string;
19792
19866
  otp: string;
19793
- realm: "email" | "sms";
19867
+ realm: "sms" | "email";
19794
19868
  } | {
19795
19869
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19796
19870
  subject_token: string;
@@ -19837,7 +19911,7 @@ declare function init(config: AuthHeroConfig): {
19837
19911
  client_id: string;
19838
19912
  username: string;
19839
19913
  otp: string;
19840
- realm: "email" | "sms";
19914
+ realm: "sms" | "email";
19841
19915
  } | {
19842
19916
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19843
19917
  subject_token: string;
@@ -19892,7 +19966,7 @@ declare function init(config: AuthHeroConfig): {
19892
19966
  client_id: string;
19893
19967
  username: string;
19894
19968
  otp: string;
19895
- realm: "email" | "sms";
19969
+ realm: "sms" | "email";
19896
19970
  } | {
19897
19971
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19898
19972
  subject_token: string;
@@ -19939,7 +20013,7 @@ declare function init(config: AuthHeroConfig): {
19939
20013
  client_id: string;
19940
20014
  username: string;
19941
20015
  otp: string;
19942
- realm: "email" | "sms";
20016
+ realm: "sms" | "email";
19943
20017
  } | {
19944
20018
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
19945
20019
  subject_token: string;
@@ -19994,7 +20068,7 @@ declare function init(config: AuthHeroConfig): {
19994
20068
  client_id: string;
19995
20069
  username: string;
19996
20070
  otp: string;
19997
- realm: "email" | "sms";
20071
+ realm: "sms" | "email";
19998
20072
  } | {
19999
20073
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
20000
20074
  subject_token: string;
@@ -20041,7 +20115,7 @@ declare function init(config: AuthHeroConfig): {
20041
20115
  client_id: string;
20042
20116
  username: string;
20043
20117
  otp: string;
20044
- realm: "email" | "sms";
20118
+ realm: "sms" | "email";
20045
20119
  } | {
20046
20120
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
20047
20121
  subject_token: string;
@@ -20263,7 +20337,7 @@ declare function init(config: AuthHeroConfig): {
20263
20337
  };
20264
20338
  output: {};
20265
20339
  outputFormat: string;
20266
- status: 302;
20340
+ status: 200;
20267
20341
  } | {
20268
20342
  input: {
20269
20343
  query: {
@@ -20277,7 +20351,7 @@ declare function init(config: AuthHeroConfig): {
20277
20351
  };
20278
20352
  output: {};
20279
20353
  outputFormat: string;
20280
- status: 200;
20354
+ status: 400;
20281
20355
  } | {
20282
20356
  input: {
20283
20357
  query: {
@@ -20291,7 +20365,7 @@ declare function init(config: AuthHeroConfig): {
20291
20365
  };
20292
20366
  output: {};
20293
20367
  outputFormat: string;
20294
- status: 400;
20368
+ status: 302;
20295
20369
  };
20296
20370
  };
20297
20371
  }, "/oidc/logout"> & hono_types.MergeSchemaPath<{
@@ -20398,7 +20472,7 @@ declare function init(config: AuthHeroConfig): {
20398
20472
  };
20399
20473
  output: {};
20400
20474
  outputFormat: string;
20401
- status: 302;
20475
+ status: 400;
20402
20476
  } | {
20403
20477
  input: {
20404
20478
  query: {
@@ -20407,7 +20481,7 @@ declare function init(config: AuthHeroConfig): {
20407
20481
  };
20408
20482
  output: {};
20409
20483
  outputFormat: string;
20410
- status: 400;
20484
+ status: 302;
20411
20485
  } | {
20412
20486
  input: {
20413
20487
  query: {
@@ -20536,7 +20610,7 @@ declare function init(config: AuthHeroConfig): {
20536
20610
  };
20537
20611
  output: {};
20538
20612
  outputFormat: string;
20539
- status: 302;
20613
+ status: 400;
20540
20614
  } | {
20541
20615
  input: {
20542
20616
  query: {
@@ -20549,7 +20623,7 @@ declare function init(config: AuthHeroConfig): {
20549
20623
  };
20550
20624
  output: {};
20551
20625
  outputFormat: string;
20552
- status: 400;
20626
+ status: 302;
20553
20627
  };
20554
20628
  };
20555
20629
  }, "/impersonate"> & hono_types.MergeSchemaPath<{
@@ -20886,12 +20960,12 @@ declare function init(config: AuthHeroConfig): {
20886
20960
  } & {
20887
20961
  form: {
20888
20962
  username: string;
20889
- login_selection?: "code" | "password" | undefined;
20963
+ login_selection?: "password" | "code" | undefined;
20890
20964
  };
20891
20965
  };
20892
20966
  output: {};
20893
20967
  outputFormat: string;
20894
- status: 302;
20968
+ status: 400;
20895
20969
  } | {
20896
20970
  input: {
20897
20971
  query: {
@@ -20900,12 +20974,12 @@ declare function init(config: AuthHeroConfig): {
20900
20974
  } & {
20901
20975
  form: {
20902
20976
  username: string;
20903
- login_selection?: "code" | "password" | undefined;
20977
+ login_selection?: "password" | "code" | undefined;
20904
20978
  };
20905
20979
  };
20906
20980
  output: {};
20907
20981
  outputFormat: string;
20908
- status: 400;
20982
+ status: 302;
20909
20983
  };
20910
20984
  };
20911
20985
  }, "/login/identifier"> & hono_types.MergeSchemaPath<{
@@ -21265,7 +21339,7 @@ declare function init(config: AuthHeroConfig): {
21265
21339
  $get: {
21266
21340
  input: {
21267
21341
  param: {
21268
- 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";
21342
+ 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";
21269
21343
  };
21270
21344
  } & {
21271
21345
  query: {
@@ -21281,7 +21355,7 @@ declare function init(config: AuthHeroConfig): {
21281
21355
  } | {
21282
21356
  input: {
21283
21357
  param: {
21284
- 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";
21358
+ 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";
21285
21359
  };
21286
21360
  } & {
21287
21361
  query: {
@@ -21293,11 +21367,11 @@ declare function init(config: AuthHeroConfig): {
21293
21367
  };
21294
21368
  output: {};
21295
21369
  outputFormat: string;
21296
- status: 302;
21370
+ status: 400;
21297
21371
  } | {
21298
21372
  input: {
21299
21373
  param: {
21300
- 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";
21374
+ 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";
21301
21375
  };
21302
21376
  } & {
21303
21377
  query: {
@@ -21309,7 +21383,7 @@ declare function init(config: AuthHeroConfig): {
21309
21383
  };
21310
21384
  output: {};
21311
21385
  outputFormat: string;
21312
- status: 400;
21386
+ status: 302;
21313
21387
  };
21314
21388
  };
21315
21389
  } & {
@@ -21317,7 +21391,7 @@ declare function init(config: AuthHeroConfig): {
21317
21391
  $post: {
21318
21392
  input: {
21319
21393
  param: {
21320
- 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";
21394
+ 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";
21321
21395
  };
21322
21396
  } & {
21323
21397
  query: {
@@ -21335,7 +21409,7 @@ declare function init(config: AuthHeroConfig): {
21335
21409
  } | {
21336
21410
  input: {
21337
21411
  param: {
21338
- 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";
21412
+ 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";
21339
21413
  };
21340
21414
  } & {
21341
21415
  query: {