authhero 8.17.4 → 8.18.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.
@@ -1,6 +1,6 @@
1
1
  import * as hono_utils_types from 'hono/utils/types';
2
2
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
3
- import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, CustomDomain, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, TenantOperationKind, TenantOperation, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, LogsDataAdapter, LogInsert, UserDataAdapter, CustomDomainsAdapter, ProxyRoutesAdapter, ListParams, KeysAdapter, CodeExecutionResult } from '@authhero/adapter-interfaces';
3
+ import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, CustomDomain, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, TenantOperationKind, TenantOperation, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, CustomDomainsAdapter, ProxyRoutesAdapter, ListParams, KeysAdapter, CodeExecutionResult } from '@authhero/adapter-interfaces';
4
4
  export * from '@authhero/adapter-interfaces';
5
5
  import * as hono_types from 'hono/types';
6
6
  import * as hono_utils_http_status from 'hono/utils/http-status';
@@ -2322,6 +2322,71 @@ interface CreateDefaultDestinationsConfig {
2322
2322
  */
2323
2323
  declare function createDefaultDestinations(config: CreateDefaultDestinationsConfig): EventDestination[];
2324
2324
 
2325
+ /**
2326
+ * Whether a client can anchor interactive, user-facing flows (universal login,
2327
+ * the DCR `/connect/start` consent bounce, etc.).
2328
+ *
2329
+ * A client is considered interactive unless it is explicitly machine-to-machine:
2330
+ * `non_interactive`/`resource_server` app types, or a grant list that only
2331
+ * allows `client_credentials`. Clients with no explicit `grant_types` are
2332
+ * treated as interactive — that matches how a freshly created "Default App"
2333
+ * (which relies on the authorize flow) behaves in AuthHero and Auth0.
2334
+ */
2335
+ declare function isInteractiveClient(client: Pick<Client, "app_type" | "grant_types">): boolean;
2336
+ /** A single Management API scope entry (`{ value, description }`). */
2337
+ interface ManagementApiScope {
2338
+ value: string;
2339
+ description?: string;
2340
+ }
2341
+ interface ProvisionDefaultClientsOptions {
2342
+ /** Display name for an auto-created Default App. Defaults to "Default App". */
2343
+ defaultAppName?: string;
2344
+ /** Callback URLs for an auto-created Default App. */
2345
+ callbacks?: string[];
2346
+ /** Allowed logout URLs for an auto-created Default App. */
2347
+ allowedLogoutUrls?: string[];
2348
+ /** Allowed web origins for an auto-created Default App. */
2349
+ webOrigins?: string[];
2350
+ /**
2351
+ * Also provision an M2M "API Explorer" client authorized against the
2352
+ * Management API (Auth0 parity). Defaults to `true`. Requires
2353
+ * `managementApiScopes` to seed the resource server when it is missing.
2354
+ */
2355
+ createManagementClient?: boolean;
2356
+ /** Management API identifier. Defaults to `urn:authhero:management`. */
2357
+ managementApiIdentifier?: string;
2358
+ /**
2359
+ * Scopes used to seed the Management API resource server when it does not
2360
+ * yet exist, and to authorize the M2M client's grant. When omitted, the
2361
+ * resource server is assumed to already exist and the grant is created with
2362
+ * no explicit scope.
2363
+ */
2364
+ managementApiScopes?: ManagementApiScope[];
2365
+ /** Emit progress logs (used by the seed script). */
2366
+ debug?: boolean;
2367
+ }
2368
+ interface ProvisionDefaultClientsResult {
2369
+ /** The client the tenant's `default_client_id` now points at. */
2370
+ defaultClientId: string;
2371
+ /** The auto-provisioned M2M Management API client, if one was created/found. */
2372
+ managementClientId?: string;
2373
+ }
2374
+ /**
2375
+ * Ensures a tenant has a designated interactive default client and (optionally)
2376
+ * an M2M Management API client, then points `tenant.default_client_id` at the
2377
+ * former.
2378
+ *
2379
+ * Idempotent and import-safe:
2380
+ * - Respects an already-set, still-valid `default_client_id`.
2381
+ * - Reuses an existing interactive client instead of creating a duplicate.
2382
+ * - Skips the M2M client when one already exists.
2383
+ *
2384
+ * Shared by every tenant-creation path (the seed/bootstrap script and the
2385
+ * multi-tenancy provisioning hook) so new tenants come with a sensible anchor
2386
+ * client by construction — see issue #1007.
2387
+ */
2388
+ declare function provisionDefaultClients(adapters: DataAdapters, tenantId: string, options?: ProvisionDefaultClientsOptions): Promise<ProvisionDefaultClientsResult>;
2389
+
2325
2390
  interface RunOutboxRelayConfig {
2326
2391
  /** Same `DataAdapters` passed to `init()`. Must include `outbox` to drain. */
2327
2392
  dataAdapter: DataAdapters;
@@ -3042,8 +3107,8 @@ declare function init(config: AuthHeroConfig): {
3042
3107
  $get: {
3043
3108
  input: {
3044
3109
  query: {
3045
- include_password_hashes?: "true" | "false" | undefined;
3046
- gzip?: "true" | "false" | undefined;
3110
+ include_password_hashes?: "false" | "true" | undefined;
3111
+ gzip?: "false" | "true" | undefined;
3047
3112
  };
3048
3113
  } & {
3049
3114
  header: {
@@ -3056,8 +3121,8 @@ declare function init(config: AuthHeroConfig): {
3056
3121
  } | {
3057
3122
  input: {
3058
3123
  query: {
3059
- include_password_hashes?: "true" | "false" | undefined;
3060
- gzip?: "true" | "false" | undefined;
3124
+ include_password_hashes?: "false" | "true" | undefined;
3125
+ gzip?: "false" | "true" | undefined;
3061
3126
  };
3062
3127
  } & {
3063
3128
  header: {
@@ -3076,7 +3141,7 @@ declare function init(config: AuthHeroConfig): {
3076
3141
  $post: {
3077
3142
  input: {
3078
3143
  query: {
3079
- include_password_hashes?: "true" | "false" | undefined;
3144
+ include_password_hashes?: "false" | "true" | undefined;
3080
3145
  };
3081
3146
  } & {
3082
3147
  header: {
@@ -3130,7 +3195,7 @@ declare function init(config: AuthHeroConfig): {
3130
3195
  };
3131
3196
  } & {
3132
3197
  json: {
3133
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
3198
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
3134
3199
  phone_number?: string | undefined;
3135
3200
  totp_secret?: string | undefined;
3136
3201
  credential_id?: string | undefined;
@@ -3270,7 +3335,7 @@ declare function init(config: AuthHeroConfig): {
3270
3335
  };
3271
3336
  };
3272
3337
  output: {
3273
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3338
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3274
3339
  enabled: boolean;
3275
3340
  trial_expired?: boolean | undefined;
3276
3341
  }[];
@@ -3425,7 +3490,7 @@ declare function init(config: AuthHeroConfig): {
3425
3490
  $get: {
3426
3491
  input: {
3427
3492
  param: {
3428
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3493
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3429
3494
  };
3430
3495
  } & {
3431
3496
  header: {
@@ -3433,7 +3498,7 @@ declare function init(config: AuthHeroConfig): {
3433
3498
  };
3434
3499
  };
3435
3500
  output: {
3436
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3501
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3437
3502
  enabled: boolean;
3438
3503
  trial_expired?: boolean | undefined;
3439
3504
  };
@@ -3446,7 +3511,7 @@ declare function init(config: AuthHeroConfig): {
3446
3511
  $put: {
3447
3512
  input: {
3448
3513
  param: {
3449
- factor_name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3514
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3450
3515
  };
3451
3516
  } & {
3452
3517
  header: {
@@ -3458,7 +3523,7 @@ declare function init(config: AuthHeroConfig): {
3458
3523
  };
3459
3524
  };
3460
3525
  output: {
3461
- name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
3526
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3462
3527
  enabled: boolean;
3463
3528
  trial_expired?: boolean | undefined;
3464
3529
  };
@@ -4391,8 +4456,8 @@ declare function init(config: AuthHeroConfig): {
4391
4456
  };
4392
4457
  } & {
4393
4458
  json: {
4394
- show_as_button?: boolean | undefined;
4395
4459
  assign_membership_on_login?: boolean | undefined;
4460
+ show_as_button?: boolean | undefined;
4396
4461
  is_signup_enabled?: boolean | undefined;
4397
4462
  };
4398
4463
  };
@@ -9862,7 +9927,7 @@ declare function init(config: AuthHeroConfig): {
9862
9927
  };
9863
9928
  };
9864
9929
  output: {
9865
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9930
+ prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9866
9931
  language: string;
9867
9932
  }[];
9868
9933
  outputFormat: "json";
@@ -9900,7 +9965,7 @@ declare function init(config: AuthHeroConfig): {
9900
9965
  $get: {
9901
9966
  input: {
9902
9967
  param: {
9903
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9968
+ prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9904
9969
  language: string;
9905
9970
  };
9906
9971
  } & {
@@ -9922,7 +9987,7 @@ declare function init(config: AuthHeroConfig): {
9922
9987
  $put: {
9923
9988
  input: {
9924
9989
  param: {
9925
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
9990
+ prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9926
9991
  language: string;
9927
9992
  };
9928
9993
  } & {
@@ -9946,7 +10011,7 @@ declare function init(config: AuthHeroConfig): {
9946
10011
  $delete: {
9947
10012
  input: {
9948
10013
  param: {
9949
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
10014
+ prompt: "status" | "organizations" | "signup" | "mfa" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
9950
10015
  language: string;
9951
10016
  };
9952
10017
  } & {
@@ -10038,7 +10103,7 @@ declare function init(config: AuthHeroConfig): {
10038
10103
  active?: boolean | undefined;
10039
10104
  } | undefined;
10040
10105
  signup?: {
10041
- status?: "optional" | "required" | "disabled" | undefined;
10106
+ status?: "required" | "optional" | "disabled" | undefined;
10042
10107
  verification?: {
10043
10108
  active?: boolean | undefined;
10044
10109
  } | undefined;
@@ -10055,7 +10120,7 @@ declare function init(config: AuthHeroConfig): {
10055
10120
  active?: boolean | undefined;
10056
10121
  } | undefined;
10057
10122
  signup?: {
10058
- status?: "optional" | "required" | "disabled" | undefined;
10123
+ status?: "required" | "optional" | "disabled" | undefined;
10059
10124
  } | undefined;
10060
10125
  validation?: {
10061
10126
  max_length?: number | undefined;
@@ -10072,7 +10137,7 @@ declare function init(config: AuthHeroConfig): {
10072
10137
  active?: boolean | undefined;
10073
10138
  } | undefined;
10074
10139
  signup?: {
10075
- status?: "optional" | "required" | "disabled" | undefined;
10140
+ status?: "required" | "optional" | "disabled" | undefined;
10076
10141
  } | undefined;
10077
10142
  } | undefined;
10078
10143
  } | undefined;
@@ -10085,7 +10150,7 @@ declare function init(config: AuthHeroConfig): {
10085
10150
  } | undefined;
10086
10151
  } | undefined;
10087
10152
  passkey_options?: {
10088
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10153
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10089
10154
  local_enrollment_enabled?: boolean | undefined;
10090
10155
  progressive_enrollment_enabled?: boolean | undefined;
10091
10156
  } | undefined;
@@ -10172,7 +10237,7 @@ declare function init(config: AuthHeroConfig): {
10172
10237
  active?: boolean | undefined;
10173
10238
  } | undefined;
10174
10239
  signup?: {
10175
- status?: "optional" | "required" | "disabled" | undefined;
10240
+ status?: "required" | "optional" | "disabled" | undefined;
10176
10241
  verification?: {
10177
10242
  active?: boolean | undefined;
10178
10243
  } | undefined;
@@ -10189,7 +10254,7 @@ declare function init(config: AuthHeroConfig): {
10189
10254
  active?: boolean | undefined;
10190
10255
  } | undefined;
10191
10256
  signup?: {
10192
- status?: "optional" | "required" | "disabled" | undefined;
10257
+ status?: "required" | "optional" | "disabled" | undefined;
10193
10258
  } | undefined;
10194
10259
  validation?: {
10195
10260
  max_length?: number | undefined;
@@ -10206,7 +10271,7 @@ declare function init(config: AuthHeroConfig): {
10206
10271
  active?: boolean | undefined;
10207
10272
  } | undefined;
10208
10273
  signup?: {
10209
- status?: "optional" | "required" | "disabled" | undefined;
10274
+ status?: "required" | "optional" | "disabled" | undefined;
10210
10275
  } | undefined;
10211
10276
  } | undefined;
10212
10277
  } | undefined;
@@ -10219,7 +10284,7 @@ declare function init(config: AuthHeroConfig): {
10219
10284
  } | undefined;
10220
10285
  } | undefined;
10221
10286
  passkey_options?: {
10222
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10287
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10223
10288
  local_enrollment_enabled?: boolean | undefined;
10224
10289
  progressive_enrollment_enabled?: boolean | undefined;
10225
10290
  } | undefined;
@@ -10321,7 +10386,7 @@ declare function init(config: AuthHeroConfig): {
10321
10386
  active?: boolean | undefined;
10322
10387
  } | undefined;
10323
10388
  signup?: {
10324
- status?: "optional" | "required" | "disabled" | undefined;
10389
+ status?: "required" | "optional" | "disabled" | undefined;
10325
10390
  verification?: {
10326
10391
  active?: boolean | undefined;
10327
10392
  } | undefined;
@@ -10338,7 +10403,7 @@ declare function init(config: AuthHeroConfig): {
10338
10403
  active?: boolean | undefined;
10339
10404
  } | undefined;
10340
10405
  signup?: {
10341
- status?: "optional" | "required" | "disabled" | undefined;
10406
+ status?: "required" | "optional" | "disabled" | undefined;
10342
10407
  } | undefined;
10343
10408
  validation?: {
10344
10409
  max_length?: number | undefined;
@@ -10355,7 +10420,7 @@ declare function init(config: AuthHeroConfig): {
10355
10420
  active?: boolean | undefined;
10356
10421
  } | undefined;
10357
10422
  signup?: {
10358
- status?: "optional" | "required" | "disabled" | undefined;
10423
+ status?: "required" | "optional" | "disabled" | undefined;
10359
10424
  } | undefined;
10360
10425
  } | undefined;
10361
10426
  } | undefined;
@@ -10368,7 +10433,7 @@ declare function init(config: AuthHeroConfig): {
10368
10433
  } | undefined;
10369
10434
  } | undefined;
10370
10435
  passkey_options?: {
10371
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10436
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10372
10437
  local_enrollment_enabled?: boolean | undefined;
10373
10438
  progressive_enrollment_enabled?: boolean | undefined;
10374
10439
  } | undefined;
@@ -10500,7 +10565,7 @@ declare function init(config: AuthHeroConfig): {
10500
10565
  active?: boolean | undefined;
10501
10566
  } | undefined;
10502
10567
  signup?: {
10503
- status?: "optional" | "required" | "disabled" | undefined;
10568
+ status?: "required" | "optional" | "disabled" | undefined;
10504
10569
  verification?: {
10505
10570
  active?: boolean | undefined;
10506
10571
  } | undefined;
@@ -10517,7 +10582,7 @@ declare function init(config: AuthHeroConfig): {
10517
10582
  active?: boolean | undefined;
10518
10583
  } | undefined;
10519
10584
  signup?: {
10520
- status?: "optional" | "required" | "disabled" | undefined;
10585
+ status?: "required" | "optional" | "disabled" | undefined;
10521
10586
  } | undefined;
10522
10587
  validation?: {
10523
10588
  max_length?: number | undefined;
@@ -10534,7 +10599,7 @@ declare function init(config: AuthHeroConfig): {
10534
10599
  active?: boolean | undefined;
10535
10600
  } | undefined;
10536
10601
  signup?: {
10537
- status?: "optional" | "required" | "disabled" | undefined;
10602
+ status?: "required" | "optional" | "disabled" | undefined;
10538
10603
  } | undefined;
10539
10604
  } | undefined;
10540
10605
  } | undefined;
@@ -10547,7 +10612,7 @@ declare function init(config: AuthHeroConfig): {
10547
10612
  } | undefined;
10548
10613
  } | undefined;
10549
10614
  passkey_options?: {
10550
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10615
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10551
10616
  local_enrollment_enabled?: boolean | undefined;
10552
10617
  progressive_enrollment_enabled?: boolean | undefined;
10553
10618
  } | undefined;
@@ -10658,7 +10723,7 @@ declare function init(config: AuthHeroConfig): {
10658
10723
  active?: boolean | undefined;
10659
10724
  } | undefined;
10660
10725
  signup?: {
10661
- status?: "optional" | "required" | "disabled" | undefined;
10726
+ status?: "required" | "optional" | "disabled" | undefined;
10662
10727
  verification?: {
10663
10728
  active?: boolean | undefined;
10664
10729
  } | undefined;
@@ -10675,7 +10740,7 @@ declare function init(config: AuthHeroConfig): {
10675
10740
  active?: boolean | undefined;
10676
10741
  } | undefined;
10677
10742
  signup?: {
10678
- status?: "optional" | "required" | "disabled" | undefined;
10743
+ status?: "required" | "optional" | "disabled" | undefined;
10679
10744
  } | undefined;
10680
10745
  validation?: {
10681
10746
  max_length?: number | undefined;
@@ -10692,7 +10757,7 @@ declare function init(config: AuthHeroConfig): {
10692
10757
  active?: boolean | undefined;
10693
10758
  } | undefined;
10694
10759
  signup?: {
10695
- status?: "optional" | "required" | "disabled" | undefined;
10760
+ status?: "required" | "optional" | "disabled" | undefined;
10696
10761
  } | undefined;
10697
10762
  } | undefined;
10698
10763
  } | undefined;
@@ -10705,7 +10770,7 @@ declare function init(config: AuthHeroConfig): {
10705
10770
  } | undefined;
10706
10771
  } | undefined;
10707
10772
  passkey_options?: {
10708
- challenge_ui?: "button" | "both" | "autofill" | undefined;
10773
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10709
10774
  local_enrollment_enabled?: boolean | undefined;
10710
10775
  progressive_enrollment_enabled?: boolean | undefined;
10711
10776
  } | undefined;
@@ -11757,7 +11822,7 @@ declare function init(config: AuthHeroConfig): {
11757
11822
  created_at: string;
11758
11823
  updated_at: string;
11759
11824
  name: string;
11760
- provider: "auth0" | "oidc" | "okta" | "cognito";
11825
+ provider: "auth0" | "cognito" | "okta" | "oidc";
11761
11826
  connection: string;
11762
11827
  enabled: boolean;
11763
11828
  credentials: {
@@ -11789,7 +11854,7 @@ declare function init(config: AuthHeroConfig): {
11789
11854
  created_at: string;
11790
11855
  updated_at: string;
11791
11856
  name: string;
11792
- provider: "auth0" | "oidc" | "okta" | "cognito";
11857
+ provider: "auth0" | "cognito" | "okta" | "oidc";
11793
11858
  connection: string;
11794
11859
  enabled: boolean;
11795
11860
  credentials: {
@@ -11815,7 +11880,7 @@ declare function init(config: AuthHeroConfig): {
11815
11880
  } & {
11816
11881
  json: {
11817
11882
  name: string;
11818
- provider: "auth0" | "oidc" | "okta" | "cognito";
11883
+ provider: "auth0" | "cognito" | "okta" | "oidc";
11819
11884
  connection: string;
11820
11885
  credentials: {
11821
11886
  domain: string;
@@ -11832,7 +11897,7 @@ declare function init(config: AuthHeroConfig): {
11832
11897
  created_at: string;
11833
11898
  updated_at: string;
11834
11899
  name: string;
11835
- provider: "auth0" | "oidc" | "okta" | "cognito";
11900
+ provider: "auth0" | "cognito" | "okta" | "oidc";
11836
11901
  connection: string;
11837
11902
  enabled: boolean;
11838
11903
  credentials: {
@@ -11863,7 +11928,7 @@ declare function init(config: AuthHeroConfig): {
11863
11928
  json: {
11864
11929
  id?: string | undefined;
11865
11930
  name?: string | undefined;
11866
- provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
11931
+ provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
11867
11932
  connection?: string | undefined;
11868
11933
  enabled?: boolean | undefined;
11869
11934
  credentials?: {
@@ -11879,7 +11944,7 @@ declare function init(config: AuthHeroConfig): {
11879
11944
  created_at: string;
11880
11945
  updated_at: string;
11881
11946
  name: string;
11882
- provider: "auth0" | "oidc" | "okta" | "cognito";
11947
+ provider: "auth0" | "cognito" | "okta" | "oidc";
11883
11948
  connection: string;
11884
11949
  enabled: boolean;
11885
11950
  credentials: {
@@ -12097,7 +12162,7 @@ declare function init(config: AuthHeroConfig): {
12097
12162
  };
12098
12163
  };
12099
12164
  output: {
12100
- type: "i" | "s" | "fc" | "fd" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12165
+ type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12101
12166
  date: string;
12102
12167
  isMobile: boolean;
12103
12168
  log_id: string;
@@ -12136,7 +12201,7 @@ declare function init(config: AuthHeroConfig): {
12136
12201
  limit: number;
12137
12202
  length: number;
12138
12203
  logs: {
12139
- type: "i" | "s" | "fc" | "fd" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12204
+ type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12140
12205
  date: string;
12141
12206
  isMobile: boolean;
12142
12207
  log_id: string;
@@ -12190,7 +12255,7 @@ declare function init(config: AuthHeroConfig): {
12190
12255
  };
12191
12256
  };
12192
12257
  output: {
12193
- type: "i" | "s" | "fc" | "fd" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12258
+ type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12194
12259
  date: string;
12195
12260
  isMobile: boolean;
12196
12261
  log_id: string;
@@ -12578,7 +12643,7 @@ declare function init(config: AuthHeroConfig): {
12578
12643
  addons?: {
12579
12644
  [x: string]: any;
12580
12645
  } | undefined;
12581
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12646
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12582
12647
  client_metadata?: {
12583
12648
  [x: string]: string;
12584
12649
  } | undefined;
@@ -12674,7 +12739,7 @@ declare function init(config: AuthHeroConfig): {
12674
12739
  addons?: {
12675
12740
  [x: string]: any;
12676
12741
  } | undefined;
12677
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12742
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12678
12743
  client_metadata?: {
12679
12744
  [x: string]: string;
12680
12745
  } | undefined;
@@ -12785,7 +12850,7 @@ declare function init(config: AuthHeroConfig): {
12785
12850
  addons?: {
12786
12851
  [x: string]: any;
12787
12852
  } | undefined;
12788
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12853
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12789
12854
  client_metadata?: {
12790
12855
  [x: string]: string;
12791
12856
  } | undefined;
@@ -12895,7 +12960,7 @@ declare function init(config: AuthHeroConfig): {
12895
12960
  custom_login_page_preview?: string | undefined;
12896
12961
  form_template?: string | undefined;
12897
12962
  addons?: Record<string, any> | undefined;
12898
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
12963
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12899
12964
  client_metadata?: Record<string, string> | undefined;
12900
12965
  hide_sign_up_disabled_error?: boolean | undefined;
12901
12966
  mobile?: Record<string, any> | undefined;
@@ -12975,7 +13040,7 @@ declare function init(config: AuthHeroConfig): {
12975
13040
  addons?: {
12976
13041
  [x: string]: any;
12977
13042
  } | undefined;
12978
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13043
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
12979
13044
  client_metadata?: {
12980
13045
  [x: string]: string;
12981
13046
  } | undefined;
@@ -13064,7 +13129,7 @@ declare function init(config: AuthHeroConfig): {
13064
13129
  custom_login_page_preview?: string | undefined;
13065
13130
  form_template?: string | undefined;
13066
13131
  addons?: Record<string, any> | undefined;
13067
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13132
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13068
13133
  client_metadata?: Record<string, string> | undefined;
13069
13134
  hide_sign_up_disabled_error?: boolean | undefined;
13070
13135
  mobile?: Record<string, any> | undefined;
@@ -13144,7 +13209,7 @@ declare function init(config: AuthHeroConfig): {
13144
13209
  addons?: {
13145
13210
  [x: string]: any;
13146
13211
  } | undefined;
13147
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13212
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
13148
13213
  client_metadata?: {
13149
13214
  [x: string]: string;
13150
13215
  } | undefined;
@@ -13266,7 +13331,7 @@ declare function init(config: AuthHeroConfig): {
13266
13331
  active?: boolean | undefined;
13267
13332
  } | undefined;
13268
13333
  signup?: {
13269
- status?: "optional" | "required" | "disabled" | undefined;
13334
+ status?: "required" | "optional" | "disabled" | undefined;
13270
13335
  verification?: {
13271
13336
  active?: boolean | undefined;
13272
13337
  } | undefined;
@@ -13283,7 +13348,7 @@ declare function init(config: AuthHeroConfig): {
13283
13348
  active?: boolean | undefined;
13284
13349
  } | undefined;
13285
13350
  signup?: {
13286
- status?: "optional" | "required" | "disabled" | undefined;
13351
+ status?: "required" | "optional" | "disabled" | undefined;
13287
13352
  } | undefined;
13288
13353
  validation?: {
13289
13354
  max_length?: number | undefined;
@@ -13300,7 +13365,7 @@ declare function init(config: AuthHeroConfig): {
13300
13365
  active?: boolean | undefined;
13301
13366
  } | undefined;
13302
13367
  signup?: {
13303
- status?: "optional" | "required" | "disabled" | undefined;
13368
+ status?: "required" | "optional" | "disabled" | undefined;
13304
13369
  } | undefined;
13305
13370
  } | undefined;
13306
13371
  } | undefined;
@@ -13313,7 +13378,7 @@ declare function init(config: AuthHeroConfig): {
13313
13378
  } | undefined;
13314
13379
  } | undefined;
13315
13380
  passkey_options?: {
13316
- challenge_ui?: "button" | "both" | "autofill" | undefined;
13381
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
13317
13382
  local_enrollment_enabled?: boolean | undefined;
13318
13383
  progressive_enrollment_enabled?: boolean | undefined;
13319
13384
  } | undefined;
@@ -13420,7 +13485,7 @@ declare function init(config: AuthHeroConfig): {
13420
13485
  active?: boolean | undefined;
13421
13486
  } | undefined;
13422
13487
  signup?: {
13423
- status?: "optional" | "required" | "disabled" | undefined;
13488
+ status?: "required" | "optional" | "disabled" | undefined;
13424
13489
  verification?: {
13425
13490
  active?: boolean | undefined;
13426
13491
  } | undefined;
@@ -13437,7 +13502,7 @@ declare function init(config: AuthHeroConfig): {
13437
13502
  active?: boolean | undefined;
13438
13503
  } | undefined;
13439
13504
  signup?: {
13440
- status?: "optional" | "required" | "disabled" | undefined;
13505
+ status?: "required" | "optional" | "disabled" | undefined;
13441
13506
  } | undefined;
13442
13507
  validation?: {
13443
13508
  max_length?: number | undefined;
@@ -13454,7 +13519,7 @@ declare function init(config: AuthHeroConfig): {
13454
13519
  active?: boolean | undefined;
13455
13520
  } | undefined;
13456
13521
  signup?: {
13457
- status?: "optional" | "required" | "disabled" | undefined;
13522
+ status?: "required" | "optional" | "disabled" | undefined;
13458
13523
  } | undefined;
13459
13524
  } | undefined;
13460
13525
  } | undefined;
@@ -13467,7 +13532,7 @@ declare function init(config: AuthHeroConfig): {
13467
13532
  } | undefined;
13468
13533
  } | undefined;
13469
13534
  passkey_options?: {
13470
- challenge_ui?: "button" | "both" | "autofill" | undefined;
13535
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
13471
13536
  local_enrollment_enabled?: boolean | undefined;
13472
13537
  progressive_enrollment_enabled?: boolean | undefined;
13473
13538
  } | undefined;
@@ -14408,7 +14473,7 @@ declare function init(config: AuthHeroConfig): {
14408
14473
  };
14409
14474
  };
14410
14475
  output: {
14411
- type: "i" | "s" | "fc" | "fd" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14476
+ type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14412
14477
  date: string;
14413
14478
  isMobile: boolean;
14414
14479
  log_id: string;
@@ -14447,7 +14512,7 @@ declare function init(config: AuthHeroConfig): {
14447
14512
  limit: number;
14448
14513
  length: number;
14449
14514
  logs: {
14450
- type: "i" | "s" | "fc" | "fd" | "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14515
+ type: "fn" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14451
14516
  date: string;
14452
14517
  isMobile: boolean;
14453
14518
  log_id: string;
@@ -14541,6 +14606,7 @@ declare function init(config: AuthHeroConfig): {
14541
14606
  permissions: {
14542
14607
  permission_name: string;
14543
14608
  resource_server_identifier: string;
14609
+ organization_id?: string | undefined;
14544
14610
  }[];
14545
14611
  };
14546
14612
  };
@@ -14565,6 +14631,7 @@ declare function init(config: AuthHeroConfig): {
14565
14631
  permissions: {
14566
14632
  permission_name: string;
14567
14633
  resource_server_identifier: string;
14634
+ organization_id?: string | undefined;
14568
14635
  }[];
14569
14636
  };
14570
14637
  };
@@ -14762,7 +14829,7 @@ declare function init(config: AuthHeroConfig): {
14762
14829
  };
14763
14830
  } & {
14764
14831
  json: {
14765
- template: "change_password" | "verify_email" | "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";
14832
+ 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";
14766
14833
  body: string;
14767
14834
  from: string;
14768
14835
  subject: string;
@@ -14783,7 +14850,7 @@ declare function init(config: AuthHeroConfig): {
14783
14850
  };
14784
14851
  } & {
14785
14852
  json: {
14786
- template: "change_password" | "verify_email" | "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";
14853
+ 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";
14787
14854
  body: string;
14788
14855
  from: string;
14789
14856
  subject: string;
@@ -14795,7 +14862,7 @@ declare function init(config: AuthHeroConfig): {
14795
14862
  };
14796
14863
  };
14797
14864
  output: {
14798
- template: "change_password" | "verify_email" | "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";
14865
+ 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";
14799
14866
  body: string;
14800
14867
  from: string;
14801
14868
  subject: string;
@@ -14818,7 +14885,7 @@ declare function init(config: AuthHeroConfig): {
14818
14885
  };
14819
14886
  };
14820
14887
  output: {
14821
- name: "change_password" | "verify_email" | "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";
14888
+ 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";
14822
14889
  body: string;
14823
14890
  subject: string;
14824
14891
  }[];
@@ -14831,7 +14898,7 @@ declare function init(config: AuthHeroConfig): {
14831
14898
  $get: {
14832
14899
  input: {
14833
14900
  param: {
14834
- templateName: "change_password" | "verify_email" | "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";
14901
+ 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";
14835
14902
  };
14836
14903
  } & {
14837
14904
  header: {
@@ -14844,7 +14911,7 @@ declare function init(config: AuthHeroConfig): {
14844
14911
  } | {
14845
14912
  input: {
14846
14913
  param: {
14847
- templateName: "change_password" | "verify_email" | "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";
14914
+ 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";
14848
14915
  };
14849
14916
  } & {
14850
14917
  header: {
@@ -14852,7 +14919,7 @@ declare function init(config: AuthHeroConfig): {
14852
14919
  };
14853
14920
  };
14854
14921
  output: {
14855
- template: "change_password" | "verify_email" | "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";
14922
+ 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";
14856
14923
  body: string;
14857
14924
  from: string;
14858
14925
  subject: string;
@@ -14871,7 +14938,7 @@ declare function init(config: AuthHeroConfig): {
14871
14938
  $put: {
14872
14939
  input: {
14873
14940
  param: {
14874
- templateName: "change_password" | "verify_email" | "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";
14941
+ 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";
14875
14942
  };
14876
14943
  } & {
14877
14944
  header: {
@@ -14879,7 +14946,7 @@ declare function init(config: AuthHeroConfig): {
14879
14946
  };
14880
14947
  } & {
14881
14948
  json: {
14882
- template: "change_password" | "verify_email" | "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";
14949
+ 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";
14883
14950
  body: string;
14884
14951
  subject: string;
14885
14952
  syntax?: "liquid" | undefined;
@@ -14891,7 +14958,7 @@ declare function init(config: AuthHeroConfig): {
14891
14958
  };
14892
14959
  };
14893
14960
  output: {
14894
- template: "change_password" | "verify_email" | "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";
14961
+ 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";
14895
14962
  body: string;
14896
14963
  from: string;
14897
14964
  subject: string;
@@ -14910,7 +14977,7 @@ declare function init(config: AuthHeroConfig): {
14910
14977
  $patch: {
14911
14978
  input: {
14912
14979
  param: {
14913
- templateName: "change_password" | "verify_email" | "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";
14980
+ 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";
14914
14981
  };
14915
14982
  } & {
14916
14983
  header: {
@@ -14918,7 +14985,7 @@ declare function init(config: AuthHeroConfig): {
14918
14985
  };
14919
14986
  } & {
14920
14987
  json: {
14921
- template?: "change_password" | "verify_email" | "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;
14988
+ 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;
14922
14989
  body?: string | undefined;
14923
14990
  from?: string | undefined;
14924
14991
  subject?: string | undefined;
@@ -14935,7 +15002,7 @@ declare function init(config: AuthHeroConfig): {
14935
15002
  } | {
14936
15003
  input: {
14937
15004
  param: {
14938
- templateName: "change_password" | "verify_email" | "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";
15005
+ 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";
14939
15006
  };
14940
15007
  } & {
14941
15008
  header: {
@@ -14943,7 +15010,7 @@ declare function init(config: AuthHeroConfig): {
14943
15010
  };
14944
15011
  } & {
14945
15012
  json: {
14946
- template?: "change_password" | "verify_email" | "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;
15013
+ 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;
14947
15014
  body?: string | undefined;
14948
15015
  from?: string | undefined;
14949
15016
  subject?: string | undefined;
@@ -14955,7 +15022,7 @@ declare function init(config: AuthHeroConfig): {
14955
15022
  };
14956
15023
  };
14957
15024
  output: {
14958
- template: "change_password" | "verify_email" | "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";
15025
+ 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";
14959
15026
  body: string;
14960
15027
  from: string;
14961
15028
  subject: string;
@@ -14974,7 +15041,7 @@ declare function init(config: AuthHeroConfig): {
14974
15041
  $delete: {
14975
15042
  input: {
14976
15043
  param: {
14977
- templateName: "change_password" | "verify_email" | "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";
15044
+ 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";
14978
15045
  };
14979
15046
  } & {
14980
15047
  header: {
@@ -14987,7 +15054,7 @@ declare function init(config: AuthHeroConfig): {
14987
15054
  } | {
14988
15055
  input: {
14989
15056
  param: {
14990
- templateName: "change_password" | "verify_email" | "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";
15057
+ 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";
14991
15058
  };
14992
15059
  } & {
14993
15060
  header: {
@@ -15004,7 +15071,7 @@ declare function init(config: AuthHeroConfig): {
15004
15071
  $post: {
15005
15072
  input: {
15006
15073
  param: {
15007
- templateName: "change_password" | "verify_email" | "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";
15074
+ 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";
15008
15075
  };
15009
15076
  } & {
15010
15077
  header: {
@@ -15287,7 +15354,7 @@ declare function init(config: AuthHeroConfig): {
15287
15354
  type: "auth0_managed_certs" | "self_managed_certs";
15288
15355
  custom_domain_id: string;
15289
15356
  primary: boolean;
15290
- status: "pending" | "ready" | "disabled" | "pending_verification";
15357
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15291
15358
  verification_method?: "txt" | undefined;
15292
15359
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15293
15360
  domain_metadata?: {
@@ -15328,7 +15395,7 @@ declare function init(config: AuthHeroConfig): {
15328
15395
  type: "auth0_managed_certs" | "self_managed_certs";
15329
15396
  custom_domain_id: string;
15330
15397
  primary: boolean;
15331
- status: "pending" | "ready" | "disabled" | "pending_verification";
15398
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15332
15399
  verification_method?: "txt" | undefined;
15333
15400
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15334
15401
  domain_metadata?: {
@@ -15392,7 +15459,7 @@ declare function init(config: AuthHeroConfig): {
15392
15459
  type: "auth0_managed_certs" | "self_managed_certs";
15393
15460
  custom_domain_id: string;
15394
15461
  primary: boolean;
15395
- status: "pending" | "ready" | "disabled" | "pending_verification";
15462
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15396
15463
  verification_method?: "txt" | undefined;
15397
15464
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15398
15465
  domain_metadata?: {
@@ -15439,7 +15506,7 @@ declare function init(config: AuthHeroConfig): {
15439
15506
  type: "auth0_managed_certs" | "self_managed_certs";
15440
15507
  custom_domain_id: string;
15441
15508
  primary: boolean;
15442
- status: "pending" | "ready" | "disabled" | "pending_verification";
15509
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15443
15510
  verification_method?: "txt" | undefined;
15444
15511
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15445
15512
  domain_metadata?: {
@@ -15485,7 +15552,7 @@ declare function init(config: AuthHeroConfig): {
15485
15552
  type: "auth0_managed_certs" | "self_managed_certs";
15486
15553
  custom_domain_id: string;
15487
15554
  primary: boolean;
15488
- status: "pending" | "ready" | "disabled" | "pending_verification";
15555
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15489
15556
  verification_method?: "txt" | undefined;
15490
15557
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15491
15558
  domain_metadata?: {
@@ -15526,7 +15593,7 @@ declare function init(config: AuthHeroConfig): {
15526
15593
  type: "auth0_managed_certs" | "self_managed_certs";
15527
15594
  custom_domain_id: string;
15528
15595
  primary: boolean;
15529
- status: "pending" | "ready" | "disabled" | "pending_verification";
15596
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15530
15597
  verification_method?: "txt" | undefined;
15531
15598
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15532
15599
  domain_metadata?: {
@@ -15956,7 +16023,7 @@ declare function init(config: AuthHeroConfig): {
15956
16023
  } & {
15957
16024
  json: {
15958
16025
  body?: string | undefined;
15959
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
16026
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
15960
16027
  branding?: {
15961
16028
  colors?: {
15962
16029
  primary: string;
@@ -16247,7 +16314,7 @@ declare function init(config: AuthHeroConfig): {
16247
16314
  logs: {
16248
16315
  action_name: string;
16249
16316
  lines: {
16250
- level: "log" | "error" | "info" | "warn" | "debug";
16317
+ level: "error" | "log" | "debug" | "info" | "warn";
16251
16318
  message: string;
16252
16319
  }[];
16253
16320
  }[];
@@ -16914,7 +16981,7 @@ declare function init(config: AuthHeroConfig): {
16914
16981
  args: hono_utils_types.JSONValue[];
16915
16982
  }[];
16916
16983
  logs: {
16917
- level: "log" | "error" | "info" | "warn" | "debug";
16984
+ level: "error" | "log" | "debug" | "info" | "warn";
16918
16985
  message: string;
16919
16986
  }[];
16920
16987
  error?: string | undefined;
@@ -17225,7 +17292,7 @@ declare function init(config: AuthHeroConfig): {
17225
17292
  scope?: string | undefined;
17226
17293
  grant_types?: string[] | undefined;
17227
17294
  response_types?: string[] | undefined;
17228
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
17295
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
17229
17296
  jwks_uri?: string | undefined;
17230
17297
  jwks?: Record<string, unknown> | undefined;
17231
17298
  software_id?: string | undefined;
@@ -17314,7 +17381,7 @@ declare function init(config: AuthHeroConfig): {
17314
17381
  scope?: string | undefined;
17315
17382
  grant_types?: string[] | undefined;
17316
17383
  response_types?: string[] | undefined;
17317
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
17384
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
17318
17385
  jwks_uri?: string | undefined;
17319
17386
  jwks?: Record<string, unknown> | undefined;
17320
17387
  software_id?: string | undefined;
@@ -17661,15 +17728,15 @@ declare function init(config: AuthHeroConfig): {
17661
17728
  send: "code" | "link";
17662
17729
  authParams: {
17663
17730
  username?: string | undefined;
17664
- state?: string | undefined;
17665
17731
  audience?: string | undefined;
17732
+ scope?: string | undefined;
17733
+ state?: string | undefined;
17666
17734
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17667
17735
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17668
- scope?: string | undefined;
17736
+ act_as?: string | undefined;
17737
+ redirect_uri?: string | undefined;
17669
17738
  organization?: string | undefined;
17670
17739
  nonce?: string | undefined;
17671
- redirect_uri?: string | undefined;
17672
- act_as?: string | undefined;
17673
17740
  prompt?: string | undefined;
17674
17741
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17675
17742
  code_challenge?: string | undefined;
@@ -17697,15 +17764,15 @@ declare function init(config: AuthHeroConfig): {
17697
17764
  send: "code" | "link";
17698
17765
  authParams: {
17699
17766
  username?: string | undefined;
17700
- state?: string | undefined;
17701
17767
  audience?: string | undefined;
17768
+ scope?: string | undefined;
17769
+ state?: string | undefined;
17702
17770
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
17703
17771
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
17704
- scope?: string | undefined;
17772
+ act_as?: string | undefined;
17773
+ redirect_uri?: string | undefined;
17705
17774
  organization?: string | undefined;
17706
17775
  nonce?: string | undefined;
17707
- redirect_uri?: string | undefined;
17708
- act_as?: string | undefined;
17709
17776
  prompt?: string | undefined;
17710
17777
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
17711
17778
  code_challenge?: string | undefined;
@@ -17840,14 +17907,14 @@ declare function init(config: AuthHeroConfig): {
17840
17907
  input: {
17841
17908
  form: {
17842
17909
  token: string;
17843
- token_type_hint?: "refresh_token" | "access_token" | undefined;
17910
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
17844
17911
  client_id?: string | undefined;
17845
17912
  client_secret?: string | undefined;
17846
17913
  };
17847
17914
  } & {
17848
17915
  json: {
17849
17916
  token: string;
17850
- token_type_hint?: "refresh_token" | "access_token" | undefined;
17917
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
17851
17918
  client_id?: string | undefined;
17852
17919
  client_secret?: string | undefined;
17853
17920
  };
@@ -17859,14 +17926,14 @@ declare function init(config: AuthHeroConfig): {
17859
17926
  input: {
17860
17927
  form: {
17861
17928
  token: string;
17862
- token_type_hint?: "refresh_token" | "access_token" | undefined;
17929
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
17863
17930
  client_id?: string | undefined;
17864
17931
  client_secret?: string | undefined;
17865
17932
  };
17866
17933
  } & {
17867
17934
  json: {
17868
17935
  token: string;
17869
- token_type_hint?: "refresh_token" | "access_token" | undefined;
17936
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
17870
17937
  client_id?: string | undefined;
17871
17938
  client_secret?: string | undefined;
17872
17939
  };
@@ -17881,14 +17948,14 @@ declare function init(config: AuthHeroConfig): {
17881
17948
  input: {
17882
17949
  form: {
17883
17950
  token: string;
17884
- token_type_hint?: "refresh_token" | "access_token" | undefined;
17951
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
17885
17952
  client_id?: string | undefined;
17886
17953
  client_secret?: string | undefined;
17887
17954
  };
17888
17955
  } & {
17889
17956
  json: {
17890
17957
  token: string;
17891
- token_type_hint?: "refresh_token" | "access_token" | undefined;
17958
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
17892
17959
  client_id?: string | undefined;
17893
17960
  client_secret?: string | undefined;
17894
17961
  };
@@ -17938,7 +18005,7 @@ declare function init(config: AuthHeroConfig): {
17938
18005
  client_id: string;
17939
18006
  username: string;
17940
18007
  otp: string;
17941
- realm: "sms" | "email";
18008
+ realm: "email" | "sms";
17942
18009
  } | {
17943
18010
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17944
18011
  subject_token: string;
@@ -17985,7 +18052,7 @@ declare function init(config: AuthHeroConfig): {
17985
18052
  client_id: string;
17986
18053
  username: string;
17987
18054
  otp: string;
17988
- realm: "sms" | "email";
18055
+ realm: "email" | "sms";
17989
18056
  } | {
17990
18057
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
17991
18058
  subject_token: string;
@@ -18037,7 +18104,7 @@ declare function init(config: AuthHeroConfig): {
18037
18104
  client_id: string;
18038
18105
  username: string;
18039
18106
  otp: string;
18040
- realm: "sms" | "email";
18107
+ realm: "email" | "sms";
18041
18108
  } | {
18042
18109
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18043
18110
  subject_token: string;
@@ -18084,7 +18151,7 @@ declare function init(config: AuthHeroConfig): {
18084
18151
  client_id: string;
18085
18152
  username: string;
18086
18153
  otp: string;
18087
- realm: "sms" | "email";
18154
+ realm: "email" | "sms";
18088
18155
  } | {
18089
18156
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18090
18157
  subject_token: string;
@@ -18144,7 +18211,7 @@ declare function init(config: AuthHeroConfig): {
18144
18211
  client_id: string;
18145
18212
  username: string;
18146
18213
  otp: string;
18147
- realm: "sms" | "email";
18214
+ realm: "email" | "sms";
18148
18215
  } | {
18149
18216
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18150
18217
  subject_token: string;
@@ -18191,7 +18258,7 @@ declare function init(config: AuthHeroConfig): {
18191
18258
  client_id: string;
18192
18259
  username: string;
18193
18260
  otp: string;
18194
- realm: "sms" | "email";
18261
+ realm: "email" | "sms";
18195
18262
  } | {
18196
18263
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18197
18264
  subject_token: string;
@@ -18246,7 +18313,7 @@ declare function init(config: AuthHeroConfig): {
18246
18313
  client_id: string;
18247
18314
  username: string;
18248
18315
  otp: string;
18249
- realm: "sms" | "email";
18316
+ realm: "email" | "sms";
18250
18317
  } | {
18251
18318
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18252
18319
  subject_token: string;
@@ -18293,7 +18360,7 @@ declare function init(config: AuthHeroConfig): {
18293
18360
  client_id: string;
18294
18361
  username: string;
18295
18362
  otp: string;
18296
- realm: "sms" | "email";
18363
+ realm: "email" | "sms";
18297
18364
  } | {
18298
18365
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18299
18366
  subject_token: string;
@@ -18348,7 +18415,7 @@ declare function init(config: AuthHeroConfig): {
18348
18415
  client_id: string;
18349
18416
  username: string;
18350
18417
  otp: string;
18351
- realm: "sms" | "email";
18418
+ realm: "email" | "sms";
18352
18419
  } | {
18353
18420
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18354
18421
  subject_token: string;
@@ -18395,7 +18462,7 @@ declare function init(config: AuthHeroConfig): {
18395
18462
  client_id: string;
18396
18463
  username: string;
18397
18464
  otp: string;
18398
- realm: "sms" | "email";
18465
+ realm: "email" | "sms";
18399
18466
  } | {
18400
18467
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
18401
18468
  subject_token: string;
@@ -19236,7 +19303,7 @@ declare function init(config: AuthHeroConfig): {
19236
19303
  } & {
19237
19304
  form: {
19238
19305
  username: string;
19239
- login_selection?: "code" | "password" | undefined;
19306
+ login_selection?: "password" | "code" | undefined;
19240
19307
  };
19241
19308
  };
19242
19309
  output: {};
@@ -19250,7 +19317,7 @@ declare function init(config: AuthHeroConfig): {
19250
19317
  } & {
19251
19318
  form: {
19252
19319
  username: string;
19253
- login_selection?: "code" | "password" | undefined;
19320
+ login_selection?: "password" | "code" | undefined;
19254
19321
  };
19255
19322
  };
19256
19323
  output: {};
@@ -19615,7 +19682,7 @@ declare function init(config: AuthHeroConfig): {
19615
19682
  $get: {
19616
19683
  input: {
19617
19684
  param: {
19618
- screen: "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19685
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
19619
19686
  };
19620
19687
  } & {
19621
19688
  query: {
@@ -19631,7 +19698,7 @@ declare function init(config: AuthHeroConfig): {
19631
19698
  } | {
19632
19699
  input: {
19633
19700
  param: {
19634
- screen: "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19701
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
19635
19702
  };
19636
19703
  } & {
19637
19704
  query: {
@@ -19647,7 +19714,7 @@ declare function init(config: AuthHeroConfig): {
19647
19714
  } | {
19648
19715
  input: {
19649
19716
  param: {
19650
- screen: "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19717
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
19651
19718
  };
19652
19719
  } & {
19653
19720
  query: {
@@ -19667,7 +19734,7 @@ declare function init(config: AuthHeroConfig): {
19667
19734
  $post: {
19668
19735
  input: {
19669
19736
  param: {
19670
- screen: "signup" | "consent" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19737
+ screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
19671
19738
  };
19672
19739
  } & {
19673
19740
  query: {
@@ -19685,7 +19752,7 @@ declare function init(config: AuthHeroConfig): {
19685
19752
  } | {
19686
19753
  input: {
19687
19754
  param: {
19688
- screen: "signup" | "consent" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
19755
+ screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "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";
19689
19756
  };
19690
19757
  } & {
19691
19758
  query: {
@@ -19783,5 +19850,5 @@ declare function init(config: AuthHeroConfig): {
19783
19850
  createX509Certificate: typeof createX509Certificate;
19784
19851
  };
19785
19852
 
19786
- export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, ControlPlaneSyncDestination, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createApplySyncEvents, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wrapProxyAdaptersWithKvPublish };
19787
- export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, ControlPlaneSyncDestinationOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantOperationExecutorBinding, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WrappedProxyAdapters };
19853
+ export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, ControlPlaneSyncDestination, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, createApplySyncEvents, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wrapProxyAdaptersWithKvPublish };
19854
+ export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, ControlPlaneSyncDestinationOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantOperationExecutorBinding, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WrappedProxyAdapters };