@authhero/adapter-interfaces 0.94.0 → 0.96.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;
@@ -11447,6 +12018,151 @@ export declare const identitySchema: z.ZodObject<{
11447
12018
  }, z.ZodAny, "strip"> | undefined;
11448
12019
  }>;
11449
12020
  export type Identity = z.infer<typeof identitySchema>;
12021
+ export declare const inviterSchema: z.ZodObject<{
12022
+ name: z.ZodOptional<z.ZodString>;
12023
+ }, "strip", z.ZodTypeAny, {
12024
+ name?: string | undefined;
12025
+ }, {
12026
+ name?: string | undefined;
12027
+ }>;
12028
+ export type Inviter = z.infer<typeof inviterSchema>;
12029
+ export declare const inviteeSchema: z.ZodObject<{
12030
+ email: z.ZodOptional<z.ZodString>;
12031
+ }, "strip", z.ZodTypeAny, {
12032
+ email?: string | undefined;
12033
+ }, {
12034
+ email?: string | undefined;
12035
+ }>;
12036
+ export type Invitee = z.infer<typeof inviteeSchema>;
12037
+ export declare const inviteInsertSchema: z.ZodObject<{
12038
+ organization_id: z.ZodString;
12039
+ inviter: z.ZodObject<{
12040
+ name: z.ZodOptional<z.ZodString>;
12041
+ }, "strip", z.ZodTypeAny, {
12042
+ name?: string | undefined;
12043
+ }, {
12044
+ name?: string | undefined;
12045
+ }>;
12046
+ invitee: z.ZodObject<{
12047
+ email: z.ZodOptional<z.ZodString>;
12048
+ }, "strip", z.ZodTypeAny, {
12049
+ email?: string | undefined;
12050
+ }, {
12051
+ email?: string | undefined;
12052
+ }>;
12053
+ invitation_url: z.ZodString;
12054
+ client_id: z.ZodString;
12055
+ connection_id: z.ZodOptional<z.ZodString>;
12056
+ app_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12057
+ user_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12058
+ ttl_sec: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
12059
+ roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
12060
+ send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12061
+ }, "strip", z.ZodTypeAny, {
12062
+ client_id: string;
12063
+ organization_id: string;
12064
+ inviter: {
12065
+ name?: string | undefined;
12066
+ };
12067
+ invitee: {
12068
+ email?: string | undefined;
12069
+ };
12070
+ invitation_url: string;
12071
+ app_metadata?: Record<string, any> | undefined;
12072
+ user_metadata?: Record<string, any> | undefined;
12073
+ connection_id?: string | undefined;
12074
+ ttl_sec?: number | undefined;
12075
+ roles?: string[] | undefined;
12076
+ send_invitation_email?: boolean | undefined;
12077
+ }, {
12078
+ client_id: string;
12079
+ organization_id: string;
12080
+ inviter: {
12081
+ name?: string | undefined;
12082
+ };
12083
+ invitee: {
12084
+ email?: string | undefined;
12085
+ };
12086
+ invitation_url: string;
12087
+ app_metadata?: Record<string, any> | undefined;
12088
+ user_metadata?: Record<string, any> | undefined;
12089
+ connection_id?: string | undefined;
12090
+ ttl_sec?: number | undefined;
12091
+ roles?: string[] | undefined;
12092
+ send_invitation_email?: boolean | undefined;
12093
+ }>;
12094
+ export type InviteInsert = z.infer<typeof inviteInsertSchema>;
12095
+ export declare const inviteSchema: z.ZodObject<{
12096
+ id: z.ZodString;
12097
+ created_at: z.ZodString;
12098
+ expires_at: z.ZodString;
12099
+ ticket_id: z.ZodOptional<z.ZodString>;
12100
+ } & {
12101
+ organization_id: z.ZodString;
12102
+ inviter: z.ZodObject<{
12103
+ name: z.ZodOptional<z.ZodString>;
12104
+ }, "strip", z.ZodTypeAny, {
12105
+ name?: string | undefined;
12106
+ }, {
12107
+ name?: string | undefined;
12108
+ }>;
12109
+ invitee: z.ZodObject<{
12110
+ email: z.ZodOptional<z.ZodString>;
12111
+ }, "strip", z.ZodTypeAny, {
12112
+ email?: string | undefined;
12113
+ }, {
12114
+ email?: string | undefined;
12115
+ }>;
12116
+ invitation_url: z.ZodString;
12117
+ client_id: z.ZodString;
12118
+ connection_id: z.ZodOptional<z.ZodString>;
12119
+ app_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12120
+ user_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12121
+ ttl_sec: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
12122
+ roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
12123
+ send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12124
+ }, "strip", z.ZodTypeAny, {
12125
+ created_at: string;
12126
+ client_id: string;
12127
+ id: string;
12128
+ expires_at: string;
12129
+ organization_id: string;
12130
+ inviter: {
12131
+ name?: string | undefined;
12132
+ };
12133
+ invitee: {
12134
+ email?: string | undefined;
12135
+ };
12136
+ invitation_url: string;
12137
+ app_metadata?: Record<string, any> | undefined;
12138
+ user_metadata?: Record<string, any> | undefined;
12139
+ connection_id?: string | undefined;
12140
+ ttl_sec?: number | undefined;
12141
+ roles?: string[] | undefined;
12142
+ send_invitation_email?: boolean | undefined;
12143
+ ticket_id?: string | undefined;
12144
+ }, {
12145
+ created_at: string;
12146
+ client_id: string;
12147
+ id: string;
12148
+ expires_at: string;
12149
+ organization_id: string;
12150
+ inviter: {
12151
+ name?: string | undefined;
12152
+ };
12153
+ invitee: {
12154
+ email?: string | undefined;
12155
+ };
12156
+ invitation_url: string;
12157
+ app_metadata?: Record<string, any> | undefined;
12158
+ user_metadata?: Record<string, any> | undefined;
12159
+ connection_id?: string | undefined;
12160
+ ttl_sec?: number | undefined;
12161
+ roles?: string[] | undefined;
12162
+ send_invitation_email?: boolean | undefined;
12163
+ ticket_id?: string | undefined;
12164
+ }>;
12165
+ export type Invite = z.infer<typeof inviteSchema>;
11450
12166
  export declare const jwksSchema: z.ZodObject<{
11451
12167
  alg: z.ZodEnum<[
11452
12168
  "RS256",
@@ -12240,6 +12956,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
12240
12956
  }, "strip", z.ZodTypeAny, {
12241
12957
  user_id: string;
12242
12958
  id: string;
12959
+ clients: string[];
12243
12960
  login_session_id: string;
12244
12961
  device: {
12245
12962
  last_ip: string;
@@ -12249,7 +12966,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
12249
12966
  last_user_agent: string;
12250
12967
  last_asn: string;
12251
12968
  };
12252
- clients: string[];
12253
12969
  expires_at?: string | undefined;
12254
12970
  used_at?: string | undefined;
12255
12971
  revoked_at?: string | undefined;
@@ -12257,6 +12973,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
12257
12973
  }, {
12258
12974
  user_id: string;
12259
12975
  id: string;
12976
+ clients: string[];
12260
12977
  login_session_id: string;
12261
12978
  device: {
12262
12979
  last_ip: string;
@@ -12266,7 +12983,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
12266
12983
  last_user_agent: string;
12267
12984
  last_asn: string;
12268
12985
  };
12269
- clients: string[];
12270
12986
  expires_at?: string | undefined;
12271
12987
  used_at?: string | undefined;
12272
12988
  revoked_at?: string | undefined;
@@ -12313,6 +13029,7 @@ export declare const sessionSchema: z.ZodObject<{
12313
13029
  updated_at: string;
12314
13030
  user_id: string;
12315
13031
  id: string;
13032
+ clients: string[];
12316
13033
  login_session_id: string;
12317
13034
  device: {
12318
13035
  last_ip: string;
@@ -12322,7 +13039,6 @@ export declare const sessionSchema: z.ZodObject<{
12322
13039
  last_user_agent: string;
12323
13040
  last_asn: string;
12324
13041
  };
12325
- clients: string[];
12326
13042
  authenticated_at: string;
12327
13043
  last_interaction_at: string;
12328
13044
  expires_at?: string | undefined;
@@ -12334,6 +13050,7 @@ export declare const sessionSchema: z.ZodObject<{
12334
13050
  updated_at: string;
12335
13051
  user_id: string;
12336
13052
  id: string;
13053
+ clients: string[];
12337
13054
  login_session_id: string;
12338
13055
  device: {
12339
13056
  last_ip: string;
@@ -12343,7 +13060,6 @@ export declare const sessionSchema: z.ZodObject<{
12343
13060
  last_user_agent: string;
12344
13061
  last_asn: string;
12345
13062
  };
12346
- clients: string[];
12347
13063
  authenticated_at: string;
12348
13064
  last_interaction_at: string;
12349
13065
  expires_at?: string | undefined;
@@ -12403,109 +13119,903 @@ export declare const signingKeySchema: z.ZodObject<{
12403
13119
  }>;
12404
13120
  export type SigningKey = z.infer<typeof signingKeySchema>;
12405
13121
  export declare const tenantInsertSchema: z.ZodObject<{
12406
- name: z.ZodString;
12407
- audience: z.ZodString;
12408
- sender_email: z.ZodString;
12409
- 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
13122
  id: z.ZodOptional<z.ZodString>;
12416
- }, "strip", z.ZodTypeAny, {
12417
- name: string;
12418
- audience: string;
12419
- sender_email: string;
12420
- sender_name: string;
12421
- id?: string | undefined;
12422
- support_url?: string | undefined;
12423
- logo?: string | undefined;
12424
- primary_color?: string | undefined;
12425
- secondary_color?: string | undefined;
12426
- language?: string | undefined;
12427
- }, {
12428
- name: string;
12429
- audience: string;
12430
- sender_email: string;
12431
- sender_name: string;
12432
- id?: string | undefined;
12433
- support_url?: string | undefined;
12434
- logo?: string | undefined;
12435
- primary_color?: string | undefined;
12436
- secondary_color?: string | undefined;
12437
- language?: string | undefined;
12438
- }>;
12439
- export declare const tenantSchema: z.ZodObject<{
12440
- id: z.ZodString;
12441
- name: z.ZodString;
12442
13123
  audience: z.ZodString;
13124
+ friendly_name: z.ZodString;
13125
+ picture_url: z.ZodOptional<z.ZodString>;
13126
+ support_email: z.ZodOptional<z.ZodString>;
13127
+ support_url: z.ZodOptional<z.ZodString>;
12443
13128
  sender_email: z.ZodString;
12444
13129
  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>;
12452
- }, "strip", z.ZodTypeAny, {
12453
- created_at: string;
12454
- updated_at: string;
12455
- name: string;
12456
- audience: string;
12457
- id: string;
12458
- sender_email: string;
12459
- sender_name: string;
12460
- support_url?: string | undefined;
12461
- logo?: string | undefined;
12462
- primary_color?: string | undefined;
12463
- secondary_color?: string | undefined;
12464
- language?: string | undefined;
12465
- }, {
12466
- created_at: string;
12467
- updated_at: string;
12468
- name: string;
12469
- audience: string;
12470
- id: string;
12471
- sender_email: string;
12472
- sender_name: string;
12473
- support_url?: string | undefined;
12474
- logo?: string | undefined;
12475
- primary_color?: string | undefined;
12476
- secondary_color?: string | undefined;
12477
- language?: string | undefined;
12478
- }>;
12479
- export type Tenant = z.infer<typeof tenantSchema>;
12480
- export declare enum GrantType {
12481
- RefreshToken = "refresh_token",
12482
- AuthorizationCode = "authorization_code",
12483
- ClientCredential = "client_credentials",
12484
- Passwordless = "passwordless",
12485
- Password = "password",
12486
- OTP = "http://auth0.com/oauth/grant-type/passwordless/otp"
12487
- }
12488
- export declare const tokenResponseSchema: z.ZodObject<{
12489
- access_token: z.ZodString;
12490
- id_token: z.ZodOptional<z.ZodString>;
12491
- scope: z.ZodOptional<z.ZodString>;
12492
- state: z.ZodOptional<z.ZodString>;
12493
- refresh_token: z.ZodOptional<z.ZodString>;
12494
- token_type: z.ZodString;
12495
- expires_in: z.ZodNumber;
12496
- }, "strip", z.ZodTypeAny, {
12497
- access_token: string;
12498
- token_type: string;
12499
- expires_in: number;
12500
- refresh_token?: string | undefined;
12501
- scope?: string | undefined;
12502
- state?: string | undefined;
12503
- id_token?: string | undefined;
12504
- }, {
12505
- access_token: string;
12506
- token_type: string;
12507
- expires_in: number;
12508
- refresh_token?: string | undefined;
13130
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
13131
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
13132
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
13133
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
13134
+ session_cookie: z.ZodOptional<z.ZodObject<{
13135
+ mode: z.ZodOptional<z.ZodEnum<[
13136
+ "persistent",
13137
+ "non-persistent"
13138
+ ]>>;
13139
+ }, "strip", z.ZodTypeAny, {
13140
+ mode?: "persistent" | "non-persistent" | undefined;
13141
+ }, {
13142
+ mode?: "persistent" | "non-persistent" | undefined;
13143
+ }>>;
13144
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13145
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
13146
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13147
+ default_directory: z.ZodOptional<z.ZodString>;
13148
+ error_page: z.ZodOptional<z.ZodObject<{
13149
+ html: z.ZodOptional<z.ZodString>;
13150
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
13151
+ url: z.ZodOptional<z.ZodString>;
13152
+ }, "strip", z.ZodTypeAny, {
13153
+ url?: string | undefined;
13154
+ html?: string | undefined;
13155
+ show_log_link?: boolean | undefined;
13156
+ }, {
13157
+ url?: string | undefined;
13158
+ html?: string | undefined;
13159
+ show_log_link?: boolean | undefined;
13160
+ }>>;
13161
+ flags: z.ZodOptional<z.ZodObject<{
13162
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
13163
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
13164
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
13165
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
13166
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
13167
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
13168
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
13169
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
13170
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
13171
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
13172
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
13173
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
13174
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
13175
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
13176
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
13177
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
13178
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
13179
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
13180
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
13181
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
13182
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
13183
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
13184
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
13185
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
13186
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
13187
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
13188
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
13189
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
13190
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
13191
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
13192
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
13193
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
13194
+ }, "strip", z.ZodTypeAny, {
13195
+ allow_changing_enable_sso?: boolean | undefined;
13196
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13197
+ allow_legacy_ro_grant_types?: boolean | undefined;
13198
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13199
+ change_pwd_flow_v1?: boolean | undefined;
13200
+ custom_domains_provisioning?: boolean | undefined;
13201
+ dashboard_insights_view?: boolean | undefined;
13202
+ dashboard_log_streams_next?: boolean | undefined;
13203
+ disable_clickjack_protection_headers?: boolean | undefined;
13204
+ disable_fields_map_fix?: boolean | undefined;
13205
+ disable_impersonation?: boolean | undefined;
13206
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13207
+ enable_adfs_waad_email_verification?: boolean | undefined;
13208
+ enable_apis_section?: boolean | undefined;
13209
+ enable_client_connections?: boolean | undefined;
13210
+ enable_custom_domain_in_emails?: boolean | undefined;
13211
+ enable_dynamic_client_registration?: boolean | undefined;
13212
+ enable_idtoken_api2?: boolean | undefined;
13213
+ enable_legacy_logs_search_v2?: boolean | undefined;
13214
+ enable_legacy_profile?: boolean | undefined;
13215
+ enable_pipeline2?: boolean | undefined;
13216
+ enable_public_signup_user_exists_error?: boolean | undefined;
13217
+ enable_sso?: boolean | undefined;
13218
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13219
+ genai_trial?: boolean | undefined;
13220
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13221
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13222
+ no_disclose_enterprise_connections?: boolean | undefined;
13223
+ remove_alg_from_jwks?: boolean | undefined;
13224
+ revoke_refresh_token_grant?: boolean | undefined;
13225
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13226
+ use_scope_descriptions_for_consent?: boolean | undefined;
13227
+ }, {
13228
+ allow_changing_enable_sso?: boolean | undefined;
13229
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13230
+ allow_legacy_ro_grant_types?: boolean | undefined;
13231
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13232
+ change_pwd_flow_v1?: boolean | undefined;
13233
+ custom_domains_provisioning?: boolean | undefined;
13234
+ dashboard_insights_view?: boolean | undefined;
13235
+ dashboard_log_streams_next?: boolean | undefined;
13236
+ disable_clickjack_protection_headers?: boolean | undefined;
13237
+ disable_fields_map_fix?: boolean | undefined;
13238
+ disable_impersonation?: boolean | undefined;
13239
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13240
+ enable_adfs_waad_email_verification?: boolean | undefined;
13241
+ enable_apis_section?: boolean | undefined;
13242
+ enable_client_connections?: boolean | undefined;
13243
+ enable_custom_domain_in_emails?: boolean | undefined;
13244
+ enable_dynamic_client_registration?: boolean | undefined;
13245
+ enable_idtoken_api2?: boolean | undefined;
13246
+ enable_legacy_logs_search_v2?: boolean | undefined;
13247
+ enable_legacy_profile?: boolean | undefined;
13248
+ enable_pipeline2?: boolean | undefined;
13249
+ enable_public_signup_user_exists_error?: boolean | undefined;
13250
+ enable_sso?: boolean | undefined;
13251
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13252
+ genai_trial?: boolean | undefined;
13253
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13254
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13255
+ no_disclose_enterprise_connections?: boolean | undefined;
13256
+ remove_alg_from_jwks?: boolean | undefined;
13257
+ revoke_refresh_token_grant?: boolean | undefined;
13258
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13259
+ use_scope_descriptions_for_consent?: boolean | undefined;
13260
+ }>>;
13261
+ sandbox_version: z.ZodOptional<z.ZodString>;
13262
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
13263
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13264
+ change_password: z.ZodOptional<z.ZodObject<{
13265
+ enabled: z.ZodOptional<z.ZodBoolean>;
13266
+ html: z.ZodOptional<z.ZodString>;
13267
+ }, "strip", z.ZodTypeAny, {
13268
+ html?: string | undefined;
13269
+ enabled?: boolean | undefined;
13270
+ }, {
13271
+ html?: string | undefined;
13272
+ enabled?: boolean | undefined;
13273
+ }>>;
13274
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
13275
+ enabled: z.ZodOptional<z.ZodBoolean>;
13276
+ html: z.ZodOptional<z.ZodString>;
13277
+ }, "strip", z.ZodTypeAny, {
13278
+ html?: string | undefined;
13279
+ enabled?: boolean | undefined;
13280
+ }, {
13281
+ html?: string | undefined;
13282
+ enabled?: boolean | undefined;
13283
+ }>>;
13284
+ device_flow: z.ZodOptional<z.ZodObject<{
13285
+ charset: z.ZodOptional<z.ZodEnum<[
13286
+ "base20",
13287
+ "digits"
13288
+ ]>>;
13289
+ mask: z.ZodOptional<z.ZodString>;
13290
+ }, "strip", z.ZodTypeAny, {
13291
+ charset?: "base20" | "digits" | undefined;
13292
+ mask?: string | undefined;
13293
+ }, {
13294
+ charset?: "base20" | "digits" | undefined;
13295
+ mask?: string | undefined;
13296
+ }>>;
13297
+ default_token_quota: z.ZodOptional<z.ZodObject<{
13298
+ clients: z.ZodOptional<z.ZodObject<{
13299
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13300
+ }, "strip", z.ZodTypeAny, {
13301
+ client_credentials?: Record<string, any> | undefined;
13302
+ }, {
13303
+ client_credentials?: Record<string, any> | undefined;
13304
+ }>>;
13305
+ organizations: z.ZodOptional<z.ZodObject<{
13306
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13307
+ }, "strip", z.ZodTypeAny, {
13308
+ client_credentials?: Record<string, any> | undefined;
13309
+ }, {
13310
+ client_credentials?: Record<string, any> | undefined;
13311
+ }>>;
13312
+ }, "strip", z.ZodTypeAny, {
13313
+ clients?: {
13314
+ client_credentials?: Record<string, any> | undefined;
13315
+ } | undefined;
13316
+ organizations?: {
13317
+ client_credentials?: Record<string, any> | undefined;
13318
+ } | undefined;
13319
+ }, {
13320
+ clients?: {
13321
+ client_credentials?: Record<string, any> | undefined;
13322
+ } | undefined;
13323
+ organizations?: {
13324
+ client_credentials?: Record<string, any> | undefined;
13325
+ } | undefined;
13326
+ }>>;
13327
+ default_audience: z.ZodOptional<z.ZodString>;
13328
+ default_organization: z.ZodOptional<z.ZodString>;
13329
+ sessions: z.ZodOptional<z.ZodObject<{
13330
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
13331
+ }, "strip", z.ZodTypeAny, {
13332
+ oidc_logout_prompt_enabled?: boolean | undefined;
13333
+ }, {
13334
+ oidc_logout_prompt_enabled?: boolean | undefined;
13335
+ }>>;
13336
+ oidc_logout: z.ZodOptional<z.ZodObject<{
13337
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
13338
+ }, "strip", z.ZodTypeAny, {
13339
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13340
+ }, {
13341
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13342
+ }>>;
13343
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
13344
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
13345
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13346
+ mtls: z.ZodOptional<z.ZodObject<{
13347
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
13348
+ }, "strip", z.ZodTypeAny, {
13349
+ enable_endpoint_aliases?: boolean | undefined;
13350
+ }, {
13351
+ enable_endpoint_aliases?: boolean | undefined;
13352
+ }>>;
13353
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
13354
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
13355
+ }, "strip", z.ZodTypeAny, {
13356
+ audience: string;
13357
+ friendly_name: string;
13358
+ sender_email: string;
13359
+ sender_name: string;
13360
+ allowed_logout_urls?: string[] | undefined;
13361
+ oidc_logout?: {
13362
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13363
+ } | undefined;
13364
+ default_organization?: string | undefined;
13365
+ id?: string | undefined;
13366
+ picture_url?: string | undefined;
13367
+ support_email?: string | undefined;
13368
+ support_url?: string | undefined;
13369
+ session_lifetime?: number | undefined;
13370
+ idle_session_lifetime?: number | undefined;
13371
+ ephemeral_session_lifetime?: number | undefined;
13372
+ idle_ephemeral_session_lifetime?: number | undefined;
13373
+ session_cookie?: {
13374
+ mode?: "persistent" | "non-persistent" | undefined;
13375
+ } | undefined;
13376
+ default_redirection_uri?: string | undefined;
13377
+ enabled_locales?: string[] | undefined;
13378
+ default_directory?: string | undefined;
13379
+ error_page?: {
13380
+ url?: string | undefined;
13381
+ html?: string | undefined;
13382
+ show_log_link?: boolean | undefined;
13383
+ } | undefined;
13384
+ flags?: {
13385
+ allow_changing_enable_sso?: boolean | undefined;
13386
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13387
+ allow_legacy_ro_grant_types?: boolean | undefined;
13388
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13389
+ change_pwd_flow_v1?: boolean | undefined;
13390
+ custom_domains_provisioning?: boolean | undefined;
13391
+ dashboard_insights_view?: boolean | undefined;
13392
+ dashboard_log_streams_next?: boolean | undefined;
13393
+ disable_clickjack_protection_headers?: boolean | undefined;
13394
+ disable_fields_map_fix?: boolean | undefined;
13395
+ disable_impersonation?: boolean | undefined;
13396
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13397
+ enable_adfs_waad_email_verification?: boolean | undefined;
13398
+ enable_apis_section?: boolean | undefined;
13399
+ enable_client_connections?: boolean | undefined;
13400
+ enable_custom_domain_in_emails?: boolean | undefined;
13401
+ enable_dynamic_client_registration?: boolean | undefined;
13402
+ enable_idtoken_api2?: boolean | undefined;
13403
+ enable_legacy_logs_search_v2?: boolean | undefined;
13404
+ enable_legacy_profile?: boolean | undefined;
13405
+ enable_pipeline2?: boolean | undefined;
13406
+ enable_public_signup_user_exists_error?: boolean | undefined;
13407
+ enable_sso?: boolean | undefined;
13408
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13409
+ genai_trial?: boolean | undefined;
13410
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13411
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13412
+ no_disclose_enterprise_connections?: boolean | undefined;
13413
+ remove_alg_from_jwks?: boolean | undefined;
13414
+ revoke_refresh_token_grant?: boolean | undefined;
13415
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13416
+ use_scope_descriptions_for_consent?: boolean | undefined;
13417
+ } | undefined;
13418
+ sandbox_version?: string | undefined;
13419
+ legacy_sandbox_version?: string | undefined;
13420
+ sandbox_versions_available?: string[] | undefined;
13421
+ change_password?: {
13422
+ html?: string | undefined;
13423
+ enabled?: boolean | undefined;
13424
+ } | undefined;
13425
+ guardian_mfa_page?: {
13426
+ html?: string | undefined;
13427
+ enabled?: boolean | undefined;
13428
+ } | undefined;
13429
+ device_flow?: {
13430
+ charset?: "base20" | "digits" | undefined;
13431
+ mask?: string | undefined;
13432
+ } | undefined;
13433
+ default_token_quota?: {
13434
+ clients?: {
13435
+ client_credentials?: Record<string, any> | undefined;
13436
+ } | undefined;
13437
+ organizations?: {
13438
+ client_credentials?: Record<string, any> | undefined;
13439
+ } | undefined;
13440
+ } | undefined;
13441
+ default_audience?: string | undefined;
13442
+ sessions?: {
13443
+ oidc_logout_prompt_enabled?: boolean | undefined;
13444
+ } | undefined;
13445
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13446
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13447
+ acr_values_supported?: string[] | undefined;
13448
+ mtls?: {
13449
+ enable_endpoint_aliases?: boolean | undefined;
13450
+ } | undefined;
13451
+ pushed_authorization_requests_supported?: boolean | undefined;
13452
+ authorization_response_iss_parameter_supported?: boolean | undefined;
13453
+ }, {
13454
+ audience: string;
13455
+ friendly_name: string;
13456
+ sender_email: string;
13457
+ sender_name: string;
13458
+ allowed_logout_urls?: string[] | undefined;
13459
+ oidc_logout?: {
13460
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13461
+ } | undefined;
13462
+ default_organization?: string | undefined;
13463
+ id?: string | undefined;
13464
+ picture_url?: string | undefined;
13465
+ support_email?: string | undefined;
13466
+ support_url?: string | undefined;
13467
+ session_lifetime?: number | undefined;
13468
+ idle_session_lifetime?: number | undefined;
13469
+ ephemeral_session_lifetime?: number | undefined;
13470
+ idle_ephemeral_session_lifetime?: number | undefined;
13471
+ session_cookie?: {
13472
+ mode?: "persistent" | "non-persistent" | undefined;
13473
+ } | undefined;
13474
+ default_redirection_uri?: string | undefined;
13475
+ enabled_locales?: string[] | undefined;
13476
+ default_directory?: string | undefined;
13477
+ error_page?: {
13478
+ url?: string | undefined;
13479
+ html?: string | undefined;
13480
+ show_log_link?: boolean | undefined;
13481
+ } | undefined;
13482
+ flags?: {
13483
+ allow_changing_enable_sso?: boolean | undefined;
13484
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13485
+ allow_legacy_ro_grant_types?: boolean | undefined;
13486
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13487
+ change_pwd_flow_v1?: boolean | undefined;
13488
+ custom_domains_provisioning?: boolean | undefined;
13489
+ dashboard_insights_view?: boolean | undefined;
13490
+ dashboard_log_streams_next?: boolean | undefined;
13491
+ disable_clickjack_protection_headers?: boolean | undefined;
13492
+ disable_fields_map_fix?: boolean | undefined;
13493
+ disable_impersonation?: boolean | undefined;
13494
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13495
+ enable_adfs_waad_email_verification?: boolean | undefined;
13496
+ enable_apis_section?: boolean | undefined;
13497
+ enable_client_connections?: boolean | undefined;
13498
+ enable_custom_domain_in_emails?: boolean | undefined;
13499
+ enable_dynamic_client_registration?: boolean | undefined;
13500
+ enable_idtoken_api2?: boolean | undefined;
13501
+ enable_legacy_logs_search_v2?: boolean | undefined;
13502
+ enable_legacy_profile?: boolean | undefined;
13503
+ enable_pipeline2?: boolean | undefined;
13504
+ enable_public_signup_user_exists_error?: boolean | undefined;
13505
+ enable_sso?: boolean | undefined;
13506
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13507
+ genai_trial?: boolean | undefined;
13508
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13509
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13510
+ no_disclose_enterprise_connections?: boolean | undefined;
13511
+ remove_alg_from_jwks?: boolean | undefined;
13512
+ revoke_refresh_token_grant?: boolean | undefined;
13513
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13514
+ use_scope_descriptions_for_consent?: boolean | undefined;
13515
+ } | undefined;
13516
+ sandbox_version?: string | undefined;
13517
+ legacy_sandbox_version?: string | undefined;
13518
+ sandbox_versions_available?: string[] | undefined;
13519
+ change_password?: {
13520
+ html?: string | undefined;
13521
+ enabled?: boolean | undefined;
13522
+ } | undefined;
13523
+ guardian_mfa_page?: {
13524
+ html?: string | undefined;
13525
+ enabled?: boolean | undefined;
13526
+ } | undefined;
13527
+ device_flow?: {
13528
+ charset?: "base20" | "digits" | undefined;
13529
+ mask?: string | undefined;
13530
+ } | undefined;
13531
+ default_token_quota?: {
13532
+ clients?: {
13533
+ client_credentials?: Record<string, any> | undefined;
13534
+ } | undefined;
13535
+ organizations?: {
13536
+ client_credentials?: Record<string, any> | undefined;
13537
+ } | undefined;
13538
+ } | undefined;
13539
+ default_audience?: string | undefined;
13540
+ sessions?: {
13541
+ oidc_logout_prompt_enabled?: boolean | undefined;
13542
+ } | undefined;
13543
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13544
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13545
+ acr_values_supported?: string[] | undefined;
13546
+ mtls?: {
13547
+ enable_endpoint_aliases?: boolean | undefined;
13548
+ } | undefined;
13549
+ pushed_authorization_requests_supported?: boolean | undefined;
13550
+ authorization_response_iss_parameter_supported?: boolean | undefined;
13551
+ }>;
13552
+ export declare const tenantSchema: z.ZodObject<{
13553
+ id: z.ZodString;
13554
+ audience: z.ZodString;
13555
+ friendly_name: z.ZodString;
13556
+ picture_url: z.ZodOptional<z.ZodString>;
13557
+ support_email: z.ZodOptional<z.ZodString>;
13558
+ support_url: z.ZodOptional<z.ZodString>;
13559
+ sender_email: z.ZodString;
13560
+ sender_name: z.ZodString;
13561
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
13562
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
13563
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
13564
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
13565
+ session_cookie: z.ZodOptional<z.ZodObject<{
13566
+ mode: z.ZodOptional<z.ZodEnum<[
13567
+ "persistent",
13568
+ "non-persistent"
13569
+ ]>>;
13570
+ }, "strip", z.ZodTypeAny, {
13571
+ mode?: "persistent" | "non-persistent" | undefined;
13572
+ }, {
13573
+ mode?: "persistent" | "non-persistent" | undefined;
13574
+ }>>;
13575
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13576
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
13577
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13578
+ default_directory: z.ZodOptional<z.ZodString>;
13579
+ error_page: z.ZodOptional<z.ZodObject<{
13580
+ html: z.ZodOptional<z.ZodString>;
13581
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
13582
+ url: z.ZodOptional<z.ZodString>;
13583
+ }, "strip", z.ZodTypeAny, {
13584
+ url?: string | undefined;
13585
+ html?: string | undefined;
13586
+ show_log_link?: boolean | undefined;
13587
+ }, {
13588
+ url?: string | undefined;
13589
+ html?: string | undefined;
13590
+ show_log_link?: boolean | undefined;
13591
+ }>>;
13592
+ flags: z.ZodOptional<z.ZodObject<{
13593
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
13594
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
13595
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
13596
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
13597
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
13598
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
13599
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
13600
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
13601
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
13602
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
13603
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
13604
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
13605
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
13606
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
13607
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
13608
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
13609
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
13610
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
13611
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
13612
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
13613
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
13614
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
13615
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
13616
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
13617
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
13618
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
13619
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
13620
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
13621
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
13622
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
13623
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
13624
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
13625
+ }, "strip", z.ZodTypeAny, {
13626
+ allow_changing_enable_sso?: boolean | undefined;
13627
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13628
+ allow_legacy_ro_grant_types?: boolean | undefined;
13629
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13630
+ change_pwd_flow_v1?: boolean | undefined;
13631
+ custom_domains_provisioning?: boolean | undefined;
13632
+ dashboard_insights_view?: boolean | undefined;
13633
+ dashboard_log_streams_next?: boolean | undefined;
13634
+ disable_clickjack_protection_headers?: boolean | undefined;
13635
+ disable_fields_map_fix?: boolean | undefined;
13636
+ disable_impersonation?: boolean | undefined;
13637
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13638
+ enable_adfs_waad_email_verification?: boolean | undefined;
13639
+ enable_apis_section?: boolean | undefined;
13640
+ enable_client_connections?: boolean | undefined;
13641
+ enable_custom_domain_in_emails?: boolean | undefined;
13642
+ enable_dynamic_client_registration?: boolean | undefined;
13643
+ enable_idtoken_api2?: boolean | undefined;
13644
+ enable_legacy_logs_search_v2?: boolean | undefined;
13645
+ enable_legacy_profile?: boolean | undefined;
13646
+ enable_pipeline2?: boolean | undefined;
13647
+ enable_public_signup_user_exists_error?: boolean | undefined;
13648
+ enable_sso?: boolean | undefined;
13649
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13650
+ genai_trial?: boolean | undefined;
13651
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13652
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13653
+ no_disclose_enterprise_connections?: boolean | undefined;
13654
+ remove_alg_from_jwks?: boolean | undefined;
13655
+ revoke_refresh_token_grant?: boolean | undefined;
13656
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13657
+ use_scope_descriptions_for_consent?: boolean | undefined;
13658
+ }, {
13659
+ allow_changing_enable_sso?: boolean | undefined;
13660
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13661
+ allow_legacy_ro_grant_types?: boolean | undefined;
13662
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13663
+ change_pwd_flow_v1?: boolean | undefined;
13664
+ custom_domains_provisioning?: boolean | undefined;
13665
+ dashboard_insights_view?: boolean | undefined;
13666
+ dashboard_log_streams_next?: boolean | undefined;
13667
+ disable_clickjack_protection_headers?: boolean | undefined;
13668
+ disable_fields_map_fix?: boolean | undefined;
13669
+ disable_impersonation?: boolean | undefined;
13670
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13671
+ enable_adfs_waad_email_verification?: boolean | undefined;
13672
+ enable_apis_section?: boolean | undefined;
13673
+ enable_client_connections?: boolean | undefined;
13674
+ enable_custom_domain_in_emails?: boolean | undefined;
13675
+ enable_dynamic_client_registration?: boolean | undefined;
13676
+ enable_idtoken_api2?: boolean | undefined;
13677
+ enable_legacy_logs_search_v2?: boolean | undefined;
13678
+ enable_legacy_profile?: boolean | undefined;
13679
+ enable_pipeline2?: boolean | undefined;
13680
+ enable_public_signup_user_exists_error?: boolean | undefined;
13681
+ enable_sso?: boolean | undefined;
13682
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13683
+ genai_trial?: boolean | undefined;
13684
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13685
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13686
+ no_disclose_enterprise_connections?: boolean | undefined;
13687
+ remove_alg_from_jwks?: boolean | undefined;
13688
+ revoke_refresh_token_grant?: boolean | undefined;
13689
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13690
+ use_scope_descriptions_for_consent?: boolean | undefined;
13691
+ }>>;
13692
+ sandbox_version: z.ZodOptional<z.ZodString>;
13693
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
13694
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13695
+ change_password: z.ZodOptional<z.ZodObject<{
13696
+ enabled: z.ZodOptional<z.ZodBoolean>;
13697
+ html: z.ZodOptional<z.ZodString>;
13698
+ }, "strip", z.ZodTypeAny, {
13699
+ html?: string | undefined;
13700
+ enabled?: boolean | undefined;
13701
+ }, {
13702
+ html?: string | undefined;
13703
+ enabled?: boolean | undefined;
13704
+ }>>;
13705
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
13706
+ enabled: z.ZodOptional<z.ZodBoolean>;
13707
+ html: z.ZodOptional<z.ZodString>;
13708
+ }, "strip", z.ZodTypeAny, {
13709
+ html?: string | undefined;
13710
+ enabled?: boolean | undefined;
13711
+ }, {
13712
+ html?: string | undefined;
13713
+ enabled?: boolean | undefined;
13714
+ }>>;
13715
+ device_flow: z.ZodOptional<z.ZodObject<{
13716
+ charset: z.ZodOptional<z.ZodEnum<[
13717
+ "base20",
13718
+ "digits"
13719
+ ]>>;
13720
+ mask: z.ZodOptional<z.ZodString>;
13721
+ }, "strip", z.ZodTypeAny, {
13722
+ charset?: "base20" | "digits" | undefined;
13723
+ mask?: string | undefined;
13724
+ }, {
13725
+ charset?: "base20" | "digits" | undefined;
13726
+ mask?: string | undefined;
13727
+ }>>;
13728
+ default_token_quota: z.ZodOptional<z.ZodObject<{
13729
+ clients: z.ZodOptional<z.ZodObject<{
13730
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13731
+ }, "strip", z.ZodTypeAny, {
13732
+ client_credentials?: Record<string, any> | undefined;
13733
+ }, {
13734
+ client_credentials?: Record<string, any> | undefined;
13735
+ }>>;
13736
+ organizations: z.ZodOptional<z.ZodObject<{
13737
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13738
+ }, "strip", z.ZodTypeAny, {
13739
+ client_credentials?: Record<string, any> | undefined;
13740
+ }, {
13741
+ client_credentials?: Record<string, any> | undefined;
13742
+ }>>;
13743
+ }, "strip", z.ZodTypeAny, {
13744
+ clients?: {
13745
+ client_credentials?: Record<string, any> | undefined;
13746
+ } | undefined;
13747
+ organizations?: {
13748
+ client_credentials?: Record<string, any> | undefined;
13749
+ } | undefined;
13750
+ }, {
13751
+ clients?: {
13752
+ client_credentials?: Record<string, any> | undefined;
13753
+ } | undefined;
13754
+ organizations?: {
13755
+ client_credentials?: Record<string, any> | undefined;
13756
+ } | undefined;
13757
+ }>>;
13758
+ default_audience: z.ZodOptional<z.ZodString>;
13759
+ default_organization: z.ZodOptional<z.ZodString>;
13760
+ sessions: z.ZodOptional<z.ZodObject<{
13761
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
13762
+ }, "strip", z.ZodTypeAny, {
13763
+ oidc_logout_prompt_enabled?: boolean | undefined;
13764
+ }, {
13765
+ oidc_logout_prompt_enabled?: boolean | undefined;
13766
+ }>>;
13767
+ oidc_logout: z.ZodOptional<z.ZodObject<{
13768
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
13769
+ }, "strip", z.ZodTypeAny, {
13770
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13771
+ }, {
13772
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13773
+ }>>;
13774
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
13775
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
13776
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13777
+ mtls: z.ZodOptional<z.ZodObject<{
13778
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
13779
+ }, "strip", z.ZodTypeAny, {
13780
+ enable_endpoint_aliases?: boolean | undefined;
13781
+ }, {
13782
+ enable_endpoint_aliases?: boolean | undefined;
13783
+ }>>;
13784
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
13785
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
13786
+ created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
13787
+ updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
13788
+ }, "strip", z.ZodTypeAny, {
13789
+ created_at: string;
13790
+ updated_at: string;
13791
+ audience: string;
13792
+ id: string;
13793
+ friendly_name: string;
13794
+ sender_email: string;
13795
+ sender_name: string;
13796
+ allowed_logout_urls?: string[] | undefined;
13797
+ oidc_logout?: {
13798
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13799
+ } | undefined;
13800
+ default_organization?: string | undefined;
13801
+ picture_url?: string | undefined;
13802
+ support_email?: string | undefined;
13803
+ support_url?: string | undefined;
13804
+ session_lifetime?: number | undefined;
13805
+ idle_session_lifetime?: number | undefined;
13806
+ ephemeral_session_lifetime?: number | undefined;
13807
+ idle_ephemeral_session_lifetime?: number | undefined;
13808
+ session_cookie?: {
13809
+ mode?: "persistent" | "non-persistent" | undefined;
13810
+ } | undefined;
13811
+ default_redirection_uri?: string | undefined;
13812
+ enabled_locales?: string[] | undefined;
13813
+ default_directory?: string | undefined;
13814
+ error_page?: {
13815
+ url?: string | undefined;
13816
+ html?: string | undefined;
13817
+ show_log_link?: boolean | undefined;
13818
+ } | undefined;
13819
+ flags?: {
13820
+ allow_changing_enable_sso?: boolean | undefined;
13821
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13822
+ allow_legacy_ro_grant_types?: boolean | undefined;
13823
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13824
+ change_pwd_flow_v1?: boolean | undefined;
13825
+ custom_domains_provisioning?: boolean | undefined;
13826
+ dashboard_insights_view?: boolean | undefined;
13827
+ dashboard_log_streams_next?: boolean | undefined;
13828
+ disable_clickjack_protection_headers?: boolean | undefined;
13829
+ disable_fields_map_fix?: boolean | undefined;
13830
+ disable_impersonation?: boolean | undefined;
13831
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13832
+ enable_adfs_waad_email_verification?: boolean | undefined;
13833
+ enable_apis_section?: boolean | undefined;
13834
+ enable_client_connections?: boolean | undefined;
13835
+ enable_custom_domain_in_emails?: boolean | undefined;
13836
+ enable_dynamic_client_registration?: boolean | undefined;
13837
+ enable_idtoken_api2?: boolean | undefined;
13838
+ enable_legacy_logs_search_v2?: boolean | undefined;
13839
+ enable_legacy_profile?: boolean | undefined;
13840
+ enable_pipeline2?: boolean | undefined;
13841
+ enable_public_signup_user_exists_error?: boolean | undefined;
13842
+ enable_sso?: boolean | undefined;
13843
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13844
+ genai_trial?: boolean | undefined;
13845
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13846
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13847
+ no_disclose_enterprise_connections?: boolean | undefined;
13848
+ remove_alg_from_jwks?: boolean | undefined;
13849
+ revoke_refresh_token_grant?: boolean | undefined;
13850
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13851
+ use_scope_descriptions_for_consent?: boolean | undefined;
13852
+ } | undefined;
13853
+ sandbox_version?: string | undefined;
13854
+ legacy_sandbox_version?: string | undefined;
13855
+ sandbox_versions_available?: string[] | undefined;
13856
+ change_password?: {
13857
+ html?: string | undefined;
13858
+ enabled?: boolean | undefined;
13859
+ } | undefined;
13860
+ guardian_mfa_page?: {
13861
+ html?: string | undefined;
13862
+ enabled?: boolean | undefined;
13863
+ } | undefined;
13864
+ device_flow?: {
13865
+ charset?: "base20" | "digits" | undefined;
13866
+ mask?: string | undefined;
13867
+ } | undefined;
13868
+ default_token_quota?: {
13869
+ clients?: {
13870
+ client_credentials?: Record<string, any> | undefined;
13871
+ } | undefined;
13872
+ organizations?: {
13873
+ client_credentials?: Record<string, any> | undefined;
13874
+ } | undefined;
13875
+ } | undefined;
13876
+ default_audience?: string | undefined;
13877
+ sessions?: {
13878
+ oidc_logout_prompt_enabled?: boolean | undefined;
13879
+ } | undefined;
13880
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13881
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13882
+ acr_values_supported?: string[] | undefined;
13883
+ mtls?: {
13884
+ enable_endpoint_aliases?: boolean | undefined;
13885
+ } | undefined;
13886
+ pushed_authorization_requests_supported?: boolean | undefined;
13887
+ authorization_response_iss_parameter_supported?: boolean | undefined;
13888
+ }, {
13889
+ created_at: string | null;
13890
+ updated_at: string | null;
13891
+ audience: string;
13892
+ id: string;
13893
+ friendly_name: string;
13894
+ sender_email: string;
13895
+ sender_name: string;
13896
+ allowed_logout_urls?: string[] | undefined;
13897
+ oidc_logout?: {
13898
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
13899
+ } | undefined;
13900
+ default_organization?: string | undefined;
13901
+ picture_url?: string | undefined;
13902
+ support_email?: string | undefined;
13903
+ support_url?: string | undefined;
13904
+ session_lifetime?: number | undefined;
13905
+ idle_session_lifetime?: number | undefined;
13906
+ ephemeral_session_lifetime?: number | undefined;
13907
+ idle_ephemeral_session_lifetime?: number | undefined;
13908
+ session_cookie?: {
13909
+ mode?: "persistent" | "non-persistent" | undefined;
13910
+ } | undefined;
13911
+ default_redirection_uri?: string | undefined;
13912
+ enabled_locales?: string[] | undefined;
13913
+ default_directory?: string | undefined;
13914
+ error_page?: {
13915
+ url?: string | undefined;
13916
+ html?: string | undefined;
13917
+ show_log_link?: boolean | undefined;
13918
+ } | undefined;
13919
+ flags?: {
13920
+ allow_changing_enable_sso?: boolean | undefined;
13921
+ allow_legacy_delegation_grant_types?: boolean | undefined;
13922
+ allow_legacy_ro_grant_types?: boolean | undefined;
13923
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
13924
+ change_pwd_flow_v1?: boolean | undefined;
13925
+ custom_domains_provisioning?: boolean | undefined;
13926
+ dashboard_insights_view?: boolean | undefined;
13927
+ dashboard_log_streams_next?: boolean | undefined;
13928
+ disable_clickjack_protection_headers?: boolean | undefined;
13929
+ disable_fields_map_fix?: boolean | undefined;
13930
+ disable_impersonation?: boolean | undefined;
13931
+ disable_management_api_sms_obfuscation?: boolean | undefined;
13932
+ enable_adfs_waad_email_verification?: boolean | undefined;
13933
+ enable_apis_section?: boolean | undefined;
13934
+ enable_client_connections?: boolean | undefined;
13935
+ enable_custom_domain_in_emails?: boolean | undefined;
13936
+ enable_dynamic_client_registration?: boolean | undefined;
13937
+ enable_idtoken_api2?: boolean | undefined;
13938
+ enable_legacy_logs_search_v2?: boolean | undefined;
13939
+ enable_legacy_profile?: boolean | undefined;
13940
+ enable_pipeline2?: boolean | undefined;
13941
+ enable_public_signup_user_exists_error?: boolean | undefined;
13942
+ enable_sso?: boolean | undefined;
13943
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
13944
+ genai_trial?: boolean | undefined;
13945
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
13946
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
13947
+ no_disclose_enterprise_connections?: boolean | undefined;
13948
+ remove_alg_from_jwks?: boolean | undefined;
13949
+ revoke_refresh_token_grant?: boolean | undefined;
13950
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
13951
+ use_scope_descriptions_for_consent?: boolean | undefined;
13952
+ } | undefined;
13953
+ sandbox_version?: string | undefined;
13954
+ legacy_sandbox_version?: string | undefined;
13955
+ sandbox_versions_available?: string[] | undefined;
13956
+ change_password?: {
13957
+ html?: string | undefined;
13958
+ enabled?: boolean | undefined;
13959
+ } | undefined;
13960
+ guardian_mfa_page?: {
13961
+ html?: string | undefined;
13962
+ enabled?: boolean | undefined;
13963
+ } | undefined;
13964
+ device_flow?: {
13965
+ charset?: "base20" | "digits" | undefined;
13966
+ mask?: string | undefined;
13967
+ } | undefined;
13968
+ default_token_quota?: {
13969
+ clients?: {
13970
+ client_credentials?: Record<string, any> | undefined;
13971
+ } | undefined;
13972
+ organizations?: {
13973
+ client_credentials?: Record<string, any> | undefined;
13974
+ } | undefined;
13975
+ } | undefined;
13976
+ default_audience?: string | undefined;
13977
+ sessions?: {
13978
+ oidc_logout_prompt_enabled?: boolean | undefined;
13979
+ } | undefined;
13980
+ allow_organization_name_in_authentication_api?: boolean | undefined;
13981
+ customize_mfa_in_postlogin_action?: boolean | undefined;
13982
+ acr_values_supported?: string[] | undefined;
13983
+ mtls?: {
13984
+ enable_endpoint_aliases?: boolean | undefined;
13985
+ } | undefined;
13986
+ pushed_authorization_requests_supported?: boolean | undefined;
13987
+ authorization_response_iss_parameter_supported?: boolean | undefined;
13988
+ }>;
13989
+ export type Tenant = z.infer<typeof tenantSchema>;
13990
+ export declare enum GrantType {
13991
+ RefreshToken = "refresh_token",
13992
+ AuthorizationCode = "authorization_code",
13993
+ ClientCredential = "client_credentials",
13994
+ Passwordless = "passwordless",
13995
+ Password = "password",
13996
+ OTP = "http://auth0.com/oauth/grant-type/passwordless/otp"
13997
+ }
13998
+ export declare const tokenResponseSchema: z.ZodObject<{
13999
+ access_token: z.ZodString;
14000
+ id_token: z.ZodOptional<z.ZodString>;
14001
+ scope: z.ZodOptional<z.ZodString>;
14002
+ state: z.ZodOptional<z.ZodString>;
14003
+ refresh_token: z.ZodOptional<z.ZodString>;
14004
+ token_type: z.ZodString;
14005
+ expires_in: z.ZodNumber;
14006
+ }, "strip", z.ZodTypeAny, {
14007
+ access_token: string;
14008
+ token_type: string;
14009
+ expires_in: number;
14010
+ refresh_token?: string | undefined;
14011
+ scope?: string | undefined;
14012
+ state?: string | undefined;
14013
+ id_token?: string | undefined;
14014
+ }, {
14015
+ access_token: string;
14016
+ token_type: string;
14017
+ expires_in: number;
14018
+ refresh_token?: string | undefined;
12509
14019
  scope?: string | undefined;
12510
14020
  state?: string | undefined;
12511
14021
  id_token?: string | undefined;
@@ -14032,25 +15542,25 @@ export declare const resourceServerOptionsSchema: z.ZodObject<{
14032
15542
  bound_access_tokens?: boolean | undefined;
14033
15543
  }>>;
14034
15544
  }, "strip", z.ZodTypeAny, {
15545
+ mtls?: {
15546
+ bound_access_tokens?: boolean | undefined;
15547
+ } | undefined;
14035
15548
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14036
15549
  enforce_policies?: boolean | undefined;
14037
15550
  allow_skipping_userinfo?: boolean | undefined;
14038
15551
  skip_userinfo?: boolean | undefined;
14039
15552
  persist_client_authorization?: boolean | undefined;
14040
15553
  enable_introspection_endpoint?: boolean | undefined;
15554
+ }, {
14041
15555
  mtls?: {
14042
15556
  bound_access_tokens?: boolean | undefined;
14043
15557
  } | undefined;
14044
- }, {
14045
15558
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14046
15559
  enforce_policies?: boolean | undefined;
14047
15560
  allow_skipping_userinfo?: boolean | undefined;
14048
15561
  skip_userinfo?: boolean | undefined;
14049
15562
  persist_client_authorization?: boolean | undefined;
14050
15563
  enable_introspection_endpoint?: boolean | undefined;
14051
- mtls?: {
14052
- bound_access_tokens?: boolean | undefined;
14053
- } | undefined;
14054
15564
  }>;
14055
15565
  export type ResourceServerOptions = z.infer<typeof resourceServerOptionsSchema>;
14056
15566
  export declare const resourceServerInsertSchema: z.ZodObject<{
@@ -14091,39 +15601,39 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
14091
15601
  bound_access_tokens?: boolean | undefined;
14092
15602
  }>>;
14093
15603
  }, "strip", z.ZodTypeAny, {
15604
+ mtls?: {
15605
+ bound_access_tokens?: boolean | undefined;
15606
+ } | undefined;
14094
15607
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14095
15608
  enforce_policies?: boolean | undefined;
14096
15609
  allow_skipping_userinfo?: boolean | undefined;
14097
15610
  skip_userinfo?: boolean | undefined;
14098
15611
  persist_client_authorization?: boolean | undefined;
14099
15612
  enable_introspection_endpoint?: boolean | undefined;
15613
+ }, {
14100
15614
  mtls?: {
14101
15615
  bound_access_tokens?: boolean | undefined;
14102
15616
  } | undefined;
14103
- }, {
14104
15617
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14105
15618
  enforce_policies?: boolean | undefined;
14106
15619
  allow_skipping_userinfo?: boolean | undefined;
14107
15620
  skip_userinfo?: boolean | undefined;
14108
15621
  persist_client_authorization?: boolean | undefined;
14109
15622
  enable_introspection_endpoint?: boolean | undefined;
14110
- mtls?: {
14111
- bound_access_tokens?: boolean | undefined;
14112
- } | undefined;
14113
15623
  }>>;
14114
15624
  }, "strip", z.ZodTypeAny, {
14115
15625
  name: string;
14116
15626
  identifier: string;
14117
15627
  options?: {
15628
+ mtls?: {
15629
+ bound_access_tokens?: boolean | undefined;
15630
+ } | undefined;
14118
15631
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14119
15632
  enforce_policies?: boolean | undefined;
14120
15633
  allow_skipping_userinfo?: boolean | undefined;
14121
15634
  skip_userinfo?: boolean | undefined;
14122
15635
  persist_client_authorization?: boolean | undefined;
14123
15636
  enable_introspection_endpoint?: boolean | undefined;
14124
- mtls?: {
14125
- bound_access_tokens?: boolean | undefined;
14126
- } | undefined;
14127
15637
  } | undefined;
14128
15638
  scopes?: {
14129
15639
  value: string;
@@ -14140,15 +15650,15 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
14140
15650
  name: string;
14141
15651
  identifier: string;
14142
15652
  options?: {
15653
+ mtls?: {
15654
+ bound_access_tokens?: boolean | undefined;
15655
+ } | undefined;
14143
15656
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14144
15657
  enforce_policies?: boolean | undefined;
14145
15658
  allow_skipping_userinfo?: boolean | undefined;
14146
15659
  skip_userinfo?: boolean | undefined;
14147
15660
  persist_client_authorization?: boolean | undefined;
14148
15661
  enable_introspection_endpoint?: boolean | undefined;
14149
- mtls?: {
14150
- bound_access_tokens?: boolean | undefined;
14151
- } | undefined;
14152
15662
  } | undefined;
14153
15663
  scopes?: {
14154
15664
  value: string;
@@ -14203,40 +15713,40 @@ export declare const resourceServerSchema: z.ZodObject<{
14203
15713
  bound_access_tokens?: boolean | undefined;
14204
15714
  }>>;
14205
15715
  }, "strip", z.ZodTypeAny, {
15716
+ mtls?: {
15717
+ bound_access_tokens?: boolean | undefined;
15718
+ } | undefined;
14206
15719
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14207
15720
  enforce_policies?: boolean | undefined;
14208
15721
  allow_skipping_userinfo?: boolean | undefined;
14209
15722
  skip_userinfo?: boolean | undefined;
14210
15723
  persist_client_authorization?: boolean | undefined;
14211
15724
  enable_introspection_endpoint?: boolean | undefined;
15725
+ }, {
14212
15726
  mtls?: {
14213
15727
  bound_access_tokens?: boolean | undefined;
14214
15728
  } | undefined;
14215
- }, {
14216
15729
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14217
15730
  enforce_policies?: boolean | undefined;
14218
15731
  allow_skipping_userinfo?: boolean | undefined;
14219
15732
  skip_userinfo?: boolean | undefined;
14220
15733
  persist_client_authorization?: boolean | undefined;
14221
15734
  enable_introspection_endpoint?: boolean | undefined;
14222
- mtls?: {
14223
- bound_access_tokens?: boolean | undefined;
14224
- } | undefined;
14225
15735
  }>>;
14226
15736
  id: z.ZodOptional<z.ZodString>;
14227
15737
  }, "strip", z.ZodTypeAny, {
14228
15738
  name: string;
14229
15739
  identifier: string;
14230
15740
  options?: {
15741
+ mtls?: {
15742
+ bound_access_tokens?: boolean | undefined;
15743
+ } | undefined;
14231
15744
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14232
15745
  enforce_policies?: boolean | undefined;
14233
15746
  allow_skipping_userinfo?: boolean | undefined;
14234
15747
  skip_userinfo?: boolean | undefined;
14235
15748
  persist_client_authorization?: boolean | undefined;
14236
15749
  enable_introspection_endpoint?: boolean | undefined;
14237
- mtls?: {
14238
- bound_access_tokens?: boolean | undefined;
14239
- } | undefined;
14240
15750
  } | undefined;
14241
15751
  created_at?: string | undefined;
14242
15752
  updated_at?: string | undefined;
@@ -14256,15 +15766,15 @@ export declare const resourceServerSchema: z.ZodObject<{
14256
15766
  name: string;
14257
15767
  identifier: string;
14258
15768
  options?: {
15769
+ mtls?: {
15770
+ bound_access_tokens?: boolean | undefined;
15771
+ } | undefined;
14259
15772
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14260
15773
  enforce_policies?: boolean | undefined;
14261
15774
  allow_skipping_userinfo?: boolean | undefined;
14262
15775
  skip_userinfo?: boolean | undefined;
14263
15776
  persist_client_authorization?: boolean | undefined;
14264
15777
  enable_introspection_endpoint?: boolean | undefined;
14265
- mtls?: {
14266
- bound_access_tokens?: boolean | undefined;
14267
- } | undefined;
14268
15778
  } | undefined;
14269
15779
  created_at?: string | undefined;
14270
15780
  updated_at?: string | undefined;
@@ -14322,40 +15832,40 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
14322
15832
  bound_access_tokens?: boolean | undefined;
14323
15833
  }>>;
14324
15834
  }, "strip", z.ZodTypeAny, {
15835
+ mtls?: {
15836
+ bound_access_tokens?: boolean | undefined;
15837
+ } | undefined;
14325
15838
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14326
15839
  enforce_policies?: boolean | undefined;
14327
15840
  allow_skipping_userinfo?: boolean | undefined;
14328
15841
  skip_userinfo?: boolean | undefined;
14329
15842
  persist_client_authorization?: boolean | undefined;
14330
15843
  enable_introspection_endpoint?: boolean | undefined;
15844
+ }, {
14331
15845
  mtls?: {
14332
15846
  bound_access_tokens?: boolean | undefined;
14333
15847
  } | undefined;
14334
- }, {
14335
15848
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14336
15849
  enforce_policies?: boolean | undefined;
14337
15850
  allow_skipping_userinfo?: boolean | undefined;
14338
15851
  skip_userinfo?: boolean | undefined;
14339
15852
  persist_client_authorization?: boolean | undefined;
14340
15853
  enable_introspection_endpoint?: boolean | undefined;
14341
- mtls?: {
14342
- bound_access_tokens?: boolean | undefined;
14343
- } | undefined;
14344
15854
  }>>;
14345
15855
  id: z.ZodOptional<z.ZodString>;
14346
15856
  }, "strip", z.ZodTypeAny, {
14347
15857
  name: string;
14348
15858
  identifier: string;
14349
15859
  options?: {
15860
+ mtls?: {
15861
+ bound_access_tokens?: boolean | undefined;
15862
+ } | undefined;
14350
15863
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14351
15864
  enforce_policies?: boolean | undefined;
14352
15865
  allow_skipping_userinfo?: boolean | undefined;
14353
15866
  skip_userinfo?: boolean | undefined;
14354
15867
  persist_client_authorization?: boolean | undefined;
14355
15868
  enable_introspection_endpoint?: boolean | undefined;
14356
- mtls?: {
14357
- bound_access_tokens?: boolean | undefined;
14358
- } | undefined;
14359
15869
  } | undefined;
14360
15870
  created_at?: string | undefined;
14361
15871
  updated_at?: string | undefined;
@@ -14375,15 +15885,15 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
14375
15885
  name: string;
14376
15886
  identifier: string;
14377
15887
  options?: {
15888
+ mtls?: {
15889
+ bound_access_tokens?: boolean | undefined;
15890
+ } | undefined;
14378
15891
  token_dialect?: "access_token" | "access_token_authz" | undefined;
14379
15892
  enforce_policies?: boolean | undefined;
14380
15893
  allow_skipping_userinfo?: boolean | undefined;
14381
15894
  skip_userinfo?: boolean | undefined;
14382
15895
  persist_client_authorization?: boolean | undefined;
14383
15896
  enable_introspection_endpoint?: boolean | undefined;
14384
- mtls?: {
14385
- bound_access_tokens?: boolean | undefined;
14386
- } | undefined;
14387
15897
  } | undefined;
14388
15898
  created_at?: string | undefined;
14389
15899
  updated_at?: string | undefined;
@@ -15129,12 +16639,17 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15129
16639
  disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
15130
16640
  mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
15131
16641
  }, "strip", z.ZodTypeAny, {
15132
- enable_client_connections?: boolean | undefined;
15133
16642
  allow_legacy_delegation_grant_types?: boolean | undefined;
15134
16643
  allow_legacy_ro_grant_types?: boolean | undefined;
15135
16644
  allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16645
+ dashboard_insights_view?: boolean | undefined;
16646
+ dashboard_log_streams_next?: boolean | undefined;
15136
16647
  disable_clickjack_protection_headers?: boolean | undefined;
16648
+ disable_fields_map_fix?: boolean | undefined;
16649
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16650
+ enable_adfs_waad_email_verification?: boolean | undefined;
15137
16651
  enable_apis_section?: boolean | undefined;
16652
+ enable_client_connections?: boolean | undefined;
15138
16653
  enable_custom_domain_in_emails?: boolean | undefined;
15139
16654
  enable_dynamic_client_registration?: boolean | undefined;
15140
16655
  enable_idtoken_api2?: boolean | undefined;
@@ -15142,21 +16657,21 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15142
16657
  enable_legacy_profile?: boolean | undefined;
15143
16658
  enable_pipeline2?: boolean | undefined;
15144
16659
  enable_public_signup_user_exists_error?: boolean | undefined;
15145
- use_scope_descriptions_for_consent?: boolean | undefined;
15146
- disable_management_api_sms_obfuscation?: boolean | undefined;
15147
- enable_adfs_waad_email_verification?: boolean | undefined;
15148
- revoke_refresh_token_grant?: boolean | undefined;
15149
- dashboard_log_streams_next?: boolean | undefined;
15150
- dashboard_insights_view?: boolean | undefined;
15151
- disable_fields_map_fix?: boolean | undefined;
15152
16660
  mfa_show_factor_list_on_enrollment?: boolean | undefined;
16661
+ revoke_refresh_token_grant?: boolean | undefined;
16662
+ use_scope_descriptions_for_consent?: boolean | undefined;
15153
16663
  }, {
15154
- enable_client_connections?: boolean | undefined;
15155
16664
  allow_legacy_delegation_grant_types?: boolean | undefined;
15156
16665
  allow_legacy_ro_grant_types?: boolean | undefined;
15157
16666
  allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16667
+ dashboard_insights_view?: boolean | undefined;
16668
+ dashboard_log_streams_next?: boolean | undefined;
15158
16669
  disable_clickjack_protection_headers?: boolean | undefined;
16670
+ disable_fields_map_fix?: boolean | undefined;
16671
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16672
+ enable_adfs_waad_email_verification?: boolean | undefined;
15159
16673
  enable_apis_section?: boolean | undefined;
16674
+ enable_client_connections?: boolean | undefined;
15160
16675
  enable_custom_domain_in_emails?: boolean | undefined;
15161
16676
  enable_dynamic_client_registration?: boolean | undefined;
15162
16677
  enable_idtoken_api2?: boolean | undefined;
@@ -15164,14 +16679,9 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15164
16679
  enable_legacy_profile?: boolean | undefined;
15165
16680
  enable_pipeline2?: boolean | undefined;
15166
16681
  enable_public_signup_user_exists_error?: boolean | undefined;
15167
- use_scope_descriptions_for_consent?: boolean | undefined;
15168
- disable_management_api_sms_obfuscation?: boolean | undefined;
15169
- enable_adfs_waad_email_verification?: boolean | undefined;
15170
- revoke_refresh_token_grant?: boolean | undefined;
15171
- dashboard_log_streams_next?: boolean | undefined;
15172
- dashboard_insights_view?: boolean | undefined;
15173
- disable_fields_map_fix?: boolean | undefined;
15174
16682
  mfa_show_factor_list_on_enrollment?: boolean | undefined;
16683
+ revoke_refresh_token_grant?: boolean | undefined;
16684
+ use_scope_descriptions_for_consent?: boolean | undefined;
15175
16685
  }>>;
15176
16686
  friendly_name: z.ZodOptional<z.ZodString>;
15177
16687
  picture_url: z.ZodOptional<z.ZodString>;
@@ -15210,13 +16720,15 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15210
16720
  }>>;
15211
16721
  }, "strip", z.ZodTypeAny, {
15212
16722
  default_organization?: string | undefined;
16723
+ friendly_name?: string | undefined;
16724
+ picture_url?: string | undefined;
16725
+ support_email?: string | undefined;
15213
16726
  support_url?: string | undefined;
15214
- idle_session_lifetime?: number | undefined;
15215
16727
  session_lifetime?: number | undefined;
16728
+ idle_session_lifetime?: number | undefined;
15216
16729
  session_cookie?: {
15217
16730
  mode?: "persistent" | "non-persistent" | undefined;
15218
16731
  } | undefined;
15219
- enable_client_connections?: boolean | undefined;
15220
16732
  default_redirection_uri?: string | undefined;
15221
16733
  enabled_locales?: string[] | undefined;
15222
16734
  default_directory?: string | undefined;
@@ -15225,13 +16737,19 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15225
16737
  html?: string | undefined;
15226
16738
  show_log_link?: boolean | undefined;
15227
16739
  } | undefined;
