authhero 0.273.0 → 0.274.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.
@@ -12791,12 +12791,40 @@ export declare const Auth0Client: z.ZodObject<{
12791
12791
  node?: string | undefined;
12792
12792
  } | undefined;
12793
12793
  }>;
12794
+ export declare const LocationInfo: z.ZodObject<{
12795
+ country_code: z.ZodString;
12796
+ country_code3: z.ZodString;
12797
+ country_name: z.ZodString;
12798
+ city_name: z.ZodString;
12799
+ latitude: z.ZodString;
12800
+ longitude: z.ZodString;
12801
+ time_zone: z.ZodString;
12802
+ continent_code: z.ZodString;
12803
+ }, "strip", z.ZodTypeAny, {
12804
+ country_code: string;
12805
+ country_code3: string;
12806
+ country_name: string;
12807
+ city_name: string;
12808
+ latitude: string;
12809
+ longitude: string;
12810
+ time_zone: string;
12811
+ continent_code: string;
12812
+ }, {
12813
+ country_code: string;
12814
+ country_code3: string;
12815
+ country_name: string;
12816
+ city_name: string;
12817
+ latitude: string;
12818
+ longitude: string;
12819
+ time_zone: string;
12820
+ continent_code: string;
12821
+ }>;
12794
12822
  export declare const logInsertSchema: z.ZodObject<{
12795
12823
  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>;
12796
12824
  date: z.ZodString;
12797
12825
  description: z.ZodOptional<z.ZodString>;
12798
12826
  ip: z.ZodOptional<z.ZodString>;
12799
- user_agent: z.ZodString;
12827
+ user_agent: z.ZodOptional<z.ZodString>;
12800
12828
  details: z.ZodOptional<z.ZodAny>;
12801
12829
  isMobile: z.ZodBoolean;
12802
12830
  user_id: z.ZodOptional<z.ZodString>;
@@ -12806,7 +12834,7 @@ export declare const logInsertSchema: z.ZodObject<{
12806
12834
  client_id: z.ZodOptional<z.ZodString>;
12807
12835
  client_name: z.ZodOptional<z.ZodString>;
12808
12836
  audience: z.ZodOptional<z.ZodString>;
12809
- scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12837
+ scope: z.ZodOptional<z.ZodString>;
12810
12838
  strategy: z.ZodOptional<z.ZodString>;
12811
12839
  strategy_type: z.ZodOptional<z.ZodString>;
12812
12840
  hostname: z.ZodOptional<z.ZodString>;
@@ -12834,20 +12862,48 @@ export declare const logInsertSchema: z.ZodObject<{
12834
12862
  } | undefined;
12835
12863
  }>>;
12836
12864
  log_id: z.ZodOptional<z.ZodString>;
12865
+ location_info: z.ZodOptional<z.ZodObject<{
12866
+ country_code: z.ZodString;
12867
+ country_code3: z.ZodString;
12868
+ country_name: z.ZodString;
12869
+ city_name: z.ZodString;
12870
+ latitude: z.ZodString;
12871
+ longitude: z.ZodString;
12872
+ time_zone: z.ZodString;
12873
+ continent_code: z.ZodString;
12874
+ }, "strip", z.ZodTypeAny, {
12875
+ country_code: string;
12876
+ country_code3: string;
12877
+ country_name: string;
12878
+ city_name: string;
12879
+ latitude: string;
12880
+ longitude: string;
12881
+ time_zone: string;
12882
+ continent_code: string;
12883
+ }, {
12884
+ country_code: string;
12885
+ country_code3: string;
12886
+ country_name: string;
12887
+ city_name: string;
12888
+ latitude: string;
12889
+ longitude: string;
12890
+ time_zone: string;
12891
+ continent_code: string;
12892
+ }>>;
12837
12893
  }, "strip", z.ZodTypeAny, {
12838
12894
  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";
12839
12895
  date: string;
12840
- user_agent: string;
12841
12896
  isMobile: boolean;
12842
12897
  description?: string | undefined;
12843
12898
  connection?: string | undefined;
12844
12899
  user_id?: string | undefined;
12845
12900
  client_id?: string | undefined;
12846
12901
  audience?: string | undefined;
12847
- scope?: string[] | undefined;
12902
+ scope?: string | undefined;
12848
12903
  strategy?: string | undefined;
12849
12904
  connection_id?: string | undefined;
12850
12905
  ip?: string | undefined;
12906
+ user_agent?: string | undefined;
12851
12907
  details?: any;
12852
12908
  user_name?: string | undefined;
12853
12909
  client_name?: string | undefined;
@@ -12861,20 +12917,30 @@ export declare const logInsertSchema: z.ZodObject<{
12861
12917
  } | undefined;
12862
12918
  } | undefined;
