@authhero/kysely-adapter 10.50.1 → 10.52.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.
@@ -825,43 +825,440 @@ export type Branding = z.infer<typeof brandingSchema>;
825
825
  declare const LegacyClientSchema: z.ZodObject<{
826
826
  tenant: z.ZodObject<{
827
827
  id: z.ZodString;
828
- name: z.ZodString;
829
828
  audience: z.ZodString;
829
+ friendly_name: z.ZodString;
830
+ picture_url: z.ZodOptional<z.ZodString>;
831
+ support_email: z.ZodOptional<z.ZodString>;
832
+ support_url: z.ZodOptional<z.ZodString>;
830
833
  sender_email: z.ZodString;
831
834
  sender_name: z.ZodString;
832
- support_url: z.ZodOptional<z.ZodString>;
833
- logo: z.ZodOptional<z.ZodString>;
834
- primary_color: z.ZodOptional<z.ZodString>;
835
- secondary_color: z.ZodOptional<z.ZodString>;
836
- language: z.ZodOptional<z.ZodString>;
837
- created_at: z.ZodEffects<z.ZodString, string, string>;
838
- updated_at: z.ZodEffects<z.ZodString, string, string>;
835
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
836
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
837
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
838
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
839
+ session_cookie: z.ZodOptional<z.ZodObject<{
840
+ mode: z.ZodOptional<z.ZodEnum<[
841
+ "persistent",
842
+ "non-persistent"
843
+ ]>>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ mode?: "persistent" | "non-persistent" | undefined;
846
+ }, {
847
+ mode?: "persistent" | "non-persistent" | undefined;
848
+ }>>;
849
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
850
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
851
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
852
+ default_directory: z.ZodOptional<z.ZodString>;
853
+ error_page: z.ZodOptional<z.ZodObject<{
854
+ html: z.ZodOptional<z.ZodString>;
855
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
856
+ url: z.ZodOptional<z.ZodString>;
857
+ }, "strip", z.ZodTypeAny, {
858
+ url?: string | undefined;
859
+ html?: string | undefined;
860
+ show_log_link?: boolean | undefined;
861
+ }, {
862
+ url?: string | undefined;
863
+ html?: string | undefined;
864
+ show_log_link?: boolean | undefined;
865
+ }>>;
866
+ flags: z.ZodOptional<z.ZodObject<{
867
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
868
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
869
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
870
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
871
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
872
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
873
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
874
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
875
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
876
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
877
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
878
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
879
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
880
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
881
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
882
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
883
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
884
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
885
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
886
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
887
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
888
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
889
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
890
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
891
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
892
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
893
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
894
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
895
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
896
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
897
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
898
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
899
+ }, "strip", z.ZodTypeAny, {
900
+ allow_changing_enable_sso?: boolean | undefined;
901
+ allow_legacy_delegation_grant_types?: boolean | undefined;
902
+ allow_legacy_ro_grant_types?: boolean | undefined;
903
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
904
+ change_pwd_flow_v1?: boolean | undefined;
905
+ custom_domains_provisioning?: boolean | undefined;
906
+ dashboard_insights_view?: boolean | undefined;
907
+ dashboard_log_streams_next?: boolean | undefined;
908
+ disable_clickjack_protection_headers?: boolean | undefined;
909
+ disable_fields_map_fix?: boolean | undefined;
910
+ disable_impersonation?: boolean | undefined;
911
+ disable_management_api_sms_obfuscation?: boolean | undefined;
912
+ enable_adfs_waad_email_verification?: boolean | undefined;
913
+ enable_apis_section?: boolean | undefined;
914
+ enable_client_connections?: boolean | undefined;
915
+ enable_custom_domain_in_emails?: boolean | undefined;
916
+ enable_dynamic_client_registration?: boolean | undefined;
917
+ enable_idtoken_api2?: boolean | undefined;
918
+ enable_legacy_logs_search_v2?: boolean | undefined;
919
+ enable_legacy_profile?: boolean | undefined;
920
+ enable_pipeline2?: boolean | undefined;
921
+ enable_public_signup_user_exists_error?: boolean | undefined;
922
+ enable_sso?: boolean | undefined;
923
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
924
+ genai_trial?: boolean | undefined;
925
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
926
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
927
+ no_disclose_enterprise_connections?: boolean | undefined;
928
+ remove_alg_from_jwks?: boolean | undefined;
929
+ revoke_refresh_token_grant?: boolean | undefined;
930
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
931
+ use_scope_descriptions_for_consent?: boolean | undefined;
932
+ }, {
933
+ allow_changing_enable_sso?: boolean | undefined;
934
+ allow_legacy_delegation_grant_types?: boolean | undefined;
935
+ allow_legacy_ro_grant_types?: boolean | undefined;
936
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
937
+ change_pwd_flow_v1?: boolean | undefined;
938
+ custom_domains_provisioning?: boolean | undefined;
939
+ dashboard_insights_view?: boolean | undefined;
940
+ dashboard_log_streams_next?: boolean | undefined;
941
+ disable_clickjack_protection_headers?: boolean | undefined;
942
+ disable_fields_map_fix?: boolean | undefined;
943
+ disable_impersonation?: boolean | undefined;
944
+ disable_management_api_sms_obfuscation?: boolean | undefined;
945
+ enable_adfs_waad_email_verification?: boolean | undefined;
946
+ enable_apis_section?: boolean | undefined;
947
+ enable_client_connections?: boolean | undefined;
948
+ enable_custom_domain_in_emails?: boolean | undefined;
949
+ enable_dynamic_client_registration?: boolean | undefined;
950
+ enable_idtoken_api2?: boolean | undefined;
951
+ enable_legacy_logs_search_v2?: boolean | undefined;
952
+ enable_legacy_profile?: boolean | undefined;
953
+ enable_pipeline2?: boolean | undefined;
954
+ enable_public_signup_user_exists_error?: boolean | undefined;
955
+ enable_sso?: boolean | undefined;
956
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
957
+ genai_trial?: boolean | undefined;
958
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
959
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
960
+ no_disclose_enterprise_connections?: boolean | undefined;
961
+ remove_alg_from_jwks?: boolean | undefined;
962
+ revoke_refresh_token_grant?: boolean | undefined;
963
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
964
+ use_scope_descriptions_for_consent?: boolean | undefined;
965
+ }>>;
966
+ sandbox_version: z.ZodOptional<z.ZodString>;
967
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
968
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
969
+ change_password: z.ZodOptional<z.ZodObject<{
970
+ enabled: z.ZodOptional<z.ZodBoolean>;
971
+ html: z.ZodOptional<z.ZodString>;
972
+ }, "strip", z.ZodTypeAny, {
973
+ html?: string | undefined;
974
+ enabled?: boolean | undefined;
975
+ }, {
976
+ html?: string | undefined;
977
+ enabled?: boolean | undefined;
978
+ }>>;
979
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
980
+ enabled: z.ZodOptional<z.ZodBoolean>;
981
+ html: z.ZodOptional<z.ZodString>;
982
+ }, "strip", z.ZodTypeAny, {
983
+ html?: string | undefined;
984
+ enabled?: boolean | undefined;
985
+ }, {
986
+ html?: string | undefined;
987
+ enabled?: boolean | undefined;
988
+ }>>;
989
+ device_flow: z.ZodOptional<z.ZodObject<{
990
+ charset: z.ZodOptional<z.ZodEnum<[
991
+ "base20",
992
+ "digits"
993
+ ]>>;
994
+ mask: z.ZodOptional<z.ZodString>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ charset?: "base20" | "digits" | undefined;
997
+ mask?: string | undefined;
998
+ }, {
999
+ charset?: "base20" | "digits" | undefined;
1000
+ mask?: string | undefined;
1001
+ }>>;
1002
+ default_token_quota: z.ZodOptional<z.ZodObject<{
1003
+ clients: z.ZodOptional<z.ZodObject<{
1004
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ client_credentials?: Record<string, any> | undefined;
1007
+ }, {
1008
+ client_credentials?: Record<string, any> | undefined;
1009
+ }>>;
1010
+ organizations: z.ZodOptional<z.ZodObject<{
1011
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1012
+ }, "strip", z.ZodTypeAny, {
1013
+ client_credentials?: Record<string, any> | undefined;
1014
+ }, {
1015
+ client_credentials?: Record<string, any> | undefined;
1016
+ }>>;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ clients?: {
1019
+ client_credentials?: Record<string, any> | undefined;
1020
+ } | undefined;
1021
+ organizations?: {
1022
+ client_credentials?: Record<string, any> | undefined;
1023
+ } | undefined;
1024
+ }, {
1025
+ clients?: {
1026
+ client_credentials?: Record<string, any> | undefined;
1027
+ } | undefined;
1028
+ organizations?: {
1029
+ client_credentials?: Record<string, any> | undefined;
1030
+ } | undefined;
1031
+ }>>;
1032
+ default_audience: z.ZodOptional<z.ZodString>;
1033
+ default_organization: z.ZodOptional<z.ZodString>;
1034
+ sessions: z.ZodOptional<z.ZodObject<{
1035
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ oidc_logout_prompt_enabled?: boolean | undefined;
1038
+ }, {
1039
+ oidc_logout_prompt_enabled?: boolean | undefined;
1040
+ }>>;
1041
+ oidc_logout: z.ZodOptional<z.ZodObject<{
1042
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
1045
+ }, {
1046
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
1047
+ }>>;
1048
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
1049
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
1050
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1051
+ mtls: z.ZodOptional<z.ZodObject<{
1052
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ enable_endpoint_aliases?: boolean | undefined;
1055
+ }, {
1056
+ enable_endpoint_aliases?: boolean | undefined;
1057
+ }>>;
1058
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
1059
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
1060
+ created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
1061
+ updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
839
1062
  }, "strip", z.ZodTypeAny, {
840
1063
  created_at: string;
841
1064
  updated_at: string;
842
- name: string;
843
1065
  audience: string;
844
1066
  id: string;
1067
+ friendly_name: string;
845
1068
  sender_email: string;
846
1069
  sender_name: string;
1070
+ allowed_logout_urls?: string[] | undefined;
1071
+ oidc_logout?: {
1072
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
1073
+ } | undefined;
1074
+ default_organization?: string | undefined;
1075
+ picture_url?: string | undefined;
1076
+ support_email?: string | undefined;
847
1077
  support_url?: string | undefined;
848
- logo?: string | undefined;
849
- primary_color?: string | undefined;
850
- secondary_color?: string | undefined;
851
- language?: string | undefined;
1078
+ session_lifetime?: number | undefined;
1079
+ idle_session_lifetime?: number | undefined;
1080
+ ephemeral_session_lifetime?: number | undefined;
1081
+ idle_ephemeral_session_lifetime?: number | undefined;
1082
+ session_cookie?: {
1083
+ mode?: "persistent" | "non-persistent" | undefined;
1084
+ } | undefined;
1085
+ default_redirection_uri?: string | undefined;
1086
+ enabled_locales?: string[] | undefined;
1087
+ default_directory?: string | undefined;
1088
+ error_page?: {
1089
+ url?: string | undefined;
1090
+ html?: string | undefined;
1091
+ show_log_link?: boolean | undefined;
1092
+ } | undefined;
1093
+ flags?: {
1094
+ allow_changing_enable_sso?: boolean | undefined;
1095
+ allow_legacy_delegation_grant_types?: boolean | undefined;
1096
+ allow_legacy_ro_grant_types?: boolean | undefined;
1097
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
1098
+ change_pwd_flow_v1?: boolean | undefined;
1099
+ custom_domains_provisioning?: boolean | undefined;
1100
+ dashboard_insights_view?: boolean | undefined;
1101
+ dashboard_log_streams_next?: boolean | undefined;
1102
+ disable_clickjack_protection_headers?: boolean | undefined;
1103
+ disable_fields_map_fix?: boolean | undefined;
1104
+ disable_impersonation?: boolean | undefined;
1105
+ disable_management_api_sms_obfuscation?: boolean | undefined;
1106
+ enable_adfs_waad_email_verification?: boolean | undefined;
1107
+ enable_apis_section?: boolean | undefined;
1108
+ enable_client_connections?: boolean | undefined;
1109
+ enable_custom_domain_in_emails?: boolean | undefined;
1110
+ enable_dynamic_client_registration?: boolean | undefined;
1111
+ enable_idtoken_api2?: boolean | undefined;
1112
+ enable_legacy_logs_search_v2?: boolean | undefined;
1113
+ enable_legacy_profile?: boolean | undefined;
1114
+ enable_pipeline2?: boolean | undefined;
1115
+ enable_public_signup_user_exists_error?: boolean | undefined;
1116
+ enable_sso?: boolean | undefined;
1117
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
1118
+ genai_trial?: boolean | undefined;
1119
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
1120
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
1121
+ no_disclose_enterprise_connections?: boolean | undefined;
1122
+ remove_alg_from_jwks?: boolean | undefined;
1123
+ revoke_refresh_token_grant?: boolean | undefined;
1124
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
1125
+ use_scope_descriptions_for_consent?: boolean | undefined;
1126
+ } | undefined;
1127
+ sandbox_version?: string | undefined;
1128
+ legacy_sandbox_version?: string | undefined;
1129
+ sandbox_versions_available?: string[] | undefined;
1130
+ change_password?: {
1131
+ html?: string | undefined;
1132
+ enabled?: boolean | undefined;
1133
+ } | undefined;
1134
+ guardian_mfa_page?: {
1135
+ html?: string | undefined;
1136
+ enabled?: boolean | undefined;
1137
+ } | undefined;
1138
+ device_flow?: {
1139
+ charset?: "base20" | "digits" | undefined;
1140
+ mask?: string | undefined;
1141
+ } | undefined;
1142
+ default_token_quota?: {
1143
+ clients?: {
1144
+ client_credentials?: Record<string, any> | undefined;
1145
+ } | undefined;
1146
+ organizations?: {
1147
+ client_credentials?: Record<string, any> | undefined;
1148
+ } | undefined;
1149
+ } | undefined;
1150
+ default_audience?: string | undefined;
1151
+ sessions?: {
1152
+ oidc_logout_prompt_enabled?: boolean | undefined;
1153
+ } | undefined;
1154
+ allow_organization_name_in_authentication_api?: boolean | undefined;
1155
+ customize_mfa_in_postlogin_action?: boolean | undefined;
1156
+ acr_values_supported?: string[] | undefined;
1157
+ mtls?: {
1158
+ enable_endpoint_aliases?: boolean | undefined;
1159
+ } | undefined;
1160
+ pushed_authorization_requests_supported?: boolean | undefined;
1161
+ authorization_response_iss_parameter_supported?: boolean | undefined;
852
1162
  }, {
853
- created_at: string;
854
- updated_at: string;
855
- name: string;
1163
+ created_at: string | null;
1164
+ updated_at: string | null;
856
1165
  audience: string;
857
1166
  id: string;
1167
+ friendly_name: string;
858
1168
  sender_email: string;
859
1169
  sender_name: string;
1170
+ allowed_logout_urls?: string[] | undefined;
1171
+ oidc_logout?: {
1172
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
1173
+ } | undefined;
1174
+ default_organization?: string | undefined;
1175
+ picture_url?: string | undefined;
1176
+ support_email?: string | undefined;
860
1177
  support_url?: string | undefined;
861
- logo?: string | undefined;
862
- primary_color?: string | undefined;
863
- secondary_color?: string | undefined;
864
- language?: string | undefined;
1178
+ session_lifetime?: number | undefined;
1179
+ idle_session_lifetime?: number | undefined;
1180
+ ephemeral_session_lifetime?: number | undefined;
1181
+ idle_ephemeral_session_lifetime?: number | undefined;
1182
+ session_cookie?: {
1183
+ mode?: "persistent" | "non-persistent" | undefined;
1184
+ } | undefined;
1185
+ default_redirection_uri?: string | undefined;
1186
+ enabled_locales?: string[] | undefined;
1187
+ default_directory?: string | undefined;
1188
+ error_page?: {
1189
+ url?: string | undefined;
1190
+ html?: string | undefined;
1191
+ show_log_link?: boolean | undefined;
1192
+ } | undefined;
1193
+ flags?: {
1194
+ allow_changing_enable_sso?: boolean | undefined;
1195
+ allow_legacy_delegation_grant_types?: boolean | undefined;
1196
+ allow_legacy_ro_grant_types?: boolean | undefined;
1197
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
1198
+ change_pwd_flow_v1?: boolean | undefined;
1199
+ custom_domains_provisioning?: boolean | undefined;
1200
+ dashboard_insights_view?: boolean | undefined;
1201
+ dashboard_log_streams_next?: boolean | undefined;
1202
+ disable_clickjack_protection_headers?: boolean | undefined;
1203
+ disable_fields_map_fix?: boolean | undefined;
1204
+ disable_impersonation?: boolean | undefined;
1205
+ disable_management_api_sms_obfuscation?: boolean | undefined;
1206
+ enable_adfs_waad_email_verification?: boolean | undefined;
1207
+ enable_apis_section?: boolean | undefined;
1208
+ enable_client_connections?: boolean | undefined;
1209
+ enable_custom_domain_in_emails?: boolean | undefined;
1210
+ enable_dynamic_client_registration?: boolean | undefined;
1211
+ enable_idtoken_api2?: boolean | undefined;
1212
+ enable_legacy_logs_search_v2?: boolean | undefined;
1213
+ enable_legacy_profile?: boolean | undefined;
1214
+ enable_pipeline2?: boolean | undefined;
1215
+ enable_public_signup_user_exists_error?: boolean | undefined;
1216
+ enable_sso?: boolean | undefined;
1217
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
1218
+ genai_trial?: boolean | undefined;
1219
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
1220
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
1221
+ no_disclose_enterprise_connections?: boolean | undefined;
1222
+ remove_alg_from_jwks?: boolean | undefined;
1223
+ revoke_refresh_token_grant?: boolean | undefined;
1224
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
1225
+ use_scope_descriptions_for_consent?: boolean | undefined;
1226
+ } | undefined;
1227
+ sandbox_version?: string | undefined;
1228
+ legacy_sandbox_version?: string | undefined;
1229
+ sandbox_versions_available?: string[] | undefined;
1230
+ change_password?: {
1231
+ html?: string | undefined;
1232
+ enabled?: boolean | undefined;
1233
+ } | undefined;
1234
+ guardian_mfa_page?: {
1235
+ html?: string | undefined;
1236
+ enabled?: boolean | undefined;
1237
+ } | undefined;
1238
+ device_flow?: {
1239
+ charset?: "base20" | "digits" | undefined;
1240
+ mask?: string | undefined;
1241
+ } | undefined;
1242
+ default_token_quota?: {
1243
+ clients?: {
1244
+ client_credentials?: Record<string, any> | undefined;
1245
+ } | undefined;
1246
+ organizations?: {
1247
+ client_credentials?: Record<string, any> | undefined;
1248
+ } | undefined;
1249
+ } | undefined;
1250
+ default_audience?: string | undefined;
1251
+ sessions?: {
1252
+ oidc_logout_prompt_enabled?: boolean | undefined;
1253
+ } | undefined;
1254
+ allow_organization_name_in_authentication_api?: boolean | undefined;
1255
+ customize_mfa_in_postlogin_action?: boolean | undefined;
1256
+ acr_values_supported?: string[] | undefined;
1257
+ mtls?: {
1258
+ enable_endpoint_aliases?: boolean | undefined;
1259
+ } | undefined;
1260
+ pushed_authorization_requests_supported?: boolean | undefined;
1261
+ authorization_response_iss_parameter_supported?: boolean | undefined;
865
1262
  }>;
