authhero 9.6.4 → 9.7.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 (27) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +144 -144
  3. package/dist/authhero.d.ts +286 -66
  4. package/dist/authhero.mjs +13592 -13476
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/common.d.ts +17 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  8. package/dist/types/helpers/revoke-user-refresh-tokens.d.ts +21 -0
  9. package/dist/types/index.d.ts +286 -66
  10. package/dist/types/routes/auth-api/index.d.ts +6 -6
  11. package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
  12. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  13. package/dist/types/routes/management-api/clients.d.ts +6 -6
  14. package/dist/types/routes/management-api/connections.d.ts +15 -15
  15. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  16. package/dist/types/routes/management-api/index.d.ts +275 -55
  17. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  18. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  19. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  20. package/dist/types/routes/management-api/refresh_tokens.d.ts +7 -0
  21. package/dist/types/routes/management-api/users.d.ts +146 -0
  22. package/dist/types/routes/universal-login/common.d.ts +6 -6
  23. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  24. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  25. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  26. package/dist/types/utils/user-id.d.ts +19 -1
  27. package/package.json +6 -6
@@ -168,7 +168,7 @@ export declare function init(config: AuthHeroConfig): {
168
168
  };
169
169
  } & {
170
170
  json: {
171
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
171
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
172
172
  phone_number?: string | undefined;
173
173
  totp_secret?: string | undefined;
174
174
  credential_id?: string | undefined;
@@ -1268,19 +1268,19 @@ export declare function init(config: AuthHeroConfig): {
1268
1268
  } & {
1269
1269
  json: {
1270
1270
  client_id: string;
1271
- invitee: {
1272
- email?: string | undefined;
1273
- };
1274
1271
  inviter: {
1275
1272
  name?: string | undefined;
1276
1273
  };
1274
+ invitee: {
1275
+ email?: string | undefined;
1276
+ };
1277
+ id?: string | undefined;
1277
1278
  app_metadata?: Record<string, any> | undefined;
1278
1279
  user_metadata?: Record<string, any> | undefined;
1279
- id?: string | undefined;
1280
1280
  connection_id?: string | undefined;
1281
1281
  roles?: string[] | undefined;
1282
- send_invitation_email?: boolean | undefined;
1283
1282
  ttl_sec?: number | undefined;
1283
+ send_invitation_email?: boolean | undefined;
1284
1284
  };
1285
1285
  };
1286
1286
  output: {
@@ -6882,6 +6882,13 @@ export declare function init(config: AuthHeroConfig): {
6882
6882
  scopes: string;
6883
6883
  }[];
6884
6884
  rotating: boolean;
6885
+ session_id?: string | undefined;
6886
+ organization?: string | undefined;
6887
+ auth_connection?: string | undefined;
6888
+ auth_strategy?: {
6889
+ strategy: string;
6890
+ strategy_type: string;
6891
+ } | undefined;
6885
6892
  expires_at?: string | undefined;
6886
6893
  idle_expires_at?: string | undefined;
6887
6894
  last_exchanged_at?: string | undefined;
@@ -6913,6 +6920,73 @@ export declare function init(config: AuthHeroConfig): {
6913
6920
  };
6914
6921
  };
6915
6922
  }, "/refresh_tokens"> & import("hono/types").MergeSchemaPath<{
6923
+ "/:id": {
6924
+ $get: {
6925
+ input: {
6926
+ param: {
6927
+ id: string;
6928
+ };
6929
+ } & {
6930
+ header: {
6931
+ "tenant-id"?: string | undefined;
6932
+ };
6933
+ };
6934
+ output: {
6935
+ id: string;
6936
+ login_id: string;
6937
+ user_id: string;
6938
+ client_id: string;
6939
+ device: {
6940
+ initial_user_agent: string;
6941
+ initial_ip: string;
6942
+ initial_asn: string;
6943
+ last_user_agent: string;
6944
+ last_ip: string;
6945
+ last_asn: string;
6946
+ };
6947
+ resource_servers: {
6948
+ audience: string;
6949
+ scopes: string;
6950
+ }[];
6951
+ rotating: boolean;
6952
+ session_id?: string | undefined;
6953
+ organization?: string | undefined;
6954
+ auth_connection?: string | undefined;
6955
+ auth_strategy?: {
6956
+ strategy: string;
6957
+ strategy_type: string;
6958
+ } | undefined;
6959
+ expires_at?: string | undefined;
6960
+ idle_expires_at?: string | undefined;
6961
+ last_exchanged_at?: string | undefined;
6962
+ token_lookup?: string | undefined;
6963
+ token_hash?: string | undefined;
6964
+ family_id?: string | undefined;
6965
+ rotated_to?: string | undefined;
6966
+ rotated_at?: string | undefined;
6967
+ };
6968
+ outputFormat: "json";
6969
+ status: 200;
6970
+ };
6971
+ };
6972
+ } & {
6973
+ "/:id": {
6974
+ $delete: {
6975
+ input: {
6976
+ param: {
6977
+ id: string;
6978
+ };
6979
+ } & {
6980
+ header: {
6981
+ "tenant-id"?: string | undefined;
6982
+ };
6983
+ };
6984
+ output: {};
6985
+ outputFormat: string;
6986
+ status: 200;
6987
+ };
6988
+ };
6989
+ }, "/refresh-tokens"> & import("hono/types").MergeSchemaPath<{
6916
6990
  "/:id": {
6917
6991
  $get: {
6918
6992
  input: {
@@ -7033,7 +7107,7 @@ export declare function init(config: AuthHeroConfig): {
7033
7107
  };
7034
7108
  };
7035
7109
  output: {
7036
- prompt: "status" | "organizations" | "signup" | "mfa" | "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";
7110
+ prompt: "status" | "organizations" | "signup" | "login" | "mfa" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
7037
7111
  language: string;
7038
7112
  }[];
7039
7113
  outputFormat: "json";
@@ -7071,7 +7145,7 @@ export declare function init(config: AuthHeroConfig): {
7071
7145
  $get: {
7072
7146
  input: {
7073
7147
  param: {
7074
- prompt: "status" | "organizations" | "signup" | "mfa" | "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";
7148
+ prompt: "status" | "organizations" | "signup" | "login" | "mfa" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
7075
7149
  language: string;
7076
7150
  };
7077
7151
  } & {
@@ -7093,7 +7167,7 @@ export declare function init(config: AuthHeroConfig): {
7093
7167
  $put: {
7094
7168
  input: {
7095
7169
  param: {
7096
- prompt: "status" | "organizations" | "signup" | "mfa" | "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";
7170
+ prompt: "status" | "organizations" | "signup" | "login" | "mfa" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
7097
7171
  language: string;
7098
7172
  };
7099
7173
  } & {
@@ -7117,7 +7191,7 @@ export declare function init(config: AuthHeroConfig): {
7117
7191
  $delete: {
7118
7192
  input: {
7119
7193
  param: {
7120
- prompt: "status" | "organizations" | "signup" | "mfa" | "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";
7194
+ prompt: "status" | "organizations" | "signup" | "login" | "mfa" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
7121
7195
  language: string;
7122
7196
  };
7123
7197
  } & {
@@ -7213,7 +7287,7 @@ export declare function init(config: AuthHeroConfig): {
7213
7287
  active?: boolean | undefined;
7214
7288
  } | undefined;
7215
7289
  signup?: {
7216
- status?: "optional" | "required" | "disabled" | undefined;
7290
+ status?: "required" | "optional" | "disabled" | undefined;
7217
7291
  verification?: {
7218
7292
  active?: boolean | undefined;
7219
7293
  } | undefined;
@@ -7230,7 +7304,7 @@ export declare function init(config: AuthHeroConfig): {
7230
7304
  active?: boolean | undefined;
7231
7305
  } | undefined;
7232
7306
  signup?: {
7233
- status?: "optional" | "required" | "disabled" | undefined;
7307
+ status?: "required" | "optional" | "disabled" | undefined;
7234
7308
  } | undefined;
7235
7309
  validation?: {
7236
7310
  max_length?: number | undefined;
@@ -7247,7 +7321,7 @@ export declare function init(config: AuthHeroConfig): {
7247
7321
  active?: boolean | undefined;
7248
7322
  } | undefined;
7249
7323
  signup?: {
7250
- status?: "optional" | "required" | "disabled" | undefined;
7324
+ status?: "required" | "optional" | "disabled" | undefined;
7251
7325
  } | undefined;
7252
7326
  } | undefined;
7253
7327
  } | undefined;
@@ -7351,7 +7425,7 @@ export declare function init(config: AuthHeroConfig): {
7351
7425
  active?: boolean | undefined;
7352
7426
  } | undefined;
7353
7427
  signup?: {
7354
- status?: "optional" | "required" | "disabled" | undefined;
7428
+ status?: "required" | "optional" | "disabled" | undefined;
7355
7429
  verification?: {
7356
7430
  active?: boolean | undefined;
7357
7431
  } | undefined;
@@ -7368,7 +7442,7 @@ export declare function init(config: AuthHeroConfig): {
7368
7442
  active?: boolean | undefined;
7369
7443
  } | undefined;
7370
7444
  signup?: {
7371
- status?: "optional" | "required" | "disabled" | undefined;
7445
+ status?: "required" | "optional" | "disabled" | undefined;
7372
7446
  } | undefined;
7373
7447
  validation?: {
7374
7448
  max_length?: number | undefined;
@@ -7385,7 +7459,7 @@ export declare function init(config: AuthHeroConfig): {
7385
7459
  active?: boolean | undefined;
7386
7460
  } | undefined;
7387
7461
  signup?: {
7388
- status?: "optional" | "required" | "disabled" | undefined;
7462
+ status?: "required" | "optional" | "disabled" | undefined;
7389
7463
  } | undefined;
7390
7464
  } | undefined;
7391
7465
  } | undefined;
@@ -7505,7 +7579,7 @@ export declare function init(config: AuthHeroConfig): {
7505
7579
  active?: boolean | undefined;
7506
7580
  } | undefined;
7507
7581
  signup?: {
7508
- status?: "optional" | "required" | "disabled" | undefined;
7582
+ status?: "required" | "optional" | "disabled" | undefined;
7509
7583
  verification?: {
7510
7584
  active?: boolean | undefined;
7511
7585
  } | undefined;
@@ -7522,7 +7596,7 @@ export declare function init(config: AuthHeroConfig): {
7522
7596
  active?: boolean | undefined;
7523
7597
  } | undefined;
7524
7598
  signup?: {
7525
- status?: "optional" | "required" | "disabled" | undefined;
7599
+ status?: "required" | "optional" | "disabled" | undefined;
7526
7600
  } | undefined;
7527
7601
  validation?: {
7528
7602
  max_length?: number | undefined;
@@ -7539,7 +7613,7 @@ export declare function init(config: AuthHeroConfig): {
7539
7613
  active?: boolean | undefined;
7540
7614
  } | undefined;
7541
7615
  signup?: {
7542
- status?: "optional" | "required" | "disabled" | undefined;
7616
+ status?: "required" | "optional" | "disabled" | undefined;
7543
7617
  } | undefined;
7544
7618
  } | undefined;
7545
7619
  } | undefined;
@@ -7688,7 +7762,7 @@ export declare function init(config: AuthHeroConfig): {
7688
7762
  active?: boolean | undefined;
7689
7763
  } | undefined;
7690
7764
  signup?: {
7691
- status?: "optional" | "required" | "disabled" | undefined;
7765
+ status?: "required" | "optional" | "disabled" | undefined;
7692
7766
  verification?: {
7693
7767
  active?: boolean | undefined;
7694
7768
  } | undefined;
@@ -7705,7 +7779,7 @@ export declare function init(config: AuthHeroConfig): {
7705
7779
  active?: boolean | undefined;
7706
7780
  } | undefined;
7707
7781
  signup?: {
7708
- status?: "optional" | "required" | "disabled" | undefined;
7782
+ status?: "required" | "optional" | "disabled" | undefined;
7709
7783
  } | undefined;
7710
7784
  validation?: {
7711
7785
  max_length?: number | undefined;
@@ -7722,7 +7796,7 @@ export declare function init(config: AuthHeroConfig): {
7722
7796
  active?: boolean | undefined;
7723
7797
  } | undefined;
7724
7798
  signup?: {
7725
- status?: "optional" | "required" | "disabled" | undefined;
7799
+ status?: "required" | "optional" | "disabled" | undefined;
7726
7800
  } | undefined;
7727
7801
  } | undefined;
7728
7802
  } | undefined;
@@ -7850,7 +7924,7 @@ export declare function init(config: AuthHeroConfig): {
7850
7924
  active?: boolean | undefined;
7851
7925
  } | undefined;
7852
7926
  signup?: {
7853
- status?: "optional" | "required" | "disabled" | undefined;
7927
+ status?: "required" | "optional" | "disabled" | undefined;
7854
7928
  verification?: {
7855
7929
  active?: boolean | undefined;
7856
7930
  } | undefined;
@@ -7867,7 +7941,7 @@ export declare function init(config: AuthHeroConfig): {
7867
7941
  active?: boolean | undefined;
7868
7942
  } | undefined;
7869
7943
  signup?: {
7870
- status?: "optional" | "required" | "disabled" | undefined;
7944
+ status?: "required" | "optional" | "disabled" | undefined;
7871
7945
  } | undefined;
7872
7946
  validation?: {
7873
7947
  max_length?: number | undefined;
@@ -7884,7 +7958,7 @@ export declare function init(config: AuthHeroConfig): {
7884
7958
  active?: boolean | undefined;
7885
7959
  } | undefined;
7886
7960
  signup?: {
7887
- status?: "optional" | "required" | "disabled" | undefined;
7961
+ status?: "required" | "optional" | "disabled" | undefined;
7888
7962
  } | undefined;
7889
7963
  } | undefined;
7890
7964
  } | undefined;
@@ -9040,7 +9114,7 @@ export declare function init(config: AuthHeroConfig): {
9040
9114
  created_at: string;
9041
9115
  updated_at: string;
9042
9116
  name: string;
9043
- provider: "auth0" | "oidc" | "okta" | "cognito";
9117
+ provider: "auth0" | "cognito" | "okta" | "oidc";
9044
9118
  connection: string;
9045
9119
  enabled: boolean;
9046
9120
  credentials: {
@@ -9072,7 +9146,7 @@ export declare function init(config: AuthHeroConfig): {
9072
9146
  created_at: string;
9073
9147
  updated_at: string;
9074
9148
  name: string;
9075
- provider: "auth0" | "oidc" | "okta" | "cognito";
9149
+ provider: "auth0" | "cognito" | "okta" | "oidc";
9076
9150
  connection: string;
9077
9151
  enabled: boolean;
9078
9152
  credentials: {
@@ -9098,7 +9172,7 @@ export declare function init(config: AuthHeroConfig): {
9098
9172
  } & {
9099
9173
  json: {
9100
9174
  name: string;
9101
- provider: "auth0" | "oidc" | "okta" | "cognito";
9175
+ provider: "auth0" | "cognito" | "okta" | "oidc";
9102
9176
  connection: string;
9103
9177
  credentials: {
9104
9178
  domain: string;
@@ -9115,7 +9189,7 @@ export declare function init(config: AuthHeroConfig): {
9115
9189
  created_at: string;
9116
9190
  updated_at: string;
9117
9191
  name: string;
9118
- provider: "auth0" | "oidc" | "okta" | "cognito";
9192
+ provider: "auth0" | "cognito" | "okta" | "oidc";
9119
9193
  connection: string;
9120
9194
  enabled: boolean;
9121
9195
  credentials: {
@@ -9146,7 +9220,7 @@ export declare function init(config: AuthHeroConfig): {
9146
9220
  json: {
9147
9221
  id?: string | undefined;
9148
9222
  name?: string | undefined;
9149
- provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
9223
+ provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
9150
9224
  connection?: string | undefined;
9151
9225
  enabled?: boolean | undefined;
9152
9226
  credentials?: {
@@ -9162,7 +9236,7 @@ export declare function init(config: AuthHeroConfig): {
9162
9236
  created_at: string;
9163
9237
  updated_at: string;
9164
9238
  name: string;
9165
- provider: "auth0" | "oidc" | "okta" | "cognito";
9239
+ provider: "auth0" | "cognito" | "okta" | "oidc";
9166
9240
  connection: string;
9167
9241
  enabled: boolean;
9168
9242
  credentials: {
@@ -10757,7 +10831,7 @@ export declare function init(config: AuthHeroConfig): {
10757
10831
  active?: boolean | undefined;
10758
10832
  } | undefined;
10759
10833
  signup?: {
10760
- status?: "optional" | "required" | "disabled" | undefined;
10834
+ status?: "required" | "optional" | "disabled" | undefined;
10761
10835
  verification?: {
10762
10836
  active?: boolean | undefined;
10763
10837
  } | undefined;
@@ -10774,7 +10848,7 @@ export declare function init(config: AuthHeroConfig): {
10774
10848
  active?: boolean | undefined;
10775
10849
  } | undefined;
10776
10850
  signup?: {
10777
- status?: "optional" | "required" | "disabled" | undefined;
10851
+ status?: "required" | "optional" | "disabled" | undefined;
10778
10852
  } | undefined;
10779
10853
  validation?: {
10780
10854
  max_length?: number | undefined;
@@ -10791,7 +10865,7 @@ export declare function init(config: AuthHeroConfig): {
10791
10865
  active?: boolean | undefined;
10792
10866
  } | undefined;
10793
10867
  signup?: {
10794
- status?: "optional" | "required" | "disabled" | undefined;
10868
+ status?: "required" | "optional" | "disabled" | undefined;
10795
10869
  } | undefined;
10796
10870
  } | undefined;
10797
10871
  } | undefined;
@@ -10915,7 +10989,7 @@ export declare function init(config: AuthHeroConfig): {
10915
10989
  active?: boolean | undefined;
10916
10990
  } | undefined;
10917
10991
  signup?: {
10918
- status?: "optional" | "required" | "disabled" | undefined;
10992
+ status?: "required" | "optional" | "disabled" | undefined;
10919
10993
  verification?: {
10920
10994
  active?: boolean | undefined;
10921
10995
  } | undefined;
@@ -10932,7 +11006,7 @@ export declare function init(config: AuthHeroConfig): {
10932
11006
  active?: boolean | undefined;
10933
11007
  } | undefined;
10934
11008
  signup?: {
10935
- status?: "optional" | "required" | "disabled" | undefined;
11009
+ status?: "required" | "optional" | "disabled" | undefined;
10936
11010
  } | undefined;
10937
11011
  validation?: {
10938
11012
  max_length?: number | undefined;
@@ -10949,7 +11023,7 @@ export declare function init(config: AuthHeroConfig): {
10949
11023
  active?: boolean | undefined;
10950
11024
  } | undefined;
10951
11025
  signup?: {
10952
- status?: "optional" | "required" | "disabled" | undefined;
11026
+ status?: "required" | "optional" | "disabled" | undefined;
10953
11027
  } | undefined;
10954
11028
  } | undefined;
10955
11029
  } | undefined;
@@ -11959,6 +12033,152 @@ export declare function init(config: AuthHeroConfig): {
11959
12033
  status: 200;
11960
12034
  };
11961
12035
  };
12036
+ } & {
12037
+ "/:user_id/refresh-tokens": {
12038
+ $get: {
12039
+ input: {
12040
+ param: {
12041
+ user_id: string;
12042
+ };
12043
+ } & {
12044
+ query: {
12045
+ page?: string | undefined;
12046
+ per_page?: string | undefined;
12047
+ include_totals?: string | undefined;
12048
+ from?: string | undefined;
12049
+ take?: string | undefined;
12050
+ sort?: string | undefined;
12051
+ q?: string | undefined;
12052
+ from_date?: unknown;
12053
+ to_date?: unknown;
12054
+ };
12055
+ } & {
12056
+ header: {
12057
+ "tenant-id"?: string | undefined;
12058
+ };
12059
+ };
12060
+ output: {
12061
+ id: string;
12062
+ created_at: string;
12063
+ user_id: string;
12064
+ client_id: string;
12065
+ rotating: boolean;
12066
+ device: {
12067
+ initial_user_agent: string;
12068
+ initial_ip: string;
12069
+ initial_asn: string;
12070
+ last_user_agent: string;
12071
+ last_ip: string;
12072
+ last_asn: string;
12073
+ };
12074
+ login_id: string;
12075
+ resource_servers: {
12076
+ audience: string;
12077
+ scopes: string;
12078
+ }[];
12079
+ revoked_at?: string | undefined;
12080
+ expires_at?: string | undefined;
12081
+ idle_expires_at?: string | undefined;
12082
+ session_id?: string | undefined;
12083
+ organization?: string | undefined;
12084
+ auth_connection?: string | undefined;
12085
+ auth_strategy?: {
12086
+ strategy: string;
12087
+ strategy_type: string;
12088
+ } | undefined;
12089
+ last_exchanged_at?: string | undefined;
12090
+ }[] | {
12091
+ tokens: {
12092
+ id: string;
12093
+ created_at: string;
12094
+ user_id: string;
12095
+ client_id: string;
12096
+ rotating: boolean;
12097
+ device: {
12098
+ initial_user_agent: string;
12099
+ initial_ip: string;
12100
+ initial_asn: string;
12101
+ last_user_agent: string;
12102
+ last_ip: string;
12103
+ last_asn: string;
12104
+ };
12105
+ login_id: string;
12106
+ resource_servers: {
12107
+ audience: string;
12108
+ scopes: string;
12109
+ }[];
12110
+ revoked_at?: string | undefined;
12111
+ expires_at?: string | undefined;
12112
+ idle_expires_at?: string | undefined;
12113
+ session_id?: string | undefined;
12114
+ organization?: string | undefined;
12115
+ auth_connection?: string | undefined;
12116
+ auth_strategy?: {
12117
+ strategy: string;
12118
+ strategy_type: string;
12119
+ } | undefined;
12120
+ last_exchanged_at?: string | undefined;
12121
+ }[];
12122
+ next?: string | undefined;
12123
+ } | {
12124
+ start: number;
12125
+ limit: number;
12126
+ length: number;
12127
+ tokens: {
12128
+ id: string;
12129
+ created_at: string;
12130
+ user_id: string;
12131
+ client_id: string;
12132
+ rotating: boolean;
12133
+ device: {
12134
+ initial_user_agent: string;
12135
+ initial_ip: string;
12136
+ initial_asn: string;
12137
+ last_user_agent: string;
12138
+ last_ip: string;
12139
+ last_asn: string;
12140
+ };
12141
+ login_id: string;
12142
+ resource_servers: {
12143
+ audience: string;
12144
+ scopes: string;
12145
+ }[];
12146
+ revoked_at?: string | undefined;
12147
+ expires_at?: string | undefined;
12148
+ idle_expires_at?: string | undefined;
12149
+ session_id?: string | undefined;
12150
+ organization?: string | undefined;
12151
+ auth_connection?: string | undefined;
12152
+ auth_strategy?: {
12153
+ strategy: string;
12154
+ strategy_type: string;
12155
+ } | undefined;
12156
+ last_exchanged_at?: string | undefined;
12157
+ }[];
12158
+ total?: number | undefined;
12159
+ next?: string | undefined;
12160
+ };
12161
+ outputFormat: "json";
12162
+ status: 200;
12163
+ };
12164
+ };
12165
+ } & {
12166
+ "/:user_id/refresh-tokens": {
12167
+ $delete: {
12168
+ input: {
12169
+ param: {
12170
+ user_id: string;
12171
+ };
12172
+ } & {
12173
+ header: {
12174
+ "tenant-id"?: string | undefined;
12175
+ };
12176
+ };
12177
+ output: {};
12178
+ outputFormat: string;
12179
+ status: 204;
12180
+ };
12181
+ };
11962
12182
  } & {
11963
12183
  "/:user_id/logs": {
11964
12184
  $get: {
@@ -12342,7 +12562,7 @@ export declare function init(config: AuthHeroConfig): {
12342
12562
  };
12343
12563
  } & {
12344
12564
  json: {
12345
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12565
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12346
12566
  body: string;
12347
12567
  from: string;
12348
12568
  subject: string;
@@ -12363,7 +12583,7 @@ export declare function init(config: AuthHeroConfig): {
12363
12583
  };
12364
12584
  } & {
12365
12585
  json: {
12366
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12586
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12367
12587
  body: string;
12368
12588
  from: string;
12369
12589
  subject: string;
@@ -12375,7 +12595,7 @@ export declare function init(config: AuthHeroConfig): {
12375
12595
  };
12376
12596
  };
12377
12597
  output: {
12378
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12598
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12379
12599
  body: string;
12380
12600
  from: string;
12381
12601
  subject: string;
@@ -12398,7 +12618,7 @@ export declare function init(config: AuthHeroConfig): {
12398
12618
  };
12399
12619
  };
12400
12620
  output: {
12401
- name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12621
+ name: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12402
12622
  body: string;
12403
12623
  subject: string;
12404
12624
  }[];
@@ -12411,7 +12631,7 @@ export declare function init(config: AuthHeroConfig): {
12411
12631
  $get: {
12412
12632
  input: {
12413
12633
  param: {
12414
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12634
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12415
12635
  };
12416
12636
  } & {
12417
12637
  header: {
@@ -12424,7 +12644,7 @@ export declare function init(config: AuthHeroConfig): {
12424
12644
  } | {
12425
12645
  input: {
12426
12646
  param: {
12427
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12647
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12428
12648
  };
12429
12649
  } & {
12430
12650
  header: {
@@ -12432,7 +12652,7 @@ export declare function init(config: AuthHeroConfig): {
12432
12652
  };
12433
12653
  };
12434
12654
  output: {
12435
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12655
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12436
12656
  body: string;
12437
12657
  from: string;
12438
12658
  subject: string;
@@ -12451,7 +12671,7 @@ export declare function init(config: AuthHeroConfig): {
12451
12671
  $put: {
12452
12672
  input: {
12453
12673
  param: {
12454
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12674
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12455
12675
  };
12456
12676
  } & {
12457
12677
  header: {
@@ -12459,7 +12679,7 @@ export declare function init(config: AuthHeroConfig): {
12459
12679
  };
12460
12680
  } & {
12461
12681
  json: {
12462
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12682
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12463
12683
  body: string;
12464
12684
  subject: string;
12465
12685
  syntax?: "liquid" | undefined;
@@ -12471,7 +12691,7 @@ export declare function init(config: AuthHeroConfig): {
12471
12691
  };
12472
12692
  };
12473
12693
  output: {
12474
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12694
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12475
12695
  body: string;
12476
12696
  from: string;
12477
12697
  subject: string;
@@ -12490,7 +12710,7 @@ export declare function init(config: AuthHeroConfig): {
12490
12710
  $patch: {
12491
12711
  input: {
12492
12712
  param: {
12493
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12713
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12494
12714
  };
12495
12715
  } & {
12496
12716
  header: {
@@ -12498,7 +12718,7 @@ export declare function init(config: AuthHeroConfig): {
12498
12718
  };
12499
12719
  } & {
12500
12720
  json: {
12501
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
12721
+ template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
12502
12722
  body?: string | undefined;
12503
12723
  from?: string | undefined;
12504
12724
  subject?: string | undefined;
@@ -12515,7 +12735,7 @@ export declare function init(config: AuthHeroConfig): {
12515
12735
  } | {
12516
12736
  input: {
12517
12737
  param: {
12518
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12738
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12519
12739
  };
12520
12740
  } & {
12521
12741
  header: {
@@ -12523,7 +12743,7 @@ export declare function init(config: AuthHeroConfig): {
12523
12743
  };
12524
12744
  } & {
12525
12745
  json: {
12526
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
12746
+ template?: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
12527
12747
  body?: string | undefined;
12528
12748
  from?: string | undefined;
12529
12749
  subject?: string | undefined;
@@ -12535,7 +12755,7 @@ export declare function init(config: AuthHeroConfig): {
12535
12755
  };
12536
12756
  };
12537
12757
  output: {
12538
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12758
+ template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12539
12759
  body: string;
12540
12760
  from: string;
12541
12761
  subject: string;
@@ -12554,7 +12774,7 @@ export declare function init(config: AuthHeroConfig): {
12554
12774
  $delete: {
12555
12775
  input: {
12556
12776
  param: {
12557
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12777
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12558
12778
  };
12559
12779
  } & {
12560
12780
  header: {
@@ -12567,7 +12787,7 @@ export declare function init(config: AuthHeroConfig): {
12567
12787
  } | {
12568
12788
  input: {
12569
12789
  param: {
12570
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12790
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12571
12791
  };
12572
12792
  } & {
12573
12793
  header: {
@@ -12584,7 +12804,7 @@ export declare function init(config: AuthHeroConfig): {
12584
12804
  $post: {
12585
12805
  input: {
12586
12806
  param: {
12587
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12807
+ templateName: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
12588
12808
  };
12589
12809
  } & {
12590
12810
  header: {
@@ -15243,15 +15463,15 @@ export declare function init(config: AuthHeroConfig): {
15243
15463
  send: "code" | "link";
15244
15464
  authParams: {
15245
15465
  username?: string | undefined;
15466
+ organization?: string | undefined;
15246
15467
  audience?: string | undefined;
15247
15468
  scope?: string | undefined;
15248
15469
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
15249
15470
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
15250
15471
  state?: string | undefined;
15251
- organization?: string | undefined;
15252
- redirect_uri?: string | undefined;
15253
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
15254
15472
  code_challenge?: string | undefined;
15473
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
15474
+ redirect_uri?: string | undefined;
15255
15475
  nonce?: string | undefined;
15256
15476
  act_as?: string | undefined;
15257
15477
  prompt?: string | undefined;
@@ -15279,15 +15499,15 @@ export declare function init(config: AuthHeroConfig): {
15279
15499
  send: "code" | "link";
15280
15500
  authParams: {
15281
15501
  username?: string | undefined;
15502
+ organization?: string | undefined;
15282
15503
  audience?: string | undefined;
15283
15504
  scope?: string | undefined;
15284
15505
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
15285
15506
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
15286
15507
  state?: string | undefined;
15287
- organization?: string | undefined;
15288
- redirect_uri?: string | undefined;
15289
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
15290
15508
  code_challenge?: string | undefined;
15509
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
15510
+ redirect_uri?: string | undefined;
15291
15511
  nonce?: string | undefined;
15292
15512
  act_as?: string | undefined;
15293
15513
  prompt?: string | undefined;
@@ -17201,7 +17421,7 @@ export declare function init(config: AuthHeroConfig): {
17201
17421
  $get: {
17202
17422
  input: {
17203
17423
  param: {
17204
- 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";
17424
+ screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "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";
17205
17425
  };
17206
17426
  } & {
17207
17427
  query: {
@@ -17217,7 +17437,7 @@ export declare function init(config: AuthHeroConfig): {
17217
17437
  } | {
17218
17438
  input: {
17219
17439
  param: {
17220
- 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";
17440
+ screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "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";
17221
17441
  };
17222
17442
  } & {
17223
17443
  query: {
@@ -17233,7 +17453,7 @@ export declare function init(config: AuthHeroConfig): {
17233
17453
  } | {
17234
17454
  input: {
17235
17455
  param: {
17236
- 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";
17456
+ screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "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";
17237
17457
  };
17238
17458
  } & {
17239
17459
  query: {
@@ -17253,7 +17473,7 @@ export declare function init(config: AuthHeroConfig): {
17253
17473
  $post: {
17254
17474
  input: {
17255
17475
  param: {
17256
- 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";
17476
+ screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "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";
17257
17477
  };
17258
17478
  } & {
17259
17479
  query: {
@@ -17271,7 +17491,7 @@ export declare function init(config: AuthHeroConfig): {
17271
17491
  } | {
17272
17492
  input: {
17273
17493
  param: {
17274
- 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";
17494
+ screen: "signup" | "login" | "impersonate" | "reset-password" | "consent" | "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";
17275
17495
  };
17276
17496
  } & {
17277
17497
  query: {