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
@@ -4353,7 +4353,7 @@ declare function init(config: AuthHeroConfig): {
4353
4353
  };
4354
4354
  } & {
4355
4355
  json: {
4356
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
4356
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
4357
4357
  phone_number?: string | undefined;
4358
4358
  totp_secret?: string | undefined;
4359
4359
  credential_id?: string | undefined;
@@ -5453,19 +5453,19 @@ declare function init(config: AuthHeroConfig): {
5453
5453
  } & {
5454
5454
  json: {
5455
5455
  client_id: string;
5456
- invitee: {
5457
- email?: string | undefined;
5458
- };
5459
5456
  inviter: {
5460
5457
  name?: string | undefined;
5461
5458
  };
5459
+ invitee: {
5460
+ email?: string | undefined;
5461
+ };
5462
+ id?: string | undefined;
5462
5463
  app_metadata?: Record<string, any> | undefined;
5463
5464
  user_metadata?: Record<string, any> | undefined;
5464
- id?: string | undefined;
5465
5465
  connection_id?: string | undefined;
5466
5466
  roles?: string[] | undefined;
5467
- send_invitation_email?: boolean | undefined;
5468
5467
  ttl_sec?: number | undefined;
5468
+ send_invitation_email?: boolean | undefined;
5469
5469
  };
5470
5470
  };
5471
5471
  output: {
@@ -11067,6 +11067,13 @@ declare function init(config: AuthHeroConfig): {
11067
11067
  scopes: string;
11068
11068
  }[];
11069
11069
  rotating: boolean;
11070
+ session_id?: string | undefined;
11071
+ organization?: string | undefined;
11072
+ auth_connection?: string | undefined;
11073
+ auth_strategy?: {
11074
+ strategy: string;
11075
+ strategy_type: string;
11076
+ } | undefined;
11070
11077
  expires_at?: string | undefined;
11071
11078
  idle_expires_at?: string | undefined;
11072
11079
  last_exchanged_at?: string | undefined;
@@ -11098,6 +11105,73 @@ declare function init(config: AuthHeroConfig): {
11098
11105
  };
11099
11106
  };
11100
11107
  }, "/refresh_tokens"> & hono_types.MergeSchemaPath<{
11108
+ "/:id": {
11109
+ $get: {
11110
+ input: {
11111
+ param: {
11112
+ id: string;
11113
+ };
11114
+ } & {
11115
+ header: {
11116
+ "tenant-id"?: string | undefined;
11117
+ };
11118
+ };
11119
+ output: {
11120
+ id: string;
11121
+ login_id: string;
11122
+ user_id: string;
11123
+ client_id: string;
11124
+ device: {
11125
+ initial_user_agent: string;
11126
+ initial_ip: string;
11127
+ initial_asn: string;
11128
+ last_user_agent: string;
11129
+ last_ip: string;
11130
+ last_asn: string;
11131
+ };
11132
+ resource_servers: {
11133
+ audience: string;
11134
+ scopes: string;
11135
+ }[];
11136
+ rotating: boolean;
11137
+ session_id?: string | undefined;
11138
+ organization?: string | undefined;
11139
+ auth_connection?: string | undefined;
11140
+ auth_strategy?: {
11141
+ strategy: string;
11142
+ strategy_type: string;
11143
+ } | undefined;
11144
+ expires_at?: string | undefined;
11145
+ idle_expires_at?: string | undefined;
11146
+ last_exchanged_at?: string | undefined;
11147
+ token_lookup?: string | undefined;
11148
+ token_hash?: string | undefined;
11149
+ family_id?: string | undefined;
11150
+ rotated_to?: string | undefined;
11151
+ rotated_at?: string | undefined;
11152
+ };
11153
+ outputFormat: "json";
11154
+ status: 200;
11155
+ };
11156
+ };
11157
+ } & {
11158
+ "/:id": {
11159
+ $delete: {
11160
+ input: {
11161
+ param: {
11162
+ id: string;
11163
+ };
11164
+ } & {
11165
+ header: {
11166
+ "tenant-id"?: string | undefined;
11167
+ };
11168
+ };
11169
+ output: {};
11170
+ outputFormat: string;
11171
+ status: 200;
11172
+ };
11173
+ };
11174
+ }, "/refresh-tokens"> & hono_types.MergeSchemaPath<{
11101
11175
  "/:id": {
11102
11176
  $get: {
11103
11177
  input: {
@@ -11218,7 +11292,7 @@ declare function init(config: AuthHeroConfig): {
11218
11292
  };
11219
11293
  };
11220
11294
  output: {
11221
- 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";
11295
+ 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";
11222
11296
  language: string;
11223
11297
  }[];
11224
11298
  outputFormat: "json";
@@ -11256,7 +11330,7 @@ declare function init(config: AuthHeroConfig): {
11256
11330
  $get: {
11257
11331
  input: {
11258
11332
  param: {
11259
- 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";
11333
+ 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";
11260
11334
  language: string;
11261
11335
  };
11262
11336
  } & {
@@ -11278,7 +11352,7 @@ declare function init(config: AuthHeroConfig): {
11278
11352
  $put: {
11279
11353
  input: {
11280
11354
  param: {
11281
- 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";
11355
+ 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";
11282
11356
  language: string;
11283
11357
  };
11284
11358
  } & {
@@ -11302,7 +11376,7 @@ declare function init(config: AuthHeroConfig): {
11302
11376
  $delete: {
11303
11377
  input: {
11304
11378
  param: {
11305
- 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";
11379
+ 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";
11306
11380
  language: string;
11307
11381
  };
11308
11382
  } & {
@@ -11398,7 +11472,7 @@ declare function init(config: AuthHeroConfig): {
11398
11472
  active?: boolean | undefined;
11399
11473
  } | undefined;
11400
11474
  signup?: {
11401
- status?: "optional" | "required" | "disabled" | undefined;
11475
+ status?: "required" | "optional" | "disabled" | undefined;
11402
11476
  verification?: {
11403
11477
  active?: boolean | undefined;
11404
11478
  } | undefined;
@@ -11415,7 +11489,7 @@ declare function init(config: AuthHeroConfig): {
11415
11489
  active?: boolean | undefined;
11416
11490
  } | undefined;
11417
11491
  signup?: {
11418
- status?: "optional" | "required" | "disabled" | undefined;
11492
+ status?: "required" | "optional" | "disabled" | undefined;
11419
11493
  } | undefined;
11420
11494
  validation?: {
11421
11495
  max_length?: number | undefined;
@@ -11432,7 +11506,7 @@ declare function init(config: AuthHeroConfig): {
11432
11506
  active?: boolean | undefined;
11433
11507
  } | undefined;
11434
11508
  signup?: {
11435
- status?: "optional" | "required" | "disabled" | undefined;
11509
+ status?: "required" | "optional" | "disabled" | undefined;
11436
11510
  } | undefined;
11437
11511
  } | undefined;
11438
11512
  } | undefined;
@@ -11536,7 +11610,7 @@ declare function init(config: AuthHeroConfig): {
11536
11610
  active?: boolean | undefined;
11537
11611
  } | undefined;
11538
11612
  signup?: {
11539
- status?: "optional" | "required" | "disabled" | undefined;
11613
+ status?: "required" | "optional" | "disabled" | undefined;
11540
11614
  verification?: {
11541
11615
  active?: boolean | undefined;
11542
11616
  } | undefined;
@@ -11553,7 +11627,7 @@ declare function init(config: AuthHeroConfig): {
11553
11627
  active?: boolean | undefined;
11554
11628
  } | undefined;
11555
11629
  signup?: {
11556
- status?: "optional" | "required" | "disabled" | undefined;
11630
+ status?: "required" | "optional" | "disabled" | undefined;
11557
11631
  } | undefined;
11558
11632
  validation?: {
11559
11633
  max_length?: number | undefined;
@@ -11570,7 +11644,7 @@ declare function init(config: AuthHeroConfig): {
11570
11644
  active?: boolean | undefined;
11571
11645
  } | undefined;
11572
11646
  signup?: {
11573
- status?: "optional" | "required" | "disabled" | undefined;
11647
+ status?: "required" | "optional" | "disabled" | undefined;
11574
11648
  } | undefined;
11575
11649
  } | undefined;
11576
11650
  } | undefined;
@@ -11690,7 +11764,7 @@ declare function init(config: AuthHeroConfig): {
11690
11764
  active?: boolean | undefined;
11691
11765
  } | undefined;
11692
11766
  signup?: {
11693
- status?: "optional" | "required" | "disabled" | undefined;
11767
+ status?: "required" | "optional" | "disabled" | undefined;
11694
11768
  verification?: {
11695
11769
  active?: boolean | undefined;
11696
11770
  } | undefined;
@@ -11707,7 +11781,7 @@ declare function init(config: AuthHeroConfig): {
11707
11781
  active?: boolean | undefined;
11708
11782
  } | undefined;
11709
11783
  signup?: {
11710
- status?: "optional" | "required" | "disabled" | undefined;
11784
+ status?: "required" | "optional" | "disabled" | undefined;
11711
11785
  } | undefined;
11712
11786
  validation?: {
11713
11787
  max_length?: number | undefined;
@@ -11724,7 +11798,7 @@ declare function init(config: AuthHeroConfig): {
11724
11798
  active?: boolean | undefined;
11725
11799
  } | undefined;
11726
11800
  signup?: {
11727
- status?: "optional" | "required" | "disabled" | undefined;
11801
+ status?: "required" | "optional" | "disabled" | undefined;
11728
11802
  } | undefined;
11729
11803
  } | undefined;
11730
11804
  } | undefined;
@@ -11873,7 +11947,7 @@ declare function init(config: AuthHeroConfig): {
11873
11947
  active?: boolean | undefined;
11874
11948
  } | undefined;
11875
11949
  signup?: {
11876
- status?: "optional" | "required" | "disabled" | undefined;
11950
+ status?: "required" | "optional" | "disabled" | undefined;
11877
11951
  verification?: {
11878
11952
  active?: boolean | undefined;
11879
11953
  } | undefined;
@@ -11890,7 +11964,7 @@ declare function init(config: AuthHeroConfig): {
11890
11964
  active?: boolean | undefined;
11891
11965
  } | undefined;
11892
11966
  signup?: {
11893
- status?: "optional" | "required" | "disabled" | undefined;
11967
+ status?: "required" | "optional" | "disabled" | undefined;
11894
11968
  } | undefined;
11895
11969
  validation?: {
11896
11970
  max_length?: number | undefined;
@@ -11907,7 +11981,7 @@ declare function init(config: AuthHeroConfig): {
11907
11981
  active?: boolean | undefined;
11908
11982
  } | undefined;
11909
11983
  signup?: {
11910
- status?: "optional" | "required" | "disabled" | undefined;
11984
+ status?: "required" | "optional" | "disabled" | undefined;
11911
11985
  } | undefined;
11912
11986
  } | undefined;
11913
11987
  } | undefined;
@@ -12035,7 +12109,7 @@ declare function init(config: AuthHeroConfig): {
12035
12109
  active?: boolean | undefined;
12036
12110
  } | undefined;
12037
12111
  signup?: {
12038
- status?: "optional" | "required" | "disabled" | undefined;
12112
+ status?: "required" | "optional" | "disabled" | undefined;
12039
12113
  verification?: {
12040
12114
  active?: boolean | undefined;
12041
12115
  } | undefined;
@@ -12052,7 +12126,7 @@ declare function init(config: AuthHeroConfig): {
12052
12126
  active?: boolean | undefined;
12053
12127
  } | undefined;
12054
12128
  signup?: {
12055
- status?: "optional" | "required" | "disabled" | undefined;
12129
+ status?: "required" | "optional" | "disabled" | undefined;
12056
12130
  } | undefined;
12057
12131
  validation?: {
12058
12132
  max_length?: number | undefined;
@@ -12069,7 +12143,7 @@ declare function init(config: AuthHeroConfig): {
12069
12143
  active?: boolean | undefined;
12070
12144
  } | undefined;
12071
12145
  signup?: {
12072
- status?: "optional" | "required" | "disabled" | undefined;
12146
+ status?: "required" | "optional" | "disabled" | undefined;
12073
12147
  } | undefined;
12074
12148
  } | undefined;
12075
12149
  } | undefined;
@@ -13225,7 +13299,7 @@ declare function init(config: AuthHeroConfig): {
13225
13299
  created_at: string;
13226
13300
  updated_at: string;
13227
13301
  name: string;
13228
- provider: "auth0" | "oidc" | "okta" | "cognito";
13302
+ provider: "auth0" | "cognito" | "okta" | "oidc";
13229
13303
  connection: string;
13230
13304
  enabled: boolean;
13231
13305
  credentials: {
@@ -13257,7 +13331,7 @@ declare function init(config: AuthHeroConfig): {
13257
13331
  created_at: string;
13258
13332
  updated_at: string;
13259
13333
  name: string;
13260
- provider: "auth0" | "oidc" | "okta" | "cognito";
13334
+ provider: "auth0" | "cognito" | "okta" | "oidc";
13261
13335
  connection: string;
13262
13336
  enabled: boolean;
13263
13337
  credentials: {
@@ -13283,7 +13357,7 @@ declare function init(config: AuthHeroConfig): {
13283
13357
  } & {
13284
13358
  json: {
13285
13359
  name: string;
13286
- provider: "auth0" | "oidc" | "okta" | "cognito";
13360
+ provider: "auth0" | "cognito" | "okta" | "oidc";
13287
13361
  connection: string;
13288
13362
  credentials: {
13289
13363
  domain: string;
@@ -13300,7 +13374,7 @@ declare function init(config: AuthHeroConfig): {
13300
13374
  created_at: string;
13301
13375
  updated_at: string;
13302
13376
  name: string;
13303
- provider: "auth0" | "oidc" | "okta" | "cognito";
13377
+ provider: "auth0" | "cognito" | "okta" | "oidc";
13304
13378
  connection: string;
13305
13379
  enabled: boolean;
13306
13380
  credentials: {
@@ -13331,7 +13405,7 @@ declare function init(config: AuthHeroConfig): {
13331
13405
  json: {
13332
13406
  id?: string | undefined;
13333
13407
  name?: string | undefined;
13334
- provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
13408
+ provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
13335
13409
  connection?: string | undefined;
13336
13410
  enabled?: boolean | undefined;
13337
13411
  credentials?: {
@@ -13347,7 +13421,7 @@ declare function init(config: AuthHeroConfig): {
13347
13421
  created_at: string;
13348
13422
  updated_at: string;
13349
13423
  name: string;
13350
- provider: "auth0" | "oidc" | "okta" | "cognito";
13424
+ provider: "auth0" | "cognito" | "okta" | "oidc";
13351
13425
  connection: string;
13352
13426
  enabled: boolean;
13353
13427
  credentials: {
@@ -14942,7 +15016,7 @@ declare function init(config: AuthHeroConfig): {
14942
15016
  active?: boolean | undefined;
14943
15017
  } | undefined;
14944
15018
  signup?: {
14945
- status?: "optional" | "required" | "disabled" | undefined;
15019
+ status?: "required" | "optional" | "disabled" | undefined;
14946
15020
  verification?: {
14947
15021
  active?: boolean | undefined;
14948
15022
  } | undefined;
@@ -14959,7 +15033,7 @@ declare function init(config: AuthHeroConfig): {
14959
15033
  active?: boolean | undefined;
14960
15034
  } | undefined;
14961
15035
  signup?: {
14962
- status?: "optional" | "required" | "disabled" | undefined;
15036
+ status?: "required" | "optional" | "disabled" | undefined;
14963
15037
  } | undefined;
14964
15038
  validation?: {
14965
15039
  max_length?: number | undefined;
@@ -14976,7 +15050,7 @@ declare function init(config: AuthHeroConfig): {
14976
15050
  active?: boolean | undefined;
14977
15051
  } | undefined;
14978
15052
  signup?: {
14979
- status?: "optional" | "required" | "disabled" | undefined;
15053
+ status?: "required" | "optional" | "disabled" | undefined;
14980
15054
  } | undefined;
14981
15055
  } | undefined;
14982
15056
  } | undefined;
@@ -15100,7 +15174,7 @@ declare function init(config: AuthHeroConfig): {
15100
15174
  active?: boolean | undefined;
15101
15175
  } | undefined;
15102
15176
  signup?: {
15103
- status?: "optional" | "required" | "disabled" | undefined;
15177
+ status?: "required" | "optional" | "disabled" | undefined;
15104
15178
  verification?: {
15105
15179
  active?: boolean | undefined;
15106
15180
  } | undefined;
@@ -15117,7 +15191,7 @@ declare function init(config: AuthHeroConfig): {
15117
15191
  active?: boolean | undefined;
15118
15192
  } | undefined;
15119
15193
  signup?: {
15120
- status?: "optional" | "required" | "disabled" | undefined;
15194
+ status?: "required" | "optional" | "disabled" | undefined;
15121
15195
  } | undefined;
15122
15196
  validation?: {
15123
15197
  max_length?: number | undefined;
@@ -15134,7 +15208,7 @@ declare function init(config: AuthHeroConfig): {
15134
15208
  active?: boolean | undefined;
15135
15209
  } | undefined;
15136
15210
  signup?: {
15137
- status?: "optional" | "required" | "disabled" | undefined;
15211
+ status?: "required" | "optional" | "disabled" | undefined;
15138
15212
  } | undefined;
15139
15213
  } | undefined;
15140
15214
  } | undefined;
@@ -16144,6 +16218,152 @@ declare function init(config: AuthHeroConfig): {
16144
16218
  status: 200;
16145
16219
  };
16146
16220
  };
16221
+ } & {
16222
+ "/:user_id/refresh-tokens": {
16223
+ $get: {
16224
+ input: {
16225
+ param: {
16226
+ user_id: string;
16227
+ };
16228
+ } & {
16229
+ query: {
16230
+ page?: string | undefined;
16231
+ per_page?: string | undefined;
16232
+ include_totals?: string | undefined;
16233
+ from?: string | undefined;
16234
+ take?: string | undefined;
16235
+ sort?: string | undefined;
16236
+ q?: string | undefined;
16237
+ from_date?: unknown;
16238
+ to_date?: unknown;
16239
+ };
16240
+ } & {
16241
+ header: {
16242
+ "tenant-id"?: string | undefined;
16243
+ };
16244
+ };
16245
+ output: {
16246
+ id: string;
16247
+ created_at: string;
16248
+ user_id: string;
16249
+ client_id: string;
16250
+ rotating: boolean;
16251
+ device: {
16252
+ initial_user_agent: string;
16253
+ initial_ip: string;
16254
+ initial_asn: string;
16255
+ last_user_agent: string;
16256
+ last_ip: string;
16257
+ last_asn: string;
16258
+ };
16259
+ login_id: string;
16260
+ resource_servers: {
16261
+ audience: string;
16262
+ scopes: string;
16263
+ }[];
16264
+ revoked_at?: string | undefined;
16265
+ expires_at?: string | undefined;
16266
+ idle_expires_at?: string | undefined;
16267
+ session_id?: string | undefined;
16268
+ organization?: string | undefined;
16269
+ auth_connection?: string | undefined;
16270
+ auth_strategy?: {
16271
+ strategy: string;
16272
+ strategy_type: string;
16273
+ } | undefined;
16274
+ last_exchanged_at?: string | undefined;
16275
+ }[] | {
16276
+ tokens: {
16277
+ id: string;
16278
+ created_at: string;
16279
+ user_id: string;
16280
+ client_id: string;
16281
+ rotating: boolean;
16282
+ device: {
16283
+ initial_user_agent: string;
16284
+ initial_ip: string;
16285
+ initial_asn: string;
16286
+ last_user_agent: string;
16287
+ last_ip: string;
16288
+ last_asn: string;
16289
+ };
16290
+ login_id: string;
16291
+ resource_servers: {
16292
+ audience: string;
16293
+ scopes: string;
16294
+ }[];
16295
+ revoked_at?: string | undefined;
16296
+ expires_at?: string | undefined;
16297
+ idle_expires_at?: string | undefined;
16298
+ session_id?: string | undefined;
16299
+ organization?: string | undefined;
16300
+ auth_connection?: string | undefined;
16301
+ auth_strategy?: {
16302
+ strategy: string;
16303
+ strategy_type: string;
16304
+ } | undefined;
16305
+ last_exchanged_at?: string | undefined;
16306
+ }[];
16307
+ next?: string | undefined;
16308
+ } | {
16309
+ start: number;
16310
+ limit: number;
16311
+ length: number;
16312
+ tokens: {
16313
+ id: string;
16314
+ created_at: string;
16315
+ user_id: string;
16316
+ client_id: string;
16317
+ rotating: boolean;
16318
+ device: {
16319
+ initial_user_agent: string;
16320
+ initial_ip: string;
16321
+ initial_asn: string;
16322
+ last_user_agent: string;
16323
+ last_ip: string;
16324
+ last_asn: string;
16325
+ };
16326
+ login_id: string;
16327
+ resource_servers: {
16328
+ audience: string;
16329
+ scopes: string;
16330
+ }[];
16331
+ revoked_at?: string | undefined;
16332
+ expires_at?: string | undefined;
16333
+ idle_expires_at?: string | undefined;
16334
+ session_id?: string | undefined;
16335
+ organization?: string | undefined;
16336
+ auth_connection?: string | undefined;
16337
+ auth_strategy?: {
16338
+ strategy: string;
16339
+ strategy_type: string;
16340
+ } | undefined;
16341
+ last_exchanged_at?: string | undefined;
16342
+ }[];
16343
+ total?: number | undefined;
16344
+ next?: string | undefined;
16345
+ };
16346
+ outputFormat: "json";
16347
+ status: 200;
16348
+ };
16349
+ };
16350
+ } & {
16351
+ "/:user_id/refresh-tokens": {
16352
+ $delete: {
16353
+ input: {
16354
+ param: {
16355
+ user_id: string;
16356
+ };
16357
+ } & {
16358
+ header: {
16359
+ "tenant-id"?: string | undefined;
16360
+ };
16361
+ };
16362
+ output: {};
16363
+ outputFormat: string;
16364
+ status: 204;
16365
+ };
16366
+ };
16147
16367
  } & {
16148
16368
  "/:user_id/logs": {
16149
16369
  $get: {
@@ -16527,7 +16747,7 @@ declare function init(config: AuthHeroConfig): {
16527
16747
  };
16528
16748
  } & {
16529
16749
  json: {
16530
- 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";
16750
+ 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";
16531
16751
  body: string;
16532
16752
  from: string;
16533
16753
  subject: string;
@@ -16548,7 +16768,7 @@ declare function init(config: AuthHeroConfig): {
16548
16768
  };
16549
16769
  } & {
16550
16770
  json: {
16551
- 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";
16771
+ 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";
16552
16772
  body: string;
16553
16773
  from: string;
16554
16774
  subject: string;
@@ -16560,7 +16780,7 @@ declare function init(config: AuthHeroConfig): {
16560
16780
  };
16561
16781
  };
16562
16782
  output: {
16563
- 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";
16783
+ 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";
16564
16784
  body: string;
16565
16785
  from: string;
16566
16786
  subject: string;
@@ -16583,7 +16803,7 @@ declare function init(config: AuthHeroConfig): {
16583
16803
  };
16584
16804
  };
16585
16805
  output: {
16586
- 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";
16806
+ 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";
16587
16807
  body: string;
16588
16808
  subject: string;
16589
16809
  }[];
@@ -16596,7 +16816,7 @@ declare function init(config: AuthHeroConfig): {
16596
16816
  $get: {
16597
16817
  input: {
16598
16818
  param: {
16599
- 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";
16819
+ 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";
16600
16820
  };
16601
16821
  } & {
16602
16822
  header: {
@@ -16609,7 +16829,7 @@ declare function init(config: AuthHeroConfig): {
16609
16829
  } | {
16610
16830
  input: {
16611
16831
  param: {
16612
- 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";
16832
+ 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";
16613
16833
  };
16614
16834
  } & {
16615
16835
  header: {
@@ -16617,7 +16837,7 @@ declare function init(config: AuthHeroConfig): {
16617
16837
  };
16618
16838
  };
16619
16839
  output: {
16620
- 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";
16840
+ 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";
16621
16841
  body: string;
16622
16842
  from: string;
16623
16843
  subject: string;
@@ -16636,7 +16856,7 @@ declare function init(config: AuthHeroConfig): {
16636
16856
  $put: {
16637
16857
  input: {
16638
16858
  param: {
16639
- 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";
16859
+ 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";
16640
16860
  };
16641
16861
  } & {
16642
16862
  header: {
@@ -16644,7 +16864,7 @@ declare function init(config: AuthHeroConfig): {
16644
16864
  };
16645
16865
  } & {
16646
16866
  json: {
16647
- 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";
16867
+ 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";
16648
16868
  body: string;
16649
16869
  subject: string;
16650
16870
  syntax?: "liquid" | undefined;
@@ -16656,7 +16876,7 @@ declare function init(config: AuthHeroConfig): {
16656
16876
  };
16657
16877
  };
16658
16878
  output: {
16659
- 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";
16879
+ 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";
16660
16880
  body: string;
16661
16881
  from: string;
16662
16882
  subject: string;
@@ -16675,7 +16895,7 @@ declare function init(config: AuthHeroConfig): {
16675
16895
  $patch: {
16676
16896
  input: {
16677
16897
  param: {
16678
- 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";
16898
+ 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";
16679
16899
  };
16680
16900
  } & {
16681
16901
  header: {
@@ -16683,7 +16903,7 @@ declare function init(config: AuthHeroConfig): {
16683
16903
  };
16684
16904
  } & {
16685
16905
  json: {
16686
- 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;
16906
+ 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;
16687
16907
  body?: string | undefined;
16688
16908
  from?: string | undefined;
16689
16909
  subject?: string | undefined;
@@ -16700,7 +16920,7 @@ declare function init(config: AuthHeroConfig): {
16700
16920
  } | {
16701
16921
  input: {
16702
16922
  param: {
16703
- 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";
16923
+ 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";
16704
16924
  };
16705
16925
  } & {
16706
16926
  header: {
@@ -16708,7 +16928,7 @@ declare function init(config: AuthHeroConfig): {
16708
16928
  };
16709
16929
  } & {
16710
16930
  json: {
16711
- 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;
16931
+ 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;
16712
16932
  body?: string | undefined;
16713
16933
  from?: string | undefined;
16714
16934
  subject?: string | undefined;
@@ -16720,7 +16940,7 @@ declare function init(config: AuthHeroConfig): {
16720
16940
  };
16721
16941
  };
16722
16942
  output: {
16723
- 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";
16943
+ 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";
16724
16944
  body: string;
16725
16945
  from: string;
16726
16946
  subject: string;
@@ -16739,7 +16959,7 @@ declare function init(config: AuthHeroConfig): {
16739
16959
  $delete: {
16740
16960
  input: {
16741
16961
  param: {
16742
- 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";
16962
+ 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";
16743
16963
  };
16744
16964
  } & {
16745
16965
  header: {
@@ -16752,7 +16972,7 @@ declare function init(config: AuthHeroConfig): {
16752
16972
  } | {
16753
16973
  input: {
16754
16974
  param: {
16755
- 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";
16975
+ 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";
16756
16976
  };
16757
16977
  } & {
16758
16978
  header: {
@@ -16769,7 +16989,7 @@ declare function init(config: AuthHeroConfig): {
16769
16989
  $post: {
16770
16990
  input: {
16771
16991
  param: {
16772
- 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";
16992
+ 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";
16773
16993
  };
16774
16994
  } & {
16775
16995
  header: {
@@ -19428,15 +19648,15 @@ declare function init(config: AuthHeroConfig): {
19428
19648
  send: "code" | "link";
19429
19649
  authParams: {
19430
19650
  username?: string | undefined;
19651
+ organization?: string | undefined;
19431
19652
  audience?: string | undefined;
19432
19653
  scope?: string | undefined;
19433
19654
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19434
19655
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19435
19656
  state?: string | undefined;
19436
- organization?: string | undefined;
19437
- redirect_uri?: string | undefined;
19438
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19439
19657
  code_challenge?: string | undefined;
19658
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19659
+ redirect_uri?: string | undefined;
19440
19660
  nonce?: string | undefined;
19441
19661
  act_as?: string | undefined;
19442
19662
  prompt?: string | undefined;
@@ -19464,15 +19684,15 @@ declare function init(config: AuthHeroConfig): {
19464
19684
  send: "code" | "link";
19465
19685
  authParams: {
19466
19686
  username?: string | undefined;
19687
+ organization?: string | undefined;
19467
19688
  audience?: string | undefined;
19468
19689
  scope?: string | undefined;
19469
19690
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
19470
19691
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
19471
19692
  state?: string | undefined;
19472
- organization?: string | undefined;
19473
- redirect_uri?: string | undefined;
19474
- code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19475
19693
  code_challenge?: string | undefined;
19694
+ code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
19695
+ redirect_uri?: string | undefined;
19476
19696
  nonce?: string | undefined;
19477
19697
  act_as?: string | undefined;
19478
19698
  prompt?: string | undefined;
@@ -21386,7 +21606,7 @@ declare function init(config: AuthHeroConfig): {
21386
21606
  $get: {
21387
21607
  input: {
21388
21608
  param: {
21389
- 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";
21609
+ 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";
21390
21610
  };
21391
21611
  } & {
21392
21612
  query: {
@@ -21402,7 +21622,7 @@ declare function init(config: AuthHeroConfig): {
21402
21622
  } | {
21403
21623
  input: {
21404
21624
  param: {
21405
- 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";
21625
+ 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";
21406
21626
  };
21407
21627
  } & {
21408
21628
  query: {
@@ -21418,7 +21638,7 @@ declare function init(config: AuthHeroConfig): {
21418
21638
  } | {
21419
21639
  input: {
21420
21640
  param: {
21421
- 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";
21641
+ 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";
21422
21642
  };
21423
21643
  } & {
21424
21644
  query: {
@@ -21438,7 +21658,7 @@ declare function init(config: AuthHeroConfig): {
21438
21658
  $post: {
21439
21659
  input: {
21440
21660
  param: {
21441
- 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";
21661
+ 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";
21442
21662
  };
21443
21663
  } & {
21444
21664
  query: {
@@ -21456,7 +21676,7 @@ declare function init(config: AuthHeroConfig): {
21456
21676
  } | {
21457
21677
  input: {
21458
21678
  param: {
21459
- 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";
21679
+ 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";
21460
21680
  };
21461
21681
  } & {
21462
21682
  query: {