16740
+ enable_client_connections?: boolean | undefined;
15228
16741
  flags?: {
15229
- enable_client_connections?: boolean | undefined;
15230
16742
  allow_legacy_delegation_grant_types?: boolean | undefined;
15231
16743
  allow_legacy_ro_grant_types?: boolean | undefined;
15232
16744
  allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16745
+ dashboard_insights_view?: boolean | undefined;
16746
+ dashboard_log_streams_next?: boolean | undefined;
15233
16747
  disable_clickjack_protection_headers?: boolean | undefined;
16748
+ disable_fields_map_fix?: boolean | undefined;
16749
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16750
+ enable_adfs_waad_email_verification?: boolean | undefined;
15234
16751
  enable_apis_section?: boolean | undefined;
16752
+ enable_client_connections?: boolean | undefined;
15235
16753
  enable_custom_domain_in_emails?: boolean | undefined;
15236
16754
  enable_dynamic_client_registration?: boolean | undefined;
15237
16755
  enable_idtoken_api2?: boolean | undefined;
@@ -15239,18 +16757,10 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15239
16757
  enable_legacy_profile?: boolean | undefined;
15240
16758
  enable_pipeline2?: boolean | undefined;
15241
16759
  enable_public_signup_user_exists_error?: boolean | undefined;
15242
- use_scope_descriptions_for_consent?: boolean | undefined;
15243
- disable_management_api_sms_obfuscation?: boolean | undefined;
15244
- enable_adfs_waad_email_verification?: boolean | undefined;
15245
- revoke_refresh_token_grant?: boolean | undefined;
15246
- dashboard_log_streams_next?: boolean | undefined;
15247
- dashboard_insights_view?: boolean | undefined;
15248
- disable_fields_map_fix?: boolean | undefined;
15249
16760
  mfa_show_factor_list_on_enrollment?: boolean | undefined;
16761
+ revoke_refresh_token_grant?: boolean | undefined;
16762
+ use_scope_descriptions_for_consent?: boolean | undefined;
15250
16763
  } | undefined;
