@authhero/adapter-interfaces 0.126.0 → 0.127.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.
@@ -10296,1067 +10296,6 @@ export declare const brandingSchema: z.ZodObject<{
10296
10296
  } | undefined;
10297
10297
  }>;
10298
10298
  export type Branding = z.infer<typeof brandingSchema>;
10299
- export declare const legacyClientSchema: z.ZodObject<{
10300
- tenant: z.ZodObject<{
10301
- id: z.ZodString;
10302
- audience: z.ZodString;
10303
- friendly_name: z.ZodString;
10304
- picture_url: z.ZodOptional<z.ZodString>;
10305
- support_email: z.ZodOptional<z.ZodString>;
10306
- support_url: z.ZodOptional<z.ZodString>;
10307
- sender_email: z.ZodString;
10308
- sender_name: z.ZodString;
10309
- session_lifetime: z.ZodOptional<z.ZodNumber>;
10310
- idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
10311
- ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
10312
- idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
10313
- session_cookie: z.ZodOptional<z.ZodObject<{
10314
- mode: z.ZodOptional<z.ZodEnum<[
10315
- "persistent",
10316
- "non-persistent"
10317
- ]>>;
10318
- }, "strip", z.ZodTypeAny, {
10319
- mode?: "persistent" | "non-persistent" | undefined;
10320
- }, {
10321
- mode?: "persistent" | "non-persistent" | undefined;
10322
- }>>;
10323
- allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10324
- default_redirection_uri: z.ZodOptional<z.ZodString>;
10325
- enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10326
- default_directory: z.ZodOptional<z.ZodString>;
10327
- error_page: z.ZodOptional<z.ZodObject<{
10328
- html: z.ZodOptional<z.ZodString>;
10329
- show_log_link: z.ZodOptional<z.ZodBoolean>;
10330
- url: z.ZodOptional<z.ZodString>;
10331
- }, "strip", z.ZodTypeAny, {
10332
- url?: string | undefined;
10333
- html?: string | undefined;
10334
- show_log_link?: boolean | undefined;
10335
- }, {
10336
- url?: string | undefined;
10337
- html?: string | undefined;
10338
- show_log_link?: boolean | undefined;
10339
- }>>;
10340
- flags: z.ZodOptional<z.ZodObject<{
10341
- allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
10342
- allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
10343
- allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
10344
- allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
10345
- change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
10346
- custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
10347
- dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
10348
- dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
10349
- disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
10350
- disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
10351
- disable_impersonation: z.ZodOptional<z.ZodBoolean>;
10352
- disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
10353
- enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
10354
- enable_apis_section: z.ZodOptional<z.ZodBoolean>;
10355
- enable_client_connections: z.ZodOptional<z.ZodBoolean>;
10356
- enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
10357
- enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
10358
- enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
10359
- enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
10360
- enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
10361
- enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
10362
- enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
10363
- enable_sso: z.ZodOptional<z.ZodBoolean>;
10364
- enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
10365
- genai_trial: z.ZodOptional<z.ZodBoolean>;
10366
- improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
10367
- mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
10368
- no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
10369
- remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
10370
- revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
10371
- trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
10372
- use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
10373
- inherit_global_permissions_in_organizations: z.ZodOptional<z.ZodBoolean>;
10374
- }, "strip", z.ZodTypeAny, {
10375
- allow_changing_enable_sso?: boolean | undefined;
10376
- allow_legacy_delegation_grant_types?: boolean | undefined;
10377
- allow_legacy_ro_grant_types?: boolean | undefined;
10378
- allow_legacy_tokeninfo_endpoint?: boolean | undefined;
10379
- change_pwd_flow_v1?: boolean | undefined;
10380
- custom_domains_provisioning?: boolean | undefined;
10381
- dashboard_insights_view?: boolean | undefined;
10382
- dashboard_log_streams_next?: boolean | undefined;
10383
- disable_clickjack_protection_headers?: boolean | undefined;
10384
- disable_fields_map_fix?: boolean | undefined;
10385
- disable_impersonation?: boolean | undefined;
10386
- disable_management_api_sms_obfuscation?: boolean | undefined;
10387
- enable_adfs_waad_email_verification?: boolean | undefined;
10388
- enable_apis_section?: boolean | undefined;
10389
- enable_client_connections?: boolean | undefined;
10390
- enable_custom_domain_in_emails?: boolean | undefined;
10391
- enable_dynamic_client_registration?: boolean | undefined;
10392
- enable_idtoken_api2?: boolean | undefined;
10393
- enable_legacy_logs_search_v2?: boolean | undefined;
10394
- enable_legacy_profile?: boolean | undefined;
10395
- enable_pipeline2?: boolean | undefined;
10396
- enable_public_signup_user_exists_error?: boolean | undefined;
10397
- enable_sso?: boolean | undefined;
10398
- enforce_client_authentication_on_passwordless_start?: boolean | undefined;
10399
- genai_trial?: boolean | undefined;
10400
- improved_signup_bot_detection_in_classic?: boolean | undefined;
10401
- mfa_show_factor_list_on_enrollment?: boolean | undefined;
10402
- no_disclose_enterprise_connections?: boolean | undefined;
10403
- remove_alg_from_jwks?: boolean | undefined;
10404
- revoke_refresh_token_grant?: boolean | undefined;
10405
- trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
10406
- use_scope_descriptions_for_consent?: boolean | undefined;
10407
- inherit_global_permissions_in_organizations?: boolean | undefined;
10408
- }, {
10409
- allow_changing_enable_sso?: boolean | undefined;
10410
- allow_legacy_delegation_grant_types?: boolean | undefined;
10411
- allow_legacy_ro_grant_types?: boolean | undefined;
10412
- allow_legacy_tokeninfo_endpoint?: boolean | undefined;
10413
- change_pwd_flow_v1?: boolean | undefined;
10414
- custom_domains_provisioning?: boolean | undefined;
10415
- dashboard_insights_view?: boolean | undefined;
10416
- dashboard_log_streams_next?: boolean | undefined;
10417
- disable_clickjack_protection_headers?: boolean | undefined;
10418
- disable_fields_map_fix?: boolean | undefined;
10419
- disable_impersonation?: boolean | undefined;
10420
- disable_management_api_sms_obfuscation?: boolean | undefined;
10421
- enable_adfs_waad_email_verification?: boolean | undefined;
10422
- enable_apis_section?: boolean | undefined;
10423
- enable_client_connections?: boolean | undefined;
10424
- enable_custom_domain_in_emails?: boolean | undefined;
10425
- enable_dynamic_client_registration?: boolean | undefined;
10426
- enable_idtoken_api2?: boolean | undefined;
10427
- enable_legacy_logs_search_v2?: boolean | undefined;
10428
- enable_legacy_profile?: boolean | undefined;
10429
- enable_pipeline2?: boolean | undefined;
10430
- enable_public_signup_user_exists_error?: boolean | undefined;
10431
- enable_sso?: boolean | undefined;
10432
- enforce_client_authentication_on_passwordless_start?: boolean | undefined;
10433
- genai_trial?: boolean | undefined;
10434
- improved_signup_bot_detection_in_classic?: boolean | undefined;
10435
- mfa_show_factor_list_on_enrollment?: boolean | undefined;
10436
- no_disclose_enterprise_connections?: boolean | undefined;
10437
- remove_alg_from_jwks?: boolean | undefined;
10438
- revoke_refresh_token_grant?: boolean | undefined;
10439
- trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
10440
- use_scope_descriptions_for_consent?: boolean | undefined;
10441
- inherit_global_permissions_in_organizations?: boolean | undefined;
10442
- }>>;
10443
- sandbox_version: z.ZodOptional<z.ZodString>;
10444
- legacy_sandbox_version: z.ZodOptional<z.ZodString>;
10445
- sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10446
- change_password: z.ZodOptional<z.ZodObject<{
10447
- enabled: z.ZodOptional<z.ZodBoolean>;
10448
- html: z.ZodOptional<z.ZodString>;
10449
- }, "strip", z.ZodTypeAny, {
10450
- html?: string | undefined;
10451
- enabled?: boolean | undefined;
10452
- }, {
10453
- html?: string | undefined;
10454
- enabled?: boolean | undefined;
10455
- }>>;
10456
- guardian_mfa_page: z.ZodOptional<z.ZodObject<{
10457
- enabled: z.ZodOptional<z.ZodBoolean>;
10458
- html: z.ZodOptional<z.ZodString>;
10459
- }, "strip", z.ZodTypeAny, {
10460
- html?: string | undefined;
10461
- enabled?: boolean | undefined;
10462
- }, {
10463
- html?: string | undefined;
10464
- enabled?: boolean | undefined;
10465
- }>>;
10466
- device_flow: z.ZodOptional<z.ZodObject<{
10467
- charset: z.ZodOptional<z.ZodEnum<[
10468
- "base20",
10469
- "digits"
10470
- ]>>;
10471
- mask: z.ZodOptional<z.ZodString>;
10472
- }, "strip", z.ZodTypeAny, {
10473
- charset?: "base20" | "digits" | undefined;
10474
- mask?: string | undefined;
10475
- }, {
10476
- charset?: "base20" | "digits" | undefined;
10477
- mask?: string | undefined;
10478
- }>>;
10479
- default_token_quota: z.ZodOptional<z.ZodObject<{
10480
- clients: z.ZodOptional<z.ZodObject<{
10481
- client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10482
- }, "strip", z.ZodTypeAny, {
10483
- client_credentials?: Record<string, any> | undefined;
10484
- }, {
10485
- client_credentials?: Record<string, any> | undefined;
10486
- }>>;
10487
- organizations: z.ZodOptional<z.ZodObject<{
10488
- client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10489
- }, "strip", z.ZodTypeAny, {
10490
- client_credentials?: Record<string, any> | undefined;
10491
- }, {
10492
- client_credentials?: Record<string, any> | undefined;
10493
- }>>;
10494
- }, "strip", z.ZodTypeAny, {
10495
- clients?: {
10496
- client_credentials?: Record<string, any> | undefined;
10497
- } | undefined;
10498
- organizations?: {
10499
- client_credentials?: Record<string, any> | undefined;
10500
- } | undefined;
10501
- }, {
10502
- clients?: {
10503
- client_credentials?: Record<string, any> | undefined;
10504
- } | undefined;
10505
- organizations?: {
10506
- client_credentials?: Record<string, any> | undefined;
10507
- } | undefined;
10508
- }>>;
10509
- default_audience: z.ZodOptional<z.ZodString>;
10510
- default_organization: z.ZodOptional<z.ZodString>;
10511
- sessions: z.ZodOptional<z.ZodObject<{
10512
- oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
10513
- }, "strip", z.ZodTypeAny, {
10514
- oidc_logout_prompt_enabled?: boolean | undefined;
10515
- }, {
10516
- oidc_logout_prompt_enabled?: boolean | undefined;
10517
- }>>;
10518
- oidc_logout: z.ZodOptional<z.ZodObject<{
10519
- rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
10520
- }, "strip", z.ZodTypeAny, {
10521
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
10522
- }, {
10523
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
10524
- }>>;
10525
- allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
10526
- customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
10527
- acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10528
- mtls: z.ZodOptional<z.ZodObject<{
10529
- enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
10530
- }, "strip", z.ZodTypeAny, {
10531
- enable_endpoint_aliases?: boolean | undefined;
10532
- }, {
10533
- enable_endpoint_aliases?: boolean | undefined;
10534
- }>>;
10535
- pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
10536
- authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
10537
- created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
10538
- updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
10539
- }, "strip", z.ZodTypeAny, {
10540
- created_at: string;
10541
- updated_at: string;
10542
- id: string;
10543
- audience: string;
10544
- friendly_name: string;
10545
- sender_email: string;
10546
- sender_name: string;
10547
- allowed_logout_urls?: string[] | undefined;
10548
- oidc_logout?: {
10549
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
10550
- } | undefined;
10551
- default_organization?: string | undefined;
10552
- picture_url?: string | undefined;
10553
- support_email?: string | undefined;
10554
- support_url?: string | undefined;
10555
- session_lifetime?: number | undefined;
10556
- idle_session_lifetime?: number | undefined;
10557
- ephemeral_session_lifetime?: number | undefined;
10558
- idle_ephemeral_session_lifetime?: number | undefined;
10559
- session_cookie?: {
10560
- mode?: "persistent" | "non-persistent" | undefined;
10561
- } | undefined;
10562
- default_redirection_uri?: string | undefined;
10563
- enabled_locales?: string[] | undefined;
10564
- default_directory?: string | undefined;
10565
- error_page?: {
10566
- url?: string | undefined;
10567
- html?: string | undefined;
10568
- show_log_link?: boolean | undefined;
10569
- } | undefined;
10570
- flags?: {
10571
- allow_changing_enable_sso?: boolean | undefined;
10572
- allow_legacy_delegation_grant_types?: boolean | undefined;
10573
- allow_legacy_ro_grant_types?: boolean | undefined;
10574
- allow_legacy_tokeninfo_endpoint?: boolean | undefined;
10575
- change_pwd_flow_v1?: boolean | undefined;
10576
- custom_domains_provisioning?: boolean | undefined;
10577
- dashboard_insights_view?: boolean | undefined;
10578
- dashboard_log_streams_next?: boolean | undefined;
10579
- disable_clickjack_protection_headers?: boolean | undefined;
10580
- disable_fields_map_fix?: boolean | undefined;
10581
- disable_impersonation?: boolean | undefined;
10582
- disable_management_api_sms_obfuscation?: boolean | undefined;
10583
- enable_adfs_waad_email_verification?: boolean | undefined;
10584
- enable_apis_section?: boolean | undefined;
10585
- enable_client_connections?: boolean | undefined;
10586
- enable_custom_domain_in_emails?: boolean | undefined;
10587
- enable_dynamic_client_registration?: boolean | undefined;
10588
- enable_idtoken_api2?: boolean | undefined;
10589
- enable_legacy_logs_search_v2?: boolean | undefined;
10590
- enable_legacy_profile?: boolean | undefined;
10591
- enable_pipeline2?: boolean | undefined;
10592
- enable_public_signup_user_exists_error?: boolean | undefined;
10593
- enable_sso?: boolean | undefined;
10594
- enforce_client_authentication_on_passwordless_start?: boolean | undefined;
10595
- genai_trial?: boolean | undefined;
10596
- improved_signup_bot_detection_in_classic?: boolean | undefined;
10597
- mfa_show_factor_list_on_enrollment?: boolean | undefined;
10598
- no_disclose_enterprise_connections?: boolean | undefined;
10599
- remove_alg_from_jwks?: boolean | undefined;
10600
- revoke_refresh_token_grant?: boolean | undefined;
10601
- trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
10602
- use_scope_descriptions_for_consent?: boolean | undefined;
10603
- inherit_global_permissions_in_organizations?: boolean | undefined;
10604
- } | undefined;
10605
- sandbox_version?: string | undefined;
10606
- legacy_sandbox_version?: string | undefined;
10607
- sandbox_versions_available?: string[] | undefined;
10608
- change_password?: {
10609
- html?: string | undefined;
10610
- enabled?: boolean | undefined;
10611
- } | undefined;
10612
- guardian_mfa_page?: {
10613
- html?: string | undefined;
10614
- enabled?: boolean | undefined;
10615
- } | undefined;
10616
- device_flow?: {
10617
- charset?: "base20" | "digits" | undefined;
10618
- mask?: string | undefined;
10619
- } | undefined;
10620
- default_token_quota?: {
10621
- clients?: {
10622
- client_credentials?: Record<string, any> | undefined;
10623
- } | undefined;
10624
- organizations?: {
10625
- client_credentials?: Record<string, any> | undefined;
10626
- } | undefined;
10627
- } | undefined;
10628
- default_audience?: string | undefined;
10629
- sessions?: {
10630
- oidc_logout_prompt_enabled?: boolean | undefined;
10631
- } | undefined;
10632
- allow_organization_name_in_authentication_api?: boolean | undefined;
10633
- customize_mfa_in_postlogin_action?: boolean | undefined;
10634
- acr_values_supported?: string[] | undefined;
10635
- mtls?: {
10636
- enable_endpoint_aliases?: boolean | undefined;
10637
- } | undefined;
10638
- pushed_authorization_requests_supported?: boolean | undefined;
10639
- authorization_response_iss_parameter_supported?: boolean | undefined;
10640
- }, {
10641
- created_at: string | null;
10642
- updated_at: string | null;
10643
- id: string;
10644
- audience: string;
10645
- friendly_name: string;
10646
- sender_email: string;
10647
- sender_name: string;
10648
- allowed_logout_urls?: string[] | undefined;
10649
- oidc_logout?: {
10650
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
10651
- } | undefined;
10652
- default_organization?: string | undefined;
10653
- picture_url?: string | undefined;
10654
- support_email?: string | undefined;
10655
- support_url?: string | undefined;
10656
- session_lifetime?: number | undefined;
10657
- idle_session_lifetime?: number | undefined;
10658
- ephemeral_session_lifetime?: number | undefined;
10659
- idle_ephemeral_session_lifetime?: number | undefined;
10660
- session_cookie?: {
10661
- mode?: "persistent" | "non-persistent" | undefined;
10662
- } | undefined;
10663
- default_redirection_uri?: string | undefined;
10664
- enabled_locales?: string[] | undefined;
10665
- default_directory?: string | undefined;
10666
- error_page?: {
10667
- url?: string | undefined;
10668
- html?: string | undefined;
10669
- show_log_link?: boolean | undefined;
10670
- } | undefined;
10671
- flags?: {
10672
- allow_changing_enable_sso?: boolean | undefined;
10673
- allow_legacy_delegation_grant_types?: boolean | undefined;
10674
- allow_legacy_ro_grant_types?: boolean | undefined;
10675
- allow_legacy_tokeninfo_endpoint?: boolean | undefined;
10676
- change_pwd_flow_v1?: boolean | undefined;
10677
- custom_domains_provisioning?: boolean | undefined;
10678
- dashboard_insights_view?: boolean | undefined;
10679
- dashboard_log_streams_next?: boolean | undefined;
10680
- disable_clickjack_protection_headers?: boolean | undefined;
10681
- disable_fields_map_fix?: boolean | undefined;
10682
- disable_impersonation?: boolean | undefined;
10683
- disable_management_api_sms_obfuscation?: boolean | undefined;
10684
- enable_adfs_waad_email_verification?: boolean | undefined;
10685
- enable_apis_section?: boolean | undefined;
10686
- enable_client_connections?: boolean | undefined;
10687
- enable_custom_domain_in_emails?: boolean | undefined;
10688
- enable_dynamic_client_registration?: boolean | undefined;
10689
- enable_idtoken_api2?: boolean | undefined;
10690
- enable_legacy_logs_search_v2?: boolean | undefined;
10691
- enable_legacy_profile?: boolean | undefined;
10692
- enable_pipeline2?: boolean | undefined;
10693
- enable_public_signup_user_exists_error?: boolean | undefined;
10694
- enable_sso?: boolean | undefined;
10695
- enforce_client_authentication_on_passwordless_start?: boolean | undefined;
10696
- genai_trial?: boolean | undefined;
10697
- improved_signup_bot_detection_in_classic?: boolean | undefined;
10698
- mfa_show_factor_list_on_enrollment?: boolean | undefined;
10699
- no_disclose_enterprise_connections?: boolean | undefined;
10700
- remove_alg_from_jwks?: boolean | undefined;
10701
- revoke_refresh_token_grant?: boolean | undefined;
10702
- trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
10703
- use_scope_descriptions_for_consent?: boolean | undefined;
10704
- inherit_global_permissions_in_organizations?: boolean | undefined;
10705
- } | undefined;
10706
- sandbox_version?: string | undefined;
10707
- legacy_sandbox_version?: string | undefined;
10708
- sandbox_versions_available?: string[] | undefined;
10709
- change_password?: {
10710
- html?: string | undefined;
10711
- enabled?: boolean | undefined;
10712
- } | undefined;
10713
- guardian_mfa_page?: {
10714
- html?: string | undefined;
10715
- enabled?: boolean | undefined;
10716
- } | undefined;
10717
- device_flow?: {
10718
- charset?: "base20" | "digits" | undefined;
10719
- mask?: string | undefined;
10720
- } | undefined;
10721
- default_token_quota?: {
10722
- clients?: {
10723
- client_credentials?: Record<string, any> | undefined;
10724
- } | undefined;
10725
- organizations?: {
10726
- client_credentials?: Record<string, any> | undefined;
10727
- } | undefined;
10728
- } | undefined;
10729
- default_audience?: string | undefined;
10730
- sessions?: {
10731
- oidc_logout_prompt_enabled?: boolean | undefined;
10732
- } | undefined;
10733
- allow_organization_name_in_authentication_api?: boolean | undefined;
10734
- customize_mfa_in_postlogin_action?: boolean | undefined;
10735
- acr_values_supported?: string[] | undefined;
10736
- mtls?: {
10737
- enable_endpoint_aliases?: boolean | undefined;
10738
- } | undefined;
10739
- pushed_authorization_requests_supported?: boolean | undefined;
10740
- authorization_response_iss_parameter_supported?: boolean | undefined;
10741
- }>;
10742
- connections: z.ZodArray<z.ZodObject<{
10743
- created_at: z.ZodEffects<z.ZodString, string, string>;
10744
- updated_at: z.ZodEffects<z.ZodString, string, string>;
10745
- } & {
10746
- id: z.ZodOptional<z.ZodString>;
10747
- name: z.ZodString;
10748
- display_name: z.ZodOptional<z.ZodString>;
10749
- strategy: z.ZodString;
10750
- options: z.ZodDefault<z.ZodObject<{
10751
- kid: z.ZodOptional<z.ZodString>;
10752
- team_id: z.ZodOptional<z.ZodString>;
10753
- realms: z.ZodOptional<z.ZodString>;
10754
- authentication_method: z.ZodOptional<z.ZodString>;
10755
- client_id: z.ZodOptional<z.ZodString>;
10756
- client_secret: z.ZodOptional<z.ZodString>;
10757
- app_secret: z.ZodOptional<z.ZodString>;
10758
- scope: z.ZodOptional<z.ZodString>;
10759
- authorization_endpoint: z.ZodOptional<z.ZodString>;
10760
- token_endpoint: z.ZodOptional<z.ZodString>;
10761
- userinfo_endpoint: z.ZodOptional<z.ZodString>;
10762
- jwks_uri: z.ZodOptional<z.ZodString>;
10763
- discovery_url: z.ZodOptional<z.ZodString>;
10764
- issuer: z.ZodOptional<z.ZodString>;
10765
- provider: z.ZodOptional<z.ZodString>;
10766
- from: z.ZodOptional<z.ZodString>;
10767
- twilio_sid: z.ZodOptional<z.ZodString>;
10768
- twilio_token: z.ZodOptional<z.ZodString>;
10769
- icon_url: z.ZodOptional<z.ZodString>;
10770
- }, "strip", z.ZodTypeAny, {
10771
- provider?: string | undefined;
10772
- client_id?: string | undefined;
10773
- client_secret?: string | undefined;
10774
- scope?: string | undefined;
10775
- kid?: string | undefined;
10776
- team_id?: string | undefined;
10777
- realms?: string | undefined;
10778
- authentication_method?: string | undefined;
10779
- app_secret?: string | undefined;
10780
- authorization_endpoint?: string | undefined;
10781
- token_endpoint?: string | undefined;
10782
- userinfo_endpoint?: string | undefined;
10783
- jwks_uri?: string | undefined;
10784
- discovery_url?: string | undefined;
10785
- issuer?: string | undefined;
10786
- from?: string | undefined;
10787
- twilio_sid?: string | undefined;
10788
- twilio_token?: string | undefined;
10789
- icon_url?: string | undefined;
10790
- }, {
10791
- provider?: string | undefined;
10792
- client_id?: string | undefined;
10793
- client_secret?: string | undefined;
10794
- scope?: string | undefined;
10795
- kid?: string | undefined;
10796
- team_id?: string | undefined;
10797
- realms?: string | undefined;
10798
- authentication_method?: string | undefined;
10799
- app_secret?: string | undefined;
10800
- authorization_endpoint?: string | undefined;
10801
- token_endpoint?: string | undefined;
10802
- userinfo_endpoint?: string | undefined;
10803
- jwks_uri?: string | undefined;
10804
- discovery_url?: string | undefined;
10805
- issuer?: string | undefined;
10806
- from?: string | undefined;
10807
- twilio_sid?: string | undefined;
10808
- twilio_token?: string | undefined;
10809
- icon_url?: string | undefined;
10810
- }>>;
10811
- enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10812
- response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
10813
- response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
10814
- is_domain_connection: z.ZodOptional<z.ZodBoolean>;
10815
- show_as_button: z.ZodOptional<z.ZodBoolean>;
10816
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10817
- is_system: z.ZodOptional<z.ZodBoolean>;
10818
- }, "strip", z.ZodTypeAny, {
10819
- created_at: string;
10820
- updated_at: string;
10821
- options: {
10822
- provider?: string | undefined;
10823
- client_id?: string | undefined;
10824
- client_secret?: string | undefined;
10825
- scope?: string | undefined;
10826
- kid?: string | undefined;
10827
- team_id?: string | undefined;
10828
- realms?: string | undefined;
10829
- authentication_method?: string | undefined;
10830
- app_secret?: string | undefined;
10831
- authorization_endpoint?: string | undefined;
10832
- token_endpoint?: string | undefined;
10833
- userinfo_endpoint?: string | undefined;
10834
- jwks_uri?: string | undefined;
10835
- discovery_url?: string | undefined;
10836
- issuer?: string | undefined;
10837
- from?: string | undefined;
10838
- twilio_sid?: string | undefined;
10839
- twilio_token?: string | undefined;
10840
- icon_url?: string | undefined;
10841
- };
10842
- name: string;
10843
- strategy: string;
10844
- id?: string | undefined;
10845
- is_system?: boolean | undefined;
10846
- response_type?: AuthorizationResponseType | undefined;
10847
- response_mode?: AuthorizationResponseMode | undefined;
10848
- display_name?: string | undefined;
10849
- enabled_clients?: string[] | undefined;
10850
- is_domain_connection?: boolean | undefined;
10851
- show_as_button?: boolean | undefined;
10852
- metadata?: Record<string, any> | undefined;
10853
- }, {
10854
- created_at: string;
10855
- updated_at: string;
10856
- name: string;
10857
- strategy: string;
10858
- options?: {
10859
- provider?: string | undefined;
10860
- client_id?: string | undefined;
10861
- client_secret?: string | undefined;
10862
- scope?: string | undefined;
10863
- kid?: string | undefined;
10864
- team_id?: string | undefined;
10865
- realms?: string | undefined;
10866
- authentication_method?: string | undefined;
10867
- app_secret?: string | undefined;
10868
- authorization_endpoint?: string | undefined;
10869
- token_endpoint?: string | undefined;
10870
- userinfo_endpoint?: string | undefined;
10871
- jwks_uri?: string | undefined;
10872
- discovery_url?: string | undefined;
10873
- issuer?: string | undefined;
10874
- from?: string | undefined;
10875
- twilio_sid?: string | undefined;
10876
- twilio_token?: string | undefined;
10877
- icon_url?: string | undefined;
10878
- } | undefined;
10879
- id?: string | undefined;
10880
- is_system?: boolean | undefined;
10881
- response_type?: AuthorizationResponseType | undefined;
10882
- response_mode?: AuthorizationResponseMode | undefined;
10883
- display_name?: string | undefined;
10884
- enabled_clients?: string[] | undefined;
10885
- is_domain_connection?: boolean | undefined;
10886
- show_as_button?: boolean | undefined;
10887
- metadata?: Record<string, any> | undefined;
10888
- }>, "many">;
10889
- client_id: z.ZodString;
10890
- name: z.ZodString;
10891
- description: z.ZodOptional<z.ZodString>;
10892
- global: z.ZodDefault<z.ZodBoolean>;
10893
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
10894
- app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
10895
- "native",
10896
- "spa",
10897
- "regular_web",
10898
- "non_interactive",
10899
- "resource_server",
10900
- "express_configuration",
10901
- "rms",
10902
- "box",
10903
- "cloudbees",
10904
- "concur",
10905
- "dropbox",
10906
- "mscrm",
10907
- "echosign",
10908
- "egnyte",
10909
- "newrelic",
10910
- "office365",
10911
- "salesforce",
10912
- "sentry",
10913
- "sharepoint",
10914
- "slack",
10915
- "springcm",
10916
- "zendesk",
10917
- "zoom",
10918
- "sso_integration",
10919
- "oag"
10920
- ]>>>;
10921
- logo_uri: z.ZodOptional<z.ZodString>;
10922
- is_first_party: z.ZodDefault<z.ZodBoolean>;
10923
- oidc_conformant: z.ZodDefault<z.ZodBoolean>;
10924
- auth0_conformant: z.ZodDefault<z.ZodBoolean>;
10925
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10926
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10927
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10928
- client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10929
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10930
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10931
- session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10932
- oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10933
- grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10934
- jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10935
- signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
10936
- encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10937
- sso: z.ZodDefault<z.ZodBoolean>;
10938
- sso_disabled: z.ZodDefault<z.ZodBoolean>;
10939
- cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
10940
- cross_origin_loc: z.ZodOptional<z.ZodString>;
10941
- custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
10942
- custom_login_page: z.ZodOptional<z.ZodString>;
10943
- custom_login_page_preview: z.ZodOptional<z.ZodString>;
10944
- form_template: z.ZodOptional<z.ZodString>;
10945
- addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10946
- token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
10947
- "none",
10948
- "client_secret_post",
10949
- "client_secret_basic"
10950
- ]>>>;
10951
- client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
10952
- mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10953
- initiate_login_uri: z.ZodOptional<z.ZodString>;
10954
- native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10955
- refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10956
- default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10957
- organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
10958
- "deny",
10959
- "allow",
10960
- "require"
10961
- ]>>>;
10962
- organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
10963
- "no_prompt",
10964
- "pre_login_prompt",
10965
- "post_login_prompt"
10966
- ]>>>;
10967
- client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10968
- require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
10969
- require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
10970
- signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10971
- compliance_level: z.ZodOptional<z.ZodEnum<[
10972
- "none",
10973
- "fapi1_adv_pkj_par",
10974
- "fapi1_adv_mtls_par",
10975
- "fapi2_sp_pkj_mtls",
10976
- "fapi2_sp_mtls_mtls"
10977
- ]>>;
10978
- par_request_expiry: z.ZodOptional<z.ZodNumber>;
10979
- token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10980
- created_at: z.ZodString;
10981
- updated_at: z.ZodString;
10982
- }, "strip", z.ZodTypeAny, {
10983
- created_at: string;
10984
- updated_at: string;
10985
- name: string;
10986
- client_id: string;
10987
- global: boolean;
10988
- is_first_party: boolean;
10989
- oidc_conformant: boolean;
10990
- auth0_conformant: boolean;
10991
- connections: {
10992
- created_at: string;
10993
- updated_at: string;
10994
- options: {
10995
- provider?: string | undefined;
10996
- client_id?: string | undefined;
10997
- client_secret?: string | undefined;
10998
- scope?: string | undefined;
10999
- kid?: string | undefined;
11000
- team_id?: string | undefined;
11001
- realms?: string | undefined;
11002
- authentication_method?: string | undefined;
11003
- app_secret?: string | undefined;
11004
- authorization_endpoint?: string | undefined;
11005
- token_endpoint?: string | undefined;
11006
- userinfo_endpoint?: string | undefined;
11007
- jwks_uri?: string | undefined;
11008
- discovery_url?: string | undefined;
11009
- issuer?: string | undefined;
11010
- from?: string | undefined;
11011
- twilio_sid?: string | undefined;
11012
- twilio_token?: string | undefined;
11013
- icon_url?: string | undefined;
11014
- };
11015
- name: string;
11016
- strategy: string;
11017
- id?: string | undefined;
11018
- is_system?: boolean | undefined;
11019
- response_type?: AuthorizationResponseType | undefined;
11020
- response_mode?: AuthorizationResponseMode | undefined;
11021
- display_name?: string | undefined;
11022
- enabled_clients?: string[] | undefined;
11023
- is_domain_connection?: boolean | undefined;
11024
- show_as_button?: boolean | undefined;
11025
- metadata?: Record<string, any> | undefined;
11026
- }[];
11027
- sso: boolean;
11028
- sso_disabled: boolean;
11029
- cross_origin_authentication: boolean;
11030
- custom_login_page_on: boolean;
11031
- require_pushed_authorization_requests: boolean;
11032
- require_proof_of_possession: boolean;
11033
- tenant: {
11034
- created_at: string;
11035
- updated_at: string;
11036
- id: string;
11037
- audience: string;
11038
- friendly_name: string;
11039
- sender_email: string;
11040
- sender_name: string;
11041
- allowed_logout_urls?: string[] | undefined;
11042
- oidc_logout?: {
11043
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
11044
- } | undefined;
11045
- default_organization?: string | undefined;
11046
- picture_url?: string | undefined;
11047
- support_email?: string | undefined;
11048
- support_url?: string | undefined;
11049
- session_lifetime?: number | undefined;
11050
- idle_session_lifetime?: number | undefined;
11051
- ephemeral_session_lifetime?: number | undefined;
11052
- idle_ephemeral_session_lifetime?: number | undefined;
11053
- session_cookie?: {
11054
- mode?: "persistent" | "non-persistent" | undefined;
11055
- } | undefined;
11056
- default_redirection_uri?: string | undefined;
11057
- enabled_locales?: string[] | undefined;
11058
- default_directory?: string | undefined;
11059
- error_page?: {
11060
- url?: string | undefined;
11061
- html?: string | undefined;
11062
- show_log_link?: boolean | undefined;
11063
- } | undefined;
11064
- flags?: {
11065
- allow_changing_enable_sso?: boolean | undefined;
11066
- allow_legacy_delegation_grant_types?: boolean | undefined;
11067
- allow_legacy_ro_grant_types?: boolean | undefined;
11068
- allow_legacy_tokeninfo_endpoint?: boolean | undefined;
11069
- change_pwd_flow_v1?: boolean | undefined;
11070
- custom_domains_provisioning?: boolean | undefined;
11071
- dashboard_insights_view?: boolean | undefined;
11072
- dashboard_log_streams_next?: boolean | undefined;
11073
- disable_clickjack_protection_headers?: boolean | undefined;
11074
- disable_fields_map_fix?: boolean | undefined;
11075
- disable_impersonation?: boolean | undefined;
11076
- disable_management_api_sms_obfuscation?: boolean | undefined;
11077
- enable_adfs_waad_email_verification?: boolean | undefined;
11078
- enable_apis_section?: boolean | undefined;
11079
- enable_client_connections?: boolean | undefined;
11080
- enable_custom_domain_in_emails?: boolean | undefined;
11081
- enable_dynamic_client_registration?: boolean | undefined;
11082
- enable_idtoken_api2?: boolean | undefined;
11083
- enable_legacy_logs_search_v2?: boolean | undefined;
11084
- enable_legacy_profile?: boolean | undefined;
11085
- enable_pipeline2?: boolean | undefined;
11086
- enable_public_signup_user_exists_error?: boolean | undefined;
11087
- enable_sso?: boolean | undefined;
11088
- enforce_client_authentication_on_passwordless_start?: boolean | undefined;
11089
- genai_trial?: boolean | undefined;
11090
- improved_signup_bot_detection_in_classic?: boolean | undefined;
11091
- mfa_show_factor_list_on_enrollment?: boolean | undefined;
11092
- no_disclose_enterprise_connections?: boolean | undefined;
11093
- remove_alg_from_jwks?: boolean | undefined;
11094
- revoke_refresh_token_grant?: boolean | undefined;
11095
- trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
11096
- use_scope_descriptions_for_consent?: boolean | undefined;
11097
- inherit_global_permissions_in_organizations?: boolean | undefined;
11098
- } | undefined;
11099
- sandbox_version?: string | undefined;
11100
- legacy_sandbox_version?: string | undefined;
11101
- sandbox_versions_available?: string[] | undefined;
11102
- change_password?: {
11103
- html?: string | undefined;
11104
- enabled?: boolean | undefined;
11105
- } | undefined;
11106
- guardian_mfa_page?: {
11107
- html?: string | undefined;
11108
- enabled?: boolean | undefined;
11109
- } | undefined;
11110
- device_flow?: {
11111
- charset?: "base20" | "digits" | undefined;
11112
- mask?: string | undefined;
11113
- } | undefined;
11114
- default_token_quota?: {
11115
- clients?: {
11116
- client_credentials?: Record<string, any> | undefined;
11117
- } | undefined;
11118
- organizations?: {
11119
- client_credentials?: Record<string, any> | undefined;
11120
- } | undefined;
11121
- } | undefined;
11122
- default_audience?: string | undefined;
11123
- sessions?: {
11124
- oidc_logout_prompt_enabled?: boolean | undefined;
11125
- } | undefined;
11126
- allow_organization_name_in_authentication_api?: boolean | undefined;
11127
- customize_mfa_in_postlogin_action?: boolean | undefined;
11128
- acr_values_supported?: string[] | undefined;
11129
- mtls?: {
11130
- enable_endpoint_aliases?: boolean | undefined;
11131
- } | undefined;
11132
- pushed_authorization_requests_supported?: boolean | undefined;
11133
- authorization_response_iss_parameter_supported?: boolean | undefined;
11134
- };
11135
- description?: string | undefined;
11136
- refresh_token?: Record<string, any> | undefined;
11137
- client_secret?: string | undefined;
11138
- app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
11139
- logo_uri?: string | undefined;
11140
- callbacks?: string[] | undefined;
11141
- allowed_origins?: string[] | undefined;
11142
- web_origins?: string[] | undefined;
11143
- client_aliases?: string[] | undefined;
11144
- allowed_clients?: string[] | undefined;
11145
- allowed_logout_urls?: string[] | undefined;
11146
- session_transfer?: Record<string, any> | undefined;
11147
- oidc_logout?: Record<string, any> | undefined;
11148
- grant_types?: string[] | undefined;
11149
- jwt_configuration?: Record<string, any> | undefined;
11150
- signing_keys?: Record<string, any>[] | undefined;
11151
- encryption_key?: Record<string, any> | undefined;
11152
- cross_origin_loc?: string | undefined;
11153
- custom_login_page?: string | undefined;
11154
- custom_login_page_preview?: string | undefined;
11155
- form_template?: string | undefined;
11156
- addons?: Record<string, any> | undefined;
11157
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
11158
- client_metadata?: Record<string, string> | undefined;
11159
- mobile?: Record<string, any> | undefined;
11160
- initiate_login_uri?: string | undefined;
11161
- native_social_login?: Record<string, any> | undefined;
11162
- default_organization?: Record<string, any> | undefined;
11163
- organization_usage?: "deny" | "allow" | "require" | undefined;
11164
- organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
11165
- client_authentication_methods?: Record<string, any> | undefined;
11166
- signed_request_object?: Record<string, any> | undefined;
11167
- compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
11168
- par_request_expiry?: number | undefined;
11169
- token_quota?: Record<string, any> | undefined;
11170
- }, {
11171
- created_at: string;
11172
- updated_at: string;
11173
- name: string;
11174
- client_id: string;
11175
- connections: {
11176
- created_at: string;
11177
- updated_at: string;
11178
- name: string;
11179
- strategy: string;
11180
- options?: {
11181
- provider?: string | undefined;
11182
- client_id?: string | undefined;
11183
- client_secret?: string | undefined;
11184
- scope?: string | undefined;
11185
- kid?: string | undefined;
11186
- team_id?: string | undefined;
11187
- realms?: string | undefined;
11188
- authentication_method?: string | undefined;
11189
- app_secret?: string | undefined;
11190
- authorization_endpoint?: string | undefined;
11191
- token_endpoint?: string | undefined;
11192
- userinfo_endpoint?: string | undefined;
11193
- jwks_uri?: string | undefined;
11194
- discovery_url?: string | undefined;
11195
- issuer?: string | undefined;
11196
- from?: string | undefined;
11197
- twilio_sid?: string | undefined;
11198
- twilio_token?: string | undefined;
11199
- icon_url?: string | undefined;
11200
- } | undefined;
11201
- id?: string | undefined;
11202
- is_system?: boolean | undefined;
11203
- response_type?: AuthorizationResponseType | undefined;
11204
- response_mode?: AuthorizationResponseMode | undefined;
11205
- display_name?: string | undefined;
11206
- enabled_clients?: string[] | undefined;
11207
- is_domain_connection?: boolean | undefined;
11208
- show_as_button?: boolean | undefined;
11209
- metadata?: Record<string, any> | undefined;
11210
- }[];
11211
- tenant: {
11212
- created_at: string | null;
11213
- updated_at: string | null;
11214
- id: string;
11215
- audience: string;
11216
- friendly_name: string;
11217
- sender_email: string;
11218
- sender_name: string;
11219
- allowed_logout_urls?: string[] | undefined;
11220
- oidc_logout?: {
11221
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
11222
- } | undefined;
11223
- default_organization?: string | undefined;
11224
- picture_url?: string | undefined;
11225
- support_email?: string | undefined;
11226
- support_url?: string | undefined;
11227
- session_lifetime?: number | undefined;
11228
- idle_session_lifetime?: number | undefined;
11229
- ephemeral_session_lifetime?: number | undefined;
11230
- idle_ephemeral_session_lifetime?: number | undefined;
11231
- session_cookie?: {
11232
- mode?: "persistent" | "non-persistent" | undefined;
11233
- } | undefined;
11234
- default_redirection_uri?: string | undefined;
11235
- enabled_locales?: string[] | undefined;
11236
- default_directory?: string | undefined;
11237
- error_page?: {
11238
- url?: string | undefined;
11239
- html?: string | undefined;
11240
- show_log_link?: boolean | undefined;
11241
- } | undefined;
11242
- flags?: {
11243
- allow_changing_enable_sso?: boolean | undefined;
11244
- allow_legacy_delegation_grant_types?: boolean | undefined;
11245
- allow_legacy_ro_grant_types?: boolean | undefined;
11246
- allow_legacy_tokeninfo_endpoint?: boolean | undefined;
11247
- change_pwd_flow_v1?: boolean | undefined;
11248
- custom_domains_provisioning?: boolean | undefined;
11249
- dashboard_insights_view?: boolean | undefined;
11250
- dashboard_log_streams_next?: boolean | undefined;
11251
- disable_clickjack_protection_headers?: boolean | undefined;
11252
- disable_fields_map_fix?: boolean | undefined;
11253
- disable_impersonation?: boolean | undefined;
11254
- disable_management_api_sms_obfuscation?: boolean | undefined;
11255
- enable_adfs_waad_email_verification?: boolean | undefined;
11256
- enable_apis_section?: boolean | undefined;
11257
- enable_client_connections?: boolean | undefined;
11258
- enable_custom_domain_in_emails?: boolean | undefined;
11259
- enable_dynamic_client_registration?: boolean | undefined;
11260
- enable_idtoken_api2?: boolean | undefined;
11261
- enable_legacy_logs_search_v2?: boolean | undefined;
11262
- enable_legacy_profile?: boolean | undefined;
11263
- enable_pipeline2?: boolean | undefined;
11264
- enable_public_signup_user_exists_error?: boolean | undefined;
11265
- enable_sso?: boolean | undefined;
11266
- enforce_client_authentication_on_passwordless_start?: boolean | undefined;
11267
- genai_trial?: boolean | undefined;
11268
- improved_signup_bot_detection_in_classic?: boolean | undefined;
11269
- mfa_show_factor_list_on_enrollment?: boolean | undefined;
11270
- no_disclose_enterprise_connections?: boolean | undefined;
11271
- remove_alg_from_jwks?: boolean | undefined;
11272
- revoke_refresh_token_grant?: boolean | undefined;
11273
- trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
11274
- use_scope_descriptions_for_consent?: boolean | undefined;
11275
- inherit_global_permissions_in_organizations?: boolean | undefined;
11276
- } | undefined;
11277
- sandbox_version?: string | undefined;
11278
- legacy_sandbox_version?: string | undefined;
11279
- sandbox_versions_available?: string[] | undefined;
11280
- change_password?: {
11281
- html?: string | undefined;
11282
- enabled?: boolean | undefined;
11283
- } | undefined;
11284
- guardian_mfa_page?: {
11285
- html?: string | undefined;
11286
- enabled?: boolean | undefined;
11287
- } | undefined;
11288
- device_flow?: {
11289
- charset?: "base20" | "digits" | undefined;
11290
- mask?: string | undefined;
11291
- } | undefined;
11292
- default_token_quota?: {
11293
- clients?: {
11294
- client_credentials?: Record<string, any> | undefined;
11295
- } | undefined;
11296
- organizations?: {
11297
- client_credentials?: Record<string, any> | undefined;
11298
- } | undefined;
11299
- } | undefined;
11300
- default_audience?: string | undefined;
11301
- sessions?: {
11302
- oidc_logout_prompt_enabled?: boolean | undefined;
11303
- } | undefined;
11304
- allow_organization_name_in_authentication_api?: boolean | undefined;
11305
- customize_mfa_in_postlogin_action?: boolean | undefined;
11306
- acr_values_supported?: string[] | undefined;
11307
- mtls?: {
11308
- enable_endpoint_aliases?: boolean | undefined;
11309
- } | undefined;
11310
- pushed_authorization_requests_supported?: boolean | undefined;
11311
- authorization_response_iss_parameter_supported?: boolean | undefined;
11312
- };
11313
- description?: string | undefined;
11314
- refresh_token?: Record<string, any> | undefined;
11315
- global?: boolean | undefined;
11316
- client_secret?: string | undefined;
11317
- app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
11318
- logo_uri?: string | undefined;
11319
- is_first_party?: boolean | undefined;
11320
- oidc_conformant?: boolean | undefined;
11321
- auth0_conformant?: boolean | undefined;
11322
- callbacks?: string[] | undefined;
11323
- allowed_origins?: string[] | undefined;
11324
- web_origins?: string[] | undefined;
11325
- client_aliases?: string[] | undefined;
11326
- allowed_clients?: string[] | undefined;
11327
- allowed_logout_urls?: string[] | undefined;
11328
- session_transfer?: Record<string, any> | undefined;
11329
- oidc_logout?: Record<string, any> | undefined;
11330
- grant_types?: string[] | undefined;
11331
- jwt_configuration?: Record<string, any> | undefined;
11332
- signing_keys?: Record<string, any>[] | undefined;
11333
- encryption_key?: Record<string, any> | undefined;
11334
- sso?: boolean | undefined;
11335
- sso_disabled?: boolean | undefined;
11336
- cross_origin_authentication?: boolean | undefined;
11337
- cross_origin_loc?: string | undefined;
11338
- custom_login_page_on?: boolean | undefined;
11339
- custom_login_page?: string | undefined;
11340
- custom_login_page_preview?: string | undefined;
11341
- form_template?: string | undefined;
11342
- addons?: Record<string, any> | undefined;
11343
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
11344
- client_metadata?: Record<string, string> | undefined;
11345
- mobile?: Record<string, any> | undefined;
11346
- initiate_login_uri?: string | undefined;
11347
- native_social_login?: Record<string, any> | undefined;
11348
- default_organization?: Record<string, any> | undefined;
11349
- organization_usage?: "deny" | "allow" | "require" | undefined;
11350
- organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
11351
- client_authentication_methods?: Record<string, any> | undefined;
11352
- require_pushed_authorization_requests?: boolean | undefined;
11353
- require_proof_of_possession?: boolean | undefined;
11354
- signed_request_object?: Record<string, any> | undefined;
11355
- compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
11356
- par_request_expiry?: number | undefined;
11357
- token_quota?: Record<string, any> | undefined;
11358
- }>;
11359
- export type LegacyClient = z.infer<typeof legacyClientSchema>;
11360
10299
  export declare const codeTypeSchema: z.ZodEnum<[
11361
10300
  "password_reset",
11362
10301
  "email_verification",
@@ -32143,8 +31082,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
32143
31082
  hook_id: z.ZodOptional<z.ZodString>;
32144
31083
  }, "strip", z.ZodTypeAny, {
32145
31084
  url: string;
32146
- enabled: boolean;
32147
31085
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
31086
+ enabled: boolean;
32148
31087
  synchronous: boolean;
32149
31088
  priority?: number | undefined;
32150
31089
  hook_id?: string | undefined;
@@ -32171,8 +31110,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
32171
31110
  priority: z.ZodOptional<z.ZodNumber>;
32172
31111
  hook_id: z.ZodOptional<z.ZodString>;
32173
31112
  }, "strip", z.ZodTypeAny, {
32174
- enabled: boolean;
32175
31113
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
31114
+ enabled: boolean;
32176
31115
  synchronous: boolean;
32177
31116
  form_id: string;
32178
31117
  priority?: number | undefined;
@@ -32208,8 +31147,8 @@ export declare const hookSchema: z.ZodUnion<[
32208
31147
  created_at: string;
32209
31148
  updated_at: string;
32210
31149
  url: string;
32211
- enabled: boolean;
32212
31150
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
31151
+ enabled: boolean;
32213
31152
  synchronous: boolean;
32214
31153
  hook_id: string;
32215
31154
  priority?: number | undefined;
@@ -32242,8 +31181,8 @@ export declare const hookSchema: z.ZodUnion<[
32242
31181
  }, "strip", z.ZodTypeAny, {
32243
31182
  created_at: string;
32244
31183
  updated_at: string;
32245
- enabled: boolean;
32246
31184
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
31185
+ enabled: boolean;
32247
31186
  synchronous: boolean;
32248
31187
  hook_id: string;
32249
31188
  form_id: string;
@@ -33566,7 +32505,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
33566
32505
  }, "strip", z.ZodTypeAny, {
33567
32506
  id: string;
33568
32507
  user_id: string;
33569
- clients: string[];
33570
32508
  login_session_id: string;
33571
32509
  device: {
33572
32510
  last_ip: string;
@@ -33576,6 +32514,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
33576
32514
  last_user_agent: string;
33577
32515
  last_asn: string;
33578
32516
  };
32517
+ clients: string[];
33579
32518
  expires_at?: string | undefined;
33580
32519
  used_at?: string | undefined;
33581
32520
  revoked_at?: string | undefined;
@@ -33583,7 +32522,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
33583
32522
  }, {
33584
32523
  id: string;
33585
32524
  user_id: string;
33586
- clients: string[];
33587
32525
  login_session_id: string;
33588
32526
  device: {
33589
32527
  last_ip: string;
@@ -33593,6 +32531,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
33593
32531
  last_user_agent: string;
33594
32532
  last_asn: string;
33595
32533
  };
32534
+ clients: string[];
33596
32535
  expires_at?: string | undefined;
33597
32536
  used_at?: string | undefined;
33598
32537
  revoked_at?: string | undefined;
@@ -33639,7 +32578,6 @@ export declare const sessionSchema: z.ZodObject<{
33639
32578
  updated_at: string;
33640
32579
  id: string;
33641
32580
  user_id: string;
33642
- clients: string[];
33643
32581
  login_session_id: string;
33644
32582
  device: {
33645
32583
  last_ip: string;
@@ -33649,6 +32587,7 @@ export declare const sessionSchema: z.ZodObject<{
33649
32587
  last_user_agent: string;
33650
32588
  last_asn: string;
33651
32589
  };
32590
+ clients: string[];
33652
32591
  authenticated_at: string;
33653
32592
  last_interaction_at: string;
33654
32593
  expires_at?: string | undefined;
@@ -33660,7 +32599,6 @@ export declare const sessionSchema: z.ZodObject<{
33660
32599
  updated_at: string;
33661
32600
  id: string;
33662
32601
  user_id: string;
33663
- clients: string[];
33664
32602
  login_session_id: string;
33665
32603
  device: {
33666
32604
  last_ip: string;
@@ -33670,6 +32608,7 @@ export declare const sessionSchema: z.ZodObject<{
33670
32608
  last_user_agent: string;
33671
32609
  last_asn: string;
33672
32610
  };
32611
+ clients: string[];
33673
32612
  authenticated_at: string;
33674
32613
  last_interaction_at: string;
33675
32614
  expires_at?: string | undefined;
@@ -37631,9 +36570,22 @@ export interface CacheAdapter {
37631
36570
  */
37632
36571
  clear(): Promise<void>;
37633
36572
  }
36573
+ /**
36574
+ * Result from getByClientId including tenant_id since client_id alone
36575
+ * is used to look up the client across all tenants
36576
+ */
36577
+ export interface ClientWithTenantId extends Client {
36578
+ tenant_id: string;
36579
+ }
37634
36580
  export interface ClientsAdapter {
37635
36581
  create(tenant_id: string, params: ClientInsert): Promise<Client>;
37636
36582
  get(tenant_id: string, client_id: string): Promise<Client | null>;
36583
+ /**
36584
+ * Get a client by client_id only (without tenant_id).
36585
+ * Returns the client with its tenant_id since the caller needs to know
36586
+ * which tenant the client belongs to.
36587
+ */
36588
+ getByClientId(client_id: string): Promise<ClientWithTenantId | null>;
37637
36589
  remove(tenant_id: string, client_id: string): Promise<boolean>;
37638
36590
  list(tenant_id: string, params?: ListParams): Promise<{
37639
36591
  clients: Client[];
@@ -37784,11 +36736,8 @@ export interface HooksAdapter {
37784
36736
  update: (tenant_id: string, hook_id: string, hook: Partial<HookInsert>) => Promise<boolean>;
37785
36737
  list: (tenant_id: string, params?: ListParams) => Promise<ListHooksResponse>;
37786
36738
  }
37787
- export interface LegacyClientsAdapter {
37788
- get: (id: string) => Promise<LegacyClient | null>;
37789
- }
37790
36739
  export interface ThemesAdapter {
37791
- create: (tenant_id: string, theme: ThemeInsert) => Promise<Theme>;
36740
+ create: (tenant_id: string, theme: ThemeInsert, themeId?: string) => Promise<Theme>;
37792
36741
  remove: (tenant_id: string, themeId: string) => Promise<boolean>;
37793
36742
  get: (tenant_id: string, themeId: string) => Promise<Theme | null>;
37794
36743
  update: (tenant_id: string, themeId: any, theme: Partial<ThemeInsert>) => Promise<boolean>;
@@ -37957,7 +36906,6 @@ export interface DataAdapters {
37957
36906
  clients: ClientsAdapter;
37958
36907
  clientConnections: ClientConnectionsAdapter;
37959
36908
  clientGrants: ClientGrantsAdapter;
37960
- legacyClients: LegacyClientsAdapter;
37961
36909
  codes: CodesAdapter;
37962
36910
  connections: ConnectionsAdapter;
37963
36911
  customDomains: CustomDomainsAdapter;