@authhero/kysely-adapter 10.56.0 → 10.57.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.
@@ -4643,7 +4643,7 @@ declare const logInsertSchema: z.ZodObject<{
4643
4643
  date: z.ZodString;
4644
4644
  description: z.ZodOptional<z.ZodString>;
4645
4645
  ip: z.ZodOptional<z.ZodString>;
4646
- user_agent: z.ZodString;
4646
+ user_agent: z.ZodOptional<z.ZodString>;
4647
4647
  details: z.ZodOptional<z.ZodAny>;
4648
4648
  isMobile: z.ZodBoolean;
4649
4649
  user_id: z.ZodOptional<z.ZodString>;
@@ -4653,7 +4653,7 @@ declare const logInsertSchema: z.ZodObject<{
4653
4653
  client_id: z.ZodOptional<z.ZodString>;
4654
4654
  client_name: z.ZodOptional<z.ZodString>;
4655
4655
  audience: z.ZodOptional<z.ZodString>;
4656
- scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4656
+ scope: z.ZodOptional<z.ZodString>;
4657
4657
  strategy: z.ZodOptional<z.ZodString>;
4658
4658
  strategy_type: z.ZodOptional<z.ZodString>;
4659
4659
  hostname: z.ZodOptional<z.ZodString>;
@@ -4681,20 +4681,48 @@ declare const logInsertSchema: z.ZodObject<{
4681
4681
  } | undefined;
4682
4682
  }>>;
4683
4683
  log_id: z.ZodOptional<z.ZodString>;
4684
+ location_info: z.ZodOptional<z.ZodObject<{
4685
+ country_code: z.ZodString;
4686
+ country_code3: z.ZodString;
4687
+ country_name: z.ZodString;
4688
+ city_name: z.ZodString;
4689
+ latitude: z.ZodString;
4690
+ longitude: z.ZodString;
4691
+ time_zone: z.ZodString;
4692
+ continent_code: z.ZodString;
4693
+ }, "strip", z.ZodTypeAny, {
4694
+ country_code: string;
4695
+ country_code3: string;
4696
+ country_name: string;
4697
+ city_name: string;
4698
+ latitude: string;
4699
+ longitude: string;
4700
+ time_zone: string;
4701
+ continent_code: string;
4702
+ }, {
4703
+ country_code: string;
4704
+ country_code3: string;
4705
+ country_name: string;
4706
+ city_name: string;
4707
+ latitude: string;
4708
+ longitude: string;
4709
+ time_zone: string;
4710
+ continent_code: string;
4711
+ }>>;
4684
4712
  }, "strip", z.ZodTypeAny, {
4685
4713
  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
4714
  date: string;
4687
- user_agent: string;
4688
4715
  isMobile: boolean;
4689
4716
  description?: string | undefined;
4690
4717
  connection?: string | undefined;
4691
4718
  user_id?: string | undefined;
4692
4719
  client_id?: string | undefined;
4693
4720
  audience?: string | undefined;
4694
- scope?: string[] | undefined;
4721
+ scope?: string | undefined;
4695
4722
  strategy?: string | undefined;
4696
4723
  connection_id?: string | undefined;
4697
4724
  ip?: string | undefined;
4725
+ user_agent?: string | undefined;
4698
4726
  details?: any;
4699
4727
  user_name?: string | undefined;
4700
4728
  client_name?: string | undefined;
@@ -4708,20 +4736,30 @@ declare const logInsertSchema: z.ZodObject<{
4708
4736
  } | undefined;
4709
4737
  } | undefined;
4710
4738
  log_id?: string | undefined;
4739
+ location_info?: {
4740
+ country_code: string;
4741
+ country_code3: string;
4742
+ country_name: string;
4743
+ city_name: string;
4744
+ latitude: string;
4745
+ longitude: string;
4746
+ time_zone: string;
4747
+ continent_code: string;
4748
+ } | undefined;
4711
4749
  }, {
4712
4750
  type: string;
4713
4751
  date: string;
4714
- user_agent: string;
4715
4752
  isMobile: boolean;
4716
4753
  description?: string | undefined;
4717
4754
  connection?: string | undefined;
4718
4755
  user_id?: string | undefined;
4719
4756
  client_id?: string | undefined;
4720
4757
  audience?: string | undefined;
4721
- scope?: string[] | undefined;
4758
+ scope?: string | undefined;
4722
4759
  strategy?: string | undefined;
4723
4760
  connection_id?: string | undefined;
4724
4761
  ip?: string | undefined;
4762
+ user_agent?: string | undefined;
4725
4763
  details?: any;
4726
4764
  user_name?: string | undefined;
4727
4765
  client_name?: string | undefined;
@@ -4735,6 +4773,16 @@ declare const logInsertSchema: z.ZodObject<{
4735
4773
  } | undefined;
4736
4774
  } | undefined;