15251
- friendly_name?: string | undefined;
15252
- picture_url?: string | undefined;
15253
- support_email?: string | undefined;
15254
16764
  sandbox_version?: string | undefined;
15255
16765
  sandbox_versions_available?: string[] | undefined;
15256
16766
  change_password?: {
@@ -15267,13 +16777,15 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15267
16777
  } | undefined;
15268
16778
  }, {
15269
16779
  default_organization?: string | undefined;
16780
+ friendly_name?: string | undefined;
16781
+ picture_url?: string | undefined;
16782
+ support_email?: string | undefined;
15270
16783
  support_url?: string | undefined;
15271
- idle_session_lifetime?: number | undefined;
15272
16784
  session_lifetime?: number | undefined;
16785
+ idle_session_lifetime?: number | undefined;
15273
16786
  session_cookie?: {
15274
16787
  mode?: "persistent" | "non-persistent" | undefined;
15275
16788
  } | undefined;
15276
- enable_client_connections?: boolean | undefined;
15277
16789
  default_redirection_uri?: string | undefined;
15278
16790
  enabled_locales?: string[] | undefined;
15279
16791
  default_directory?: string | undefined;
@@ -15282,13 +16794,19 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15282
16794
  html?: string | undefined;
15283
16795
  show_log_link?: boolean | undefined;
15284
16796
  } | undefined;
