@authhero/adapter-interfaces 0.93.0 → 0.95.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.
@@ -8252,43 +8252,440 @@ export type Branding = z.infer<typeof brandingSchema>;
8252
8252
  declare const LegacyClientSchema: z.ZodObject<{
8253
8253
  tenant: z.ZodObject<{
8254
8254
  id: z.ZodString;
8255
- name: z.ZodString;
8256
8255
  audience: z.ZodString;
8256
+ friendly_name: z.ZodString;
8257
+ picture_url: z.ZodOptional<z.ZodString>;
8258
+ support_email: z.ZodOptional<z.ZodString>;
8259
+ support_url: z.ZodOptional<z.ZodString>;
8257
8260
  sender_email: z.ZodString;
8258
8261
  sender_name: z.ZodString;
8259
- support_url: z.ZodOptional<z.ZodString>;
8260
- logo: z.ZodOptional<z.ZodString>;
8261
- primary_color: z.ZodOptional<z.ZodString>;
8262
- secondary_color: z.ZodOptional<z.ZodString>;
8263
- language: z.ZodOptional<z.ZodString>;
8264
- created_at: z.ZodEffects<z.ZodString, string, string>;
8265
- updated_at: z.ZodEffects<z.ZodString, string, string>;
8262
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
8263
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
8264
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
8265
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
8266
+ session_cookie: z.ZodOptional<z.ZodObject<{
8267
+ mode: z.ZodOptional<z.ZodEnum<[
8268
+ "persistent",
8269
+ "non-persistent"
8270
+ ]>>;
8271
+ }, "strip", z.ZodTypeAny, {
8272
+ mode?: "persistent" | "non-persistent" | undefined;
8273
+ }, {
8274
+ mode?: "persistent" | "non-persistent" | undefined;
8275
+ }>>;
8276
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8277
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
8278
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8279
+ default_directory: z.ZodOptional<z.ZodString>;
8280
+ error_page: z.ZodOptional<z.ZodObject<{
8281
+ html: z.ZodOptional<z.ZodString>;
8282
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
8283
+ url: z.ZodOptional<z.ZodString>;
8284
+ }, "strip", z.ZodTypeAny, {
8285
+ url?: string | undefined;
8286
+ html?: string | undefined;
8287
+ show_log_link?: boolean | undefined;
8288
+ }, {
8289
+ url?: string | undefined;
8290
+ html?: string | undefined;
8291
+ show_log_link?: boolean | undefined;
8292
+ }>>;
8293
+ flags: z.ZodOptional<z.ZodObject<{
8294
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
8295
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
8296
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
8297
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
8298
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
8299
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
8300
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
8301
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
8302
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
8303
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
8304
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
8305
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
8306
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
8307
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
8308
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
8309
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
8310
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
8311
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
8312
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
8313
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
8314
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
8315
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
8316
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
8317
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
8318
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
8319
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
8320
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
8321
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
8322
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
8323
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
8324
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
8325
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
8326
+ }, "strip", z.ZodTypeAny, {
8327
+ allow_changing_enable_sso?: boolean | undefined;
8328
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8329
+ allow_legacy_ro_grant_types?: boolean | undefined;
8330
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8331
+ change_pwd_flow_v1?: boolean | undefined;
8332
+ custom_domains_provisioning?: boolean | undefined;
8333
+ dashboard_insights_view?: boolean | undefined;
8334
+ dashboard_log_streams_next?: boolean | undefined;
8335
+ disable_clickjack_protection_headers?: boolean | undefined;
8336
+ disable_fields_map_fix?: boolean | undefined;
8337
+ disable_impersonation?: boolean | undefined;
8338
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8339
+ enable_adfs_waad_email_verification?: boolean | undefined;
8340
+ enable_apis_section?: boolean | undefined;
8341
+ enable_client_connections?: boolean | undefined;
8342
+ enable_custom_domain_in_emails?: boolean | undefined;
8343
+ enable_dynamic_client_registration?: boolean | undefined;
8344
+ enable_idtoken_api2?: boolean | undefined;
8345
+ enable_legacy_logs_search_v2?: boolean | undefined;
8346
+ enable_legacy_profile?: boolean | undefined;
8347
+ enable_pipeline2?: boolean | undefined;
8348
+ enable_public_signup_user_exists_error?: boolean | undefined;
8349
+ enable_sso?: boolean | undefined;
8350
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8351
+ genai_trial?: boolean | undefined;
8352
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8353
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8354
+ no_disclose_enterprise_connections?: boolean | undefined;
8355
+ remove_alg_from_jwks?: boolean | undefined;
8356
+ revoke_refresh_token_grant?: boolean | undefined;
8357
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8358
+ use_scope_descriptions_for_consent?: boolean | undefined;
8359
+ }, {
8360
+ allow_changing_enable_sso?: boolean | undefined;
8361
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8362
+ allow_legacy_ro_grant_types?: boolean | undefined;
8363
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8364
+ change_pwd_flow_v1?: boolean | undefined;
8365
+ custom_domains_provisioning?: boolean | undefined;
8366
+ dashboard_insights_view?: boolean | undefined;
8367
+ dashboard_log_streams_next?: boolean | undefined;
8368
+ disable_clickjack_protection_headers?: boolean | undefined;
8369
+ disable_fields_map_fix?: boolean | undefined;
8370
+ disable_impersonation?: boolean | undefined;
8371
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8372
+ enable_adfs_waad_email_verification?: boolean | undefined;
8373
+ enable_apis_section?: boolean | undefined;
8374
+ enable_client_connections?: boolean | undefined;
8375
+ enable_custom_domain_in_emails?: boolean | undefined;
8376
+ enable_dynamic_client_registration?: boolean | undefined;
8377
+ enable_idtoken_api2?: boolean | undefined;
8378
+ enable_legacy_logs_search_v2?: boolean | undefined;
8379
+ enable_legacy_profile?: boolean | undefined;
8380
+ enable_pipeline2?: boolean | undefined;
8381
+ enable_public_signup_user_exists_error?: boolean | undefined;
8382
+ enable_sso?: boolean | undefined;
8383
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8384
+ genai_trial?: boolean | undefined;
8385
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8386
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8387
+ no_disclose_enterprise_connections?: boolean | undefined;
8388
+ remove_alg_from_jwks?: boolean | undefined;
8389
+ revoke_refresh_token_grant?: boolean | undefined;
8390
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8391
+ use_scope_descriptions_for_consent?: boolean | undefined;
8392
+ }>>;
8393
+ sandbox_version: z.ZodOptional<z.ZodString>;
8394
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
8395
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8396
+ change_password: z.ZodOptional<z.ZodObject<{
8397
+ enabled: z.ZodOptional<z.ZodBoolean>;
8398
+ html: z.ZodOptional<z.ZodString>;
8399
+ }, "strip", z.ZodTypeAny, {
8400
+ html?: string | undefined;
8401
+ enabled?: boolean | undefined;
8402
+ }, {
8403
+ html?: string | undefined;
8404
+ enabled?: boolean | undefined;
8405
+ }>>;
8406
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
8407
+ enabled: z.ZodOptional<z.ZodBoolean>;
8408
+ html: z.ZodOptional<z.ZodString>;
8409
+ }, "strip", z.ZodTypeAny, {
8410
+ html?: string | undefined;
8411
+ enabled?: boolean | undefined;
8412
+ }, {
8413
+ html?: string | undefined;
8414
+ enabled?: boolean | undefined;
8415
+ }>>;
8416
+ device_flow: z.ZodOptional<z.ZodObject<{
8417
+ charset: z.ZodOptional<z.ZodEnum<[
8418
+ "base20",
8419
+ "digits"
8420
+ ]>>;
8421
+ mask: z.ZodOptional<z.ZodString>;
8422
+ }, "strip", z.ZodTypeAny, {
8423
+ charset?: "base20" | "digits" | undefined;
8424
+ mask?: string | undefined;
8425
+ }, {
8426
+ charset?: "base20" | "digits" | undefined;
8427
+ mask?: string | undefined;
8428
+ }>>;
8429
+ default_token_quota: z.ZodOptional<z.ZodObject<{
8430
+ clients: z.ZodOptional<z.ZodObject<{
8431
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8432
+ }, "strip", z.ZodTypeAny, {
8433
+ client_credentials?: Record<string, any> | undefined;
8434
+ }, {
8435
+ client_credentials?: Record<string, any> | undefined;
8436
+ }>>;
8437
+ organizations: z.ZodOptional<z.ZodObject<{
8438
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8439
+ }, "strip", z.ZodTypeAny, {
8440
+ client_credentials?: Record<string, any> | undefined;
8441
+ }, {
8442
+ client_credentials?: Record<string, any> | undefined;
8443
+ }>>;
8444
+ }, "strip", z.ZodTypeAny, {
8445
+ clients?: {
8446
+ client_credentials?: Record<string, any> | undefined;
8447
+ } | undefined;
8448
+ organizations?: {
8449
+ client_credentials?: Record<string, any> | undefined;
8450
+ } | undefined;
8451
+ }, {
8452
+ clients?: {
8453
+ client_credentials?: Record<string, any> | undefined;
8454
+ } | undefined;
8455
+ organizations?: {
8456
+ client_credentials?: Record<string, any> | undefined;
8457
+ } | undefined;
8458
+ }>>;
8459
+ default_audience: z.ZodOptional<z.ZodString>;
8460
+ default_organization: z.ZodOptional<z.ZodString>;
8461
+ sessions: z.ZodOptional<z.ZodObject<{
8462
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
8463
+ }, "strip", z.ZodTypeAny, {
8464
+ oidc_logout_prompt_enabled?: boolean | undefined;
8465
+ }, {
8466
+ oidc_logout_prompt_enabled?: boolean | undefined;
8467
+ }>>;
8468
+ oidc_logout: z.ZodOptional<z.ZodObject<{
8469
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
8470
+ }, "strip", z.ZodTypeAny, {
8471
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8472
+ }, {
8473
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8474
+ }>>;
8475
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
8476
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
8477
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8478
+ mtls: z.ZodOptional<z.ZodObject<{
8479
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
8480
+ }, "strip", z.ZodTypeAny, {
8481
+ enable_endpoint_aliases?: boolean | undefined;
8482
+ }, {
8483
+ enable_endpoint_aliases?: boolean | undefined;
8484
+ }>>;
8485
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
8486
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
8487
+ created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
8488
+ updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
8266
8489
  }, "strip", z.ZodTypeAny, {
8267
8490
  created_at: string;
8268
8491
  updated_at: string;
8269
- name: string;
8270
8492
  audience: string;
8271
8493
  id: string;
8494
+ friendly_name: string;
8272
8495
  sender_email: string;
8273
8496
  sender_name: string;
8497
+ allowed_logout_urls?: string[] | undefined;
8498
+ oidc_logout?: {
8499
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8500
+ } | undefined;
8501
+ default_organization?: string | undefined;
8502
+ picture_url?: string | undefined;
8503
+ support_email?: string | undefined;
8274
8504
  support_url?: string | undefined;
8275
- logo?: string | undefined;
8276
- primary_color?: string | undefined;
8277
- secondary_color?: string | undefined;
8278
- language?: string | undefined;
8505
+ session_lifetime?: number | undefined;
8506
+ idle_session_lifetime?: number | undefined;
8507
+ ephemeral_session_lifetime?: number | undefined;
8508
+ idle_ephemeral_session_lifetime?: number | undefined;
8509
+ session_cookie?: {
8510
+ mode?: "persistent" | "non-persistent" | undefined;
8511
+ } | undefined;
8512
+ default_redirection_uri?: string | undefined;
8513
+ enabled_locales?: string[] | undefined;
8514
+ default_directory?: string | undefined;
8515
+ error_page?: {
8516
+ url?: string | undefined;
8517
+ html?: string | undefined;
8518
+ show_log_link?: boolean | undefined;
8519
+ } | undefined;
8520
+ flags?: {
8521
+ allow_changing_enable_sso?: boolean | undefined;
8522
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8523
+ allow_legacy_ro_grant_types?: boolean | undefined;
8524
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8525
+ change_pwd_flow_v1?: boolean | undefined;
8526
+ custom_domains_provisioning?: boolean | undefined;
8527
+ dashboard_insights_view?: boolean | undefined;
8528
+ dashboard_log_streams_next?: boolean | undefined;
8529
+ disable_clickjack_protection_headers?: boolean | undefined;
8530
+ disable_fields_map_fix?: boolean | undefined;
8531
+ disable_impersonation?: boolean | undefined;
8532
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8533
+ enable_adfs_waad_email_verification?: boolean | undefined;
8534
+ enable_apis_section?: boolean | undefined;
8535
+ enable_client_connections?: boolean | undefined;
8536
+ enable_custom_domain_in_emails?: boolean | undefined;
8537
+ enable_dynamic_client_registration?: boolean | undefined;
8538
+ enable_idtoken_api2?: boolean | undefined;
8539
+ enable_legacy_logs_search_v2?: boolean | undefined;
8540
+ enable_legacy_profile?: boolean | undefined;
8541
+ enable_pipeline2?: boolean | undefined;
8542
+ enable_public_signup_user_exists_error?: boolean | undefined;
8543
+ enable_sso?: boolean | undefined;
8544
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8545
+ genai_trial?: boolean | undefined;
8546
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8547
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8548
+ no_disclose_enterprise_connections?: boolean | undefined;
8549
+ remove_alg_from_jwks?: boolean | undefined;
8550
+ revoke_refresh_token_grant?: boolean | undefined;
8551
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8552
+ use_scope_descriptions_for_consent?: boolean | undefined;
8553
+ } | undefined;
8554
+ sandbox_version?: string | undefined;
8555
+ legacy_sandbox_version?: string | undefined;
8556
+ sandbox_versions_available?: string[] | undefined;
8557
+ change_password?: {
8558
+ html?: string | undefined;
8559
+ enabled?: boolean | undefined;
8560
+ } | undefined;
8561
+ guardian_mfa_page?: {
8562
+ html?: string | undefined;
8563
+ enabled?: boolean | undefined;
8564
+ } | undefined;
8565
+ device_flow?: {
8566
+ charset?: "base20" | "digits" | undefined;
8567
+ mask?: string | undefined;
8568
+ } | undefined;
8569
+ default_token_quota?: {
8570
+ clients?: {
8571
+ client_credentials?: Record<string, any> | undefined;
8572
+ } | undefined;
8573
+ organizations?: {
8574
+ client_credentials?: Record<string, any> | undefined;
8575
+ } | undefined;
8576
+ } | undefined;
8577
+ default_audience?: string | undefined;
8578
+ sessions?: {
8579
+ oidc_logout_prompt_enabled?: boolean | undefined;
8580
+ } | undefined;
8581
+ allow_organization_name_in_authentication_api?: boolean | undefined;
8582
+ customize_mfa_in_postlogin_action?: boolean | undefined;
8583
+ acr_values_supported?: string[] | undefined;
8584
+ mtls?: {
8585
+ enable_endpoint_aliases?: boolean | undefined;
8586
+ } | undefined;
8587
+ pushed_authorization_requests_supported?: boolean | undefined;
8588
+ authorization_response_iss_parameter_supported?: boolean | undefined;
8279
8589
  }, {
8280
- created_at: string;
8281
- updated_at: string;
8282
- name: string;
8590
+ created_at: string | null;
8591
+ updated_at: string | null;
8283
8592
  audience: string;
8284
8593
  id: string;
8594
+ friendly_name: string;
8285
8595
  sender_email: string;
8286
8596
  sender_name: string;
8597
+ allowed_logout_urls?: string[] | undefined;
8598
+ oidc_logout?: {
8599
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8600
+ } | undefined;
8601
+ default_organization?: string | undefined;
8602
+ picture_url?: string | undefined;
8603
+ support_email?: string | undefined;
8287
8604
  support_url?: string | undefined;
8288
- logo?: string | undefined;
8289
- primary_color?: string | undefined;
8290
- secondary_color?: string | undefined;
8291
- language?: string | undefined;
8605
+ session_lifetime?: number | undefined;
8606
+ idle_session_lifetime?: number | undefined;
8607
+ ephemeral_session_lifetime?: number | undefined;
8608
+ idle_ephemeral_session_lifetime?: number | undefined;
8609
+ session_cookie?: {
8610
+ mode?: "persistent" | "non-persistent" | undefined;
8611
+ } | undefined;
8612
+ default_redirection_uri?: string | undefined;
8613
+ enabled_locales?: string[] | undefined;
8614
+ default_directory?: string | undefined;
8615
+ error_page?: {
8616
+ url?: string | undefined;
8617
+ html?: string | undefined;
8618
+ show_log_link?: boolean | undefined;
8619
+ } | undefined;
8620
+ flags?: {
8621
+ allow_changing_enable_sso?: boolean | undefined;
8622
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8623
+ allow_legacy_ro_grant_types?: boolean | undefined;
8624
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8625
+ change_pwd_flow_v1?: boolean | undefined;
8626
+ custom_domains_provisioning?: boolean | undefined;
8627
+ dashboard_insights_view?: boolean | undefined;
8628
+ dashboard_log_streams_next?: boolean | undefined;
8629
+ disable_clickjack_protection_headers?: boolean | undefined;
8630
+ disable_fields_map_fix?: boolean | undefined;
8631
+ disable_impersonation?: boolean | undefined;
8632
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8633
+ enable_adfs_waad_email_verification?: boolean | undefined;
8634
+ enable_apis_section?: boolean | undefined;
8635
+ enable_client_connections?: boolean | undefined;
8636
+ enable_custom_domain_in_emails?: boolean | undefined;
8637
+ enable_dynamic_client_registration?: boolean | undefined;
8638
+ enable_idtoken_api2?: boolean | undefined;
8639
+ enable_legacy_logs_search_v2?: boolean | undefined;
8640
+ enable_legacy_profile?: boolean | undefined;
8641
+ enable_pipeline2?: boolean | undefined;
8642
+ enable_public_signup_user_exists_error?: boolean | undefined;
8643
+ enable_sso?: boolean | undefined;
8644
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8645
+ genai_trial?: boolean | undefined;
8646
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8647
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8648
+ no_disclose_enterprise_connections?: boolean | undefined;
8649
+ remove_alg_from_jwks?: boolean | undefined;
8650
+ revoke_refresh_token_grant?: boolean | undefined;
8651
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8652
+ use_scope_descriptions_for_consent?: boolean | undefined;
8653
+ } | undefined;
8654
+ sandbox_version?: string | undefined;
8655
+ legacy_sandbox_version?: string | undefined;
8656
+ sandbox_versions_available?: string[] | undefined;
8657
+ change_password?: {
8658
+ html?: string | undefined;
8659
+ enabled?: boolean | undefined;
8660
+ } | undefined;
8661
+ guardian_mfa_page?: {
8662
+ html?: string | undefined;
8663
+ enabled?: boolean | undefined;
8664
+ } | undefined;
8665
+ device_flow?: {
8666
+ charset?: "base20" | "digits" | undefined;
8667
+ mask?: string | undefined;
8668
+ } | undefined;
8669
+ default_token_quota?: {
8670
+ clients?: {
8671
+ client_credentials?: Record<string, any> | undefined;
8672
+ } | undefined;
8673
+ organizations?: {
8674
+ client_credentials?: Record<string, any> | undefined;
8675
+ } | undefined;
8676
+ } | undefined;
8677
+ default_audience?: string | undefined;
8678
+ sessions?: {
8679
+ oidc_logout_prompt_enabled?: boolean | undefined;
8680
+ } | undefined;
8681
+ allow_organization_name_in_authentication_api?: boolean | undefined;
8682
+ customize_mfa_in_postlogin_action?: boolean | undefined;
8683
+ acr_values_supported?: string[] | undefined;
8684
+ mtls?: {
8685
+ enable_endpoint_aliases?: boolean | undefined;
8686
+ } | undefined;
8687
+ pushed_authorization_requests_supported?: boolean | undefined;
8688
+ authorization_response_iss_parameter_supported?: boolean | undefined;
8292
8689
  }>;