4737
4775
  log_id?: string | undefined;
4776
+ location_info?: {
4777
+ country_code: string;
4778
+ country_code3: string;
4779
+ country_name: string;
4780
+ city_name: string;
4781
+ latitude: string;
4782
+ longitude: string;
4783
+ time_zone: string;
4784
+ continent_code: string;
4785
+ } | undefined;
4738
4786
  }>;
4739
4787
  export type LogInsert = z.infer<typeof logInsertSchema>;
4740
4788
  declare const logSchema: z.ZodObject<{
@@ -4743,7 +4791,7 @@ declare const logSchema: z.ZodObject<{
4743
4791
  date: z.ZodString;
4744
4792
  description: z.ZodOptional<z.ZodString>;
4745
4793
  ip: z.ZodOptional<z.ZodString>;
4746
- user_agent: z.ZodString;
4794
+ user_agent: z.ZodOptional<z.ZodString>;
4747
4795
  details: z.ZodOptional<z.ZodAny>;
4748
4796
  isMobile: z.ZodBoolean;
4749
4797
  user_id: z.ZodOptional<z.ZodString>;
@@ -4753,7 +4801,7 @@ declare const logSchema: z.ZodObject<{
4753
4801
  client_id: z.ZodOptional<z.ZodString>;
4754
4802
  client_name: z.ZodOptional<z.ZodString>;
4755
4803
  audience: z.ZodOptional<z.ZodString>;
4756
- scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4804
+ scope: z.ZodOptional<z.ZodString>;
4757
4805
  strategy: z.ZodOptional<z.ZodString>;
4758
4806
  strategy_type: z.ZodOptional<z.ZodString>;
4759
4807
  hostname: z.ZodOptional<z.ZodString>;
@@ -4780,10 +4828,37 @@ declare const logSchema: z.ZodObject<{
4780
4828
  node?: string | undefined;
4781
4829
  } | undefined;
4782
4830
  }>>;
4831
+ location_info: z.ZodOptional<z.ZodObject<{
4832
+ country_code: z.ZodString;
4833
+ country_code3: z.ZodString;
4834
+ country_name: z.ZodString;
4835
+ city_name: z.ZodString;
4836
+ latitude: z.ZodString;
4837
+ longitude: z.ZodString;
4838
+ time_zone: z.ZodString;
4839
+ continent_code: z.ZodString;
4840
+ }, "strip", z.ZodTypeAny, {
4841
+ country_code: string;
4842
+ country_code3: string;
4843
+ country_name: string;
4844
+ city_name: string;
4845
+ latitude: string;
4846
+ longitude: string;
4847
+ time_zone: string;
4848
+ continent_code: string;
4849
+ }, {
4850
+ country_code: string;
4851
+ country_code3: string;
4852
+ country_name: string;
4853
+ city_name: string;
4854
+ latitude: string;
4855
+ longitude: string;
4856
+ time_zone: string;
4857
+ continent_code: string;
4858
+ }>>;
4783
4859
  }, "strip", z.ZodTypeAny, {
4784
4860
  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
4861
  date: string;
4786
- user_agent: string;
4787
4862
  isMobile: boolean;
4788
4863
  log_id: string;
4789
4864
  description?: string | undefined;
@@ -4791,10 +4866,11 @@ declare const logSchema: z.ZodObject<{
4791
4866
  user_id?: string | undefined;
4792
4867
  client_id?: string | undefined;
4793
4868
  audience?: string | undefined;
4794
- scope?: string[] | undefined;
4869
+ scope?: string | undefined;
4795
4870
  strategy?: string | undefined;
4796
4871
  connection_id?: string | undefined;
4797
4872
  ip?: string | undefined;
4873
+ user_agent?: string | undefined;
4798
4874
  details?: any;
4799
4875
  user_name?: string | undefined;
4800
4876
  client_name?: string | undefined;
@@ -4807,10 +4883,19 @@ declare const logSchema: z.ZodObject<{
4807
4883
  node?: string | undefined;
4808
4884
  } | undefined;
4809
4885
  } | undefined;
4886
+ location_info?: {
4887
+ country_code: string;
4888
+ country_code3: string;
4889
+ country_name: string;
4890
+ city_name: string;
4891
+ latitude: string;
4892
+ longitude: string;
4893
+ time_zone: string;
4894
+ continent_code: string;
4895
+ } | undefined;
4810
4896
  }, {
4811
4897
  type: string;
4812
4898
  date: string;
4813
- user_agent: string;
4814
4899
  isMobile: boolean;
4815
4900
  log_id: string;
4816
4901
  description?: string | undefined;
@@ -4818,10 +4903,11 @@ declare const logSchema: z.ZodObject<{
4818
4903
  user_id?: string | undefined;
4819
4904
  client_id?: string | undefined;
4820
4905
  audience?: string | undefined;
4821
- scope?: string[] | undefined;
4906
+ scope?: string | undefined;
4822
4907
  strategy?: string | undefined;
4823
4908
  connection_id?: string | undefined;
4824
4909
  ip?: string | undefined;
4910
+ user_agent?: string | undefined;
4825
4911
  details?: any;
4826
4912
  user_name?: string | undefined;
4827
4913
  client_name?: string | undefined;
@@ -4834,6 +4920,16 @@ declare const logSchema: z.ZodObject<{
4834
4920
  node?: string | undefined;
4835
4921
  } | undefined;
4836
4922
  } | undefined;
4923
+ location_info?: {
4924
+ country_code: string;
4925
+ country_code3: string;
4926
+ country_name: string;
4927
+ city_name: string;
4928
+ latitude: string;
4929
+ longitude: string;
4930
+ time_zone: string;
4931
+ continent_code: string;
4932
+ } | undefined;
4837
4933
  }>;
4838
4934
  export type Log = z.infer<typeof logSchema>;
4839
4935
  declare const passwordInsertSchema: z.ZodObject<{
@@ -7572,6 +7668,23 @@ export interface InvitesAdapter {
7572
7668
  list(tenant_id: string, params?: ListParams): Promise<ListInvitesResponse>;
7573
7669
  update(tenant_id: string, id: string, params: Partial<InviteInsert>): Promise<boolean>;
7574
7670
  }
7671
+ export interface GeoInfo {
7672
+ country_code: string;
7673
+ country_code3: string;
7674
+ country_name: string;
7675
+ city_name: string;
7676
+ latitude: string;
7677
+ longitude: string;
7678
+ time_zone: string;
7679
+ continent_code: string;
7680
+ }
7681
+ export interface GeoAdapter {
7682
+ /**
7683
+ * Get geo information from the current request
7684
+ * @returns Geo information or null if not available
7685
+ */
7686
+ getGeoInfo(): Promise<GeoInfo | null>;
7687
+ }
7575
7688
  export interface DataAdapters {
7576
7689
  branding: BrandingAdapter;
7577
7690
  cache?: CacheAdapter;
@@ -7583,6 +7696,7 @@ export interface DataAdapters {
7583
7696
  customDomains: CustomDomainsAdapter;
7584
7697
  emailProviders: EmailProvidersAdapter;
7585
7698
  forms: FormsAdapter;
7699
+ geo?: GeoAdapter;
7586
7700
  hooks: HooksAdapter;
7587
7701
  invites: InvitesAdapter;
7588
7702
  keys: KeysAdapter;
@@ -8198,12 +8312,20 @@ declare const sqlLogSchema: z.ZodObject<{
8198
8312
  auth0_client: z.ZodOptional<z.ZodString>;
8199
8313
  details: z.ZodOptional<z.ZodString>;
8200
8314
  session_connection: z.ZodOptional<z.ZodString>;
8315
+ country_code: z.ZodOptional<z.ZodString>;
8316
+ country_code3: z.ZodOptional<z.ZodString>;
8317
+ country_name: z.ZodOptional<z.ZodString>;
8318
+ city_name: z.ZodOptional<z.ZodString>;
8319
+ latitude: z.ZodOptional<z.ZodString>;
8320
+ longitude: z.ZodOptional<z.ZodString>;
8321
+ time_zone: z.ZodOptional<z.ZodString>;
8322
+ continent_code: z.ZodOptional<z.ZodString>;
8201
8323
  log_id: z.ZodString;
8202
8324
  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
8325
  date: z.ZodString;
8204
8326
  description: z.ZodOptional<z.ZodString>;
8205
8327
  ip: z.ZodOptional<z.ZodString>;
8206
- user_agent: z.ZodString;
8328
+ user_agent: z.ZodOptional<z.ZodString>;
8207
8329
  user_id: z.ZodOptional<z.ZodString>;
8208
8330
  user_name: z.ZodOptional<z.ZodString>;
8209
8331
  connection: z.ZodOptional<z.ZodString>;
@@ -8214,12 +8336,39 @@ declare const sqlLogSchema: z.ZodObject<{
8214
8336
  strategy: z.ZodOptional<z.ZodString>;
8215
8337
  strategy_type: z.ZodOptional<z.ZodString>;
8216
8338
  hostname: z.ZodOptional<z.ZodString>;
8339
+ location_info: z.ZodOptional<z.ZodObject<{
8340
+ country_code: z.ZodString;
8341
+ country_code3: z.ZodString;
8342
+ country_name: z.ZodString;
8343
+ city_name: z.ZodString;
8344
+ latitude: z.ZodString;
8345
+ longitude: z.ZodString;
8346
+ time_zone: z.ZodString;
8347
+ continent_code: z.ZodString;
8348
+ }, "strip", z.ZodTypeAny, {
8349
+ country_code: string;
8350
+ country_code3: string;
8351
+ country_name: string;
8352
+ city_name: string;
8353
+ latitude: string;
8354
+ longitude: string;
8355
+ time_zone: string;
8356
+ continent_code: string;
8357
+ }, {
8358
+ country_code: string;
8359
+ country_code3: string;
8360
+ country_name: string;
8361
+ city_name: string;
8362
+ latitude: string;
8363
+ longitude: string;
8364
+ time_zone: string;
8365
+ continent_code: string;
8366
+ }>>;
8217
8367
  }, "strip", z.ZodTypeAny, {
8218
8368
  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";
8219
8369
  date: string;
8220
8370
  tenant_id: string;
8221
8371
  log_id: string;
8222
- user_agent: string;
8223
8372
  description?: string | undefined;
8224
8373
  user_id?: string | undefined;
8225
8374
  connection?: string | undefined;
@@ -8230,7 +8379,16 @@ declare const sqlLogSchema: z.ZodObject<{
8230
8379
  auth0_client?: string | undefined;
8231
8380
  details?: string | undefined;
8232
8381
  session_connection?: string | undefined;
8382
+ country_code?: string | undefined;
8383
+ country_code3?: string | undefined;
8384
+ country_name?: string | undefined;
8385
+ city_name?: string | undefined;
8386
+ latitude?: string | undefined;
8387
+ longitude?: string | undefined;
8388
+ time_zone?: string | undefined;
8389
+ continent_code?: string | undefined;
8233
8390
  ip?: string | undefined;
8391
+ user_agent?: string | undefined;
8234
8392
  user_name?: string | undefined;
8235
8393
  connection_id?: string | undefined;
8236
8394
  client_name?: string | undefined;
@@ -8238,12 +8396,21 @@ declare const sqlLogSchema: z.ZodObject<{
8238
8396
  strategy?: string | undefined;
8239
8397
  strategy_type?: string | undefined;
8240
8398
  hostname?: string | undefined;
8399
+ location_info?: {
8400
+ country_code: string;
8401
+ country_code3: string;
8402
+ country_name: string;
8403
+ city_name: string;
8404
+ latitude: string;
8405
+ longitude: string;
8406
+ time_zone: string;
8407
+ continent_code: string;
8408
+ } | undefined;
8241
8409
  }, {
8242
8410
  type: string;
8243
8411
  date: string;
8244
8412
  tenant_id: string;
8245
8413
  log_id: string;
8246
- user_agent: string;
8247
8414
  description?: string | undefined;
8248
8415
  user_id?: string | undefined;
8249
8416
  connection?: string | undefined;
@@ -8254,7 +8421,16 @@ declare const sqlLogSchema: z.ZodObject<{
8254
8421
  auth0_client?: string | undefined;
8255
8422
  details?: string | undefined;
8256
8423
  session_connection?: string | undefined;
8424
+ country_code?: string | undefined;
8425
+ country_code3?: string | undefined;
8426
+ country_name?: string | undefined;
8427
+ city_name?: string | undefined;
8428
+ latitude?: string | undefined;
8429
+ longitude?: string | undefined;
8430
+ time_zone?: string | undefined;
8431
+ continent_code?: string | undefined;
8257
8432
  ip?: string | undefined;
8433
+ user_agent?: string | undefined;
8258
8434
  user_name?: string | undefined;
8259
8435
  connection_id?: string | undefined;
8260
8436
  client_name?: string | undefined;
@@ -8262,6 +8438,16 @@ declare const sqlLogSchema: z.ZodObject<{
8262
8438
  strategy?: string | undefined;
8263
8439
  strategy_type?: string | undefined;
8264
8440
  hostname?: string | undefined;
8441
+ location_info?: {
8442
+ country_code: string;
8443
+ country_code3: string;
8444
+ country_name: string;
8445
+ city_name: string;
8446
+ latitude: string;
8447
+ longitude: string;
8448
+ time_zone: string;
8449
+ continent_code: string;
8450
+ } | undefined;
8265
8451
  }>;
8266
8452
  declare const sqlResourceServerSchema: z.ZodObject<Omit<{
8267
8453
  tenant_id: z.ZodString;