16797
+ enable_client_connections?: boolean | undefined;
15285
16798
  flags?: {
15286
- enable_client_connections?: boolean | undefined;
15287
16799
  allow_legacy_delegation_grant_types?: boolean | undefined;
15288
16800
  allow_legacy_ro_grant_types?: boolean | undefined;
15289
16801
  allow_legacy_tokeninfo_endpoint?: boolean | undefined;
16802
+ dashboard_insights_view?: boolean | undefined;
16803
+ dashboard_log_streams_next?: boolean | undefined;
15290
16804
  disable_clickjack_protection_headers?: boolean | undefined;
16805
+ disable_fields_map_fix?: boolean | undefined;
16806
+ disable_management_api_sms_obfuscation?: boolean | undefined;
16807
+ enable_adfs_waad_email_verification?: boolean | undefined;
15291
16808
  enable_apis_section?: boolean | undefined;
16809
+ enable_client_connections?: boolean | undefined;
15292
16810
  enable_custom_domain_in_emails?: boolean | undefined;
15293
16811
  enable_dynamic_client_registration?: boolean | undefined;
15294
16812
  enable_idtoken_api2?: boolean | undefined;
@@ -15296,18 +16814,10 @@ export declare const tenantSettingsSchema: z.ZodObject<{
15296
16814
  enable_legacy_profile?: boolean | undefined;
15297
16815
  enable_pipeline2?: boolean | undefined;
15298
16816
  enable_public_signup_user_exists_error?: boolean | undefined;
15299
- use_scope_descriptions_for_consent?: boolean | undefined;
15300
- disable_management_api_sms_obfuscation?: boolean | undefined;
15301
- enable_adfs_waad_email_verification?: boolean | undefined;
15302
- revoke_refresh_token_grant?: boolean | undefined;
15303
- dashboard_log_streams_next?: boolean | undefined;
15304
- dashboard_insights_view?: boolean | undefined;
15305
- disable_fields_map_fix?: boolean | undefined;
15306
16817
  mfa_show_factor_list_on_enrollment?: boolean | undefined;
16818
+ revoke_refresh_token_grant?: boolean | undefined;
16819
+ use_scope_descriptions_for_consent?: boolean | undefined;
15307
16820
  } | undefined;
15308
- friendly_name?: string | undefined;
15309
- picture_url?: string | undefined;
15310
- support_email?: string | undefined;
15311
16821
  sandbox_version?: string | undefined;
15312
16822
  sandbox_versions_available?: string[] | undefined;
15313
16823
  change_password?: {
@@ -15403,7 +16913,7 @@ export interface SessionsAdapter {
15403
16913
  remove: (tenant_id: string, id: string) => Promise<boolean>;
15404
16914
  }
15405
16915
  export interface CreateTenantParams {
15406
- name: string;
16916
+ friendly_name: string;
15407
16917
  audience: string;
15408
16918
  sender_name: string;
15409
16919
  sender_email: string;
@@ -15596,9 +17106,15 @@ export interface UserOrganizationsAdapter {
15596
17106
  } & Totals>;
15597
17107
  update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
15598
17108
  }
15599
- export interface TenantSettingsAdapter {
15600
- set: (tenant_id: string, settings: TenantSettings) => Promise<void>;
15601
- get: (tenant_id: string) => Promise<TenantSettings | null>;
17109
+ export interface ListInvitesResponse extends Totals {
17110
+ invites: Invite[];
17111
+ }
17112
+ export interface InvitesAdapter {
17113
+ create(tenant_id: string, params: InviteInsert): Promise<Invite>;
17114
+ get(tenant_id: string, id: string): Promise<Invite | null>;
17115
+ remove(tenant_id: string, id: string): Promise<boolean>;
17116
+ list(tenant_id: string, params?: ListParams): Promise<ListInvitesResponse>;
17117
+ update(tenant_id: string, id: string, params: Partial<InviteInsert>): Promise<boolean>;
15602
17118
  }
15603
17119
  export interface DataAdapters {
15604
17120
  branding: BrandingAdapter;
@@ -15612,6 +17128,7 @@ export interface DataAdapters {
15612
17128
  emailProviders: EmailProvidersAdapter;
15613
17129
  forms: FormsAdapter;
15614
17130
  hooks: HooksAdapter;
17131
+ invites: InvitesAdapter;
15615
17132
  keys: KeysAdapter;
15616
17133
  loginSessions: LoginSessionsAdapter;
15617
17134
  logs: LogsDataAdapter;
@@ -15624,7 +17141,6 @@ export interface DataAdapters {
15624
17141
  roles: RolesAdapter;
15625
17142
  sessions: SessionsAdapter;
15626
17143
  tenants: TenantsDataAdapter;
15627
- tenantSettings: TenantSettingsAdapter;
15628
17144
  themes: ThemesAdapter;
15629
17145
  users: UserDataAdapter;
15630
17146
  userRoles: UserRolesAdapter;