12863
12919
  log_id?: string | undefined;
12920
+ location_info?: {
12921
+ country_code: string;
12922
+ country_code3: string;
12923
+ country_name: string;
12924
+ city_name: string;
12925
+ latitude: string;
12926
+ longitude: string;
12927
+ time_zone: string;
12928
+ continent_code: string;
12929
+ } | undefined;
12864
12930
  }, {
12865
12931
  type: string;
12866
12932
  date: string;
12867
- user_agent: string;
12868
12933
  isMobile: boolean;
12869
12934
  description?: string | undefined;
12870
12935
  connection?: string | undefined;
12871
12936
  user_id?: string | undefined;
12872
12937
  client_id?: string | undefined;
12873
12938
  audience?: string | undefined;
12874
- scope?: string[] | undefined;
12939
+ scope?: string | undefined;
12875
12940
  strategy?: string | undefined;
12876
12941
  connection_id?: string | undefined;
12877
12942
  ip?: string | undefined;
12943
+ user_agent?: string | undefined;
12878
12944
  details?: any;
12879
12945
  user_name?: string | undefined;
12880
12946
  client_name?: string | undefined;
@@ -12888,6 +12954,16 @@ export declare const logInsertSchema: z.ZodObject<{
12888
12954
  } | undefined;
12889
12955
  } | undefined;
12890
12956
  log_id?: string | undefined;
12957
+ location_info?: {
12958
+ country_code: string;
12959
+ country_code3: string;
12960
+ country_name: string;
12961
+ city_name: string;
12962
+ latitude: string;
12963
+ longitude: string;
12964
+ time_zone: string;
12965
+ continent_code: string;
12966
+ } | undefined;
12891
12967
  }>;
12892
12968
  export type LogInsert = z.infer<typeof logInsertSchema>;
