@authhero/kysely-adapter 10.55.1 → 10.56.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.
@@ -4642,7 +4642,7 @@ declare const logInsertSchema: z.ZodObject<{
4642
4642
  type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
4643
4643
  date: z.ZodString;
4644
4644
  description: z.ZodOptional<z.ZodString>;
4645
- ip: z.ZodString;
4645
+ ip: z.ZodOptional<z.ZodString>;
4646
4646
  user_agent: z.ZodString;
4647
4647
  details: z.ZodOptional<z.ZodAny>;
4648
4648
  isMobile: z.ZodBoolean;
@@ -4684,7 +4684,6 @@ declare const logInsertSchema: z.ZodObject<{
4684
4684
  }, "strip", z.ZodTypeAny, {
4685
4685
  type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
4686
4686
  date: string;
4687
- ip: string;
4688
4687
  user_agent: string;
4689
4688
  isMobile: boolean;
4690
4689
  description?: string | undefined;
@@ -4695,6 +4694,7 @@ declare const logInsertSchema: z.ZodObject<{
4695
4694
  scope?: string[] | undefined;
4696
4695
  strategy?: string | undefined;
4697
4696
  connection_id?: string | undefined;
4697
+ ip?: string | undefined;
4698
4698
  details?: any;
4699
4699
  user_name?: string | undefined;
4700
4700
  client_name?: string | undefined;
@@ -4711,7 +4711,6 @@ declare const logInsertSchema: z.ZodObject<{
4711
4711
  }, {
4712
4712
  type: string;
4713
4713
  date: string;
4714
- ip: string;
4715
4714
  user_agent: string;
4716
4715
  isMobile: boolean;
4717
4716
  description?: string | undefined;
@@ -4722,6 +4721,7 @@ declare const logInsertSchema: z.ZodObject<{
4722
4721
  scope?: string[] | undefined;
4723
4722
  strategy?: string | undefined;
4724
4723
  connection_id?: string | undefined;
4724
+ ip?: string | undefined;
4725
4725
  details?: any;
4726
4726
  user_name?: string | undefined;
4727
4727
  client_name?: string | undefined;
@@ -4742,7 +4742,7 @@ declare const logSchema: z.ZodObject<{
4742
4742
  type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
4743
4743
  date: z.ZodString;
4744
4744
  description: z.ZodOptional<z.ZodString>;
4745
- ip: z.ZodString;
4745
+ ip: z.ZodOptional<z.ZodString>;
4746
4746
  user_agent: z.ZodString;
4747
4747
  details: z.ZodOptional<z.ZodAny>;
4748
4748
  isMobile: z.ZodBoolean;
@@ -4783,7 +4783,6 @@ declare const logSchema: z.ZodObject<{
4783
4783
  }, "strip", z.ZodTypeAny, {
4784
4784
  type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
4785
4785
  date: string;
4786
- ip: string;
4787
4786
  user_agent: string;
4788
4787
  isMobile: boolean;
4789
4788
  log_id: string;
@@ -4795,6 +4794,7 @@ declare const logSchema: z.ZodObject<{
4795
4794
  scope?: string[] | undefined;
4796
4795
  strategy?: string | undefined;
4797
4796
  connection_id?: string | undefined;
4797
+ ip?: string | undefined;
4798
4798
  details?: any;
4799
4799
  user_name?: string | undefined;
4800
4800
  client_name?: string | undefined;
@@ -4810,7 +4810,6 @@ declare const logSchema: z.ZodObject<{
4810
4810
  }, {
4811
4811
  type: string;
4812
4812
  date: string;
4813
- ip: string;
4814
4813
  user_agent: string;
4815
4814
  isMobile: boolean;
4816
4815
  log_id: string;
@@ -4822,6 +4821,7 @@ declare const logSchema: z.ZodObject<{
4822
4821
  scope?: string[] | undefined;
4823
4822
  strategy?: string | undefined;
4824
4823
  connection_id?: string | undefined;
4824
+ ip?: string | undefined;
4825
4825
  details?: any;
4826
4826
  user_name?: string | undefined;
4827
4827
  client_name?: string | undefined;
@@ -6926,29 +6926,23 @@ declare const rolePermissionInsertSchema: z.ZodObject<{
6926
6926
  permission_name: string;
6927
6927
  }>;
6928
6928
  export type RolePermissionInsert = z.infer<typeof rolePermissionInsertSchema>;
6929
- declare const rolePermissionWithDetailsListSchema: z.ZodArray<z.ZodObject<{
6929
+ declare const rolePermissionListSchema: z.ZodArray<z.ZodObject<{
6930
+ created_at: z.ZodString;
6930
6931
  role_id: z.ZodString;
6931
6932
  resource_server_identifier: z.ZodString;
6932
- resource_server_name: z.ZodString;
6933
6933
  permission_name: z.ZodString;
6934
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6935
- created_at: z.ZodOptional<z.ZodString>;
6936
6934
  }, "strip", z.ZodTypeAny, {
6935
+ created_at: string;
6937
6936
  role_id: string;
6938
6937
  resource_server_identifier: string;
6939
6938
  permission_name: string;
6940
- resource_server_name: string;
6941
- description?: string | null | undefined;
6942
- created_at?: string | undefined;
6943
6939
  }, {
6940
+ created_at: string;
6944
6941
  role_id: string;
6945
6942
  resource_server_identifier: string;
6946
6943
  permission_name: string;
6947
- resource_server_name: string;
6948
- description?: string | null | undefined;
6949
- created_at?: string | undefined;
6950
6944
  }>, "many">;
6951
- export type RolePermissionWithDetailsList = z.infer<typeof rolePermissionWithDetailsListSchema>;
6945
+ export type RolePermissionList = z.infer<typeof rolePermissionListSchema>;
6952
6946
  declare const userPermissionInsertSchema: z.ZodObject<{
6953
6947
  user_id: z.ZodString;
6954
6948
  resource_server_identifier: z.ZodString;
@@ -7513,7 +7507,7 @@ export interface ResourceServersAdapter {
7513
7507
  export interface RolePermissionsAdapter {
7514
7508
  assign(tenant_id: string, role_id: string, permissions: RolePermissionInsert[]): Promise<boolean>;
7515
7509
  remove(tenant_id: string, role_id: string, permissions: Pick<RolePermissionInsert, "resource_server_identifier" | "permission_name">[]): Promise<boolean>;
7516
- list(tenant_id: string, role_id: string, params?: ListParams): Promise<RolePermissionWithDetailsList>;
7510
+ list(tenant_id: string, role_id: string, params?: ListParams): Promise<RolePermissionList>;
7517
7511
  }
7518
7512
  export interface UserPermissionsAdapter {
7519
7513
  create(tenant_id: string, user_id: string, permission: UserPermissionInsert, organization_id?: string): Promise<boolean>;
@@ -8197,16 +8191,19 @@ declare const sqlFormSchema: z.ZodObject<{
8197
8191
  } | undefined;
8198
8192
  }>;
8199
8193
  declare const sqlLogSchema: z.ZodObject<{
8200
- id: z.ZodString;
8194
+ id: z.ZodOptional<z.ZodString>;
8201
8195
  tenant_id: z.ZodString;
8196
+ isMobile: z.ZodOptional<z.ZodNumber>;
8197
+ scope: z.ZodOptional<z.ZodString>;
8198
+ auth0_client: z.ZodOptional<z.ZodString>;
8199
+ details: z.ZodOptional<z.ZodString>;
8200
+ session_connection: z.ZodOptional<z.ZodString>;
8201
+ log_id: z.ZodString;
8202
8202
  type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
8203
8203
  date: z.ZodString;
8204
8204
  description: z.ZodOptional<z.ZodString>;
8205
- ip: z.ZodString;
8205
+ ip: z.ZodOptional<z.ZodString>;
8206
8206
  user_agent: z.ZodString;
8207
- details: z.ZodOptional<z.ZodString>;
8208
- auth0_client: z.ZodOptional<z.ZodString>;
8209
- isMobile: z.ZodOptional<z.ZodNumber>;
8210
8207
  user_id: z.ZodOptional<z.ZodString>;
8211
8208
  user_name: z.ZodOptional<z.ZodString>;
8212
8209
  connection: z.ZodOptional<z.ZodString>;
@@ -8214,57 +8211,57 @@ declare const sqlLogSchema: z.ZodObject<{
8214
8211
  client_id: z.ZodOptional<z.ZodString>;
8215
8212
  client_name: z.ZodOptional<z.ZodString>;
8216
8213
  audience: z.ZodOptional<z.ZodString>;
8217
- scope: z.ZodOptional<z.ZodString>;
8218
8214
  strategy: z.ZodOptional<z.ZodString>;
8219
8215
  strategy_type: z.ZodOptional<z.ZodString>;
8220
8216
  hostname: z.ZodOptional<z.ZodString>;
8221
- session_connection: z.ZodOptional<z.ZodString>;
8222
8217
  }, "strip", z.ZodTypeAny, {
8223
8218
  type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
8224
8219
  date: string;
8225
8220
  tenant_id: string;
8226
- id: string;
8227
- ip: string;
8221
+ log_id: string;
8228
8222
  user_agent: string;
8229
8223
  description?: string | undefined;
8230
8224
  user_id?: string | undefined;
8231
8225
  connection?: string | undefined;
8226
+ id?: string | undefined;
8232
8227
  client_id?: string | undefined;
8233
- details?: string | undefined;
8234
- auth0_client?: string | undefined;
8235
8228
  isMobile?: number | undefined;
8229
+ scope?: string | undefined;
8230
+ auth0_client?: string | undefined;
8231
+ details?: string | undefined;
8232
+ session_connection?: string | undefined;
8233
+ ip?: string | undefined;
8236
8234
  user_name?: string | undefined;
8237
8235
  connection_id?: string | undefined;
8238
8236
  client_name?: string | undefined;
8239
8237
  audience?: string | undefined;
8240
- scope?: string | undefined;
8241
8238
  strategy?: string | undefined;
8242
8239
  strategy_type?: string | undefined;
8243
8240
  hostname?: string | undefined;
8244
- session_connection?: string | undefined;
8245
8241
  }, {
8246
8242
  type: string;
8247
8243
  date: string;
8248
8244
  tenant_id: string;
8249
- id: string;
8250
- ip: string;
8245
+ log_id: string;
8251
8246
  user_agent: string;
8252
8247
  description?: string | undefined;
8253
8248
  user_id?: string | undefined;
8254
8249
  connection?: string | undefined;
8250
+ id?: string | undefined;
8255
8251
  client_id?: string | undefined;
8256
- details?: string | undefined;
8257
- auth0_client?: string | undefined;
8258
8252
  isMobile?: number | undefined;
8253
+ scope?: string | undefined;
8254
+ auth0_client?: string | undefined;
8255
+ details?: string | undefined;
8256
+ session_connection?: string | undefined;
8257
+ ip?: string | undefined;
8259
8258
  user_name?: string | undefined;
8260
8259
  connection_id?: string | undefined;
8261
8260
  client_name?: string | undefined;
8262
8261
  audience?: string | undefined;
8263
- scope?: string | undefined;
8264
8262
  strategy?: string | undefined;
8265
8263
  strategy_type?: string | undefined;
8266
8264
  hostname?: string | undefined;
8267
- session_connection?: string | undefined;
8268
8265
  }>;
8269
8266
  declare const sqlResourceServerSchema: z.ZodObject<Omit<{
8270
8267
  tenant_id: z.ZodString;
@@ -8340,121 +8337,440 @@ declare const sqlRoleSchema: z.ZodObject<{
8340
8337
  }>;
8341
8338
  declare const sqlTenantSchema: z.ZodObject<{
8342
8339
  id: z.ZodString;
8343
- created_at: z.ZodString;
8344
- updated_at: z.ZodString;
8345
8340
  audience: z.ZodString;
8346
- sender_email: z.ZodString;
8347
- sender_name: z.ZodString;
8348
- support_url: z.ZodOptional<z.ZodString>;
8349
8341
  friendly_name: z.ZodString;
8350
8342
  picture_url: z.ZodOptional<z.ZodString>;
8351
8343
  support_email: z.ZodOptional<z.ZodString>;
8344
+ support_url: z.ZodOptional<z.ZodString>;
8345
+ sender_email: z.ZodString;
8346
+ sender_name: z.ZodString;
8352
8347
  session_lifetime: z.ZodOptional<z.ZodNumber>;
8353
8348
  idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
8354
8349
  ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
8355
8350
  idle_ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
8356
- session_cookie: z.ZodOptional<z.ZodString>;
8357
- allowed_logout_urls: z.ZodOptional<z.ZodString>;
8351
+ session_cookie: z.ZodOptional<z.ZodObject<{
8352
+ mode: z.ZodOptional<z.ZodEnum<[
8353
+ "persistent",
8354
+ "non-persistent"
8355
+ ]>>;
8356
+ }, "strip", z.ZodTypeAny, {
8357
+ mode?: "persistent" | "non-persistent" | undefined;
8358
+ }, {
8359
+ mode?: "persistent" | "non-persistent" | undefined;
8360
+ }>>;
8361
+ allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8358
8362
  default_redirection_uri: z.ZodOptional<z.ZodString>;
8359
- enabled_locales: z.ZodOptional<z.ZodString>;
8363
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8360
8364
  default_directory: z.ZodOptional<z.ZodString>;
8361
- error_page: z.ZodOptional<z.ZodString>;
8362
- flags: z.ZodOptional<z.ZodString>;
8365
+ error_page: z.ZodOptional<z.ZodObject<{
8366
+ html: z.ZodOptional<z.ZodString>;
8367
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
8368
+ url: z.ZodOptional<z.ZodString>;
8369
+ }, "strip", z.ZodTypeAny, {
8370
+ url?: string | undefined;
8371
+ html?: string | undefined;
8372
+ show_log_link?: boolean | undefined;
8373
+ }, {
8374
+ url?: string | undefined;
8375
+ html?: string | undefined;
8376
+ show_log_link?: boolean | undefined;
8377
+ }>>;
8378
+ flags: z.ZodOptional<z.ZodObject<{
8379
+ allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
8380
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
8381
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
8382
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
8383
+ change_pwd_flow_v1: z.ZodOptional<z.ZodBoolean>;
8384
+ custom_domains_provisioning: z.ZodOptional<z.ZodBoolean>;
8385
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
8386
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
8387
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
8388
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
8389
+ disable_impersonation: z.ZodOptional<z.ZodBoolean>;
8390
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
8391
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
8392
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
8393
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
8394
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
8395
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
8396
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
8397
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
8398
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
8399
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
8400
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
8401
+ enable_sso: z.ZodOptional<z.ZodBoolean>;
8402
+ enforce_client_authentication_on_passwordless_start: z.ZodOptional<z.ZodBoolean>;
8403
+ genai_trial: z.ZodOptional<z.ZodBoolean>;
8404
+ improved_signup_bot_detection_in_classic: z.ZodOptional<z.ZodBoolean>;
8405
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
8406
+ no_disclose_enterprise_connections: z.ZodOptional<z.ZodBoolean>;
8407
+ remove_alg_from_jwks: z.ZodOptional<z.ZodBoolean>;
8408
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
8409
+ trust_azure_adfs_email_verified_connection_property: z.ZodOptional<z.ZodBoolean>;
8410
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
8411
+ }, "strip", z.ZodTypeAny, {
8412
+ allow_changing_enable_sso?: boolean | undefined;
8413
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8414
+ allow_legacy_ro_grant_types?: boolean | undefined;
8415
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8416
+ change_pwd_flow_v1?: boolean | undefined;
8417
+ custom_domains_provisioning?: boolean | undefined;
8418
+ dashboard_insights_view?: boolean | undefined;
8419
+ dashboard_log_streams_next?: boolean | undefined;
8420
+ disable_clickjack_protection_headers?: boolean | undefined;
8421
+ disable_fields_map_fix?: boolean | undefined;
8422
+ disable_impersonation?: boolean | undefined;
8423
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8424
+ enable_adfs_waad_email_verification?: boolean | undefined;
8425
+ enable_apis_section?: boolean | undefined;
8426
+ enable_client_connections?: boolean | undefined;
8427
+ enable_custom_domain_in_emails?: boolean | undefined;
8428
+ enable_dynamic_client_registration?: boolean | undefined;
8429
+ enable_idtoken_api2?: boolean | undefined;
8430
+ enable_legacy_logs_search_v2?: boolean | undefined;
8431
+ enable_legacy_profile?: boolean | undefined;
8432
+ enable_pipeline2?: boolean | undefined;
8433
+ enable_public_signup_user_exists_error?: boolean | undefined;
8434
+ enable_sso?: boolean | undefined;
8435
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8436
+ genai_trial?: boolean | undefined;
8437
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8438
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8439
+ no_disclose_enterprise_connections?: boolean | undefined;
8440
+ remove_alg_from_jwks?: boolean | undefined;
8441
+ revoke_refresh_token_grant?: boolean | undefined;
8442
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8443
+ use_scope_descriptions_for_consent?: boolean | undefined;
8444
+ }, {
8445
+ allow_changing_enable_sso?: boolean | undefined;
8446
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8447
+ allow_legacy_ro_grant_types?: boolean | undefined;
8448
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8449
+ change_pwd_flow_v1?: boolean | undefined;
8450
+ custom_domains_provisioning?: boolean | undefined;
8451
+ dashboard_insights_view?: boolean | undefined;
8452
+ dashboard_log_streams_next?: boolean | undefined;
8453
+ disable_clickjack_protection_headers?: boolean | undefined;
8454
+ disable_fields_map_fix?: boolean | undefined;
8455
+ disable_impersonation?: boolean | undefined;
8456
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8457
+ enable_adfs_waad_email_verification?: boolean | undefined;
8458
+ enable_apis_section?: boolean | undefined;
8459
+ enable_client_connections?: boolean | undefined;
8460
+ enable_custom_domain_in_emails?: boolean | undefined;
8461
+ enable_dynamic_client_registration?: boolean | undefined;
8462
+ enable_idtoken_api2?: boolean | undefined;
8463
+ enable_legacy_logs_search_v2?: boolean | undefined;
8464
+ enable_legacy_profile?: boolean | undefined;
8465
+ enable_pipeline2?: boolean | undefined;
8466
+ enable_public_signup_user_exists_error?: boolean | undefined;
8467
+ enable_sso?: boolean | undefined;
8468
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8469
+ genai_trial?: boolean | undefined;
8470
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8471
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8472
+ no_disclose_enterprise_connections?: boolean | undefined;
8473
+ remove_alg_from_jwks?: boolean | undefined;
8474
+ revoke_refresh_token_grant?: boolean | undefined;
8475
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8476
+ use_scope_descriptions_for_consent?: boolean | undefined;
8477
+ }>>;
8363
8478
  sandbox_version: z.ZodOptional<z.ZodString>;
8364
8479
  legacy_sandbox_version: z.ZodOptional<z.ZodString>;
8365
- sandbox_versions_available: z.ZodOptional<z.ZodString>;
8366
- change_password: z.ZodOptional<z.ZodString>;
8367
- guardian_mfa_page: z.ZodOptional<z.ZodString>;
8368
- device_flow: z.ZodOptional<z.ZodString>;
8369
- default_token_quota: z.ZodOptional<z.ZodString>;
8480
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8481
+ change_password: z.ZodOptional<z.ZodObject<{
8482
+ enabled: z.ZodOptional<z.ZodBoolean>;
8483
+ html: z.ZodOptional<z.ZodString>;
8484
+ }, "strip", z.ZodTypeAny, {
8485
+ html?: string | undefined;
8486
+ enabled?: boolean | undefined;
8487
+ }, {
8488
+ html?: string | undefined;
8489
+ enabled?: boolean | undefined;
8490
+ }>>;
8491
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
8492
+ enabled: z.ZodOptional<z.ZodBoolean>;
8493
+ html: z.ZodOptional<z.ZodString>;
8494
+ }, "strip", z.ZodTypeAny, {
8495
+ html?: string | undefined;
8496
+ enabled?: boolean | undefined;
8497
+ }, {
8498
+ html?: string | undefined;
8499
+ enabled?: boolean | undefined;
8500
+ }>>;
8501
+ device_flow: z.ZodOptional<z.ZodObject<{
8502
+ charset: z.ZodOptional<z.ZodEnum<[
8503
+ "base20",
8504
+ "digits"
8505
+ ]>>;
8506
+ mask: z.ZodOptional<z.ZodString>;
8507
+ }, "strip", z.ZodTypeAny, {
8508
+ charset?: "base20" | "digits" | undefined;
8509
+ mask?: string | undefined;
8510
+ }, {
8511
+ charset?: "base20" | "digits" | undefined;
8512
+ mask?: string | undefined;
8513
+ }>>;
8514
+ default_token_quota: z.ZodOptional<z.ZodObject<{
8515
+ clients: z.ZodOptional<z.ZodObject<{
8516
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8517
+ }, "strip", z.ZodTypeAny, {
8518
+ client_credentials?: Record<string, any> | undefined;
8519
+ }, {
8520
+ client_credentials?: Record<string, any> | undefined;
8521
+ }>>;
8522
+ organizations: z.ZodOptional<z.ZodObject<{
8523
+ client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8524
+ }, "strip", z.ZodTypeAny, {
8525
+ client_credentials?: Record<string, any> | undefined;
8526
+ }, {
8527
+ client_credentials?: Record<string, any> | undefined;
8528
+ }>>;
8529
+ }, "strip", z.ZodTypeAny, {
8530
+ clients?: {
8531
+ client_credentials?: Record<string, any> | undefined;
8532
+ } | undefined;
8533
+ organizations?: {
8534
+ client_credentials?: Record<string, any> | undefined;
8535
+ } | undefined;
8536
+ }, {
8537
+ clients?: {
8538
+ client_credentials?: Record<string, any> | undefined;
8539
+ } | undefined;
8540
+ organizations?: {
8541
+ client_credentials?: Record<string, any> | undefined;
8542
+ } | undefined;
8543
+ }>>;
8370
8544
  default_audience: z.ZodOptional<z.ZodString>;
8371
8545
  default_organization: z.ZodOptional<z.ZodString>;
8372
- sessions: z.ZodOptional<z.ZodString>;
8373
- oidc_logout: z.ZodOptional<z.ZodString>;
8374
- allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodNumber>;
8375
- customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodNumber>;
8376
- acr_values_supported: z.ZodOptional<z.ZodString>;
8377
- mtls: z.ZodOptional<z.ZodString>;
8378
- pushed_authorization_requests_supported: z.ZodOptional<z.ZodNumber>;
8379
- authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodNumber>;
8546
+ sessions: z.ZodOptional<z.ZodObject<{
8547
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
8548
+ }, "strip", z.ZodTypeAny, {
8549
+ oidc_logout_prompt_enabled?: boolean | undefined;
8550
+ }, {
8551
+ oidc_logout_prompt_enabled?: boolean | undefined;
8552
+ }>>;
8553
+ oidc_logout: z.ZodOptional<z.ZodObject<{
8554
+ rp_logout_end_session_endpoint_discovery: z.ZodOptional<z.ZodBoolean>;
8555
+ }, "strip", z.ZodTypeAny, {
8556
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8557
+ }, {
8558
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8559
+ }>>;
8560
+ allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
8561
+ customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
8562
+ acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8563
+ mtls: z.ZodOptional<z.ZodObject<{
8564
+ enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
8565
+ }, "strip", z.ZodTypeAny, {
8566
+ enable_endpoint_aliases?: boolean | undefined;
8567
+ }, {
8568
+ enable_endpoint_aliases?: boolean | undefined;
8569
+ }>>;
8570
+ pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
8571
+ authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
8572
+ created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
8573
+ updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
8380
8574
  }, "strip", z.ZodTypeAny, {
8381
8575
  created_at: string;
8382
8576
  updated_at: string;
8383
8577
  id: string;
8384
8578
  audience: string;
8579
+ friendly_name: string;
8385
8580
  sender_email: string;
8386
8581
  sender_name: string;
8387
- friendly_name: string;
8388
- support_url?: string | undefined;
8389
8582
  picture_url?: string | undefined;
8390
8583
  support_email?: string | undefined;
8584
+ support_url?: string | undefined;
8391
8585
  session_lifetime?: number | undefined;
8392
8586
  idle_session_lifetime?: number | undefined;
8393
8587
  ephemeral_session_lifetime?: number | undefined;
8394
8588
  idle_ephemeral_session_lifetime?: number | undefined;
8395
- session_cookie?: string | undefined;
8396
- allowed_logout_urls?: string | undefined;
8589
+ session_cookie?: {
8590
+ mode?: "persistent" | "non-persistent" | undefined;
8591
+ } | undefined;
8592
+ allowed_logout_urls?: string[] | undefined;
8397
8593
  default_redirection_uri?: string | undefined;
8398
- enabled_locales?: string | undefined;
8594
+ enabled_locales?: string[] | undefined;
8399
8595
  default_directory?: string | undefined;
8400
- error_page?: string | undefined;
8401
- flags?: string | undefined;
8596
+ error_page?: {
8597
+ url?: string | undefined;
8598
+ html?: string | undefined;
8599
+ show_log_link?: boolean | undefined;
8600
+ } | undefined;
8601
+ flags?: {
8602
+ allow_changing_enable_sso?: boolean | undefined;
8603
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8604
+ allow_legacy_ro_grant_types?: boolean | undefined;
8605
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8606
+ change_pwd_flow_v1?: boolean | undefined;
8607
+ custom_domains_provisioning?: boolean | undefined;
8608
+ dashboard_insights_view?: boolean | undefined;
8609
+ dashboard_log_streams_next?: boolean | undefined;
8610
+ disable_clickjack_protection_headers?: boolean | undefined;
8611
+ disable_fields_map_fix?: boolean | undefined;
8612
+ disable_impersonation?: boolean | undefined;
8613
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8614
+ enable_adfs_waad_email_verification?: boolean | undefined;
8615
+ enable_apis_section?: boolean | undefined;
8616
+ enable_client_connections?: boolean | undefined;
8617
+ enable_custom_domain_in_emails?: boolean | undefined;
8618
+ enable_dynamic_client_registration?: boolean | undefined;
8619
+ enable_idtoken_api2?: boolean | undefined;
8620
+ enable_legacy_logs_search_v2?: boolean | undefined;
8621
+ enable_legacy_profile?: boolean | undefined;
8622
+ enable_pipeline2?: boolean | undefined;
8623
+ enable_public_signup_user_exists_error?: boolean | undefined;
8624
+ enable_sso?: boolean | undefined;
8625
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8626
+ genai_trial?: boolean | undefined;
8627
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8628
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8629
+ no_disclose_enterprise_connections?: boolean | undefined;
8630
+ remove_alg_from_jwks?: boolean | undefined;
8631
+ revoke_refresh_token_grant?: boolean | undefined;
8632
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8633
+ use_scope_descriptions_for_consent?: boolean | undefined;
8634
+ } | undefined;
8402
8635
  sandbox_version?: string | undefined;
8403
8636
  legacy_sandbox_version?: string | undefined;
8404
- sandbox_versions_available?: string | undefined;
8405
- change_password?: string | undefined;
8406
- guardian_mfa_page?: string | undefined;
8407
- device_flow?: string | undefined;
8408
- default_token_quota?: string | undefined;
8637
+ sandbox_versions_available?: string[] | undefined;
8638
+ change_password?: {
8639
+ html?: string | undefined;
8640
+ enabled?: boolean | undefined;
8641
+ } | undefined;
8642
+ guardian_mfa_page?: {
8643
+ html?: string | undefined;
8644
+ enabled?: boolean | undefined;
8645
+ } | undefined;
8646
+ device_flow?: {
8647
+ charset?: "base20" | "digits" | undefined;
8648
+ mask?: string | undefined;
8649
+ } | undefined;
8650
+ default_token_quota?: {
8651
+ clients?: {
8652
+ client_credentials?: Record<string, any> | undefined;
8653
+ } | undefined;
8654
+ organizations?: {
8655
+ client_credentials?: Record<string, any> | undefined;
8656
+ } | undefined;
8657
+ } | undefined;
8409
8658
  default_audience?: string | undefined;
8410
8659
  default_organization?: string | undefined;
8411
- sessions?: string | undefined;
8412
- oidc_logout?: string | undefined;
8413
- allow_organization_name_in_authentication_api?: number | undefined;
8414
- customize_mfa_in_postlogin_action?: number | undefined;
8415
- acr_values_supported?: string | undefined;
8416
- mtls?: string | undefined;
8417
- pushed_authorization_requests_supported?: number | undefined;
8418
- authorization_response_iss_parameter_supported?: number | undefined;
8660
+ sessions?: {
8661
+ oidc_logout_prompt_enabled?: boolean | undefined;
8662
+ } | undefined;
8663
+ oidc_logout?: {
8664
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8665
+ } | undefined;
8666
+ allow_organization_name_in_authentication_api?: boolean | undefined;
8667
+ customize_mfa_in_postlogin_action?: boolean | undefined;
8668
+ acr_values_supported?: string[] | undefined;
8669
+ mtls?: {
8670
+ enable_endpoint_aliases?: boolean | undefined;
8671
+ } | undefined;
8672
+ pushed_authorization_requests_supported?: boolean | undefined;
8673
+ authorization_response_iss_parameter_supported?: boolean | undefined;
8419
8674
  }, {
8420
- created_at: string;
8421
- updated_at: string;
8675
+ created_at: string | null;
8676
+ updated_at: string | null;
8422
8677
  id: string;
8423
8678
  audience: string;
8679
+ friendly_name: string;
8424
8680
  sender_email: string;
8425
8681
  sender_name: string;
8426
- friendly_name: string;
8427
- support_url?: string | undefined;
8428
8682
  picture_url?: string | undefined;
8429
8683
  support_email?: string | undefined;
8684
+ support_url?: string | undefined;
8430
8685
  session_lifetime?: number | undefined;
8431
8686
  idle_session_lifetime?: number | undefined;
8432
8687
  ephemeral_session_lifetime?: number | undefined;
8433
8688
  idle_ephemeral_session_lifetime?: number | undefined;
8434
- session_cookie?: string | undefined;
8435
- allowed_logout_urls?: string | undefined;
8689
+ session_cookie?: {
8690
+ mode?: "persistent" | "non-persistent" | undefined;
8691
+ } | undefined;
8692
+ allowed_logout_urls?: string[] | undefined;
8436
8693
  default_redirection_uri?: string | undefined;
8437
- enabled_locales?: string | undefined;
8694
+ enabled_locales?: string[] | undefined;
8438
8695
  default_directory?: string | undefined;
8439
- error_page?: string | undefined;
8440
- flags?: string | undefined;
8696
+ error_page?: {
8697
+ url?: string | undefined;
8698
+ html?: string | undefined;
8699
+ show_log_link?: boolean | undefined;
8700
+ } | undefined;
8701
+ flags?: {
8702
+ allow_changing_enable_sso?: boolean | undefined;
8703
+ allow_legacy_delegation_grant_types?: boolean | undefined;
8704
+ allow_legacy_ro_grant_types?: boolean | undefined;
8705
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
8706
+ change_pwd_flow_v1?: boolean | undefined;
8707
+ custom_domains_provisioning?: boolean | undefined;
8708
+ dashboard_insights_view?: boolean | undefined;
8709
+ dashboard_log_streams_next?: boolean | undefined;
8710
+ disable_clickjack_protection_headers?: boolean | undefined;
8711
+ disable_fields_map_fix?: boolean | undefined;
8712
+ disable_impersonation?: boolean | undefined;
8713
+ disable_management_api_sms_obfuscation?: boolean | undefined;
8714
+ enable_adfs_waad_email_verification?: boolean | undefined;
8715
+ enable_apis_section?: boolean | undefined;
8716
+ enable_client_connections?: boolean | undefined;
8717
+ enable_custom_domain_in_emails?: boolean | undefined;
8718
+ enable_dynamic_client_registration?: boolean | undefined;
8719
+ enable_idtoken_api2?: boolean | undefined;
8720
+ enable_legacy_logs_search_v2?: boolean | undefined;
8721
+ enable_legacy_profile?: boolean | undefined;
8722
+ enable_pipeline2?: boolean | undefined;
8723
+ enable_public_signup_user_exists_error?: boolean | undefined;
8724
+ enable_sso?: boolean | undefined;
8725
+ enforce_client_authentication_on_passwordless_start?: boolean | undefined;
8726
+ genai_trial?: boolean | undefined;
8727
+ improved_signup_bot_detection_in_classic?: boolean | undefined;
8728
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
8729
+ no_disclose_enterprise_connections?: boolean | undefined;
8730
+ remove_alg_from_jwks?: boolean | undefined;
8731
+ revoke_refresh_token_grant?: boolean | undefined;
8732
+ trust_azure_adfs_email_verified_connection_property?: boolean | undefined;
8733
+ use_scope_descriptions_for_consent?: boolean | undefined;
8734
+ } | undefined;
8441
8735
  sandbox_version?: string | undefined;
8442
8736
  legacy_sandbox_version?: string | undefined;
8443
- sandbox_versions_available?: string | undefined;
8444
- change_password?: string | undefined;
8445
- guardian_mfa_page?: string | undefined;
8446
- device_flow?: string | undefined;
8447
- default_token_quota?: string | undefined;
8737
+ sandbox_versions_available?: string[] | undefined;
8738
+ change_password?: {
8739
+ html?: string | undefined;
8740
+ enabled?: boolean | undefined;
8741
+ } | undefined;
8742
+ guardian_mfa_page?: {
8743
+ html?: string | undefined;
8744
+ enabled?: boolean | undefined;
8745
+ } | undefined;
8746
+ device_flow?: {
8747
+ charset?: "base20" | "digits" | undefined;
8748
+ mask?: string | undefined;
8749
+ } | undefined;
8750
+ default_token_quota?: {
8751
+ clients?: {
8752
+ client_credentials?: Record<string, any> | undefined;
8753
+ } | undefined;
8754
+ organizations?: {
8755
+ client_credentials?: Record<string, any> | undefined;
8756
+ } | undefined;
8757
+ } | undefined;
8448
8758
  default_audience?: string | undefined;
8449
8759
  default_organization?: string | undefined;
8450
- sessions?: string | undefined;
8451
- oidc_logout?: string | undefined;
8452
- allow_organization_name_in_authentication_api?: number | undefined;
8453
- customize_mfa_in_postlogin_action?: number | undefined;
8454
- acr_values_supported?: string | undefined;
8455
- mtls?: string | undefined;
8456
- pushed_authorization_requests_supported?: number | undefined;
8457
- authorization_response_iss_parameter_supported?: number | undefined;
8760
+ sessions?: {
8761
+ oidc_logout_prompt_enabled?: boolean | undefined;
8762
+ } | undefined;
8763
+ oidc_logout?: {
8764
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
8765
+ } | undefined;
8766
+ allow_organization_name_in_authentication_api?: boolean | undefined;
8767
+ customize_mfa_in_postlogin_action?: boolean | undefined;
8768
+ acr_values_supported?: string[] | undefined;
8769
+ mtls?: {
8770
+ enable_endpoint_aliases?: boolean | undefined;
8771
+ } | undefined;
8772
+ pushed_authorization_requests_supported?: boolean | undefined;
8773
+ authorization_response_iss_parameter_supported?: boolean | undefined;
8458
8774
  }>;
8459
8775
  declare const sqlClientGrantSchema: z.ZodObject<{
8460
8776
  id: z.ZodString;
@@ -8475,8 +8791,8 @@ declare const sqlClientGrantSchema: z.ZodObject<{
8475
8791
  updated_at: string;
8476
8792
  id: string;
8477
8793
  client_id: string;
8478
- audience: string;
8479
8794
  scope: string;
8795
+ audience: string;
8480
8796
  authorization_details_types: string;
8481
8797
  organization_usage?: string | undefined;
8482
8798
  allow_any_organization?: number | undefined;
@@ -8498,10 +8814,10 @@ declare const sqlClientGrantSchema: z.ZodObject<{
8498
8814
  }>;
8499
8815
  declare const sqlRolePermissionSchema: z.ZodObject<{
8500
8816
  tenant_id: z.ZodString;
8817
+ created_at: z.ZodString;
8501
8818
  role_id: z.ZodString;
8502
8819
  resource_server_identifier: z.ZodString;
8503
8820
  permission_name: z.ZodString;
8504
- created_at: z.ZodString;
8505
8821
  }, "strip", z.ZodTypeAny, {
8506
8822
  tenant_id: string;
8507
8823
  created_at: string;
@@ -8517,44 +8833,44 @@ declare const sqlRolePermissionSchema: z.ZodObject<{
8517
8833
  }>;
8518
8834
  declare const sqlUserPermissionSchema: z.ZodObject<{
8519
8835
  tenant_id: z.ZodString;
8836
+ created_at: z.ZodOptional<z.ZodString>;
8520
8837
  user_id: z.ZodString;
8521
8838
  resource_server_identifier: z.ZodString;
8522
8839
  permission_name: z.ZodString;
8523
- organization_id: z.ZodString;
8524
- created_at: z.ZodString;
8840
+ organization_id: z.ZodOptional<z.ZodString>;
8525
8841
  }, "strip", z.ZodTypeAny, {
8526
8842
  tenant_id: string;
8527
8843
  user_id: string;
8528
- created_at: string;
8529
8844
  resource_server_identifier: string;
8530
8845
  permission_name: string;
8531
- organization_id: string;
8846
+ created_at?: string | undefined;
8847
+ organization_id?: string | undefined;
8532
8848
  }, {
8533
8849
  tenant_id: string;
8534
8850
  user_id: string;
8535
- created_at: string;
8536
8851
  resource_server_identifier: string;
8537
8852
  permission_name: string;
8538
- organization_id: string;
8853
+ created_at?: string | undefined;
8854
+ organization_id?: string | undefined;
8539
8855
  }>;
8540
8856
  declare const sqlUserRoleSchema: z.ZodObject<{
8541
8857
  tenant_id: z.ZodString;
8858
+ created_at: z.ZodOptional<z.ZodString>;
8542
8859
  user_id: z.ZodString;
8543
8860
  role_id: z.ZodString;
8544
- organization_id: z.ZodString;
8545
- created_at: z.ZodString;
8861
+ organization_id: z.ZodOptional<z.ZodString>;
8546
8862
  }, "strip", z.ZodTypeAny, {
8547
8863
  tenant_id: string;
8548
8864
  user_id: string;
8549
- created_at: string;
8550
8865
  role_id: string;
8551
- organization_id: string;
8866
+ created_at?: string | undefined;
8867
+ organization_id?: string | undefined;
8552
8868
  }, {
8553
8869
  tenant_id: string;
8554
8870
  user_id: string;
8555
- created_at: string;
8556
8871
  role_id: string;
8557
- organization_id: string;
8872
+ created_at?: string | undefined;
8873
+ organization_id?: string | undefined;
8558
8874
  }>;
8559
8875
  declare const sqlOrganizationSchema: z.ZodObject<{
8560
8876
  tenant_id: z.ZodString;