8293
8690
  connections: z.ZodArray<z.ZodObject<{
8294
8691
  created_at: z.ZodEffects<z.ZodString, string, string>;
@@ -8526,16 +8923,103 @@ declare const LegacyClientSchema: z.ZodObject<{
8526
8923
  tenant: {
8527
8924
  created_at: string;
8528
8925
  updated_at: string;
8529
- name: string;
8530
8926
  audience: string;
8531
8927
  id: string;
8928
+ friendly_name: string;
8532
8929
  sender_email: string;
8533
8930
  sender_name: string;
8931
+ allowed_logout_urls?: string[] | undefined;
8932
+ oidc_logout?: {
8933
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8934
+ } | undefined;
8935
+ default_organization?: string | undefined;
8936
+ picture_url?: string | undefined;
8937
+ support_email?: string | undefined;
8534
8938
  support_url?: string | undefined;
8535
- logo?: string | undefined;
8536
- primary_color?: string | undefined;
8537
- secondary_color?: string | undefined;
8538
- language?: string | undefined;
8939
+ session_lifetime?: number | undefined;
8940
+ idle_session_lifetime?: number | undefined;
8941
+ ephemeral_session_lifetime?: number | undefined;
8942
+ idle_ephemeral_session_lifetime?: number | undefined;
8943
+ session_cookie?: {
8944
+ mode?: "persistent" | "non-persistent" | undefined;
8945
+ } | undefined;
8946
+ default_redirection_uri?: string | undefined;
8947
+ enabled_locales?: string[] | undefined;
8948
+ default_directory?: string | undefined;
8949
+ error_page?: {
8950
+ url?: string | undefined;
8951
+ html?: string | undefined;
8952
+ show_log_link?: boolean | undefined;
8953
+ } | undefined;
8954
+ flags?: {
8955
+ allow_changing_enable_sso?: boolean | undefined;
8956
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8957
+ allow_legacy_ro_grant_types?: boolean | undefined;
8958
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8959
+ change_pwd_flow_v1?: boolean | undefined;
8960
+ custom_domains_provisioning?: boolean | undefined;
8961
+ dashboard_insights_view?: boolean | undefined;
8962
+ dashboard_log_streams_next?: boolean | undefined;
8963
+ disable_clickjack_protection_headers?: boolean | undefined;
8964
+ disable_fields_map_fix?: boolean | undefined;
8965
+ disable_impersonation?: boolean | undefined;
8966
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8967
+ enable_adfs_waad_email_verification?: boolean | undefined;
8968
+ enable_apis_section?: boolean | undefined;
8969
+ enable_client_connections?: boolean | undefined;
8970
+ enable_custom_domain_in_emails?: boolean | undefined;
8971
+ enable_dynamic_client_registration?: boolean | undefined;
8972
+ enable_idtoken_api2?: boolean | undefined;
8973
+ enable_legacy_logs_search_v2?: boolean | undefined;
8974
+ enable_legacy_profile?: boolean | undefined;
8975
+ enable_pipeline2?: boolean | undefined;
8976
+ enable_public_signup_user_exists_error?: boolean | undefined;
8977
+ enable_sso?: boolean | undefined;
8978
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8979
+ genai_trial?: boolean | undefined;
8980
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8981
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8982
+ no_disclose_enterprise_connections?: boolean | undefined;
8983
+ remove_alg_from_jwks?: boolean | undefined;
8984
+ revoke_refresh_token_grant?: boolean | undefined;
8985
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8986
+ use_scope_descriptions_for_consent?: boolean | undefined;
8987
+ } | undefined;
8988
+ sandbox_version?: string | undefined;
8989
+ legacy_sandbox_version?: string | undefined;
8990
+ sandbox_versions_available?: string[] | undefined;
8991
+ change_password?: {
8992
+ html?: string | undefined;
8993
+ enabled?: boolean | undefined;
8994
+ } | undefined;
8995
+ guardian_mfa_page?: {
8996
+ html?: string | undefined;
8997
+ enabled?: boolean | undefined;
8998
+ } | undefined;
8999
+ device_flow?: {
9000
+ charset?: "base20" | "digits" | undefined;
9001
+ mask?: string | undefined;
9002
+ } | undefined;
9003
+ default_token_quota?: {
9004
+ clients?: {
9005
+ client_credentials?: Record<string, any> | undefined;
9006
+ } | undefined;
9007
+ organizations?: {
9008
+ client_credentials?: Record<string, any> | undefined;
9009
+ } | undefined;
9010
+ } | undefined;
9011
+ default_audience?: string | undefined;
9012
+ sessions?: {
9013
+ oidc_logout_prompt_enabled?: boolean | undefined;
9014
+ } | undefined;
9015
+ allow_organization_name_in_authentication_api?: boolean | undefined;
9016
+ customize_mfa_in_postlogin_action?: boolean | undefined;
9017
+ acr_values_supported?: string[] | undefined;
9018
+ mtls?: {
9019
+ enable_endpoint_aliases?: boolean | undefined;
9020
+ } | undefined;
9021
+ pushed_authorization_requests_supported?: boolean | undefined;
9022
+ authorization_response_iss_parameter_supported?: boolean | undefined;
8539
9023
  };
8540
9024
  connections: {
8541
9025
  options: {
@@ -8608,18 +9092,105 @@ declare const LegacyClientSchema: z.ZodObject<{
8608
9092
  name: string;
8609
9093
  client_id: string;
8610
9094
  tenant: {
8611
- created_at: string;
8612
- updated_at: string;
8613
- name: string;
9095
+ created_at: string | null;
9096
+ updated_at: string | null;
8614
9097
  audience: string;
8615
9098
  id: string;
9099
+ friendly_name: string;
8616
9100
  sender_email: string;
8617
9101
  sender_name: string;
9102
+ allowed_logout_urls?: string[] | undefined;
9103
+ oidc_logout?: {
9104
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
9105
+ } | undefined;
9106
+ default_organization?: string | undefined;
9107
+ picture_url?: string | undefined;
9108
+ support_email?: string | undefined;
8618
9109
  support_url?: string | undefined;
8619
- logo?: string | undefined;
8620
- primary_color?: string | undefined;
8621
- secondary_color?: string | undefined;
8622
- language?: string | undefined;
9110
+ session_lifetime?: number | undefined;
9111
+ idle_session_lifetime?: number | undefined;
9112
+ ephemeral_session_lifetime?: number | undefined;
9113
+ idle_ephemeral_session_lifetime?: number | undefined;
9114
+ session_cookie?: {
9115
+ mode?: "persistent" | "non-persistent" | undefined;
9116
+ } | undefined;
9117
+ default_redirection_uri?: string | undefined;
9118
+ enabled_locales?: string[] | undefined;
9119
+ default_directory?: string | undefined;
9120
+ error_page?: {
9121
+ url?: string | undefined;
9122
+ html?: string | undefined;
9123
+ show_log_link?: boolean | undefined;
9124
+ } | undefined;
9125
+ flags?: {
9126
+ allow_changing_enable_sso?: boolean | undefined;
9127
+ allow_legacy_delegation_grant_types?: boolean | undefined;
9128
+ allow_legacy_ro_grant_types?: boolean | undefined;
9129
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
9130
+ change_pwd_flow_v1?: boolean | undefined;
9131
+ custom_domains_provisioning?: boolean | undefined;
9132
+ dashboard_insights_view?: boolean | undefined;
9133
+ dashboard_log_streams_next?: boolean | undefined;
9134
+ disable_clickjack_protection_headers?: boolean | undefined;
9135
+ disable_fields_map_fix?: boolean | undefined;
9136
+ disable_impersonation?: boolean | undefined;
9137
+ disable_management_api_sms_obfuscation?: boolean | undefined;
9138
+ enable_adfs_waad_email_verification?: boolean | undefined;
9139
+ enable_apis_section?: boolean | undefined;
9140
+ enable_client_connections?: boolean | undefined;
9141
+ enable_custom_domain_in_emails?: boolean | undefined;
9142
+ enable_dynamic_client_registration?: boolean | undefined;
9143
+ enable_idtoken_api2?: boolean | undefined;
9144
+ enable_legacy_logs_search_v2?: boolean | undefined;
9145
+ enable_legacy_profile?: boolean | undefined;
9146
+ enable_pipeline2?: boolean | undefined;
9147
+ enable_public_signup_user_exists_error?: boolean | undefined;
9148
+ enable_sso?: boolean | undefined;
9149
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
9150
+ genai_trial?: boolean | undefined;
9151
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
9152
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
9153
+ no_disclose_enterprise_connections?: boolean | undefined;
9154
+ remove_alg_from_jwks?: boolean | undefined;
9155
+ revoke_refresh_token_grant?: boolean | undefined;
9156
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
9157
+ use_scope_descriptions_for_consent?: boolean | undefined;
9158
+ } | undefined;
9159
+ sandbox_version?: string | undefined;
9160
+ legacy_sandbox_version?: string | undefined;
9161
+ sandbox_versions_available?: string[] | undefined;
9162
+ change_password?: {
9163
+ html?: string | undefined;
9164
+ enabled?: boolean | undefined;
9165
+ } | undefined;
9166
+ guardian_mfa_page?: {
9167
+ html?: string | undefined;
9168
+ enabled?: boolean | undefined;
9169
+ } | undefined;
9170
+ device_flow?: {
9171
+ charset?: "base20" | "digits" | undefined;
9172
+ mask?: string | undefined;
9173
+ } | undefined;
9174
+ default_token_quota?: {
9175
+ clients?: {
9176
+ client_credentials?: Record<string, any> | undefined;
9177
+ } | undefined;
9178
+ organizations?: {
9179
+ client_credentials?: Record<string, any> | undefined;
9180
+ } | undefined;
9181
+ } | undefined;
9182
+ default_audience?: string | undefined;
9183
+ sessions?: {
9184
+ oidc_logout_prompt_enabled?: boolean | undefined;
9185
+ } | undefined;
9186
+ allow_organization_name_in_authentication_api?: boolean | undefined;
9187
+ customize_mfa_in_postlogin_action?: boolean | undefined;
9188
+ acr_values_supported?: string[] | undefined;
9189
+ mtls?: {
9190
+ enable_endpoint_aliases?: boolean | undefined;
9191
+ } | undefined;
9192
+ pushed_authorization_requests_supported?: boolean | undefined;
9193
+ authorization_response_iss_parameter_supported?: boolean | undefined;
8623
9194
  };
8624
9195
  connections: {
8625
9196
  created_at: string;
@@ -11237,8 +11808,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
11237
11808
  hook_id: z.ZodOptional<z.ZodString>;
11238
11809
  }, "strip", z.ZodTypeAny, {
11239
11810
  url: string;
11240
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11241
11811
  enabled: boolean;
11812
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11242
11813
  synchronous: boolean;
11243
11814
  priority?: number | undefined;
11244
11815
  hook_id?: string | undefined;
@@ -11262,8 +11833,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
11262
11833
  priority: z.ZodOptional<z.ZodNumber>;
11263
11834
  hook_id: z.ZodOptional<z.ZodString>;
11264
11835
  }, "strip", z.ZodTypeAny, {
11265
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11266
11836
  enabled: boolean;
11837
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11267
11838
  synchronous: boolean;
11268
11839
  form_id: string;
11269
11840
  priority?: number | undefined;
@@ -11296,8 +11867,8 @@ export declare const hookSchema: z.ZodUnion<[
11296
11867
  created_at: string;
11297
11868
  updated_at: string;
11298
11869
  url: string;
11299
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11300
11870
  enabled: boolean;
11871
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11301
11872
  synchronous: boolean;
11302
11873
  hook_id: string;
11303
11874
  priority?: number | undefined;
@@ -11327,8 +11898,8 @@ export declare const hookSchema: z.ZodUnion<[
11327
11898
  }, "strip", z.ZodTypeAny, {
11328
11899
  created_at: string;
11329
11900
  updated_at: string;
11330
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11331
11901
  enabled: boolean;
11902
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11332
11903
  synchronous: boolean;
11333
11904
  hook_id: string;
11334
11905
  form_id: string;
@@ -12240,6 +12811,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
12240
12811
  }, "strip", z.ZodTypeAny, {
12241
12812
  user_id: string;
12242
12813
  id: string;
12814
+ clients: string[];
12243
12815
  login_session_id: string;
12244
12816
  device: {
12245
12817
  last_ip: string;
@@ -12249,7 +12821,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
12249
12821
  last_user_agent: string;
12250
12822
  last_asn: string;
12251
12823
  };
12252
- clients: string[];
12253
12824
  expires_at?: string | undefined;
12254
12825
  used_at?: string | undefined;
12255
12826
  revoked_at?: string | undefined;
@@ -12257,6 +12828,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
12257
12828
  }, {
12258
12829
  user_id: string;
12259
12830
  id: string;
12831
+ clients: string[];
12260
12832
  login_session_id: string;
12261
12833
  device: {
12262
12834
  last_ip: string;
@@ -12266,7 +12838,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
12266
12838
  last_user_agent: string;
12267
12839
  last_asn: string;
12268
12840
  };
12269
- clients: string[];
12270
12841
  expires_at?: string | undefined;
12271
12842
  used_at?: string | undefined;
12272
12843
  revoked_at?: string | undefined;
@@ -12313,6 +12884,7 @@ export declare const sessionSchema: z.ZodObject<{
12313
12884
  updated_at: string;
12314
12885
  user_id: string;
12315
12886
  id: string;
12887
+ clients: string[];
12316
12888
  login_session_id: string;
12317
12889
  device: {
12318
12890
  last_ip: string;
@@ -12322,7 +12894,6 @@ export declare const sessionSchema: z.ZodObject<{
12322
12894
  last_user_agent: string;
12323
12895
  last_asn: string;
12324
12896
  };
12325
- clients: string[];
12326
12897
  authenticated_at: string;
12327
12898
  last_interaction_at: string;
12328
12899
  expires_at?: string | undefined;
@@ -12334,6 +12905,7 @@ export declare const sessionSchema: z.ZodObject<{
12334
12905
  updated_at: string;
12335
12906
  user_id: string;
12336
12907
  id: string;
12908
+ clients: string[];
12337
12909
  login_session_id: string;
12338
12910
  device: {
12339
12911
  last_ip: string;
@@ -12343,7 +12915,6 @@ export declare const sessionSchema: z.ZodObject<{
12343
12915
  last_user_agent: string;
12344
12916
  last_asn: string;
12345
12917
  };
12346
- clients: string[];
12347
12918
  authenticated_at: string;
12348
12919
  last_interaction_at: string;
12349
12920
  expires_at?: string | undefined;
@@ -12403,78 +12974,872 @@ export declare const signingKeySchema: z.ZodObject<{
12403
12974
  }>;
12404
12975
  export type SigningKey = z.infer<typeof signingKeySchema>;
12405
12976
  export declare const tenantInsertSchema: z.ZodObject<{
12406
- name: z.ZodString;
12977
+ id: z.ZodOptional<z.ZodString>;
12407
12978
  audience: z.ZodString;
12979
+ friendly_name: z.ZodString;
12980
+ picture_url: z.ZodOptional<z.ZodString>;
12981
+ support_email: z.ZodOptional<z.ZodString>;
12982
+ support_url: z.ZodOptional<z.ZodString>;
12408
12983
  sender_email: z.ZodString;
12409
12984
  sender_name: z.ZodString;
12410
- support_url: z.ZodOptional<z.ZodString>;
12411
- logo: z.ZodOptional<z.ZodString>;
12412
- primary_color: z.ZodOptional<z.ZodString>;
12413
- secondary_color: z.ZodOptional<z.ZodString>;
12414
- language: z.ZodOptional<z.ZodString>;
12415
- id: z.ZodOptional<z.ZodString>;
12985
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
12986
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
12987
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
12988
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
12989
+ session_cookie: z.ZodOptional<z.ZodObject<{
12990
+ mode: z.ZodOptional<z.ZodEnum<[
12991
+ "persistent",
12992
+ "non-persistent"
12993
+ ]>>;
12994
+ }, "strip", z.ZodTypeAny, {
12995
+ mode?: "persistent" | "non-persistent" | undefined;
12996
+ }, {
12997
+ mode?: "persistent" | "non-persistent" | undefined;
12998
+ }>>;
12999
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13000
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
13001
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13002
+ default_directory: z.ZodOptional<z.ZodString>;
13003
+ error_page: z.ZodOptional<z.ZodObject<{
13004
+ html: z.ZodOptional<z.ZodString>;
13005
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
13006
+ url: z.ZodOptional<z.ZodString>;
13007
+ }, "strip", z.ZodTypeAny, {
13008
+ url?: string | undefined;
13009
+ html?: string | undefined;
13010
+ show_log_link?: boolean | undefined;
13011
+ }, {
13012
+ url?: string | undefined;
13013
+ html?: string | undefined;
13014
+ show_log_link?: boolean | undefined;
13015
+ }>>;
13016
+ flags: z.ZodOptional<z.ZodObject<{
13017
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
13018
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
13019
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
13020
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
13021
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
13022
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
13023
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
13024
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
13025
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
13026
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
13027
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
13028
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
13029
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
13030
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
13031
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
13032
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
13033
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
13034
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
13035
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
13036
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
13037
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
13038
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
13039
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
13040
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
13041
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
13042
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
13043
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
13044
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
13045
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
13046
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
13047
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
13048
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
13049
+ }, "strip", z.ZodTypeAny, {
13050
+ allow_changing_enable_sso?: boolean | undefined;
13051
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13052
+ allow_legacy_ro_grant_types?: boolean | undefined;
13053
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13054
+ change_pwd_flow_v1?: boolean | undefined;
13055
+ custom_domains_provisioning?: boolean | undefined;
13056
+ dashboard_insights_view?: boolean | undefined;
13057
+ dashboard_log_streams_next?: boolean | undefined;
13058
+ disable_clickjack_protection_headers?: boolean | undefined;
13059
+ disable_fields_map_fix?: boolean | undefined;
13060
+ disable_impersonation?: boolean | undefined;
13061
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13062
+ enable_adfs_waad_email_verification?: boolean | undefined;
13063
+ enable_apis_section?: boolean | undefined;
13064
+ enable_client_connections?: boolean | undefined;
13065
+ enable_custom_domain_in_emails?: boolean | undefined;
13066
+ enable_dynamic_client_registration?: boolean | undefined;
13067
+ enable_idtoken_api2?: boolean | undefined;
13068
+ enable_legacy_logs_search_v2?: boolean | undefined;
13069
+ enable_legacy_profile?: boolean | undefined;
13070
+ enable_pipeline2?: boolean | undefined;
13071
+ enable_public_signup_user_exists_error?: boolean | undefined;
13072
+ enable_sso?: boolean | undefined;
13073
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13074
+ genai_trial?: boolean | undefined;
13075
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13076
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13077
+ no_disclose_enterprise_connections?: boolean | undefined;
13078
+ remove_alg_from_jwks?: boolean | undefined;
13079
+ revoke_refresh_token_grant?: boolean | undefined;
13080
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13081
+ use_scope_descriptions_for_consent?: boolean | undefined;
13082
+ }, {
13083
+ allow_changing_enable_sso?: boolean | undefined;
13084
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13085
+ allow_legacy_ro_grant_types?: boolean | undefined;
13086
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13087
+ change_pwd_flow_v1?: boolean | undefined;
13088
+ custom_domains_provisioning?: boolean | undefined;
13089
+ dashboard_insights_view?: boolean | undefined;
13090
+ dashboard_log_streams_next?: boolean | undefined;
13091
+ disable_clickjack_protection_headers?: boolean | undefined;
13092
+ disable_fields_map_fix?: boolean | undefined;
13093
+ disable_impersonation?: boolean | undefined;
13094
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13095
+ enable_adfs_waad_email_verification?: boolean | undefined;
13096
+ enable_apis_section?: boolean | undefined;
13097
+ enable_client_connections?: boolean | undefined;
13098
+ enable_custom_domain_in_emails?: boolean | undefined;
13099
+ enable_dynamic_client_registration?: boolean | undefined;
13100
+ enable_idtoken_api2?: boolean | undefined;
13101
+ enable_legacy_logs_search_v2?: boolean | undefined;
13102
+ enable_legacy_profile?: boolean | undefined;
13103
+ enable_pipeline2?: boolean | undefined;
13104
+ enable_public_signup_user_exists_error?: boolean | undefined;
13105
+ enable_sso?: boolean | undefined;
13106
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13107
+ genai_trial?: boolean | undefined;
13108
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13109
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13110
+ no_disclose_enterprise_connections?: boolean | undefined;
13111
+ remove_alg_from_jwks?: boolean | undefined;
13112
+ revoke_refresh_token_grant?: boolean | undefined;
13113
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13114
+ use_scope_descriptions_for_consent?: boolean | undefined;
13115
+ }>>;
13116
+ sandbox_version: z.ZodOptional<z.ZodString>;
13117
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
13118
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13119
+ change_password: z.ZodOptional<z.ZodObject<{
13120
+ enabled: z.ZodOptional<z.ZodBoolean>;
13121
+ html: z.ZodOptional<z.ZodString>;
13122
+ }, "strip", z.ZodTypeAny, {
13123
+ html?: string | undefined;
13124
+ enabled?: boolean | undefined;
13125
+ }, {
13126
+ html?: string | undefined;
13127
+ enabled?: boolean | undefined;
13128
+ }>>;
13129
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
13130
+ enabled: z.ZodOptional<z.ZodBoolean>;
13131
+ html: z.ZodOptional<z.ZodString>;
13132
+ }, "strip", z.ZodTypeAny, {
13133
+ html?: string | undefined;
13134
+ enabled?: boolean | undefined;
13135
+ }, {
13136
+ html?: string | undefined;
13137
+ enabled?: boolean | undefined;
13138
+ }>>;
13139
+ device_flow: z.ZodOptional<z.ZodObject<{
13140
+ charset: z.ZodOptional<z.ZodEnum<[
13141
+ "base20",
13142
+ "digits"
13143
+ ]>>;
13144
+ mask: z.ZodOptional<z.ZodString>;
13145
+ }, "strip", z.ZodTypeAny, {
13146
+ charset?: "base20" | "digits" | undefined;
13147
+ mask?: string | undefined;
13148
+ }, {
13149
+ charset?: "base20" | "digits" | undefined;
13150
+ mask?: string | undefined;
13151
+ }>>;
13152
+ default_token_quota: z.ZodOptional<z.ZodObject<{
13153
+ clients: z.ZodOptional<z.ZodObject<{
13154
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13155
+ }, "strip", z.ZodTypeAny, {
13156
+ client_credentials?: Record<string, any> | undefined;
13157
+ }, {
13158
+ client_credentials?: Record<string, any> | undefined;
13159
+ }>>;
13160
+ organizations: z.ZodOptional<z.ZodObject<{
13161
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13162
+ }, "strip", z.ZodTypeAny, {
13163
+ client_credentials?: Record<string, any> | undefined;
13164
+ }, {
13165
+ client_credentials?: Record<string, any> | undefined;
13166
+ }>>;
13167
+ }, "strip", z.ZodTypeAny, {
13168
+ clients?: {
13169
+ client_credentials?: Record<string, any> | undefined;
13170
+ } | undefined;
13171
+ organizations?: {
13172
+ client_credentials?: Record<string, any> | undefined;
13173
+ } | undefined;
13174
+ }, {
13175
+ clients?: {
13176
+ client_credentials?: Record<string, any> | undefined;
13177
+ } | undefined;
13178
+ organizations?: {
13179
+ client_credentials?: Record<string, any> | undefined;
13180
+ } | undefined;
13181
+ }>>;
13182
+ default_audience: z.ZodOptional<z.ZodString>;
13183
+ default_organization: z.ZodOptional<z.ZodString>;
13184
+ sessions: z.ZodOptional<z.ZodObject<{
13185
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
13186
+ }, "strip", z.ZodTypeAny, {
13187
+ oidc_logout_prompt_enabled?: boolean | undefined;
13188
+ }, {
13189
+ oidc_logout_prompt_enabled?: boolean | undefined;
13190
+ }>>;
13191
+ oidc_logout: z.ZodOptional<z.ZodObject<{
13192
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
13193
+ }, "strip", z.ZodTypeAny, {
13194
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13195
+ }, {
13196
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13197
+ }>>;
13198
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
13199
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
13200
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13201
+ mtls: z.ZodOptional<z.ZodObject<{
13202
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
13203
+ }, "strip", z.ZodTypeAny, {
13204
+ enable_endpoint_aliases?: boolean | undefined;
13205
+ }, {
13206
+ enable_endpoint_aliases?: boolean | undefined;
13207
+ }>>;
13208
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
13209
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
12416
13210
  }, "strip", z.ZodTypeAny, {
12417
- name: string;
12418
13211
  audience: string;
13212
+ friendly_name: string;
12419
13213
  sender_email: string;
12420
13214
  sender_name: string;
13215
+ allowed_logout_urls?: string[] | undefined;
13216
+ oidc_logout?: {
13217
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13218
+ } | undefined;
13219
+ default_organization?: string | undefined;
12421
13220
  id?: string | undefined;
13221
+ picture_url?: string | undefined;
13222
+ support_email?: string | undefined;
12422
13223
  support_url?: string | undefined;
12423
- logo?: string | undefined;
12424
- primary_color?: string | undefined;
12425
- secondary_color?: string | undefined;
12426
- language?: string | undefined;
13224
+ session_lifetime?: number | undefined;
13225
+ idle_session_lifetime?: number | undefined;
13226
+ ephemeral_session_lifetime?: number | undefined;
13227
+ idle_ephemeral_session_lifetime?: number | undefined;
13228
+ session_cookie?: {
13229
+ mode?: "persistent" | "non-persistent" | undefined;
13230
+ } | undefined;
13231
+ default_redirection_uri?: string | undefined;
13232
+ enabled_locales?: string[] | undefined;
13233
+ default_directory?: string | undefined;
13234
+ error_page?: {
13235
+ url?: string | undefined;
13236
+ html?: string | undefined;
13237
+ show_log_link?: boolean | undefined;
13238
+ } | undefined;
13239
+ flags?: {
13240
+ allow_changing_enable_sso?: boolean | undefined;
13241
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13242
+ allow_legacy_ro_grant_types?: boolean | undefined;
13243
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13244
+ change_pwd_flow_v1?: boolean | undefined;
13245
+ custom_domains_provisioning?: boolean | undefined;
13246
+ dashboard_insights_view?: boolean | undefined;
13247
+ dashboard_log_streams_next?: boolean | undefined;
13248
+ disable_clickjack_protection_headers?: boolean | undefined;
13249
+ disable_fields_map_fix?: boolean | undefined;
13250
+ disable_impersonation?: boolean | undefined;
13251
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13252
+ enable_adfs_waad_email_verification?: boolean | undefined;
13253
+ enable_apis_section?: boolean | undefined;
13254
+ enable_client_connections?: boolean | undefined;
13255
+ enable_custom_domain_in_emails?: boolean | undefined;
13256
+ enable_dynamic_client_registration?: boolean | undefined;
13257
+ enable_idtoken_api2?: boolean | undefined;
13258
+ enable_legacy_logs_search_v2?: boolean | undefined;
13259
+ enable_legacy_profile?: boolean | undefined;
13260
+ enable_pipeline2?: boolean | undefined;
13261
+ enable_public_signup_user_exists_error?: boolean | undefined;
13262
+ enable_sso?: boolean | undefined;
13263
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13264
+ genai_trial?: boolean | undefined;
13265
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13266
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13267
+ no_disclose_enterprise_connections?: boolean | undefined;
13268
+ remove_alg_from_jwks?: boolean | undefined;
13269
+ revoke_refresh_token_grant?: boolean | undefined;
13270
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13271
+ use_scope_descriptions_for_consent?: boolean | undefined;
13272
+ } | undefined;
13273
+ sandbox_version?: string | undefined;
13274
+ legacy_sandbox_version?: string | undefined;
13275
+ sandbox_versions_available?: string[] | undefined;
13276
+ change_password?: {
13277
+ html?: string | undefined;
13278
+ enabled?: boolean | undefined;
13279
+ } | undefined;
13280
+ guardian_mfa_page?: {
13281
+ html?: string | undefined;
13282
+ enabled?: boolean | undefined;
13283
+ } | undefined;
13284
+ device_flow?: {
13285
+ charset?: "base20" | "digits" | undefined;
13286
+ mask?: string | undefined;
13287
+ } | undefined;
13288
+ default_token_quota?: {
13289
+ clients?: {
13290
+ client_credentials?: Record<string, any> | undefined;
13291
+ } | undefined;
13292
+ organizations?: {
13293
+ client_credentials?: Record<string, any> | undefined;
13294
+ } | undefined;
13295
+ } | undefined;
13296
+ default_audience?: string | undefined;
13297
+ sessions?: {
13298
+ oidc_logout_prompt_enabled?: boolean | undefined;
13299
+ } | undefined;
13300
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13301
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13302
+ acr_values_supported?: string[] | undefined;
13303
+ mtls?: {
13304
+ enable_endpoint_aliases?: boolean | undefined;
13305
+ } | undefined;
13306
+ pushed_authorization_requests_supported?: boolean | undefined;
13307
+ authorization_response_iss_parameter_supported?: boolean | undefined;
12427
13308
  }, {
12428
- name: string;
12429
13309
  audience: string;
13310
+ friendly_name: string;
12430
13311
  sender_email: string;
12431
13312
  sender_name: string;
13313
+ allowed_logout_urls?: string[] | undefined;
13314
+ oidc_logout?: {
13315
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13316
+ } | undefined;
13317
+ default_organization?: string | undefined;
12432
13318
  id?: string | undefined;
13319
+ picture_url?: string | undefined;
13320
+ support_email?: string | undefined;
12433
13321
  support_url?: string | undefined;
12434
- logo?: string | undefined;
12435
- primary_color?: string | undefined;
12436
- secondary_color?: string | undefined;
12437
- language?: string | undefined;
13322
+ session_lifetime?: number | undefined;
13323
+ idle_session_lifetime?: number | undefined;
13324
+ ephemeral_session_lifetime?: number | undefined;
13325
+ idle_ephemeral_session_lifetime?: number | undefined;
13326
+ session_cookie?: {
13327
+ mode?: "persistent" | "non-persistent" | undefined;
13328
+ } | undefined;
13329
+ default_redirection_uri?: string | undefined;
13330
+ enabled_locales?: string[] | undefined;
13331
+ default_directory?: string | undefined;
13332
+ error_page?: {
13333
+ url?: string | undefined;
13334
+ html?: string | undefined;
13335
+ show_log_link?: boolean | undefined;
13336
+ } | undefined;
13337
+ flags?: {
13338
+ allow_changing_enable_sso?: boolean | undefined;
13339
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13340
+ allow_legacy_ro_grant_types?: boolean | undefined;
13341
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13342
+ change_pwd_flow_v1?: boolean | undefined;
13343
+ custom_domains_provisioning?: boolean | undefined;
13344
+ dashboard_insights_view?: boolean | undefined;
13345
+ dashboard_log_streams_next?: boolean | undefined;
13346
+ disable_clickjack_protection_headers?: boolean | undefined;
13347
+ disable_fields_map_fix?: boolean | undefined;
13348
+ disable_impersonation?: boolean | undefined;
13349
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13350
+ enable_adfs_waad_email_verification?: boolean | undefined;
13351
+ enable_apis_section?: boolean | undefined;
13352
+ enable_client_connections?: boolean | undefined;
13353
+ enable_custom_domain_in_emails?: boolean | undefined;
13354
+ enable_dynamic_client_registration?: boolean | undefined;
13355
+ enable_idtoken_api2?: boolean | undefined;
13356
+ enable_legacy_logs_search_v2?: boolean | undefined;
13357
+ enable_legacy_profile?: boolean | undefined;
13358
+ enable_pipeline2?: boolean | undefined;
13359
+ enable_public_signup_user_exists_error?: boolean | undefined;
13360
+ enable_sso?: boolean | undefined;
13361
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13362
+ genai_trial?: boolean | undefined;
13363
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13364
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13365
+ no_disclose_enterprise_connections?: boolean | undefined;
13366
+ remove_alg_from_jwks?: boolean | undefined;
13367
+ revoke_refresh_token_grant?: boolean | undefined;
13368
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13369
+ use_scope_descriptions_for_consent?: boolean | undefined;
13370
+ } | undefined;
13371
+ sandbox_version?: string | undefined;
13372
+ legacy_sandbox_version?: string | undefined;
13373
+ sandbox_versions_available?: string[] | undefined;
13374
+ change_password?: {
13375
+ html?: string | undefined;
13376
+ enabled?: boolean | undefined;
13377
+ } | undefined;
13378
+ guardian_mfa_page?: {
13379
+ html?: string | undefined;
13380
+ enabled?: boolean | undefined;
13381
+ } | undefined;
13382
+ device_flow?: {
13383
+ charset?: "base20" | "digits" | undefined;
13384
+ mask?: string | undefined;
13385
+ } | undefined;
13386
+ default_token_quota?: {
13387
+ clients?: {
13388
+ client_credentials?: Record<string, any> | undefined;
13389
+ } | undefined;
13390
+ organizations?: {
13391
+ client_credentials?: Record<string, any> | undefined;
13392
+ } | undefined;
13393
+ } | undefined;
13394
+ default_audience?: string | undefined;
13395
+ sessions?: {
13396
+ oidc_logout_prompt_enabled?: boolean | undefined;
13397
+ } | undefined;
13398
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13399
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13400
+ acr_values_supported?: string[] | undefined;
13401
+ mtls?: {
13402
+ enable_endpoint_aliases?: boolean | undefined;
13403
+ } | undefined;
13404
+ pushed_authorization_requests_supported?: boolean | undefined;
13405
+ authorization_response_iss_parameter_supported?: boolean | undefined;
12438
13406
  }>;
12439
13407
  export declare const tenantSchema: z.ZodObject<{
12440
13408
  id: z.ZodString;
12441
- name: z.ZodString;
12442
13409
  audience: z.ZodString;
13410
+ friendly_name: z.ZodString;
13411
+ picture_url: z.ZodOptional<z.ZodString>;
13412
+ support_email: z.ZodOptional<z.ZodString>;
13413
+ support_url: z.ZodOptional<z.ZodString>;
12443
13414
  sender_email: z.ZodString;
12444
13415
  sender_name: z.ZodString;
12445
- support_url: z.ZodOptional<z.ZodString>;
12446
- logo: z.ZodOptional<z.ZodString>;
12447
- primary_color: z.ZodOptional<z.ZodString>;
12448
- secondary_color: z.ZodOptional<z.ZodString>;
12449
- language: z.ZodOptional<z.ZodString>;
12450
- created_at: z.ZodEffects<z.ZodString, string, string>;
12451
- updated_at: z.ZodEffects<z.ZodString, string, string>;
13416
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
13417
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
13418
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
13419
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
13420
+ session_cookie: z.ZodOptional<z.ZodObject<{
13421
+ mode: z.ZodOptional<z.ZodEnum<[
13422
+ "persistent",
13423
+ "non-persistent"
13424
+ ]>>;
13425
+ }, "strip", z.ZodTypeAny, {
13426
+ mode?: "persistent" | "non-persistent" | undefined;
13427
+ }, {
13428
+ mode?: "persistent" | "non-persistent" | undefined;
13429
+ }>>;
13430
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13431
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
13432
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13433
+ default_directory: z.ZodOptional<z.ZodString>;
13434
+ error_page: z.ZodOptional<z.ZodObject<{
13435
+ html: z.ZodOptional<z.ZodString>;
13436
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
13437
+ url: z.ZodOptional<z.ZodString>;
13438
+ }, "strip", z.ZodTypeAny, {
13439
+ url?: string | undefined;
13440
+ html?: string | undefined;
13441
+ show_log_link?: boolean | undefined;
13442
+ }, {
13443
+ url?: string | undefined;
13444
+ html?: string | undefined;
13445
+ show_log_link?: boolean | undefined;
13446
+ }>>;
13447
+ flags: z.ZodOptional<z.ZodObject<{
13448
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
13449
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
13450
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
13451
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
13452
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
13453
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
13454
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
13455
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
13456
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
13457
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
13458
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
13459
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
13460
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
13461
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
13462
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
13463
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
13464
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
13465
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
13466
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
13467
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
13468
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
13469
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
13470
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
13471
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
13472
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
13473
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
13474
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
13475
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
13476
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
13477
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
13478
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
13479
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
13480
+ }, "strip", z.ZodTypeAny, {
13481
+ allow_changing_enable_sso?: boolean | undefined;
13482
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13483
+ allow_legacy_ro_grant_types?: boolean | undefined;
13484
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13485
+ change_pwd_flow_v1?: boolean | undefined;
13486
+ custom_domains_provisioning?: boolean | undefined;
13487
+ dashboard_insights_view?: boolean | undefined;
13488
+ dashboard_log_streams_next?: boolean | undefined;
13489
+ disable_clickjack_protection_headers?: boolean | undefined;
13490
+ disable_fields_map_fix?: boolean | undefined;
13491
+ disable_impersonation?: boolean | undefined;
13492
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13493
+ enable_adfs_waad_email_verification?: boolean | undefined;
13494
+ enable_apis_section?: boolean | undefined;
13495
+ enable_client_connections?: boolean | undefined;
13496
+ enable_custom_domain_in_emails?: boolean | undefined;
13497
+ enable_dynamic_client_registration?: boolean | undefined;
13498
+ enable_idtoken_api2?: boolean | undefined;
13499
+ enable_legacy_logs_search_v2?: boolean | undefined;
13500
+ enable_legacy_profile?: boolean | undefined;
13501
+ enable_pipeline2?: boolean | undefined;
13502
+ enable_public_signup_user_exists_error?: boolean | undefined;
13503
+ enable_sso?: boolean | undefined;
13504
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13505
+ genai_trial?: boolean | undefined;
13506
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13507
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13508
+ no_disclose_enterprise_connections?: boolean | undefined;
13509
+ remove_alg_from_jwks?: boolean | undefined;
13510
+ revoke_refresh_token_grant?: boolean | undefined;
13511
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13512
+ use_scope_descriptions_for_consent?: boolean | undefined;
13513
+ }, {
13514
+ allow_changing_enable_sso?: boolean | undefined;
13515
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13516
+ allow_legacy_ro_grant_types?: boolean | undefined;
13517
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13518
+ change_pwd_flow_v1?: boolean | undefined;
13519
+ custom_domains_provisioning?: boolean | undefined;
13520
+ dashboard_insights_view?: boolean | undefined;
13521
+ dashboard_log_streams_next?: boolean | undefined;
13522
+ disable_clickjack_protection_headers?: boolean | undefined;
13523
+ disable_fields_map_fix?: boolean | undefined;
13524
+ disable_impersonation?: boolean | undefined;
13525
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13526
+ enable_adfs_waad_email_verification?: boolean | undefined;
13527
+ enable_apis_section?: boolean | undefined;
13528
+ enable_client_connections?: boolean | undefined;
13529
+ enable_custom_domain_in_emails?: boolean | undefined;
13530
+ enable_dynamic_client_registration?: boolean | undefined;
13531
+ enable_idtoken_api2?: boolean | undefined;
13532
+ enable_legacy_logs_search_v2?: boolean | undefined;
13533
+ enable_legacy_profile?: boolean | undefined;
13534
+ enable_pipeline2?: boolean | undefined;
13535
+ enable_public_signup_user_exists_error?: boolean | undefined;
13536
+ enable_sso?: boolean | undefined;
13537
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13538
+ genai_trial?: boolean | undefined;
13539
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13540
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13541
+ no_disclose_enterprise_connections?: boolean | undefined;
13542
+ remove_alg_from_jwks?: boolean | undefined;
13543
+ revoke_refresh_token_grant?: boolean | undefined;
13544
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13545
+ use_scope_descriptions_for_consent?: boolean | undefined;
13546
+ }>>;
13547
+ sandbox_version: z.ZodOptional<z.ZodString>;
13548
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
13549
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13550
+ change_password: z.ZodOptional<z.ZodObject<{
13551
+ enabled: z.ZodOptional<z.ZodBoolean>;
13552
+ html: z.ZodOptional<z.ZodString>;
13553
+ }, "strip", z.ZodTypeAny, {
13554
+ html?: string | undefined;
13555
+ enabled?: boolean | undefined;
13556
+ }, {
13557
+ html?: string | undefined;
13558
+ enabled?: boolean | undefined;
13559
+ }>>;
13560
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
13561
+ enabled: z.ZodOptional<z.ZodBoolean>;
13562
+ html: z.ZodOptional<z.ZodString>;
13563
+ }, "strip", z.ZodTypeAny, {
13564
+ html?: string | undefined;
13565
+ enabled?: boolean | undefined;
13566
+ }, {
13567
+ html?: string | undefined;
13568
+ enabled?: boolean | undefined;
13569
+ }>>;
13570
+ device_flow: z.ZodOptional<z.ZodObject<{
13571
+ charset: z.ZodOptional<z.ZodEnum<[
13572
+ "base20",
13573
+ "digits"
13574
+ ]>>;
13575
+ mask: z.ZodOptional<z.ZodString>;
13576
+ }, "strip", z.ZodTypeAny, {
13577
+ charset?: "base20" | "digits" | undefined;
13578
+ mask?: string | undefined;
13579
+ }, {
13580
+ charset?: "base20" | "digits" | undefined;
13581
+ mask?: string | undefined;
13582
+ }>>;
13583
+ default_token_quota: z.ZodOptional<z.ZodObject<{
13584
+ clients: z.ZodOptional<z.ZodObject<{
13585
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13586
+ }, "strip", z.ZodTypeAny, {
13587
+ client_credentials?: Record<string, any> | undefined;
13588
+ }, {
13589
+ client_credentials?: Record<string, any> | undefined;
13590
+ }>>;
13591
+ organizations: z.ZodOptional<z.ZodObject<{
13592
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13593
+ }, "strip", z.ZodTypeAny, {
13594
+ client_credentials?: Record<string, any> | undefined;
13595
+ }, {
13596
+ client_credentials?: Record<string, any> | undefined;
13597
+ }>>;
13598
+ }, "strip", z.ZodTypeAny, {
13599
+ clients?: {
13600
+ client_credentials?: Record<string, any> | undefined;
13601
+ } | undefined;
13602
+ organizations?: {
13603
+ client_credentials?: Record<string, any> | undefined;
13604
+ } | undefined;
13605
+ }, {
13606
+ clients?: {
13607
+ client_credentials?: Record<string, any> | undefined;
13608
+ } | undefined;
13609
+ organizations?: {
13610
+ client_credentials?: Record<string, any> | undefined;
13611
+ } | undefined;
13612
+ }>>;
13613
+ default_audience: z.ZodOptional<z.ZodString>;
13614
+ default_organization: z.ZodOptional<z.ZodString>;
13615
+ sessions: z.ZodOptional<z.ZodObject<{
13616
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
13617
+ }, "strip", z.ZodTypeAny, {
13618
+ oidc_logout_prompt_enabled?: boolean | undefined;
13619
+ }, {
13620
+ oidc_logout_prompt_enabled?: boolean | undefined;
13621
+ }>>;
13622
+ oidc_logout: z.ZodOptional<z.ZodObject<{
13623
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
13624
+ }, "strip", z.ZodTypeAny, {
13625
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13626
+ }, {
13627
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13628
+ }>>;
13629
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
13630
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
13631
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13632
+ mtls: z.ZodOptional<z.ZodObject<{
13633
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
13634
+ }, "strip", z.ZodTypeAny, {
13635
+ enable_endpoint_aliases?: boolean | undefined;
13636
+ }, {
13637
+ enable_endpoint_aliases?: boolean | undefined;
13638
+ }>>;
13639
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
13640
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
13641
+ created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
13642
+ updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
12452
13643
  }, "strip", z.ZodTypeAny, {
12453
13644
  created_at: string;
12454
13645
  updated_at: string;
12455
- name: string;
12456
13646
  audience: string;
12457
13647
  id: string;
13648
+ friendly_name: string;
12458
13649
  sender_email: string;
12459
13650
  sender_name: string;
13651
+ allowed_logout_urls?: string[] | undefined;
13652
+ oidc_logout?: {
13653
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13654
+ } | undefined;
13655
+ default_organization?: string | undefined;
13656
+ picture_url?: string | undefined;
13657
+ support_email?: string | undefined;
12460
13658
  support_url?: string | undefined;
12461
- logo?: string | undefined;
12462
- primary_color?: string | undefined;
12463
- secondary_color?: string | undefined;
12464
- language?: string | undefined;
13659
+ session_lifetime?: number | undefined;
13660
+ idle_session_lifetime?: number | undefined;
13661
+ ephemeral_session_lifetime?: number | undefined;
13662
+ idle_ephemeral_session_lifetime?: number | undefined;
13663
+ session_cookie?: {
13664
+ mode?: "persistent" | "non-persistent" | undefined;
13665
+ } | undefined;
13666
+ default_redirection_uri?: string | undefined;
13667
+ enabled_locales?: string[] | undefined;
13668
+ default_directory?: string | undefined;
13669
+ error_page?: {
13670
+ url?: string | undefined;
13671
+ html?: string | undefined;
13672
+ show_log_link?: boolean | undefined;
13673
+ } | undefined;
13674
+ flags?: {
13675
+ allow_changing_enable_sso?: boolean | undefined;
13676
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13677
+ allow_legacy_ro_grant_types?: boolean | undefined;
13678
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13679
+ change_pwd_flow_v1?: boolean | undefined;
13680
+ custom_domains_provisioning?: boolean | undefined;
13681
+ dashboard_insights_view?: boolean | undefined;
13682
+ dashboard_log_streams_next?: boolean | undefined;
13683
+ disable_clickjack_protection_headers?: boolean | undefined;
13684
+ disable_fields_map_fix?: boolean | undefined;
13685
+ disable_impersonation?: boolean | undefined;
13686
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13687
+ enable_adfs_waad_email_verification?: boolean | undefined;
13688
+ enable_apis_section?: boolean | undefined;
13689
+ enable_client_connections?: boolean | undefined;
13690
+ enable_custom_domain_in_emails?: boolean | undefined;
13691
+ enable_dynamic_client_registration?: boolean | undefined;
13692
+ enable_idtoken_api2?: boolean | undefined;
13693
+ enable_legacy_logs_search_v2?: boolean | undefined;
13694
+ enable_legacy_profile?: boolean | undefined;
13695
+ enable_pipeline2?: boolean | undefined;
13696
+ enable_public_signup_user_exists_error?: boolean | undefined;
13697
+ enable_sso?: boolean | undefined;
13698
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13699
+ genai_trial?: boolean | undefined;
13700
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13701
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13702
+ no_disclose_enterprise_connections?: boolean | undefined;
13703
+ remove_alg_from_jwks?: boolean | undefined;
13704
+ revoke_refresh_token_grant?: boolean | undefined;
13705
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13706
+ use_scope_descriptions_for_consent?: boolean | undefined;
13707
+ } | undefined;
13708
+ sandbox_version?: string | undefined;
13709
+ legacy_sandbox_version?: string | undefined;
13710
+ sandbox_versions_available?: string[] | undefined;
13711
+ change_password?: {
13712
+ html?: string | undefined;
13713
+ enabled?: boolean | undefined;
13714
+ } | undefined;
13715
+ guardian_mfa_page?: {
13716
+ html?: string | undefined;
13717
+ enabled?: boolean | undefined;
13718
+ } | undefined;
13719
+ device_flow?: {
13720
+ charset?: "base20" | "digits" | undefined;
13721
+ mask?: string | undefined;
13722
+ } | undefined;
13723
+ default_token_quota?: {
13724
+ clients?: {
13725
+ client_credentials?: Record<string, any> | undefined;
13726
+ } | undefined;
13727
+ organizations?: {
13728
+ client_credentials?: Record<string, any> | undefined;
13729
+ } | undefined;
13730
+ } | undefined;
13731
+ default_audience?: string | undefined;
13732
+ sessions?: {
13733
+ oidc_logout_prompt_enabled?: boolean | undefined;
13734
+ } | undefined;
13735
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13736
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13737
+ acr_values_supported?: string[] | undefined;
13738
+ mtls?: {
13739
+ enable_endpoint_aliases?: boolean | undefined;
13740
+ } | undefined;
13741
+ pushed_authorization_requests_supported?: boolean | undefined;
13742
+ authorization_response_iss_parameter_supported?: boolean | undefined;
12465
13743
  }, {
12466
- created_at: string;
12467
- updated_at: string;
12468
- name: string;
13744
+ created_at: string | null;
13745
+ updated_at: string | null;
12469
13746
  audience: string;
12470
13747
  id: string;
13748
+ friendly_name: string;
12471
13749
  sender_email: string;
12472
13750
  sender_name: string;
13751
+ allowed_logout_urls?: string[] | undefined;
13752
+ oidc_logout?: {
13753
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13754
+ } | undefined;
13755
+ default_organization?: string | undefined;
13756
+ picture_url?: string | undefined;
13757
+ support_email?: string | undefined;
12473
13758
  support_url?: string | undefined;
12474
- logo?: string | undefined;
12475
- primary_color?: string | undefined;
12476
- secondary_color?: string | undefined;
12477
- language?: string | undefined;
13759
+ session_lifetime?: number | undefined;
13760
+ idle_session_lifetime?: number | undefined;
13761
+ ephemeral_session_lifetime?: number | undefined;
13762
+ idle_ephemeral_session_lifetime?: number | undefined;
13763
+ session_cookie?: {
13764
+ mode?: "persistent" | "non-persistent" | undefined;
13765
+ } | undefined;
13766
+ default_redirection_uri?: string | undefined;
13767
+ enabled_locales?: string[] | undefined;
13768
+ default_directory?: string | undefined;
13769
+ error_page?: {
13770
+ url?: string | undefined;
13771
+ html?: string | undefined;
13772
+ show_log_link?: boolean | undefined;
13773
+ } | undefined;
13774
+ flags?: {
13775
+ allow_changing_enable_sso?: boolean | undefined;
13776
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13777
+ allow_legacy_ro_grant_types?: boolean | undefined;
13778
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13779
+ change_pwd_flow_v1?: boolean | undefined;
13780
+ custom_domains_provisioning?: boolean | undefined;
13781
+ dashboard_insights_view?: boolean | undefined;
13782
+ dashboard_log_streams_next?: boolean | undefined;
13783
+ disable_clickjack_protection_headers?: boolean | undefined;
13784
+ disable_fields_map_fix?: boolean | undefined;
13785
+ disable_impersonation?: boolean | undefined;
13786
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13787
+ enable_adfs_waad_email_verification?: boolean | undefined;
13788
+ enable_apis_section?: boolean | undefined;
13789
+ enable_client_connections?: boolean | undefined;
13790
+ enable_custom_domain_in_emails?: boolean | undefined;
13791
+ enable_dynamic_client_registration?: boolean | undefined;
13792
+ enable_idtoken_api2?: boolean | undefined;
13793
+ enable_legacy_logs_search_v2?: boolean | undefined;
13794
+ enable_legacy_profile?: boolean | undefined;
13795
+ enable_pipeline2?: boolean | undefined;
13796
+ enable_public_signup_user_exists_error?: boolean | undefined;
13797
+ enable_sso?: boolean | undefined;
13798
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13799
+ genai_trial?: boolean | undefined;
13800
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13801
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13802
+ no_disclose_enterprise_connections?: boolean | undefined;
13803
+ remove_alg_from_jwks?: boolean | undefined;
13804
+ revoke_refresh_token_grant?: boolean | undefined;
13805
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13806
+ use_scope_descriptions_for_consent?: boolean | undefined;
13807
+ } | undefined;
13808
+ sandbox_version?: string | undefined;
13809
+ legacy_sandbox_version?: string | undefined;
13810
+ sandbox_versions_available?: string[] | undefined;
13811
+ change_password?: {
13812
+ html?: string | undefined;
13813
+ enabled?: boolean | undefined;
13814
+ } | undefined;
13815
+ guardian_mfa_page?: {
13816
+ html?: string | undefined;
13817
+ enabled?: boolean | undefined;
13818
+ } | undefined;
13819
+ device_flow?: {
13820
+ charset?: "base20" | "digits" | undefined;
13821
+ mask?: string | undefined;
13822
+ } | undefined;
13823
+ default_token_quota?: {
13824
+ clients?: {
13825
+ client_credentials?: Record<string, any> | undefined;
13826
+ } | undefined;
13827
+ organizations?: {
13828
+ client_credentials?: Record<string, any> | undefined;
13829
+ } | undefined;
13830
+ } | undefined;
13831
+ default_audience?: string | undefined;
13832
+ sessions?: {
13833
+ oidc_logout_prompt_enabled?: boolean | undefined;
13834
+ } | undefined;
13835
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13836
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13837
+ acr_values_supported?: string[] | undefined;
13838
+ mtls?: {
13839
+ enable_endpoint_aliases?: boolean | undefined;
13840
+ } | undefined;
13841
+ pushed_authorization_requests_supported?: boolean | undefined;
13842
+ authorization_response_iss_parameter_supported?: boolean | undefined;
12478
13843
  }>;
12479
13844
  export type Tenant = z.infer<typeof tenantSchema>;
12480
13845
  export declare enum GrantType {
@@ -14032,25 +15397,25 @@ export declare const resourceServerOptionsSchema: z.ZodObject<{
14032
15397
  bound_access_tokens?: boolean | undefined;
14033
15398
  }>>;
14034
15399
  }, "strip", z.ZodTypeAny, {
15400
+ mtls?: {
15401
+ bound_access_tokens?: boolean | undefined;
15402
+ } | undefined;
14035
15403
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14036
15404
  enforce_policies?: boolean | undefined;
14037
15405
  allow_skipping_userinfo?: boolean | undefined;
14038
15406
  skip_userinfo?: boolean | undefined;
14039
15407
  persist_client_authorization?: boolean | undefined;
14040
15408
  enable_introspection_endpoint?: boolean | undefined;
15409
+ }, {
14041
15410
  mtls?: {
14042
15411
  bound_access_tokens?: boolean | undefined;
14043
15412
  } | undefined;
14044
- }, {
14045
15413
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14046
15414
  enforce_policies?: boolean | undefined;
14047
15415
  allow_skipping_userinfo?: boolean | undefined;
14048
15416
  skip_userinfo?: boolean | undefined;
14049
15417
  persist_client_authorization?: boolean | undefined;
14050
15418
  enable_introspection_endpoint?: boolean | undefined;
14051
- mtls?: {
14052
- bound_access_tokens?: boolean | undefined;
14053
- } | undefined;
14054
15419
  }>;
14055
15420
  export type ResourceServerOptions = z.infer<typeof resourceServerOptionsSchema>;
14056
15421
  export declare const resourceServerInsertSchema: z.ZodObject<{
@@ -14091,39 +15456,39 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
14091
15456
  bound_access_tokens?: boolean | undefined;
14092
15457
  }>>;
14093
15458
  }, "strip", z.ZodTypeAny, {
15459
+ mtls?: {
15460
+ bound_access_tokens?: boolean | undefined;
15461
+ } | undefined;
14094
15462
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14095
15463
  enforce_policies?: boolean | undefined;
14096
15464
  allow_skipping_userinfo?: boolean | undefined;
14097
15465
  skip_userinfo?: boolean | undefined;
14098
15466
  persist_client_authorization?: boolean | undefined;
14099
15467
  enable_introspection_endpoint?: boolean | undefined;
15468
+ }, {
14100
15469
  mtls?: {
14101
15470
  bound_access_tokens?: boolean | undefined;
14102
15471
  } | undefined;
14103
- }, {
14104
15472
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14105
15473
  enforce_policies?: boolean | undefined;
14106
15474
  allow_skipping_userinfo?: boolean | undefined;
14107
15475
  skip_userinfo?: boolean | undefined;
14108
15476
  persist_client_authorization?: boolean | undefined;
14109
15477
  enable_introspection_endpoint?: boolean | undefined;
14110
- mtls?: {
14111
- bound_access_tokens?: boolean | undefined;
14112
- } | undefined;
14113
15478
  }>>;
14114
15479
  }, "strip", z.ZodTypeAny, {
14115
15480
  name: string;
14116
15481
  identifier: string;
14117
15482
  options?: {
15483
+ mtls?: {
15484
+ bound_access_tokens?: boolean | undefined;
15485
+ } | undefined;
14118
15486
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14119
15487
  enforce_policies?: boolean | undefined;
14120
15488
  allow_skipping_userinfo?: boolean | undefined;
14121
15489
  skip_userinfo?: boolean | undefined;
14122
15490
  persist_client_authorization?: boolean | undefined;
14123
15491
  enable_introspection_endpoint?: boolean | undefined;
14124
- mtls?: {
14125
- bound_access_tokens?: boolean | undefined;
14126
- } | undefined;
14127
15492
  } | undefined;
14128
15493
  scopes?: {
14129
15494
  value: string;
@@ -14140,15 +15505,15 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
14140
15505
  name: string;
14141
15506
  identifier: string;
14142
15507
  options?: {
15508
+ mtls?: {
15509
+ bound_access_tokens?: boolean | undefined;
15510
+ } | undefined;
14143
15511
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14144
15512
  enforce_policies?: boolean | undefined;
14145
15513
  allow_skipping_userinfo?: boolean | undefined;
14146
15514
  skip_userinfo?: boolean | undefined;
14147
15515
  persist_client_authorization?: boolean | undefined;
14148
15516
  enable_introspection_endpoint?: boolean | undefined;
14149
- mtls?: {
14150
- bound_access_tokens?: boolean | undefined;
14151
- } | undefined;
14152
15517
  } | undefined;
14153
15518
  scopes?: {
14154
15519
  value: string;
@@ -14203,40 +15568,40 @@ export declare const resourceServerSchema: z.ZodObject<{
14203
15568
  bound_access_tokens?: boolean | undefined;
14204
15569
  }>>;
14205
15570
  }, "strip", z.ZodTypeAny, {
15571
+ mtls?: {
15572
+ bound_access_tokens?: boolean | undefined;
15573
+ } | undefined;
14206
15574
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14207
15575
  enforce_policies?: boolean | undefined;
14208
15576
  allow_skipping_userinfo?: boolean | undefined;
14209
15577
  skip_userinfo?: boolean | undefined;
14210
15578
  persist_client_authorization?: boolean | undefined;
14211
15579
  enable_introspection_endpoint?: boolean | undefined;
15580
+ }, {
14212
15581
  mtls?: {
14213
15582
  bound_access_tokens?: boolean | undefined;
14214
15583
  } | undefined;
14215
- }, {
14216
15584
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14217
15585
  enforce_policies?: boolean | undefined;
14218
15586
  allow_skipping_userinfo?: boolean | undefined;
14219
15587
  skip_userinfo?: boolean | undefined;
14220
15588
  persist_client_authorization?: boolean | undefined;
14221
15589
  enable_introspection_endpoint?: boolean | undefined;
14222
- mtls?: {
14223
- bound_access_tokens?: boolean | undefined;
14224
- } | undefined;
14225
15590
  }>>;
14226
15591
  id: z.ZodOptional<z.ZodString>;
14227
15592
  }, "strip", z.ZodTypeAny, {
14228
15593
  name: string;
14229
15594
  identifier: string;
14230
15595
  options?: {
15596
+ mtls?: {
15597
+ bound_access_tokens?: boolean | undefined;
15598
+ } | undefined;
14231
15599
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14232
15600
  enforce_policies?: boolean | undefined;
14233
15601
  allow_skipping_userinfo?: boolean | undefined;
14234
15602
  skip_userinfo?: boolean | undefined;
14235
15603
  persist_client_authorization?: boolean | undefined;
14236
15604
  enable_introspection_endpoint?: boolean | undefined;
14237
- mtls?: {
14238
- bound_access_tokens?: boolean | undefined;
14239
- } | undefined;
14240
15605
  } | undefined;
14241
15606
  created_at?: string | undefined;
14242
15607
  updated_at?: string | undefined;
@@ -14256,15 +15621,15 @@ export declare const resourceServerSchema: z.ZodObject<{
14256
15621
  name: string;
14257
15622
  identifier: string;
14258
15623
  options?: {
15624
+ mtls?: {
15625
+ bound_access_tokens?: boolean | undefined;
15626
+ } | undefined;
14259
15627
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14260
15628
  enforce_policies?: boolean | undefined;
14261
15629
  allow_skipping_userinfo?: boolean | undefined;
14262
15630
  skip_userinfo?: boolean | undefined;
14263
15631
  persist_client_authorization?: boolean | undefined;
14264
15632
  enable_introspection_endpoint?: boolean | undefined;
14265
- mtls?: {
14266
- bound_access_tokens?: boolean | undefined;
14267
- } | undefined;
14268
15633
  } | undefined;
14269
15634
  created_at?: string | undefined;
14270
15635
  updated_at?: string | undefined;
@@ -14322,40 +15687,40 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
14322
15687
  bound_access_tokens?: boolean | undefined;
14323
15688
  }>>;
14324
15689
  }, "strip", z.ZodTypeAny, {
15690
+ mtls?: {
15691
+ bound_access_tokens?: boolean | undefined;
15692
+ } | undefined;
14325
15693
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14326
15694
  enforce_policies?: boolean | undefined;
14327
15695
  allow_skipping_userinfo?: boolean | undefined;
14328
15696
  skip_userinfo?: boolean | undefined;
14329
15697
  persist_client_authorization?: boolean | undefined;
14330
15698
  enable_introspection_endpoint?: boolean | undefined;
15699
+ }, {
14331
15700
  mtls?: {
14332
15701
  bound_access_tokens?: boolean | undefined;
14333
15702
  } | undefined;
14334
- }, {
14335
15703
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14336
15704
  enforce_policies?: boolean | undefined;
14337
15705
  allow_skipping_userinfo?: boolean | undefined;
14338
15706
  skip_userinfo?: boolean | undefined;
14339
15707
  persist_client_authorization?: boolean | undefined;
14340
15708
  enable_introspection_endpoint?: boolean | undefined;
14341
- mtls?: {
14342
- bound_access_tokens?: boolean | undefined;
14343
- } | undefined;
14344
15709
  }>>;
14345
15710
  id: z.ZodOptional<z.ZodString>;
14346
15711
  }, "strip", z.ZodTypeAny, {
14347
15712
  name: string;
14348
15713
  identifier: string;
14349
15714
  options?: {
15715
+ mtls?: {
15716
+ bound_access_tokens?: boolean | undefined;
15717
+ } | undefined;
14350
15718
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14351
15719
  enforce_policies?: boolean | undefined;
14352
15720
  allow_skipping_userinfo?: boolean | undefined;
14353
15721
  skip_userinfo?: boolean | undefined;
14354
15722
  persist_client_authorization?: boolean | undefined;
14355
15723
  enable_introspection_endpoint?: boolean | undefined;
14356
- mtls?: {
14357
- bound_access_tokens?: boolean | undefined;
14358
- } | undefined;
14359
15724
  } | undefined;
14360
15725
  created_at?: string | undefined;
14361
15726
  updated_at?: string | undefined;
@@ -14375,15 +15740,15 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
14375
15740
  name: string;
14376
15741
  identifier: string;
14377
15742
  options?: {
15743
+ mtls?: {
15744
+ bound_access_tokens?: boolean | undefined;
15745
+ } | undefined;
14378
15746
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14379
15747
  enforce_policies?: boolean | undefined;
14380
15748
  allow_skipping_userinfo?: boolean | undefined;
14381
15749
  skip_userinfo?: boolean | undefined;
14382
15750
  persist_client_authorization?: boolean | undefined;
14383
15751
  enable_introspection_endpoint?: boolean | undefined;
14384
- mtls?: {
14385
- bound_access_tokens?: boolean | undefined;
14386
- } | undefined;
14387
15752
  } | undefined;
14388
15753
  created_at?: string | undefined;
14389
15754
  updated_at?: string | undefined;
@@ -15076,6 +16441,254 @@ export declare const userOrganizationSchema: z.ZodObject<{
15076
16441
  organization_id: string;
15077
16442
  }>;
15078
16443
  export type UserOrganization = z.infer<typeof userOrganizationSchema>;
16444
+ export declare const tenantSettingsSchema: z.ZodObject<{
16445
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
16446
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
16447
+ session_cookie: z.ZodOptional<z.ZodObject<{
16448
+ mode: z.ZodOptional<z.ZodEnum<[
16449
+ "persistent",
16450
+ "non-persistent"
16451
+ ]>>;
16452
+ }, "strip", z.ZodTypeAny, {
16453
+ mode?: "persistent" | "non-persistent" | undefined;
16454
+ }, {
16455
+ mode?: "persistent" | "non-persistent" | undefined;
16456
+ }>>;
16457
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
16458
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
16459
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16460
+ default_directory: z.ZodOptional<z.ZodString>;
16461
+ error_page: z.ZodOptional<z.ZodObject<{
16462
+ html: z.ZodOptional<z.ZodString>;
16463
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
16464
+ url: z.ZodOptional<z.ZodString>;
16465
+ }, "strip", z.ZodTypeAny, {
16466
+ url?: string | undefined;
16467
+ html?: string | undefined;
16468
+ show_log_link?: boolean | undefined;
16469
+ }, {
16470
+ url?: string | undefined;
16471
+ html?: string | undefined;
16472
+ show_log_link?: boolean | undefined;
16473
+ }>>;
16474
+ flags: z.ZodOptional<z.ZodObject<{
16475
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
16476
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
16477
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
16478
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
16479
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
16480
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
16481
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
16482
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
16483
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
16484
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
16485
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
16486
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
16487
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
16488
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
16489
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
16490
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
16491
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
16492
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
16493
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
16494
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
16495
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
16496
+ }, "strip", z.ZodTypeAny, {
16497
+ allow_legacy_delegation_grant_types?: boolean | undefined;
16498
+ allow_legacy_ro_grant_types?: boolean | undefined;
16499
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16500
+ dashboard_insights_view?: boolean | undefined;
16501
+ dashboard_log_streams_next?: boolean | undefined;
16502
+ disable_clickjack_protection_headers?: boolean | undefined;
16503
+ disable_fields_map_fix?: boolean | undefined;
16504
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16505
+ enable_adfs_waad_email_verification?: boolean | undefined;
16506
+ enable_apis_section?: boolean | undefined;
16507
+ enable_client_connections?: boolean | undefined;
16508
+ enable_custom_domain_in_emails?: boolean | undefined;
16509
+ enable_dynamic_client_registration?: boolean | undefined;
16510
+ enable_idtoken_api2?: boolean | undefined;
16511
+ enable_legacy_logs_search_v2?: boolean | undefined;
16512
+ enable_legacy_profile?: boolean | undefined;
16513
+ enable_pipeline2?: boolean | undefined;
16514
+ enable_public_signup_user_exists_error?: boolean | undefined;
16515
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
16516
+ revoke_refresh_token_grant?: boolean | undefined;
16517
+ use_scope_descriptions_for_consent?: boolean | undefined;
16518
+ }, {
16519
+ allow_legacy_delegation_grant_types?: boolean | undefined;
16520
+ allow_legacy_ro_grant_types?: boolean | undefined;
16521
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16522
+ dashboard_insights_view?: boolean | undefined;
16523
+ dashboard_log_streams_next?: boolean | undefined;
16524
+ disable_clickjack_protection_headers?: boolean | undefined;
16525
+ disable_fields_map_fix?: boolean | undefined;
16526
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16527
+ enable_adfs_waad_email_verification?: boolean | undefined;
16528
+ enable_apis_section?: boolean | undefined;
16529
+ enable_client_connections?: boolean | undefined;
16530
+ enable_custom_domain_in_emails?: boolean | undefined;
16531
+ enable_dynamic_client_registration?: boolean | undefined;
16532
+ enable_idtoken_api2?: boolean | undefined;
16533
+ enable_legacy_logs_search_v2?: boolean | undefined;
16534
+ enable_legacy_profile?: boolean | undefined;
16535
+ enable_pipeline2?: boolean | undefined;
16536
+ enable_public_signup_user_exists_error?: boolean | undefined;
16537
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
16538
+ revoke_refresh_token_grant?: boolean | undefined;
16539
+ use_scope_descriptions_for_consent?: boolean | undefined;
16540
+ }>>;
16541
+ friendly_name: z.ZodOptional<z.ZodString>;
16542
+ picture_url: z.ZodOptional<z.ZodString>;
16543
+ support_email: z.ZodOptional<z.ZodString>;
16544
+ support_url: z.ZodOptional<z.ZodString>;
16545
+ sandbox_version: z.ZodOptional<z.ZodString>;
16546
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16547
+ change_password: z.ZodOptional<z.ZodObject<{
16548
+ enabled: z.ZodBoolean;
16549
+ html: z.ZodString;
16550
+ }, "strip", z.ZodTypeAny, {
16551
+ html: string;
16552
+ enabled: boolean;
16553
+ }, {
16554
+ html: string;
16555
+ enabled: boolean;
16556
+ }>>;
16557
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
16558
+ enabled: z.ZodBoolean;
16559
+ html: z.ZodString;
16560
+ }, "strip", z.ZodTypeAny, {
16561
+ html: string;
16562
+ enabled: boolean;
16563
+ }, {
16564
+ html: string;
16565
+ enabled: boolean;
16566
+ }>>;
16567
+ default_audience: z.ZodOptional<z.ZodString>;
16568
+ default_organization: z.ZodOptional<z.ZodString>;
16569
+ sessions: z.ZodOptional<z.ZodObject<{
16570
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
16571
+ }, "strip", z.ZodTypeAny, {
16572
+ oidc_logout_prompt_enabled?: boolean | undefined;
16573
+ }, {
16574
+ oidc_logout_prompt_enabled?: boolean | undefined;
16575
+ }>>;
16576
+ }, "strip", z.ZodTypeAny, {
16577
+ default_organization?: string | undefined;
16578
+ friendly_name?: string | undefined;
16579
+ picture_url?: string | undefined;
16580
+ support_email?: string | undefined;
16581
+ support_url?: string | undefined;
16582
+ session_lifetime?: number | undefined;
16583
+ idle_session_lifetime?: number | undefined;
16584
+ session_cookie?: {
16585
+ mode?: "persistent" | "non-persistent" | undefined;
16586
+ } | undefined;
16587
+ default_redirection_uri?: string | undefined;
16588
+ enabled_locales?: string[] | undefined;
16589
+ default_directory?: string | undefined;
16590
+ error_page?: {
16591
+ url?: string | undefined;
16592
+ html?: string | undefined;
16593
+ show_log_link?: boolean | undefined;
16594
+ } | undefined;
16595
+ enable_client_connections?: boolean | undefined;
16596
+ flags?: {
16597
+ allow_legacy_delegation_grant_types?: boolean | undefined;
16598
+ allow_legacy_ro_grant_types?: boolean | undefined;
16599
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16600
+ dashboard_insights_view?: boolean | undefined;
16601
+ dashboard_log_streams_next?: boolean | undefined;
16602
+ disable_clickjack_protection_headers?: boolean | undefined;
16603
+ disable_fields_map_fix?: boolean | undefined;
16604
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16605
+ enable_adfs_waad_email_verification?: boolean | undefined;
16606
+ enable_apis_section?: boolean | undefined;
16607
+ enable_client_connections?: boolean | undefined;
16608
+ enable_custom_domain_in_emails?: boolean | undefined;
16609
+ enable_dynamic_client_registration?: boolean | undefined;
16610
+ enable_idtoken_api2?: boolean | undefined;
16611
+ enable_legacy_logs_search_v2?: boolean | undefined;
16612
+ enable_legacy_profile?: boolean | undefined;
16613
+ enable_pipeline2?: boolean | undefined;
16614
+ enable_public_signup_user_exists_error?: boolean | undefined;
16615
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
16616
+ revoke_refresh_token_grant?: boolean | undefined;
16617
+ use_scope_descriptions_for_consent?: boolean | undefined;
16618
+ } | undefined;
16619
+ sandbox_version?: string | undefined;
16620
+ sandbox_versions_available?: string[] | undefined;
16621
+ change_password?: {
16622
+ html: string;
16623
+ enabled: boolean;
16624
+ } | undefined;
16625
+ guardian_mfa_page?: {
16626
+ html: string;
16627
+ enabled: boolean;
16628
+ } | undefined;
16629
+ default_audience?: string | undefined;
16630
+ sessions?: {
16631
+ oidc_logout_prompt_enabled?: boolean | undefined;
16632
+ } | undefined;
16633
+ }, {
16634
+ default_organization?: string | undefined;
16635
+ friendly_name?: string | undefined;
16636
+ picture_url?: string | undefined;
16637
+ support_email?: string | undefined;
16638
+ support_url?: string | undefined;
16639
+ session_lifetime?: number | undefined;
16640
+ idle_session_lifetime?: number | undefined;
16641
+ session_cookie?: {
16642
+ mode?: "persistent" | "non-persistent" | undefined;
16643
+ } | undefined;
16644
+ default_redirection_uri?: string | undefined;
16645
+ enabled_locales?: string[] | undefined;
16646
+ default_directory?: string | undefined;
16647
+ error_page?: {
16648
+ url?: string | undefined;
16649
+ html?: string | undefined;
16650
+ show_log_link?: boolean | undefined;
16651
+ } | undefined;
16652
+ enable_client_connections?: boolean | undefined;
16653
+ flags?: {
16654
+ allow_legacy_delegation_grant_types?: boolean | undefined;
16655
+ allow_legacy_ro_grant_types?: boolean | undefined;
16656
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16657
+ dashboard_insights_view?: boolean | undefined;
16658
+ dashboard_log_streams_next?: boolean | undefined;
16659
+ disable_clickjack_protection_headers?: boolean | undefined;
16660
+ disable_fields_map_fix?: boolean | undefined;
16661
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16662
+ enable_adfs_waad_email_verification?: boolean | undefined;
16663
+ enable_apis_section?: boolean | undefined;
16664
+ enable_client_connections?: boolean | undefined;
16665
+ enable_custom_domain_in_emails?: boolean | undefined;
16666
+ enable_dynamic_client_registration?: boolean | undefined;
16667
+ enable_idtoken_api2?: boolean | undefined;
16668
+ enable_legacy_logs_search_v2?: boolean | undefined;
16669
+ enable_legacy_profile?: boolean | undefined;
16670
+ enable_pipeline2?: boolean | undefined;
16671
+ enable_public_signup_user_exists_error?: boolean | undefined;
16672
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
16673
+ revoke_refresh_token_grant?: boolean | undefined;
16674
+ use_scope_descriptions_for_consent?: boolean | undefined;
16675
+ } | undefined;
16676
+ sandbox_version?: string | undefined;
16677
+ sandbox_versions_available?: string[] | undefined;
16678
+ change_password?: {
16679
+ html: string;
16680
+ enabled: boolean;
16681
+ } | undefined;
16682
+ guardian_mfa_page?: {
16683
+ html: string;
16684
+ enabled: boolean;
16685
+ } | undefined;
16686
+ default_audience?: string | undefined;
16687
+ sessions?: {
16688
+ oidc_logout_prompt_enabled?: boolean | undefined;
16689
+ } | undefined;
16690
+ }>;
16691
+ export type TenantSettings = z.infer<typeof tenantSettingsSchema>;
15079
16692
  export declare function parseUserId(user_id: string): {
15080
16693
  connection: string;
15081
16694
  id: string;
@@ -15155,7 +16768,7 @@ export interface SessionsAdapter {
15155
16768
  remove: (tenant_id: string, id: string) => Promise<boolean>;
15156
16769
  }
15157
16770
  export interface CreateTenantParams {
15158
- name: string;
16771
+ friendly_name: string;
15159
16772
  audience: string;
15160
16773
  sender_name: string;
15161
16774
  sender_email: string;