12893
12969
  export declare const logSchema: z.ZodObject<{
@@ -12896,7 +12972,7 @@ export declare const logSchema: z.ZodObject<{
12896
12972
  date: z.ZodString;
12897
12973
  description: z.ZodOptional<z.ZodString>;
12898
12974
  ip: z.ZodOptional<z.ZodString>;
12899
- user_agent: z.ZodString;
12975
+ user_agent: z.ZodOptional<z.ZodString>;
12900
12976
  details: z.ZodOptional<z.ZodAny>;
12901
12977
  isMobile: z.ZodBoolean;
12902
12978
  user_id: z.ZodOptional<z.ZodString>;
@@ -12906,7 +12982,7 @@ export declare const logSchema: z.ZodObject<{
12906
12982
  client_id: z.ZodOptional<z.ZodString>;
12907
12983
  client_name: z.ZodOptional<z.ZodString>;
12908
12984
  audience: z.ZodOptional<z.ZodString>;
12909
- scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12985
+ scope: z.ZodOptional<z.ZodString>;
12910
12986
  strategy: z.ZodOptional<z.ZodString>;
12911
12987
  strategy_type: z.ZodOptional<z.ZodString>;
12912
12988
  hostname: z.ZodOptional<z.ZodString>;
@@ -12933,10 +13009,37 @@ export declare const logSchema: z.ZodObject<{
12933
13009
  node?: string | undefined;
12934
13010
  } | undefined;
12935
13011
  }>>;
13012
+ location_info: z.ZodOptional<z.ZodObject<{
13013
+ country_code: z.ZodString;
13014
+ country_code3: z.ZodString;
13015
+ country_name: z.ZodString;
13016
+ city_name: z.ZodString;
13017
+ latitude: z.ZodString;
13018
+ longitude: z.ZodString;
13019
+ time_zone: z.ZodString;
13020
+ continent_code: z.ZodString;
13021
+ }, "strip", z.ZodTypeAny, {
13022
+ country_code: string;
13023
+ country_code3: string;
13024
+ country_name: string;
13025
+ city_name: string;
13026
+ latitude: string;
13027
+ longitude: string;
13028
+ time_zone: string;
13029
+ continent_code: string;
13030
+ }, {
13031
+ country_code: string;
13032
+ country_code3: string;
13033
+ country_name: string;
13034
+ city_name: string;
13035
+ latitude: string;
13036
+ longitude: string;
13037
+ time_zone: string;
13038
+ continent_code: string;
13039
+ }>>;
12936
13040
  }, "strip", z.ZodTypeAny, {
12937
13041
  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";
12938
13042
  date: string;
12939
- user_agent: string;
12940
13043
  isMobile: boolean;
12941
13044
  log_id: string;
12942
13045
  description?: string | undefined;
@@ -12944,10 +13047,11 @@ export declare const logSchema: z.ZodObject<{
12944
13047
  user_id?: string | undefined;
12945
13048
  client_id?: string | undefined;
12946
13049
  audience?: string | undefined;
12947
- scope?: string[] | undefined;
13050
+ scope?: string | undefined;
12948
13051
  strategy?: string | undefined;
12949
13052
  connection_id?: string | undefined;
12950
13053
  ip?: string | undefined;
13054
+ user_agent?: string | undefined;
12951
13055
  details?: any;
12952
13056
  user_name?: string | undefined;
12953
13057
  client_name?: string | undefined;
@@ -12960,10 +13064,19 @@ export declare const logSchema: z.ZodObject<{
12960
13064
  node?: string | undefined;
12961
13065
  } | undefined;
12962
13066
  } | undefined;
13067
+ location_info?: {
13068
+ country_code: string;
13069
+ country_code3: string;
13070
+ country_name: string;
13071
+ city_name: string;
13072
+ latitude: string;
13073
+ longitude: string;
13074
+ time_zone: string;
13075
+ continent_code: string;
13076
+ } | undefined;
12963
13077
  }, {
12964
13078
  type: string;
12965
13079
  date: string;
12966
- user_agent: string;
12967
13080
  isMobile: boolean;
12968
13081
  log_id: string;
12969
13082
  description?: string | undefined;
@@ -12971,10 +13084,11 @@ export declare const logSchema: z.ZodObject<{
12971
13084
  user_id?: string | undefined;
12972
13085
  client_id?: string | undefined;
12973
13086
  audience?: string | undefined;
12974
- scope?: string[] | undefined;
13087
+ scope?: string | undefined;
12975
13088
  strategy?: string | undefined;
12976
13089
  connection_id?: string | undefined;
12977
13090
  ip?: string | undefined;
13091
+ user_agent?: string | undefined;
12978
13092
  details?: any;
12979
13093
  user_name?: string | undefined;
12980
13094
  client_name?: string | undefined;
@@ -12987,6 +13101,16 @@ export declare const logSchema: z.ZodObject<{
12987
13101
  node?: string | undefined;
12988
13102
  } | undefined;
12989
13103
  } | undefined;
13104
+ location_info?: {
13105
+ country_code: string;
13106
+ country_code3: string;
13107
+ country_name: string;
13108
+ city_name: string;
13109
+ latitude: string;
13110
+ longitude: string;
13111
+ time_zone: string;
13112
+ continent_code: string;
13113
+ } | undefined;
12990
13114
  }>;
12991
13115
  export type Log = z.infer<typeof logSchema>;
12992
13116
  export declare const passwordInsertSchema: z.ZodObject<{
@@ -17171,6 +17295,23 @@ export interface InvitesAdapter {
17171
17295
  list(tenant_id: string, params?: ListParams): Promise<ListInvitesResponse>;
17172
17296
  update(tenant_id: string, id: string, params: Partial<InviteInsert>): Promise<boolean>;
17173
17297
  }
17298
+ export interface GeoInfo {
17299
+ country_code: string;
17300
+ country_code3: string;
17301
+ country_name: string;
17302
+ city_name: string;
17303
+ latitude: string;
17304
+ longitude: string;
17305
+ time_zone: string;
17306
+ continent_code: string;
17307
+ }
17308
+ export interface GeoAdapter {
17309
+ /**
17310
+ * Get geo information from the current request
17311
+ * @returns Geo information or null if not available
17312
+ */
17313
+ getGeoInfo(): Promise<GeoInfo | null>;
17314
+ }
17174
17315
  export interface DataAdapters {
17175
17316
  branding: BrandingAdapter;
17176
17317
  cache?: CacheAdapter;
@@ -17182,6 +17323,7 @@ export interface DataAdapters {
17182
17323
  customDomains: CustomDomainsAdapter;
17183
17324
  emailProviders: EmailProvidersAdapter;
17184
17325
  forms: FormsAdapter;
17326
+ geo?: GeoAdapter;
17185
17327
  hooks: HooksAdapter;
17186
17328
  invites: InvitesAdapter;
17187
17329
  keys: KeysAdapter;
@@ -20785,7 +20927,6 @@ export declare function init(config: AuthHeroConfig): {
20785
20927
  output: {
20786
20928
  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";
20787
20929
  date: string;
20788
- user_agent: string;
20789
20930
  isMobile: boolean;
20790
20931
  log_id: string;
20791
20932
  description?: string | undefined | undefined;
@@ -20793,10 +20934,11 @@ export declare function init(config: AuthHeroConfig): {
20793
20934
  user_id?: string | undefined | undefined;
20794
20935
  client_id?: string | undefined | undefined;
20795
20936
  audience?: string | undefined | undefined;
20796
- scope?: string[] | undefined | undefined;
20937
+ scope?: string | undefined | undefined;
20797
20938
  strategy?: string | undefined | undefined;
20798
20939
  connection_id?: string | undefined | undefined;
20799
20940
  ip?: string | undefined | undefined;
20941
+ user_agent?: string | undefined | undefined;
20800
20942
  details?: any;
20801
20943
  user_name?: string | undefined | undefined;
20802
20944
  client_name?: string | undefined | undefined;
@@ -20809,6 +20951,16 @@ export declare function init(config: AuthHeroConfig): {
20809
20951
  node?: string | undefined | undefined;
20810
20952
  } | undefined;
20811
20953
  } | undefined;
20954
+ location_info?: {
20955
+ country_code: string;
20956
+ country_code3: string;
20957
+ country_name: string;
20958
+ city_name: string;
20959
+ latitude: string;
20960
+ longitude: string;
20961
+ time_zone: string;
20962
+ continent_code: string;
20963
+ } | undefined;
20812
20964
  }[] | {
20813
20965
  length: number;
20814
20966
  start: number;
@@ -20816,7 +20968,6 @@ export declare function init(config: AuthHeroConfig): {
20816
20968
  logs: {
20817
20969
  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";
20818
20970
  date: string;
20819
- user_agent: string;
20820
20971
  isMobile: boolean;
20821
20972
  log_id: string;
20822
20973
  description?: string | undefined | undefined;
@@ -20824,10 +20975,11 @@ export declare function init(config: AuthHeroConfig): {
20824
20975
  user_id?: string | undefined | undefined;
20825
20976
  client_id?: string | undefined | undefined;
20826
20977
  audience?: string | undefined | undefined;
20827
- scope?: string[] | undefined | undefined;
20978
+ scope?: string | undefined | undefined;
20828
20979
  strategy?: string | undefined | undefined;
20829
20980
  connection_id?: string | undefined | undefined;
20830
20981
  ip?: string | undefined | undefined;
20982
+ user_agent?: string | undefined | undefined;
20831
20983
  details?: any;
20832
20984
  user_name?: string | undefined | undefined;
20833
20985
  client_name?: string | undefined | undefined;
@@ -20840,6 +20992,16 @@ export declare function init(config: AuthHeroConfig): {
20840
20992
  node?: string | undefined | undefined;
20841
20993
  } | undefined;
20842
20994
  } | undefined;
20995
+ location_info?: {
20996
+ country_code: string;
20997
+ country_code3: string;
20998
+ country_name: string;
20999
+ city_name: string;
21000
+ latitude: string;
21001
+ longitude: string;
21002
+ time_zone: string;
21003
+ continent_code: string;
21004
+ } | undefined;
20843
21005
  }[];
20844
21006
  };
20845
21007
  outputFormat: "json";
@@ -20861,7 +21023,6 @@ export declare function init(config: AuthHeroConfig): {
20861
21023
  output: {
20862
21024
  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";
20863
21025
  date: string;
20864
- user_agent: string;
20865
21026
  isMobile: boolean;
20866
21027
  log_id: string;
20867
21028
  description?: string | undefined | undefined;
@@ -20869,10 +21030,11 @@ export declare function init(config: AuthHeroConfig): {
20869
21030
  user_id?: string | undefined | undefined;
20870
21031
  client_id?: string | undefined | undefined;
20871
21032
  audience?: string | undefined | undefined;
20872
- scope?: string[] | undefined | undefined;
21033
+ scope?: string | undefined | undefined;
20873
21034
  strategy?: string | undefined | undefined;
20874
21035
  connection_id?: string | undefined | undefined;
20875
21036
  ip?: string | undefined | undefined;
21037
+ user_agent?: string | undefined | undefined;
20876
21038
  details?: any;
20877
21039
  user_name?: string | undefined | undefined;
20878
21040
  client_name?: string | undefined | undefined;
@@ -20885,6 +21047,16 @@ export declare function init(config: AuthHeroConfig): {
20885
21047
  node?: string | undefined | undefined;
20886
21048
  } | undefined;
20887
21049
  } | undefined;
21050
+ location_info?: {
21051
+ country_code: string;
21052
+ country_code3: string;
21053
+ country_name: string;
21054
+ city_name: string;
21055
+ latitude: string;
21056
+ longitude: string;
21057
+ time_zone: string;
21058
+ continent_code: string;
21059
+ } | undefined;
20888
21060
  };
20889
21061
  outputFormat: "json";
20890
21062
  status: 200;