866
1263
  connections: z.ZodArray<z.ZodObject<{
867
1264
  created_at: z.ZodEffects<z.ZodString, string, string>;
@@ -1099,16 +1496,103 @@ declare const LegacyClientSchema: z.ZodObject<{
1099
1496
  tenant: {
1100
1497
  created_at: string;
1101
1498
  updated_at: string;
1102
- name: string;
1103
1499
  audience: string;
1104
1500
  id: string;
1501
+ friendly_name: string;
1105
1502
  sender_email: string;
1106
1503
  sender_name: string;
1504
+ allowed_logout_urls?: string[] | undefined;
1505
+ oidc_logout?: {
1506
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
1507
+ } | undefined;
1508
+ default_organization?: string | undefined;
1509
+ picture_url?: string | undefined;
1510
+ support_email?: string | undefined;
1107
1511
  support_url?: string | undefined;
1108
- logo?: string | undefined;
1109
- primary_color?: string | undefined;
1110
- secondary_color?: string | undefined;
1111
- language?: string | undefined;
1512
+ session_lifetime?: number | undefined;
1513
+ idle_session_lifetime?: number | undefined;
1514
+ ephemeral_session_lifetime?: number | undefined;
1515
+ idle_ephemeral_session_lifetime?: number | undefined;
1516
+ session_cookie?: {
1517
+ mode?: "persistent" | "non-persistent" | undefined;
1518
+ } | undefined;
1519
+ default_redirection_uri?: string | undefined;
1520
+ enabled_locales?: string[] | undefined;
1521
+ default_directory?: string | undefined;
1522
+ error_page?: {
1523
+ url?: string | undefined;
1524
+ html?: string | undefined;
1525
+ show_log_link?: boolean | undefined;
1526
+ } | undefined;
1527
+ flags?: {
1528
+ allow_changing_enable_sso?: boolean | undefined;
1529
+ allow_legacy_delegation_grant_types?: boolean | undefined;
1530
+ allow_legacy_ro_grant_types?: boolean | undefined;
1531
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
1532
+ change_pwd_flow_v1?: boolean | undefined;
1533
+ custom_domains_provisioning?: boolean | undefined;
1534
+ dashboard_insights_view?: boolean | undefined;
1535
+ dashboard_log_streams_next?: boolean | undefined;
1536
+ disable_clickjack_protection_headers?: boolean | undefined;
1537
+ disable_fields_map_fix?: boolean | undefined;
1538
+ disable_impersonation?: boolean | undefined;
1539
+ disable_management_api_sms_obfuscation?: boolean | undefined;
1540
+ enable_adfs_waad_email_verification?: boolean | undefined;
1541
+ enable_apis_section?: boolean | undefined;
1542
+ enable_client_connections?: boolean | undefined;
1543
+ enable_custom_domain_in_emails?: boolean | undefined;
1544
+ enable_dynamic_client_registration?: boolean | undefined;
1545
+ enable_idtoken_api2?: boolean | undefined;
1546
+ enable_legacy_logs_search_v2?: boolean | undefined;
1547
+ enable_legacy_profile?: boolean | undefined;
1548
+ enable_pipeline2?: boolean | undefined;
1549
+ enable_public_signup_user_exists_error?: boolean | undefined;
1550
+ enable_sso?: boolean | undefined;
1551
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
1552
+ genai_trial?: boolean | undefined;
1553
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
1554
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
1555
+ no_disclose_enterprise_connections?: boolean | undefined;
1556
+ remove_alg_from_jwks?: boolean | undefined;
1557
+ revoke_refresh_token_grant?: boolean | undefined;
1558
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
1559
+ use_scope_descriptions_for_consent?: boolean | undefined;
1560
+ } | undefined;
1561
+ sandbox_version?: string | undefined;
1562
+ legacy_sandbox_version?: string | undefined;
1563
+ sandbox_versions_available?: string[] | undefined;
1564
+ change_password?: {
1565
+ html?: string | undefined;
1566
+ enabled?: boolean | undefined;
1567
+ } | undefined;
1568
+ guardian_mfa_page?: {
1569
+ html?: string | undefined;
1570
+ enabled?: boolean | undefined;
1571
+ } | undefined;
1572
+ device_flow?: {
1573
+ charset?: "base20" | "digits" | undefined;
1574
+ mask?: string | undefined;
1575
+ } | undefined;
1576
+ default_token_quota?: {
1577
+ clients?: {
1578
+ client_credentials?: Record<string, any> | undefined;
1579
+ } | undefined;
1580
+ organizations?: {
1581
+ client_credentials?: Record<string, any> | undefined;
1582
+ } | undefined;
1583
+ } | undefined;
1584
+ default_audience?: string | undefined;
1585
+ sessions?: {
1586
+ oidc_logout_prompt_enabled?: boolean | undefined;
1587
+ } | undefined;
1588
+ allow_organization_name_in_authentication_api?: boolean | undefined;
1589
+ customize_mfa_in_postlogin_action?: boolean | undefined;
1590
+ acr_values_supported?: string[] | undefined;
1591
+ mtls?: {
1592
+ enable_endpoint_aliases?: boolean | undefined;
1593
+ } | undefined;
1594
+ pushed_authorization_requests_supported?: boolean | undefined;
1595
+ authorization_response_iss_parameter_supported?: boolean | undefined;
1112
1596
  };
1113
1597
  connections: {
1114
1598
  options: {
@@ -1181,18 +1665,105 @@ declare const LegacyClientSchema: z.ZodObject<{
1181
1665
  name: string;
1182
1666
  client_id: string;
1183
1667
  tenant: {
1184
- created_at: string;
1185
- updated_at: string;
1186
- name: string;
1668
+ created_at: string | null;
1669
+ updated_at: string | null;
1187
1670
  audience: string;
1188
1671
  id: string;
1672
+ friendly_name: string;
1189
1673
  sender_email: string;
1190
1674
  sender_name: string;
1675
+ allowed_logout_urls?: string[] | undefined;
1676
+ oidc_logout?: {
1677
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
1678
+ } | undefined;
1679
+ default_organization?: string | undefined;
1680
+ picture_url?: string | undefined;
1681
+ support_email?: string | undefined;
1191
1682
  support_url?: string | undefined;
1192
- logo?: string | undefined;
1193
- primary_color?: string | undefined;
1194
- secondary_color?: string | undefined;
1195
- language?: string | undefined;
1683
+ session_lifetime?: number | undefined;
1684
+ idle_session_lifetime?: number | undefined;
1685
+ ephemeral_session_lifetime?: number | undefined;
1686
+ idle_ephemeral_session_lifetime?: number | undefined;
1687
+ session_cookie?: {
1688
+ mode?: "persistent" | "non-persistent" | undefined;
1689
+ } | undefined;
1690
+ default_redirection_uri?: string | undefined;
1691
+ enabled_locales?: string[] | undefined;
1692
+ default_directory?: string | undefined;
1693
+ error_page?: {
1694
+ url?: string | undefined;
1695
+ html?: string | undefined;
1696
+ show_log_link?: boolean | undefined;
1697
+ } | undefined;
1698
+ flags?: {
1699
+ allow_changing_enable_sso?: boolean | undefined;
1700
+ allow_legacy_delegation_grant_types?: boolean | undefined;
1701
+ allow_legacy_ro_grant_types?: boolean | undefined;
1702
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
1703
+ change_pwd_flow_v1?: boolean | undefined;
1704
+ custom_domains_provisioning?: boolean | undefined;
1705
+ dashboard_insights_view?: boolean | undefined;
1706
+ dashboard_log_streams_next?: boolean | undefined;
1707
+ disable_clickjack_protection_headers?: boolean | undefined;
1708
+ disable_fields_map_fix?: boolean | undefined;
1709
+ disable_impersonation?: boolean | undefined;
1710
+ disable_management_api_sms_obfuscation?: boolean | undefined;
1711
+ enable_adfs_waad_email_verification?: boolean | undefined;
1712
+ enable_apis_section?: boolean | undefined;
1713
+ enable_client_connections?: boolean | undefined;
1714
+ enable_custom_domain_in_emails?: boolean | undefined;
1715
+ enable_dynamic_client_registration?: boolean | undefined;
1716
+ enable_idtoken_api2?: boolean | undefined;
1717
+ enable_legacy_logs_search_v2?: boolean | undefined;
1718
+ enable_legacy_profile?: boolean | undefined;
1719
+ enable_pipeline2?: boolean | undefined;
1720
+ enable_public_signup_user_exists_error?: boolean | undefined;
1721
+ enable_sso?: boolean | undefined;
1722
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
1723
+ genai_trial?: boolean | undefined;
1724
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
1725
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
1726
+ no_disclose_enterprise_connections?: boolean | undefined;
1727
+ remove_alg_from_jwks?: boolean | undefined;
1728
+ revoke_refresh_token_grant?: boolean | undefined;
1729
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
1730
+ use_scope_descriptions_for_consent?: boolean | undefined;
1731
+ } | undefined;
1732
+ sandbox_version?: string | undefined;
1733
+ legacy_sandbox_version?: string | undefined;
1734
+ sandbox_versions_available?: string[] | undefined;
1735
+ change_password?: {
1736
+ html?: string | undefined;
1737
+ enabled?: boolean | undefined;
1738
+ } | undefined;
1739
+ guardian_mfa_page?: {
1740
+ html?: string | undefined;
1741
+ enabled?: boolean | undefined;
1742
+ } | undefined;
1743
+ device_flow?: {
1744
+ charset?: "base20" | "digits" | undefined;
1745
+ mask?: string | undefined;
1746
+ } | undefined;
1747
+ default_token_quota?: {
1748
+ clients?: {
1749
+ client_credentials?: Record<string, any> | undefined;
1750
+ } | undefined;
1751
+ organizations?: {
1752
+ client_credentials?: Record<string, any> | undefined;
1753
+ } | undefined;
1754
+ } | undefined;
1755
+ default_audience?: string | undefined;
1756
+ sessions?: {
1757
+ oidc_logout_prompt_enabled?: boolean | undefined;
1758
+ } | undefined;
1759
+ allow_organization_name_in_authentication_api?: boolean | undefined;
1760
+ customize_mfa_in_postlogin_action?: boolean | undefined;
1761
+ acr_values_supported?: string[] | undefined;
1762
+ mtls?: {
1763
+ enable_endpoint_aliases?: boolean | undefined;
1764
+ } | undefined;
1765
+ pushed_authorization_requests_supported?: boolean | undefined;
1766
+ authorization_response_iss_parameter_supported?: boolean | undefined;
1196
1767
  };
1197
1768
  connections: {
1198
1769
  created_at: string;
@@ -3559,8 +4130,8 @@ declare const hookInsertSchema: z.ZodUnion<[
3559
4130
  hook_id: z.ZodOptional<z.ZodString>;
3560
4131
  }, "strip", z.ZodTypeAny, {
3561
4132
  url: string;
3562
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3563
4133
  enabled: boolean;
4134
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3564
4135
  synchronous: boolean;
3565
4136
  priority?: number | undefined;
3566
4137
  hook_id?: string | undefined;
@@ -3584,8 +4155,8 @@ declare const hookInsertSchema: z.ZodUnion<[
3584
4155
  priority: z.ZodOptional<z.ZodNumber>;
3585
4156
  hook_id: z.ZodOptional<z.ZodString>;
3586
4157
  }, "strip", z.ZodTypeAny, {
3587
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3588
4158
  enabled: boolean;
4159
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3589
4160
  synchronous: boolean;
3590
4161
  form_id: string;
3591
4162
  priority?: number | undefined;
@@ -3618,8 +4189,8 @@ declare const hookSchema: z.ZodUnion<[
3618
4189
  created_at: string;
3619
4190
  updated_at: string;
3620
4191
  url: string;
3621
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3622
4192
  enabled: boolean;
4193
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3623
4194
  synchronous: boolean;
3624
4195
  hook_id: string;
3625
4196
  priority?: number | undefined;
@@ -3649,8 +4220,8 @@ declare const hookSchema: z.ZodUnion<[
3649
4220
  }, "strip", z.ZodTypeAny, {
3650
4221
  created_at: string;
3651
4222
  updated_at: string;
3652
- trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3653
4223
  enabled: boolean;
4224
+ trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
3654
4225
  synchronous: boolean;
3655
4226
  hook_id: string;
3656
4227
  form_id: string;
@@ -4259,6 +4830,7 @@ declare const sessionInsertSchema: z.ZodObject<{
4259
4830
  }, "strip", z.ZodTypeAny, {
4260
4831
  user_id: string;
4261
4832
  id: string;
4833
+ clients: string[];
4262
4834
  login_session_id: string;
4263
4835
  device: {
4264
4836
  last_ip: string;
@@ -4268,7 +4840,6 @@ declare const sessionInsertSchema: z.ZodObject<{
4268
4840
  last_user_agent: string;
4269
4841
  last_asn: string;
4270
4842
  };
4271
- clients: string[];
4272
4843
  expires_at?: string | undefined;
4273
4844
  used_at?: string | undefined;
4274
4845
  revoked_at?: string | undefined;
@@ -4276,6 +4847,7 @@ declare const sessionInsertSchema: z.ZodObject<{
4276
4847
  }, {
4277
4848
  user_id: string;
4278
4849
  id: string;
4850
+ clients: string[];
4279
4851
  login_session_id: string;
4280
4852
  device: {
4281
4853
  last_ip: string;
@@ -4285,7 +4857,6 @@ declare const sessionInsertSchema: z.ZodObject<{
4285
4857
  last_user_agent: string;
4286
4858
  last_asn: string;
4287
4859
  };
4288
- clients: string[];
4289
4860
  expires_at?: string | undefined;
4290
4861
  used_at?: string | undefined;
4291
4862
  revoked_at?: string | undefined;
@@ -4332,6 +4903,7 @@ declare const sessionSchema: z.ZodObject<{
4332
4903
  updated_at: string;
4333
4904
  user_id: string;
4334
4905
  id: string;
4906
+ clients: string[];
4335
4907
  login_session_id: string;
4336
4908
  device: {
4337
4909
  last_ip: string;
@@ -4341,7 +4913,6 @@ declare const sessionSchema: z.ZodObject<{
4341
4913
  last_user_agent: string;
4342
4914
  last_asn: string;
4343
4915
  };
4344
- clients: string[];
4345
4916
  authenticated_at: string;
4346
4917
  last_interaction_at: string;
4347
4918
  expires_at?: string | undefined;
@@ -4353,6 +4924,7 @@ declare const sessionSchema: z.ZodObject<{
4353
4924
  updated_at: string;
4354
4925
  user_id: string;
4355
4926
  id: string;
4927
+ clients: string[];
4356
4928
  login_session_id: string;
4357
4929
  device: {
4358
4930
  last_ip: string;
@@ -4362,7 +4934,6 @@ declare const sessionSchema: z.ZodObject<{
4362
4934
  last_user_agent: string;
4363
4935
  last_asn: string;
4364
4936
  };
4365
- clients: string[];
4366
4937
  authenticated_at: string;
4367
4938
  last_interaction_at: string;
4368
4939
  expires_at?: string | undefined;
@@ -4423,43 +4994,440 @@ declare const signingKeySchema: z.ZodObject<{
4423
4994
  export type SigningKey = z.infer<typeof signingKeySchema>;
4424
4995
  declare const tenantSchema: z.ZodObject<{
4425
4996
  id: z.ZodString;
4426
- name: z.ZodString;
4427
4997
  audience: z.ZodString;
4998
+ friendly_name: z.ZodString;
4999
+ picture_url: z.ZodOptional<z.ZodString>;
5000
+ support_email: z.ZodOptional<z.ZodString>;
5001
+ support_url: z.ZodOptional<z.ZodString>;
4428
5002
  sender_email: z.ZodString;
4429
5003
  sender_name: z.ZodString;
4430
- support_url: z.ZodOptional<z.ZodString>;
4431
- logo: z.ZodOptional<z.ZodString>;
4432
- primary_color: z.ZodOptional<z.ZodString>;
4433
- secondary_color: z.ZodOptional<z.ZodString>;
4434
- language: z.ZodOptional<z.ZodString>;
4435
- created_at: z.ZodEffects<z.ZodString, string, string>;
4436
- updated_at: z.ZodEffects<z.ZodString, string, string>;
5004
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
5005
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
5006
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
5007
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
5008
+ session_cookie: z.ZodOptional<z.ZodObject<{
5009
+ mode: z.ZodOptional<z.ZodEnum<[
5010
+ "persistent",
5011
+ "non-persistent"
5012
+ ]>>;
5013
+ }, "strip", z.ZodTypeAny, {
5014
+ mode?: "persistent" | "non-persistent" | undefined;
5015
+ }, {
5016
+ mode?: "persistent" | "non-persistent" | undefined;
5017
+ }>>;
5018
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5019
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
5020
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5021
+ default_directory: z.ZodOptional<z.ZodString>;
5022
+ error_page: z.ZodOptional<z.ZodObject<{
5023
+ html: z.ZodOptional<z.ZodString>;
5024
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
5025
+ url: z.ZodOptional<z.ZodString>;
5026
+ }, "strip", z.ZodTypeAny, {
5027
+ url?: string | undefined;
5028
+ html?: string | undefined;
5029
+ show_log_link?: boolean | undefined;
5030
+ }, {
5031
+ url?: string | undefined;
5032
+ html?: string | undefined;
5033
+ show_log_link?: boolean | undefined;
5034
+ }>>;
5035
+ flags: z.ZodOptional<z.ZodObject<{
5036
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
5037
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
5038
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
5039
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
5040
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
5041
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
5042
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
5043
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
5044
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
5045
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
5046
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
5047
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
5048
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
5049
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
5050
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
5051
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
5052
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
5053
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
5054
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
5055
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
5056
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
5057
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
5058
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
5059
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
5060
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
5061
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
5062
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
5063
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
5064
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
5065
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
5066
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
5067
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
5068
+ }, "strip", z.ZodTypeAny, {
5069
+ allow_changing_enable_sso?: boolean | undefined;
5070
+ allow_legacy_delegation_grant_types?: boolean | undefined;
5071
+ allow_legacy_ro_grant_types?: boolean | undefined;
5072
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
5073
+ change_pwd_flow_v1?: boolean | undefined;
5074
+ custom_domains_provisioning?: boolean | undefined;
5075
+ dashboard_insights_view?: boolean | undefined;
5076
+ dashboard_log_streams_next?: boolean | undefined;
5077
+ disable_clickjack_protection_headers?: boolean | undefined;
5078
+ disable_fields_map_fix?: boolean | undefined;
5079
+ disable_impersonation?: boolean | undefined;
5080
+ disable_management_api_sms_obfuscation?: boolean | undefined;
5081
+ enable_adfs_waad_email_verification?: boolean | undefined;
5082
+ enable_apis_section?: boolean | undefined;
5083
+ enable_client_connections?: boolean | undefined;
5084
+ enable_custom_domain_in_emails?: boolean | undefined;
5085
+ enable_dynamic_client_registration?: boolean | undefined;
5086
+ enable_idtoken_api2?: boolean | undefined;
5087
+ enable_legacy_logs_search_v2?: boolean | undefined;
5088
+ enable_legacy_profile?: boolean | undefined;
5089
+ enable_pipeline2?: boolean | undefined;
5090
+ enable_public_signup_user_exists_error?: boolean | undefined;
5091
+ enable_sso?: boolean | undefined;
5092
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
5093
+ genai_trial?: boolean | undefined;
5094
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
5095
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
5096
+ no_disclose_enterprise_connections?: boolean | undefined;
5097
+ remove_alg_from_jwks?: boolean | undefined;
5098
+ revoke_refresh_token_grant?: boolean | undefined;
5099
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
5100
+ use_scope_descriptions_for_consent?: boolean | undefined;
5101
+ }, {
5102
+ allow_changing_enable_sso?: boolean | undefined;
5103
+ allow_legacy_delegation_grant_types?: boolean | undefined;
5104
+ allow_legacy_ro_grant_types?: boolean | undefined;
5105
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
5106
+ change_pwd_flow_v1?: boolean | undefined;
5107
+ custom_domains_provisioning?: boolean | undefined;
5108
+ dashboard_insights_view?: boolean | undefined;
5109
+ dashboard_log_streams_next?: boolean | undefined;
5110
+ disable_clickjack_protection_headers?: boolean | undefined;
5111
+ disable_fields_map_fix?: boolean | undefined;
5112
+ disable_impersonation?: boolean | undefined;
5113
+ disable_management_api_sms_obfuscation?: boolean | undefined;
5114
+ enable_adfs_waad_email_verification?: boolean | undefined;
5115
+ enable_apis_section?: boolean | undefined;
5116
+ enable_client_connections?: boolean | undefined;
5117
+ enable_custom_domain_in_emails?: boolean | undefined;
5118
+ enable_dynamic_client_registration?: boolean | undefined;
5119
+ enable_idtoken_api2?: boolean | undefined;
5120
+ enable_legacy_logs_search_v2?: boolean | undefined;
5121
+ enable_legacy_profile?: boolean | undefined;
5122
+ enable_pipeline2?: boolean | undefined;
5123
+ enable_public_signup_user_exists_error?: boolean | undefined;
5124
+ enable_sso?: boolean | undefined;
5125
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
5126
+ genai_trial?: boolean | undefined;
5127
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
5128
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
5129
+ no_disclose_enterprise_connections?: boolean | undefined;
5130
+ remove_alg_from_jwks?: boolean | undefined;
5131
+ revoke_refresh_token_grant?: boolean | undefined;
5132
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
5133
+ use_scope_descriptions_for_consent?: boolean | undefined;
5134
+ }>>;
5135
+ sandbox_version: z.ZodOptional<z.ZodString>;
5136
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
5137
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5138
+ change_password: z.ZodOptional<z.ZodObject<{
5139
+ enabled: z.ZodOptional<z.ZodBoolean>;
5140
+ html: z.ZodOptional<z.ZodString>;
5141
+ }, "strip", z.ZodTypeAny, {
5142
+ html?: string | undefined;
5143
+ enabled?: boolean | undefined;
5144
+ }, {
5145
+ html?: string | undefined;
5146
+ enabled?: boolean | undefined;
5147
+ }>>;
5148
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
5149
+ enabled: z.ZodOptional<z.ZodBoolean>;
5150
+ html: z.ZodOptional<z.ZodString>;
5151
+ }, "strip", z.ZodTypeAny, {
5152
+ html?: string | undefined;
5153
+ enabled?: boolean | undefined;
5154
+ }, {
5155
+ html?: string | undefined;
5156
+ enabled?: boolean | undefined;
5157
+ }>>;
5158
+ device_flow: z.ZodOptional<z.ZodObject<{
5159
+ charset: z.ZodOptional<z.ZodEnum<[
5160
+ "base20",
5161
+ "digits"
5162
+ ]>>;
5163
+ mask: z.ZodOptional<z.ZodString>;
5164
+ }, "strip", z.ZodTypeAny, {
5165
+ charset?: "base20" | "digits" | undefined;
5166
+ mask?: string | undefined;
5167
+ }, {
5168
+ charset?: "base20" | "digits" | undefined;
5169
+ mask?: string | undefined;
5170
+ }>>;
5171
+ default_token_quota: z.ZodOptional<z.ZodObject<{
5172
+ clients: z.ZodOptional<z.ZodObject<{
5173
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5174
+ }, "strip", z.ZodTypeAny, {
5175
+ client_credentials?: Record<string, any> | undefined;
5176
+ }, {
5177
+ client_credentials?: Record<string, any> | undefined;
5178
+ }>>;
5179
+ organizations: z.ZodOptional<z.ZodObject<{
5180
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5181
+ }, "strip", z.ZodTypeAny, {
5182
+ client_credentials?: Record<string, any> | undefined;
5183
+ }, {
5184
+ client_credentials?: Record<string, any> | undefined;
5185
+ }>>;
5186
+ }, "strip", z.ZodTypeAny, {
5187
+ clients?: {
5188
+ client_credentials?: Record<string, any> | undefined;
5189
+ } | undefined;
5190
+ organizations?: {
5191
+ client_credentials?: Record<string, any> | undefined;
5192
+ } | undefined;
5193
+ }, {
5194
+ clients?: {
5195
+ client_credentials?: Record<string, any> | undefined;
5196
+ } | undefined;
5197
+ organizations?: {
5198
+ client_credentials?: Record<string, any> | undefined;
5199
+ } | undefined;
5200
+ }>>;
5201
+ default_audience: z.ZodOptional<z.ZodString>;
5202
+ default_organization: z.ZodOptional<z.ZodString>;
5203
+ sessions: z.ZodOptional<z.ZodObject<{
5204
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ oidc_logout_prompt_enabled?: boolean | undefined;
5207
+ }, {
5208
+ oidc_logout_prompt_enabled?: boolean | undefined;
5209
+ }>>;
5210
+ oidc_logout: z.ZodOptional<z.ZodObject<{
5211
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
5212
+ }, "strip", z.ZodTypeAny, {
5213
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
5214
+ }, {
5215
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
5216
+ }>>;
5217
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
5218
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
5219
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5220
+ mtls: z.ZodOptional<z.ZodObject<{
5221
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
5222
+ }, "strip", z.ZodTypeAny, {
5223
+ enable_endpoint_aliases?: boolean | undefined;
5224
+ }, {
5225
+ enable_endpoint_aliases?: boolean | undefined;
5226
+ }>>;
5227
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
5228
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
5229
+ created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
5230
+ updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
4437
5231
  }, "strip", z.ZodTypeAny, {
4438
5232
  created_at: string;
4439
5233
  updated_at: string;
4440
- name: string;
4441
5234
  audience: string;
4442
5235
  id: string;
5236
+ friendly_name: string;
4443
5237
  sender_email: string;
4444
5238
  sender_name: string;
5239
+ allowed_logout_urls?: string[] | undefined;
5240
+ oidc_logout?: {
5241
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
5242
+ } | undefined;
5243
+ default_organization?: string | undefined;
5244
+ picture_url?: string | undefined;
5245
+ support_email?: string | undefined;
4445
5246
  support_url?: string | undefined;
4446
- logo?: string | undefined;
4447
- primary_color?: string | undefined;
4448
- secondary_color?: string | undefined;
4449
- language?: string | undefined;
5247
+ session_lifetime?: number | undefined;
5248
+ idle_session_lifetime?: number | undefined;
5249
+ ephemeral_session_lifetime?: number | undefined;
5250
+ idle_ephemeral_session_lifetime?: number | undefined;
5251
+ session_cookie?: {
5252
+ mode?: "persistent" | "non-persistent" | undefined;
5253
+ } | undefined;
5254
+ default_redirection_uri?: string | undefined;
5255
+ enabled_locales?: string[] | undefined;
5256
+ default_directory?: string | undefined;
5257
+ error_page?: {
5258
+ url?: string | undefined;
5259
+ html?: string | undefined;
5260
+ show_log_link?: boolean | undefined;
5261
+ } | undefined;
5262
+ flags?: {
5263
+ allow_changing_enable_sso?: boolean | undefined;
5264
+ allow_legacy_delegation_grant_types?: boolean | undefined;
5265
+ allow_legacy_ro_grant_types?: boolean | undefined;
5266
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
5267
+ change_pwd_flow_v1?: boolean | undefined;
5268
+ custom_domains_provisioning?: boolean | undefined;
5269
+ dashboard_insights_view?: boolean | undefined;
5270
+ dashboard_log_streams_next?: boolean | undefined;
5271
+ disable_clickjack_protection_headers?: boolean | undefined;
5272
+ disable_fields_map_fix?: boolean | undefined;
5273
+ disable_impersonation?: boolean | undefined;
5274
+ disable_management_api_sms_obfuscation?: boolean | undefined;
5275
+ enable_adfs_waad_email_verification?: boolean | undefined;
5276
+ enable_apis_section?: boolean | undefined;
5277
+ enable_client_connections?: boolean | undefined;
5278
+ enable_custom_domain_in_emails?: boolean | undefined;
5279
+ enable_dynamic_client_registration?: boolean | undefined;
5280
+ enable_idtoken_api2?: boolean | undefined;
5281
+ enable_legacy_logs_search_v2?: boolean | undefined;
5282
+ enable_legacy_profile?: boolean | undefined;
5283
+ enable_pipeline2?: boolean | undefined;
5284
+ enable_public_signup_user_exists_error?: boolean | undefined;
5285
+ enable_sso?: boolean | undefined;
5286
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
5287
+ genai_trial?: boolean | undefined;
5288
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
5289
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
5290
+ no_disclose_enterprise_connections?: boolean | undefined;
5291
+ remove_alg_from_jwks?: boolean | undefined;
5292
+ revoke_refresh_token_grant?: boolean | undefined;
5293
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
5294
+ use_scope_descriptions_for_consent?: boolean | undefined;
5295
+ } | undefined;
5296
+ sandbox_version?: string | undefined;
5297
+ legacy_sandbox_version?: string | undefined;
5298
+ sandbox_versions_available?: string[] | undefined;
5299
+ change_password?: {
5300
+ html?: string | undefined;
5301
+ enabled?: boolean | undefined;
5302
+ } | undefined;
5303
+ guardian_mfa_page?: {
5304
+ html?: string | undefined;
5305
+ enabled?: boolean | undefined;
5306
+ } | undefined;
5307
+ device_flow?: {
5308
+ charset?: "base20" | "digits" | undefined;
5309
+ mask?: string | undefined;
5310
+ } | undefined;
5311
+ default_token_quota?: {
5312
+ clients?: {
5313
+ client_credentials?: Record<string, any> | undefined;
5314
+ } | undefined;
5315
+ organizations?: {
5316
+ client_credentials?: Record<string, any> | undefined;
5317
+ } | undefined;
5318
+ } | undefined;
5319
+ default_audience?: string | undefined;
5320
+ sessions?: {
5321
+ oidc_logout_prompt_enabled?: boolean | undefined;
5322
+ } | undefined;
5323
+ allow_organization_name_in_authentication_api?: boolean | undefined;
5324
+ customize_mfa_in_postlogin_action?: boolean | undefined;
5325
+ acr_values_supported?: string[] | undefined;
5326
+ mtls?: {
5327
+ enable_endpoint_aliases?: boolean | undefined;
5328
+ } | undefined;
5329
+ pushed_authorization_requests_supported?: boolean | undefined;
5330
+ authorization_response_iss_parameter_supported?: boolean | undefined;
4450
5331
  }, {
4451
- created_at: string;
4452
- updated_at: string;
4453
- name: string;
5332
+ created_at: string | null;
5333
+ updated_at: string | null;
4454
5334
  audience: string;
4455
5335
  id: string;
5336
+ friendly_name: string;
4456
5337
  sender_email: string;
4457
5338
  sender_name: string;
5339
+ allowed_logout_urls?: string[] | undefined;
5340
+ oidc_logout?: {
5341
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
5342
+ } | undefined;
5343
+ default_organization?: string | undefined;
5344
+ picture_url?: string | undefined;
5345
+ support_email?: string | undefined;
4458
5346
  support_url?: string | undefined;
4459
- logo?: string | undefined;
4460
- primary_color?: string | undefined;
4461
- secondary_color?: string | undefined;
4462
- language?: string | undefined;
5347
+ session_lifetime?: number | undefined;
5348
+ idle_session_lifetime?: number | undefined;
5349
+ ephemeral_session_lifetime?: number | undefined;
5350
+ idle_ephemeral_session_lifetime?: number | undefined;
5351
+ session_cookie?: {
5352
+ mode?: "persistent" | "non-persistent" | undefined;
5353
+ } | undefined;
5354
+ default_redirection_uri?: string | undefined;
5355
+ enabled_locales?: string[] | undefined;
5356
+ default_directory?: string | undefined;
5357
+ error_page?: {
5358
+ url?: string | undefined;
5359
+ html?: string | undefined;
5360
+ show_log_link?: boolean | undefined;
5361
+ } | undefined;
5362
+ flags?: {
5363
+ allow_changing_enable_sso?: boolean | undefined;
5364
+ allow_legacy_delegation_grant_types?: boolean | undefined;
5365
+ allow_legacy_ro_grant_types?: boolean | undefined;
5366
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
5367
+ change_pwd_flow_v1?: boolean | undefined;
5368
+ custom_domains_provisioning?: boolean | undefined;
5369
+ dashboard_insights_view?: boolean | undefined;
5370
+ dashboard_log_streams_next?: boolean | undefined;
5371
+ disable_clickjack_protection_headers?: boolean | undefined;
5372
+ disable_fields_map_fix?: boolean | undefined;
5373
+ disable_impersonation?: boolean | undefined;
5374
+ disable_management_api_sms_obfuscation?: boolean | undefined;
5375
+ enable_adfs_waad_email_verification?: boolean | undefined;
5376
+ enable_apis_section?: boolean | undefined;
5377
+ enable_client_connections?: boolean | undefined;
5378
+ enable_custom_domain_in_emails?: boolean | undefined;
5379
+ enable_dynamic_client_registration?: boolean | undefined;
5380
+ enable_idtoken_api2?: boolean | undefined;
5381
+ enable_legacy_logs_search_v2?: boolean | undefined;
5382
+ enable_legacy_profile?: boolean | undefined;
5383
+ enable_pipeline2?: boolean | undefined;
5384
+ enable_public_signup_user_exists_error?: boolean | undefined;
5385
+ enable_sso?: boolean | undefined;
5386
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
5387
+ genai_trial?: boolean | undefined;
5388
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
5389
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
5390
+ no_disclose_enterprise_connections?: boolean | undefined;
5391
+ remove_alg_from_jwks?: boolean | undefined;
5392
+ revoke_refresh_token_grant?: boolean | undefined;
5393
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
5394
+ use_scope_descriptions_for_consent?: boolean | undefined;
5395
+ } | undefined;
5396
+ sandbox_version?: string | undefined;
5397
+ legacy_sandbox_version?: string | undefined;
5398
+ sandbox_versions_available?: string[] | undefined;
5399
+ change_password?: {
5400
+ html?: string | undefined;
5401
+ enabled?: boolean | undefined;
5402
+ } | undefined;
5403
+ guardian_mfa_page?: {
5404
+ html?: string | undefined;
5405
+ enabled?: boolean | undefined;
5406
+ } | undefined;
5407
+ device_flow?: {
5408
+ charset?: "base20" | "digits" | undefined;
5409
+ mask?: string | undefined;
5410
+ } | undefined;
5411
+ default_token_quota?: {
5412
+ clients?: {
5413
+ client_credentials?: Record<string, any> | undefined;
5414
+ } | undefined;
5415
+ organizations?: {
5416
+ client_credentials?: Record<string, any> | undefined;
5417
+ } | undefined;
5418
+ } | undefined;
5419
+ default_audience?: string | undefined;
5420
+ sessions?: {
5421
+ oidc_logout_prompt_enabled?: boolean | undefined;
5422
+ } | undefined;
5423
+ allow_organization_name_in_authentication_api?: boolean | undefined;
5424
+ customize_mfa_in_postlogin_action?: boolean | undefined;
5425
+ acr_values_supported?: string[] | undefined;
5426
+ mtls?: {
5427
+ enable_endpoint_aliases?: boolean | undefined;
5428
+ } | undefined;
5429
+ pushed_authorization_requests_supported?: boolean | undefined;
5430
+ authorization_response_iss_parameter_supported?: boolean | undefined;
4463
5431
  }>;
4464
5432
  export type Tenant = z.infer<typeof tenantSchema>;
4465
5433
  declare const themeInsertSchema: z.ZodObject<{
@@ -5673,39 +6641,39 @@ declare const resourceServerInsertSchema: z.ZodObject<{
5673
6641
  bound_access_tokens?: boolean | undefined;
5674
6642
  }>>;
5675
6643
  }, "strip", z.ZodTypeAny, {
6644
+ mtls?: {
6645
+ bound_access_tokens?: boolean | undefined;
6646
+ } | undefined;
5676
6647
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5677
6648
  enforce_policies?: boolean | undefined;
5678
6649
  allow_skipping_userinfo?: boolean | undefined;
5679
6650
  skip_userinfo?: boolean | undefined;
5680
6651
  persist_client_authorization?: boolean | undefined;
5681
6652
  enable_introspection_endpoint?: boolean | undefined;
6653
+ }, {
5682
6654
  mtls?: {
5683
6655
  bound_access_tokens?: boolean | undefined;
5684
6656
  } | undefined;
5685
- }, {
5686
6657
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5687
6658
  enforce_policies?: boolean | undefined;
5688
6659
  allow_skipping_userinfo?: boolean | undefined;
5689
6660
  skip_userinfo?: boolean | undefined;
5690
6661
  persist_client_authorization?: boolean | undefined;
5691
6662
  enable_introspection_endpoint?: boolean | undefined;
5692
- mtls?: {
5693
- bound_access_tokens?: boolean | undefined;
5694
- } | undefined;
5695
6663
  }>>;
5696
6664
  }, "strip", z.ZodTypeAny, {
5697
6665
  name: string;
5698
6666
  identifier: string;
5699
6667
  options?: {
6668
+ mtls?: {
6669
+ bound_access_tokens?: boolean | undefined;
6670
+ } | undefined;
5700
6671
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5701
6672
  enforce_policies?: boolean | undefined;
5702
6673
  allow_skipping_userinfo?: boolean | undefined;
5703
6674
  skip_userinfo?: boolean | undefined;
5704
6675
  persist_client_authorization?: boolean | undefined;
5705
6676
  enable_introspection_endpoint?: boolean | undefined;
5706
- mtls?: {
5707
- bound_access_tokens?: boolean | undefined;
5708
- } | undefined;
5709
6677
  } | undefined;
5710
6678
  scopes?: {
5711
6679
  value: string;
@@ -5722,15 +6690,15 @@ declare const resourceServerInsertSchema: z.ZodObject<{
5722
6690
  name: string;
5723
6691
  identifier: string;
5724
6692
  options?: {
6693
+ mtls?: {
6694
+ bound_access_tokens?: boolean | undefined;
6695
+ } | undefined;
5725
6696
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5726
6697
  enforce_policies?: boolean | undefined;
5727
6698
  allow_skipping_userinfo?: boolean | undefined;
5728
6699
  skip_userinfo?: boolean | undefined;
5729
6700
  persist_client_authorization?: boolean | undefined;
5730
6701
  enable_introspection_endpoint?: boolean | undefined;
5731
- mtls?: {
5732
- bound_access_tokens?: boolean | undefined;
5733
- } | undefined;
5734
6702
  } | undefined;
5735
6703
  scopes?: {
5736
6704
  value: string;
@@ -5785,40 +6753,40 @@ declare const resourceServerSchema: z.ZodObject<{
5785
6753
  bound_access_tokens?: boolean | undefined;
5786
6754
  }>>;
5787
6755
  }, "strip", z.ZodTypeAny, {
6756
+ mtls?: {
6757
+ bound_access_tokens?: boolean | undefined;
6758
+ } | undefined;
5788
6759
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5789
6760
  enforce_policies?: boolean | undefined;
5790
6761
  allow_skipping_userinfo?: boolean | undefined;
5791
6762
  skip_userinfo?: boolean | undefined;
5792
6763
  persist_client_authorization?: boolean | undefined;
5793
6764
  enable_introspection_endpoint?: boolean | undefined;
6765
+ }, {
5794
6766
  mtls?: {
5795
6767
  bound_access_tokens?: boolean | undefined;
5796
6768
  } | undefined;
5797
- }, {
5798
6769
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5799
6770
  enforce_policies?: boolean | undefined;
5800
6771
  allow_skipping_userinfo?: boolean | undefined;
5801
6772
  skip_userinfo?: boolean | undefined;
5802
6773
  persist_client_authorization?: boolean | undefined;
5803
6774
  enable_introspection_endpoint?: boolean | undefined;
5804
- mtls?: {
5805
- bound_access_tokens?: boolean | undefined;
5806
- } | undefined;
5807
6775
  }>>;
5808
6776
  id: z.ZodOptional<z.ZodString>;
5809
6777
  }, "strip", z.ZodTypeAny, {
5810
6778
  name: string;
5811
6779
  identifier: string;
5812
6780
  options?: {
6781
+ mtls?: {
6782
+ bound_access_tokens?: boolean | undefined;
6783
+ } | undefined;
5813
6784
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5814
6785
  enforce_policies?: boolean | undefined;
5815
6786
  allow_skipping_userinfo?: boolean | undefined;
5816
6787
  skip_userinfo?: boolean | undefined;
5817
6788
  persist_client_authorization?: boolean | undefined;
5818
6789
  enable_introspection_endpoint?: boolean | undefined;
5819
- mtls?: {
5820
- bound_access_tokens?: boolean | undefined;
5821
- } | undefined;
5822
6790
  } | undefined;
5823
6791
  created_at?: string | undefined;
5824
6792
  updated_at?: string | undefined;
@@ -5838,15 +6806,15 @@ declare const resourceServerSchema: z.ZodObject<{
5838
6806
  name: string;
5839
6807
  identifier: string;
5840
6808
  options?: {
6809
+ mtls?: {
6810
+ bound_access_tokens?: boolean | undefined;
6811
+ } | undefined;
5841
6812
  token_dialect?: "access_token" | "access_token_authz" | undefined;
5842
6813
  enforce_policies?: boolean | undefined;
5843
6814
  allow_skipping_userinfo?: boolean | undefined;
5844
6815
  skip_userinfo?: boolean | undefined;
5845
6816
  persist_client_authorization?: boolean | undefined;
5846
6817
  enable_introspection_endpoint?: boolean | undefined;
5847
- mtls?: {
5848
- bound_access_tokens?: boolean | undefined;
5849
- } | undefined;
5850
6818
  } | undefined;
5851
6819
  created_at?: string | undefined;
5852
6820
  updated_at?: string | undefined;
@@ -6333,7 +7301,7 @@ export interface SessionsAdapter {
6333
7301
  remove: (tenant_id: string, id: string) => Promise<boolean>;
6334
7302
  }
6335
7303
  export interface CreateTenantParams {
6336
- name: string;
7304
+ friendly_name: string;
6337
7305
  audience: string;
6338
7306
  sender_name: string;
6339
7307
  sender_email: string;
@@ -7233,6 +8201,124 @@ declare const sqlRoleSchema: z.ZodObject<{
7233
8201
  id: string;
7234
8202
  description?: string | undefined;
7235
8203
  }>;
8204
+ declare const sqlTenantSchema: z.ZodObject<{
8205
+ id: z.ZodString;
8206
+ created_at: z.ZodString;
8207
+ updated_at: z.ZodString;
8208
+ audience: z.ZodString;
8209
+ sender_email: z.ZodString;
8210
+ sender_name: z.ZodString;
8211
+ support_url: z.ZodOptional<z.ZodString>;
8212
+ friendly_name: z.ZodString;
8213
+ picture_url: z.ZodOptional<z.ZodString>;
8214
+ support_email: z.ZodOptional<z.ZodString>;
8215
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
8216
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
8217
+ ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
8218
+ idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
8219
+ session_cookie: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8220
+ allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8221
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
8222
+ enabled_locales: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8223
+ default_directory: z.ZodOptional<z.ZodString>;
8224
+ error_page: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8225
+ flags: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8226
+ sandbox_version: z.ZodOptional<z.ZodString>;
8227
+ legacy_sandbox_version: z.ZodOptional<z.ZodString>;
8228
+ sandbox_versions_available: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8229
+ change_password: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8230
+ guardian_mfa_page: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8231
+ device_flow: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8232
+ default_token_quota: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8233
+ default_audience: z.ZodOptional<z.ZodString>;
8234
+ default_organization: z.ZodOptional<z.ZodString>;
8235
+ sessions: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8236
+ oidc_logout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8237
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodNumber>;
8238
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodNumber>;
8239
+ acr_values_supported: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8240
+ mtls: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8241
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodNumber>;
8242
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodNumber>;
8243
+ }, "strip", z.ZodTypeAny, {
8244
+ created_at: string;
8245
+ updated_at: string;
8246
+ id: string;
8247
+ audience: string;
8248
+ sender_email: string;
8249
+ sender_name: string;
8250
+ friendly_name: string;
8251
+ session_cookie: string;
8252
+ allowed_logout_urls: string;
8253
+ enabled_locales: string;
8254
+ error_page: string;
8255
+ flags: string;
8256
+ sandbox_versions_available: string;
8257
+ change_password: string;
8258
+ guardian_mfa_page: string;
8259
+ device_flow: string;
8260
+ default_token_quota: string;
8261
+ sessions: string;
8262
+ oidc_logout: string;
8263
+ acr_values_supported: string;
8264
+ mtls: string;
8265
+ support_url?: string | undefined;
8266
+ picture_url?: string | undefined;
8267
+ support_email?: string | undefined;
8268
+ session_lifetime?: number | undefined;
8269
+ idle_session_lifetime?: number | undefined;
8270
+ ephemeral_session_lifetime?: number | undefined;
8271
+ idle_ephemeral_session_lifetime?: number | undefined;
8272
+ default_redirection_uri?: string | undefined;
8273
+ default_directory?: string | undefined;
8274
+ sandbox_version?: string | undefined;
8275
+ legacy_sandbox_version?: string | undefined;
8276
+ default_audience?: string | undefined;
8277
+ default_organization?: string | undefined;
8278
+ allow_organization_name_in_authentication_api?: number | undefined;
8279
+ customize_mfa_in_postlogin_action?: number | undefined;
8280
+ pushed_authorization_requests_supported?: number | undefined;
8281
+ authorization_response_iss_parameter_supported?: number | undefined;
8282
+ }, {
8283
+ created_at: string;
8284
+ updated_at: string;
8285
+ id: string;
8286
+ audience: string;
8287
+ sender_email: string;
8288
+ sender_name: string;
8289
+ friendly_name: string;
8290
+ support_url?: string | undefined;
8291
+ picture_url?: string | undefined;
8292
+ support_email?: string | undefined;
8293
+ session_lifetime?: number | undefined;
8294
+ idle_session_lifetime?: number | undefined;
8295
+ ephemeral_session_lifetime?: number | undefined;
8296
+ idle_ephemeral_session_lifetime?: number | undefined;
8297
+ session_cookie?: string | undefined;
8298
+ allowed_logout_urls?: string | undefined;
8299
+ default_redirection_uri?: string | undefined;
8300
+ enabled_locales?: string | undefined;
8301
+ default_directory?: string | undefined;
8302
+ error_page?: string | undefined;
8303
+ flags?: string | undefined;
8304
+ sandbox_version?: string | undefined;
8305
+ legacy_sandbox_version?: string | undefined;
8306
+ sandbox_versions_available?: string | undefined;
8307
+ change_password?: string | undefined;
8308
+ guardian_mfa_page?: string | undefined;
8309
+ device_flow?: string | undefined;
8310
+ default_token_quota?: string | undefined;
8311
+ default_audience?: string | undefined;
8312
+ default_organization?: string | undefined;
8313
+ sessions?: string | undefined;
8314
+ oidc_logout?: string | undefined;
8315
+ allow_organization_name_in_authentication_api?: number | undefined;
8316
+ customize_mfa_in_postlogin_action?: number | undefined;
8317
+ acr_values_supported?: string | undefined;
8318
+ mtls?: string | undefined;
8319
+ pushed_authorization_requests_supported?: number | undefined;
8320
+ authorization_response_iss_parameter_supported?: number | undefined;
8321
+ }>;
7236
8322
  declare const sqlClientGrantSchema: z.ZodObject<{
7237
8323
  id: z.ZodString;
7238
8324
  tenant_id: z.ZodString;
@@ -7489,6 +8575,9 @@ declare const sqlClientSchema: z.ZodObject<{
7489
8575
  updated_at: string;
7490
8576
  name: string;
7491
8577
  client_id: string;
8578
+ allowed_logout_urls: string;
8579
+ default_organization: string;
8580
+ oidc_logout: string;
7492
8581
  token_quota: string;
7493
8582
  global: number;
7494
8583
  is_first_party: number;
@@ -7504,9 +8593,7 @@ declare const sqlClientSchema: z.ZodObject<{
7504
8593
  web_origins: string;
7505
8594
  client_aliases: string;
7506
8595
  allowed_clients: string;
7507
- allowed_logout_urls: string;
7508
8596
  session_transfer: string;
7509
- oidc_logout: string;
7510
8597
  grant_types: string;
7511
8598
  jwt_configuration: string;
7512
8599
  signing_keys: string;
@@ -7516,7 +8603,6 @@ declare const sqlClientSchema: z.ZodObject<{
7516
8603
  mobile: string;
7517
8604
  native_social_login: string;
7518
8605
  refresh_token: string;
7519
- default_organization: string;
7520
8606
  client_authentication_methods: string;
7521
8607
  signed_request_object: string;
7522
8608
  description?: string | undefined;
@@ -7539,6 +8625,9 @@ declare const sqlClientSchema: z.ZodObject<{
7539
8625
  updated_at: string;
7540
8626
  name: string;
7541
8627
  client_id: string;
8628
+ allowed_logout_urls: string;
8629
+ default_organization: string;
8630
+ oidc_logout: string;
7542
8631
  token_quota: string;
7543
8632
  global: number;
7544
8633
  is_first_party: number;
@@ -7554,9 +8643,7 @@ declare const sqlClientSchema: z.ZodObject<{
7554
8643
  web_origins: string;
7555
8644
  client_aliases: string;
7556
8645
  allowed_clients: string;
7557
- allowed_logout_urls: string;
7558
8646
  session_transfer: string;
7559
- oidc_logout: string;
7560
8647
  grant_types: string;
7561
8648
  jwt_configuration: string;
7562
8649
  signing_keys: string;
@@ -7566,7 +8653,6 @@ declare const sqlClientSchema: z.ZodObject<{
7566
8653
  mobile: string;
7567
8654
  native_social_login: string;
7568
8655
  refresh_token: string;
7569
- default_organization: string;
7570
8656
  client_authentication_methods: string;
7571
8657
  signed_request_object: string;
7572
8658
  description?: string | undefined;
@@ -7608,7 +8694,7 @@ export interface Database {
7608
8694
  refresh_tokens: z.infer<typeof sqlRefreshTokensSchema>;
7609
8695
  users: z.infer<typeof sqlUserSchema>;
7610
8696
  sessions: z.infer<typeof sqlSessionSchema>;
7611
- tenants: Tenant;
8697
+ tenants: z.infer<typeof sqlTenantSchema>;
7612
8698
  themes: z.infer<typeof sqlThemeSchema>;
7613
8699
  resource_servers: z.infer<typeof sqlResourceServerSchema>;
7614
8700
  role_permissions: z.infer<typeof sqlRolePermissionSchema>;