authhero 0.261.0 → 0.263.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.
@@ -12779,12 +12779,10 @@ export declare const Auth0Client: z.ZodObject<{
12779
12779
  node?: string | undefined;
12780
12780
  } | undefined;
12781
12781
  }>;
12782
- export declare const logSchema: z.ZodObject<{
12782
+ export declare const logInsertSchema: z.ZodObject<{
12783
12783
  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>;
12784
12784
  date: z.ZodString;
12785
12785
  description: z.ZodOptional<z.ZodString>;
12786
- log_id: z.ZodOptional<z.ZodString>;
12787
- _id: z.ZodOptional<z.ZodString>;
12788
12786
  ip: z.ZodString;
12789
12787
  user_agent: z.ZodString;
12790
12788
  details: z.ZodOptional<z.ZodAny>;
@@ -12823,6 +12821,7 @@ export declare const logSchema: z.ZodObject<{
12823
12821
  node?: string | undefined;
12824
12822
  } | undefined;
12825
12823
  }>>;
12824
+ log_id: z.ZodOptional<z.ZodString>;
12826
12825
  }, "strip", z.ZodTypeAny, {
12827
12826
  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";
12828
12827
  date: string;
@@ -12837,8 +12836,6 @@ export declare const logSchema: z.ZodObject<{
12837
12836
  scope?: string[] | undefined;
12838
12837
  strategy?: string | undefined;
12839
12838
  connection_id?: string | undefined;
12840
- log_id?: string | undefined;
12841
- _id?: string | undefined;
12842
12839
  details?: any;
12843
12840
  user_name?: string | undefined;
12844
12841
  client_name?: string | undefined;
@@ -12851,6 +12848,7 @@ export declare const logSchema: z.ZodObject<{
12851
12848
  node?: string | undefined;
12852
12849
  } | undefined;
12853
12850
  } | undefined;
12851
+ log_id?: string | undefined;
12854
12852
  }, {
12855
12853
  type: string;
12856
12854
  date: string;
@@ -12865,8 +12863,106 @@ export declare const logSchema: z.ZodObject<{
12865
12863
  scope?: string[] | undefined;
12866
12864
  strategy?: string | undefined;
12867
12865
  connection_id?: string | undefined;
12866
+ details?: any;
12867
+ user_name?: string | undefined;
12868
+ client_name?: string | undefined;
12869
+ strategy_type?: string | undefined;
12870
+ hostname?: string | undefined;
12871
+ auth0_client?: {
12872
+ name: string;
12873
+ version: string;
12874
+ env?: {
12875
+ node?: string | undefined;
12876
+ } | undefined;
12877
+ } | undefined;
12868
12878
  log_id?: string | undefined;
12869
- _id?: string | undefined;
12879
+ }>;
12880
+ export type LogInsert = z.infer<typeof logInsertSchema>;
12881
+ export declare const logSchema: z.ZodObject<{
12882
+ log_id: z.ZodString;
12883
+ 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>;
12884
+ date: z.ZodString;
12885
+ description: z.ZodOptional<z.ZodString>;
12886
+ ip: z.ZodString;
12887
+ user_agent: z.ZodString;
12888
+ details: z.ZodOptional<z.ZodAny>;
12889
+ isMobile: z.ZodBoolean;
12890
+ user_id: z.ZodOptional<z.ZodString>;
12891
+ user_name: z.ZodOptional<z.ZodString>;
12892
+ connection: z.ZodOptional<z.ZodString>;
12893
+ connection_id: z.ZodOptional<z.ZodString>;
12894
+ client_id: z.ZodOptional<z.ZodString>;
12895
+ client_name: z.ZodOptional<z.ZodString>;
12896
+ audience: z.ZodOptional<z.ZodString>;
12897
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12898
+ strategy: z.ZodOptional<z.ZodString>;
12899
+ strategy_type: z.ZodOptional<z.ZodString>;
12900
+ hostname: z.ZodOptional<z.ZodString>;
12901
+ auth0_client: z.ZodOptional<z.ZodObject<{
12902
+ name: z.ZodString;
12903
+ version: z.ZodString;
12904
+ env: z.ZodOptional<z.ZodObject<{
12905
+ node: z.ZodOptional<z.ZodString>;
12906
+ }, "strip", z.ZodTypeAny, {
12907
+ node?: string | undefined;
12908
+ }, {
12909
+ node?: string | undefined;
12910
+ }>>;
12911
+ }, "strip", z.ZodTypeAny, {
12912
+ name: string;
12913
+ version: string;
12914
+ env?: {
12915
+ node?: string | undefined;
12916
+ } | undefined;
12917
+ }, {
12918
+ name: string;
12919
+ version: string;
12920
+ env?: {
12921
+ node?: string | undefined;
12922
+ } | undefined;
12923
+ }>>;
12924
+ }, "strip", z.ZodTypeAny, {
12925
+ 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";
12926
+ date: string;
12927
+ ip: string;
12928
+ user_agent: string;
12929
+ isMobile: boolean;
12930
+ log_id: string;
12931
+ description?: string | undefined;
12932
+ connection?: string | undefined;
12933
+ user_id?: string | undefined;
12934
+ client_id?: string | undefined;
12935
+ audience?: string | undefined;
12936
+ scope?: string[] | undefined;
12937
+ strategy?: string | undefined;
12938
+ connection_id?: string | undefined;
12939
+ details?: any;
12940
+ user_name?: string | undefined;
12941
+ client_name?: string | undefined;
12942
+ strategy_type?: string | undefined;
12943
+ hostname?: string | undefined;
12944
+ auth0_client?: {
12945
+ name: string;
12946
+ version: string;
12947
+ env?: {
12948
+ node?: string | undefined;
12949
+ } | undefined;
12950
+ } | undefined;
12951
+ }, {
12952
+ type: string;
12953
+ date: string;
12954
+ ip: string;
12955
+ user_agent: string;
12956
+ isMobile: boolean;
12957
+ log_id: string;
12958
+ description?: string | undefined;
12959
+ connection?: string | undefined;
12960
+ user_id?: string | undefined;
12961
+ client_id?: string | undefined;
12962
+ audience?: string | undefined;
12963
+ scope?: string[] | undefined;
12964
+ strategy?: string | undefined;
12965
+ connection_id?: string | undefined;
12870
12966
  details?: any;
12871
12967
  user_name?: string | undefined;
12872
12968
  client_name?: string | undefined;
@@ -12881,10 +12977,6 @@ export declare const logSchema: z.ZodObject<{
12881
12977
  } | undefined;
12882
12978
  }>;
12883
12979
  export type Log = z.infer<typeof logSchema>;
12884
- export type LogsResponse = Log & {
12885
- log_id: string;
12886
- _id: string;
12887
- };
12888
12980
  export declare const passwordInsertSchema: z.ZodObject<{
12889
12981
  user_id: z.ZodString;
12890
12982
  password: z.ZodString;
@@ -16944,12 +17036,12 @@ export interface UserDataAdapter {
16944
17036
  unlink(tenantId: string, id: string, provider: string, linked_user_id: string): Promise<boolean>;
16945
17037
  }
16946
17038
  export interface ListLogsResponse extends Totals {
16947
- logs: LogsResponse[];
17039
+ logs: Log[];
16948
17040
  }
16949
17041
  export interface LogsDataAdapter {
16950
- create(tenantId: string, params: Log): Promise<Log>;
17042
+ create(tenantId: string, params: LogInsert): Promise<Log>;
16951
17043
  list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
16952
- get(tenantId: string, logId: string): Promise<LogsResponse | null>;
17044
+ get(tenantId: string, logId: string): Promise<Log | null>;
16953
17045
  }
16954
17046
  export interface ListConnectionsResponse extends Totals {
16955
17047
  connections: Connection[];
@@ -17388,6 +17480,16 @@ export type OnExecutePostUserDeletionAPI = {
17388
17480
  export type OnExecutePostUserDeletion = (event: HookEvent & {
17389
17481
  user_id: string;
17390
17482
  }, api: OnExecutePostUserDeletionAPI) => Promise<void>;
17483
+ export type OnExecuteValidateSignupEmailAPI = {
17484
+ deny: (reason?: string) => void;
17485
+ token: TokenAPI;
17486
+ };
17487
+ export type OnExecuteValidateSignupEmail = (event: Omit<HookEvent, "user"> & {
17488
+ user: {
17489
+ email: string;
17490
+ connection: string;
17491
+ };
17492
+ }, api: OnExecuteValidateSignupEmailAPI) => Promise<void>;
17391
17493
  export type SendEmailParams = {
17392
17494
  emailProvider: EmailProvider;
17393
17495
  to: string;
@@ -17455,6 +17557,7 @@ export type Bindings = {
17455
17557
  onExecutePostLogin?: OnExecutePostLogin;
17456
17558
  onExecutePreUserDeletion?: OnExecutePreUserDeletion;
17457
17559
  onExecutePostUserDeletion?: OnExecutePostUserDeletion;
17560
+ onExecuteValidateSignupEmail?: OnExecuteValidateSignupEmail;
17458
17561
  };
17459
17562
  emailProviders?: {
17460
17563
  [key: string]: EmailService;
@@ -20719,6 +20822,7 @@ export declare function init(config: AuthHeroConfig): {
20719
20822
  ip: string;
20720
20823
  user_agent: string;
20721
20824
  isMobile: boolean;
20825
+ log_id: string;
20722
20826
  description?: string | undefined | undefined;
20723
20827
  connection?: string | undefined | undefined;
20724
20828
  user_id?: string | undefined | undefined;
@@ -20727,8 +20831,6 @@ export declare function init(config: AuthHeroConfig): {
20727
20831
  scope?: string[] | undefined | undefined;
20728
20832
  strategy?: string | undefined | undefined;
20729
20833
  connection_id?: string | undefined | undefined;
20730
- log_id?: string | undefined | undefined;
20731
- _id?: string | undefined | undefined;
20732
20834
  details?: any;
20733
20835
  user_name?: string | undefined | undefined;
20734
20836
  client_name?: string | undefined | undefined;
@@ -20751,6 +20853,7 @@ export declare function init(config: AuthHeroConfig): {
20751
20853
  ip: string;
20752
20854
  user_agent: string;
20753
20855
  isMobile: boolean;
20856
+ log_id: string;
20754
20857
  description?: string | undefined | undefined;
20755
20858
  connection?: string | undefined | undefined;
20756
20859
  user_id?: string | undefined | undefined;
@@ -20759,8 +20862,6 @@ export declare function init(config: AuthHeroConfig): {
20759
20862
  scope?: string[] | undefined | undefined;
20760
20863
  strategy?: string | undefined | undefined;
20761
20864
  connection_id?: string | undefined | undefined;
20762
- log_id?: string | undefined | undefined;
20763
- _id?: string | undefined | undefined;
20764
20865
  details?: any;
20765
20866
  user_name?: string | undefined | undefined;
20766
20867
  client_name?: string | undefined | undefined;
@@ -20797,6 +20898,7 @@ export declare function init(config: AuthHeroConfig): {
20797
20898
  ip: string;
20798
20899
  user_agent: string;
20799
20900
  isMobile: boolean;
20901
+ log_id: string;
20800
20902
  description?: string | undefined | undefined;
20801
20903
  connection?: string | undefined | undefined;
20802
20904
  user_id?: string | undefined | undefined;
@@ -20805,8 +20907,6 @@ export declare function init(config: AuthHeroConfig): {
20805
20907
  scope?: string[] | undefined | undefined;
20806
20908
  strategy?: string | undefined | undefined;
20807
20909
  connection_id?: string | undefined | undefined;
20808
- log_id?: string | undefined | undefined;
20809
- _id?: string | undefined | undefined;
20810
20910
  details?: any;
20811
20911
  user_name?: string | undefined | undefined;
20812
20912
  client_name?: string | undefined | undefined;
@@ -20950,8 +21050,8 @@ export declare function init(config: AuthHeroConfig): {
20950
21050
  };
20951
21051
  } & {
20952
21052
  json: {
20953
- id?: string | undefined;
20954
21053
  audience?: string | undefined;
21054
+ id?: string | undefined;
20955
21055
  sessions?: {
20956
21056
  oidc_logout_prompt_enabled?: boolean | undefined;
20957
21057
  } | undefined;
@@ -21210,8 +21310,8 @@ export declare function init(config: AuthHeroConfig): {
21210
21310
  };
21211
21311
  } & {
21212
21312
  json: {
21213
- id?: string | undefined;
21214
21313
  audience?: string | undefined;
21314
+ id?: string | undefined;
21215
21315
  sessions?: {
21216
21316
  oidc_logout_prompt_enabled?: boolean | undefined;
21217
21317
  } | undefined;
@@ -21428,11 +21528,11 @@ export declare function init(config: AuthHeroConfig): {
21428
21528
  $get: {
21429
21529
  input: {
21430
21530
  query: {
21531
+ audience?: string | undefined;
21431
21532
  client_id?: string | undefined;
21432
21533
  page?: string | undefined;
21433
21534
  per_page?: string | undefined;
21434
21535
  include_totals?: string | undefined;
21435
- audience?: string | undefined;
21436
21536
  from?: string | undefined;
21437
21537
  take?: string | undefined;
21438
21538
  allow_any_organization?: string | undefined;
@@ -21536,9 +21636,9 @@ export declare function init(config: AuthHeroConfig): {
21536
21636
  };
21537
21637
  } & {
21538
21638
  json: {
21539
- client_id?: string | undefined;
21540
- audience?: string | undefined;
21541
21639
  scope?: string[] | undefined;
21640
+ audience?: string | undefined;
21641
+ client_id?: string | undefined;
21542
21642
  organization_usage?: "deny" | "allow" | "require" | undefined;
21543
21643
  allow_any_organization?: boolean | undefined;
21544
21644
  subject_type?: "user" | "client" | undefined;
@@ -21572,8 +21672,8 @@ export declare function init(config: AuthHeroConfig): {
21572
21672
  };
21573
21673
  } & {
21574
21674
  json: {
21575
- client_id: string;
21576
21675
  audience: string;
21676
+ client_id: string;
21577
21677
  scope?: string[] | undefined;
21578
21678
  organization_usage?: "deny" | "allow" | "require" | undefined;
21579
21679
  allow_any_organization?: boolean | undefined;
@@ -21919,7 +22019,7 @@ export declare function init(config: AuthHeroConfig): {
21919
22019
  require_pushed_authorization_requests?: boolean | undefined;
21920
22020
  require_proof_of_possession?: boolean | undefined;
21921
22021
  client_secret?: string | undefined;
21922
- app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
22022
+ app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
21923
22023
  logo_uri?: string | undefined;
21924
22024
  allowed_origins?: string[] | undefined;
21925
22025
  web_origins?: string[] | undefined;
@@ -22058,7 +22158,7 @@ export declare function init(config: AuthHeroConfig): {
22058
22158
  require_pushed_authorization_requests?: boolean | undefined;
22059
22159
  require_proof_of_possession?: boolean | undefined;
22060
22160
  client_secret?: string | undefined;
22061
- app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
22161
+ app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
22062
22162
  logo_uri?: string | undefined;
22063
22163
  allowed_origins?: string[] | undefined;
22064
22164
  web_origins?: string[] | undefined;
@@ -22113,7 +22213,7 @@ export declare function init(config: AuthHeroConfig): {
22113
22213
  [x: string]: any;
22114
22214
  } | undefined;
22115
22215
  client_secret?: string | undefined;
22116
- app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
22216
+ app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
22117
22217
  logo_uri?: string | undefined;
22118
22218
  allowed_origins?: string[] | undefined;
22119
22219
  web_origins?: string[] | undefined;
@@ -22485,6 +22585,7 @@ export declare function init(config: AuthHeroConfig): {
22485
22585
  json: {
22486
22586
  name?: string | undefined;
22487
22587
  password?: string | undefined;
22588
+ connection?: string | undefined;
22488
22589
  email?: string | undefined;
22489
22590
  given_name?: string | undefined;
22490
22591
  family_name?: string | undefined;
@@ -22492,7 +22593,6 @@ export declare function init(config: AuthHeroConfig): {
22492
22593
  locale?: string | undefined;
22493
22594
  user_id?: string | undefined;
22494
22595
  username?: string | undefined;
22495
- connection?: string | undefined;
22496
22596
  verify_email?: boolean | undefined;
22497
22597
  last_ip?: string | undefined;
22498
22598
  last_login?: string | undefined;
@@ -22572,6 +22672,7 @@ export declare function init(config: AuthHeroConfig): {
22572
22672
  json: {
22573
22673
  name?: string | undefined;
22574
22674
  password?: string | undefined;
22675
+ connection?: string | undefined;
22575
22676
  email?: string | undefined;
22576
22677
  given_name?: string | undefined;
22577
22678
  family_name?: string | undefined;
@@ -22579,7 +22680,6 @@ export declare function init(config: AuthHeroConfig): {
22579
22680
  locale?: string | undefined;
22580
22681
  user_id?: string | undefined;
22581
22682
  username?: string | undefined;
22582
- connection?: string | undefined;
22583
22683
  verify_email?: boolean | undefined;
22584
22684
  last_ip?: string | undefined;
22585
22685
  last_login?: string | undefined;
@@ -22620,8 +22720,8 @@ export declare function init(config: AuthHeroConfig): {
22620
22720
  };
22621
22721
  };
22622
22722
  output: {
22623
- user_id: string;
22624
22723
  connection: string;
22724
+ user_id: string;
22625
22725
  provider: string;
22626
22726
  isSocial: boolean;
22627
22727
  }[];
@@ -23048,7 +23148,7 @@ export declare function init(config: AuthHeroConfig): {
23048
23148
  clientSecret: string;
23049
23149
  };
23050
23150
  default_from_address?: string | undefined | undefined;
23051
- settings?: {} | undefined;
23151
+ settings?: {} | undefined | undefined;
23052
23152
  };
23053
23153
  outputFormat: "json";
23054
23154
  status: 200;
@@ -23469,11 +23569,11 @@ export declare function init(config: AuthHeroConfig): {
23469
23569
  } | undefined;
23470
23570
  colors?: {
23471
23571
  header?: string | undefined;
23472
- error?: string | undefined;
23473
23572
  base_focus_color?: string | undefined;
23474
23573
  base_hover_color?: string | undefined;
23475
23574
  body_text?: string | undefined;
23476
23575
  captcha_widget_theme?: "auto" | "dark" | "light" | undefined;
23576
+ error?: string | undefined;
23477
23577
  icons?: string | undefined;
23478
23578
  input_background?: string | undefined;
23479
23579
  input_border?: string | undefined;
@@ -23691,9 +23791,9 @@ export declare function init(config: AuthHeroConfig): {
23691
23791
  query: {
23692
23792
  state: string;
23693
23793
  code?: string | undefined;
23794
+ scope?: string | undefined;
23694
23795
  error?: string | undefined;
23695
23796
  error_description?: string | undefined;
23696
- scope?: string | undefined;
23697
23797
  error_reason?: string | undefined;
23698
23798
  error_code?: string | undefined;
23699
23799
  hd?: string | undefined;
@@ -23707,9 +23807,9 @@ export declare function init(config: AuthHeroConfig): {
23707
23807
  query: {
23708
23808
  state: string;
23709
23809
  code?: string | undefined;
23810
+ scope?: string | undefined;
23710
23811
  error?: string | undefined;
23711
23812
  error_description?: string | undefined;
23712
- scope?: string | undefined;
23713
23813
  error_reason?: string | undefined;
23714
23814
  error_code?: string | undefined;
23715
23815
  hd?: string | undefined;
@@ -23725,9 +23825,9 @@ export declare function init(config: AuthHeroConfig): {
23725
23825
  query: {
23726
23826
  state: string;
23727
23827
  code?: string | undefined;
23828
+ scope?: string | undefined;
23728
23829
  error?: string | undefined;
23729
23830
  error_description?: string | undefined;
23730
- scope?: string | undefined;
23731
23831
  error_reason?: string | undefined;
23732
23832
  error_code?: string | undefined;
23733
23833
  hd?: string | undefined;
@@ -23747,9 +23847,9 @@ export declare function init(config: AuthHeroConfig): {
23747
23847
  form: {
23748
23848
  state: string;
23749
23849
  code?: string | undefined;
23850
+ scope?: string | undefined;
23750
23851
  error?: string | undefined;
23751
23852
  error_description?: string | undefined;
23752
- scope?: string | undefined;
23753
23853
  error_reason?: string | undefined;
23754
23854
  error_code?: string | undefined;
23755
23855
  hd?: string | undefined;
@@ -23763,9 +23863,9 @@ export declare function init(config: AuthHeroConfig): {
23763
23863
  form: {
23764
23864
  state: string;
23765
23865
  code?: string | undefined;
23866
+ scope?: string | undefined;
23766
23867
  error?: string | undefined;
23767
23868
  error_description?: string | undefined;
23768
- scope?: string | undefined;
23769
23869
  error_reason?: string | undefined;
23770
23870
  error_code?: string | undefined;
23771
23871
  hd?: string | undefined;
@@ -23781,9 +23881,9 @@ export declare function init(config: AuthHeroConfig): {
23781
23881
  form: {
23782
23882
  state: string;
23783
23883
  code?: string | undefined;
23884
+ scope?: string | undefined;
23784
23885
  error?: string | undefined;
23785
23886
  error_description?: string | undefined;
23786
- scope?: string | undefined;
23787
23887
  error_reason?: string | undefined;
23788
23888
  error_code?: string | undefined;
23789
23889
  hd?: string | undefined;
@@ -23834,13 +23934,13 @@ export declare function init(config: AuthHeroConfig): {
23834
23934
  client_id: string;
23835
23935
  state: string;
23836
23936
  redirect_uri: string;
23937
+ scope?: string | undefined;
23938
+ audience?: string | undefined;
23939
+ connection?: string | undefined;
23940
+ organization?: string | undefined;
23837
23941
  nonce?: string | undefined;
23838
23942
  response_mode?: AuthorizationResponseMode | undefined;
23839
- connection?: string | undefined;
23840
23943
  response_type?: AuthorizationResponseType | undefined;
23841
- audience?: string | undefined;
23842
- organization?: string | undefined;
23843
- scope?: string | undefined;
23844
23944
  auth0Client?: string | undefined;
23845
23945
  login_ticket?: string | undefined;
23846
23946
  screen_hint?: string | undefined;
@@ -23863,13 +23963,13 @@ export declare function init(config: AuthHeroConfig): {
23863
23963
  client_id: string;
23864
23964
  state: string;
23865
23965
  redirect_uri: string;
23966
+ scope?: string | undefined;
23967
+ audience?: string | undefined;
23968
+ connection?: string | undefined;
23969
+ organization?: string | undefined;
23866
23970
  nonce?: string | undefined;
23867
23971
  response_mode?: AuthorizationResponseMode | undefined;
23868
- connection?: string | undefined;
23869
23972
  response_type?: AuthorizationResponseType | undefined;
23870
- audience?: string | undefined;
23871
- organization?: string | undefined;
23872
- scope?: string | undefined;
23873
23973
  auth0Client?: string | undefined;
23874
23974
  login_ticket?: string | undefined;
23875
23975
  screen_hint?: string | undefined;
@@ -23892,13 +23992,13 @@ export declare function init(config: AuthHeroConfig): {
23892
23992
  client_id: string;
23893
23993
  state: string;
23894
23994
  redirect_uri: string;
23995
+ scope?: string | undefined;
23996
+ audience?: string | undefined;
23997
+ connection?: string | undefined;
23998
+ organization?: string | undefined;
23895
23999
  nonce?: string | undefined;
23896
24000
  response_mode?: AuthorizationResponseMode | undefined;
23897
- connection?: string | undefined;
23898
24001
  response_type?: AuthorizationResponseType | undefined;
23899
- audience?: string | undefined;
23900
- organization?: string | undefined;
23901
- scope?: string | undefined;
23902
24002
  auth0Client?: string | undefined;
23903
24003
  login_ticket?: string | undefined;
23904
24004
  screen_hint?: string | undefined;
@@ -23929,13 +24029,13 @@ export declare function init(config: AuthHeroConfig): {
23929
24029
  client_id: string;
23930
24030
  state: string;
23931
24031
  redirect_uri: string;
24032
+ scope?: string | undefined;
24033
+ audience?: string | undefined;
24034
+ connection?: string | undefined;
24035
+ organization?: string | undefined;
23932
24036
  nonce?: string | undefined;
23933
24037
  response_mode?: AuthorizationResponseMode | undefined;
23934
- connection?: string | undefined;
23935
24038
  response_type?: AuthorizationResponseType | undefined;
23936
- audience?: string | undefined;
23937
- organization?: string | undefined;
23938
- scope?: string | undefined;
23939
24039
  auth0Client?: string | undefined;
23940
24040
  login_ticket?: string | undefined;
23941
24041
  screen_hint?: string | undefined;
@@ -23960,13 +24060,13 @@ export declare function init(config: AuthHeroConfig): {
23960
24060
  client_id: string;
23961
24061
  state: string;
23962
24062
  redirect_uri: string;
24063
+ scope?: string | undefined;
24064
+ audience?: string | undefined;
24065
+ connection?: string | undefined;
24066
+ organization?: string | undefined;
23963
24067
  nonce?: string | undefined;
23964
24068
  response_mode?: AuthorizationResponseMode | undefined;
23965
- connection?: string | undefined;
23966
24069
  response_type?: AuthorizationResponseType | undefined;
23967
- audience?: string | undefined;
23968
- organization?: string | undefined;
23969
- scope?: string | undefined;
23970
24070
  auth0Client?: string | undefined;
23971
24071
  login_ticket?: string | undefined;
23972
24072
  screen_hint?: string | undefined;
@@ -24017,17 +24117,17 @@ export declare function init(config: AuthHeroConfig): {
24017
24117
  $post: {
24018
24118
  input: {
24019
24119
  json: {
24120
+ connection: "email";
24020
24121
  email: string;
24021
24122
  client_id: string;
24022
- connection: "email";
24023
24123
  authParams: {
24124
+ scope?: string | undefined;
24125
+ audience?: string | undefined;
24126
+ organization?: string | undefined;
24024
24127
  nonce?: string | undefined;
24025
24128
  response_mode?: AuthorizationResponseMode | undefined;
24026
24129
  username?: string | undefined;
24027
24130
  response_type?: AuthorizationResponseType | undefined;
24028
- audience?: string | undefined;
24029
- organization?: string | undefined;
24030
- scope?: string | undefined;
24031
24131
  state?: string | undefined;
24032
24132
  redirect_uri?: string | undefined;
24033
24133
  code_challenge?: string | undefined;
@@ -24039,17 +24139,17 @@ export declare function init(config: AuthHeroConfig): {
24039
24139
  };
24040
24140
  send: "code" | "link";
24041
24141
  } | {
24042
- client_id: string;
24043
24142
  connection: "sms";
24143
+ client_id: string;
24044
24144
  phone_number: string;
24045
24145
  authParams: {
24146
+ scope?: string | undefined;
24147
+ audience?: string | undefined;
24148
+ organization?: string | undefined;
24046
24149
  nonce?: string | undefined;
24047
24150
  response_mode?: AuthorizationResponseMode | undefined;
24048
24151
  username?: string | undefined;
24049
24152
  response_type?: AuthorizationResponseType | undefined;
24050
- audience?: string | undefined;
24051
- organization?: string | undefined;
24052
- scope?: string | undefined;
24053
24153
  state?: string | undefined;
24054
24154
  redirect_uri?: string | undefined;
24055
24155
  code_challenge?: string | undefined;
@@ -24072,16 +24172,16 @@ export declare function init(config: AuthHeroConfig): {
24072
24172
  $get: {
24073
24173
  input: {
24074
24174
  query: {
24175
+ scope: string;
24176
+ connection: string;
24075
24177
  email: string;
24076
24178
  client_id: string;
24077
- connection: string;
24078
24179
  response_type: AuthorizationResponseType;
24079
- scope: string;
24080
24180
  state: string;
24081
24181
  redirect_uri: string;
24082
24182
  verification_code: string;
24083
- nonce?: string | undefined;
24084
24183
  audience?: string | undefined;
24184
+ nonce?: string | undefined;
24085
24185
  };
24086
24186
  };
24087
24187
  output: {};
@@ -24090,16 +24190,16 @@ export declare function init(config: AuthHeroConfig): {
24090
24190
  } | {
24091
24191
  input: {
24092
24192
  query: {
24193
+ scope: string;
24194
+ connection: string;
24093
24195
  email: string;
24094
24196
  client_id: string;
24095
- connection: string;
24096
24197
  response_type: AuthorizationResponseType;
24097
- scope: string;
24098
24198
  state: string;
24099
24199
  redirect_uri: string;
24100
24200
  verification_code: string;
24101
- nonce?: string | undefined;
24102
24201
  audience?: string | undefined;
24202
+ nonce?: string | undefined;
24103
24203
  };
24104
24204
  };
24105
24205
  output: {
@@ -24111,16 +24211,16 @@ export declare function init(config: AuthHeroConfig): {
24111
24211
  } | {
24112
24212
  input: {
24113
24213
  query: {
24214
+ scope: string;
24215
+ connection: string;
24114
24216
  email: string;
24115
24217
  client_id: string;
24116
- connection: string;
24117
24218
  response_type: AuthorizationResponseType;
24118
- scope: string;
24119
24219
  state: string;
24120
24220
  redirect_uri: string;
24121
24221
  verification_code: string;
24122
- nonce?: string | undefined;
24123
24222
  audience?: string | undefined;
24223
+ nonce?: string | undefined;
24124
24224
  };
24125
24225
  };
24126
24226
  output: {
@@ -24137,9 +24237,9 @@ export declare function init(config: AuthHeroConfig): {
24137
24237
  input: {
24138
24238
  json: {
24139
24239
  password: string;
24240
+ connection: "Username-Password-Authentication";
24140
24241
  email: string;
24141
24242
  client_id: string;
24142
- connection: "Username-Password-Authentication";
24143
24243
  };
24144
24244
  };
24145
24245
  output: {
@@ -24158,9 +24258,9 @@ export declare function init(config: AuthHeroConfig): {
24158
24258
  $post: {
24159
24259
  input: {
24160
24260
  json: {
24261
+ connection: "Username-Password-Authentication";
24161
24262
  email: string;
24162
24263
  client_id: string;
24163
- connection: "Username-Password-Authentication";
24164
24264
  };
24165
24265
  };
24166
24266
  output: {};
@@ -24174,67 +24274,67 @@ export declare function init(config: AuthHeroConfig): {
24174
24274
  input: {
24175
24275
  form: {
24176
24276
  grant_type: "client_credentials";
24177
- client_id?: string | undefined;
24178
- audience?: string | undefined;
24179
24277
  scope?: string | undefined;
24278
+ audience?: string | undefined;
24279
+ client_id?: string | undefined;
24180
24280
  client_secret?: string | undefined;
24181
24281
  } | {
24182
24282
  code: string;
24283
+ grant_type: "authorization_code";
24183
24284
  client_id: string;
24184
24285
  redirect_uri: string;
24185
- grant_type: "authorization_code";
24186
24286
  code_verifier: string;
24187
24287
  organization?: string | undefined;
24188
24288
  } | {
24189
24289
  code: string;
24190
24290
  grant_type: "authorization_code";
24191
- client_id?: string | undefined;
24192
24291
  organization?: string | undefined;
24292
+ client_id?: string | undefined;
24193
24293
  client_secret?: string | undefined;
24194
24294
  redirect_uri?: string | undefined;
24195
24295
  } | {
24296
+ grant_type: "refresh_token";
24196
24297
  client_id: string;
24197
24298
  refresh_token: string;
24198
- grant_type: "refresh_token";
24199
24299
  redirect_uri?: string | undefined;
24200
24300
  } | {
24301
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24201
24302
  client_id: string;
24202
24303
  username: string;
24203
24304
  otp: string;
24204
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24205
24305
  realm: "email" | "sms";
24206
24306
  };
24207
24307
  } & {
24208
24308
  json: {
24209
24309
  grant_type: "client_credentials";
24210
- client_id?: string | undefined;
24211
- audience?: string | undefined;
24212
24310
  scope?: string | undefined;
24311
+ audience?: string | undefined;
24312
+ client_id?: string | undefined;
24213
24313
  client_secret?: string | undefined;
24214
24314
  } | {
24215
24315
  code: string;
24316
+ grant_type: "authorization_code";
24216
24317
  client_id: string;
24217
24318
  redirect_uri: string;
24218
- grant_type: "authorization_code";
24219
24319
  code_verifier: string;
24220
24320
  organization?: string | undefined;
24221
24321
  } | {
24222
24322
  code: string;
24223
24323
  grant_type: "authorization_code";
24224
- client_id?: string | undefined;
24225
24324
  organization?: string | undefined;
24325
+ client_id?: string | undefined;
24226
24326
  client_secret?: string | undefined;
24227
24327
  redirect_uri?: string | undefined;
24228
24328
  } | {
24329
+ grant_type: "refresh_token";
24229
24330
  client_id: string;
24230
24331
  refresh_token: string;
24231
- grant_type: "refresh_token";
24232
24332
  redirect_uri?: string | undefined;
24233
24333
  } | {
24334
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24234
24335
  client_id: string;
24235
24336
  username: string;
24236
24337
  otp: string;
24237
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24238
24338
  realm: "email" | "sms";
24239
24339
  };
24240
24340
  };
@@ -24245,67 +24345,67 @@ export declare function init(config: AuthHeroConfig): {
24245
24345
  input: {
24246
24346
  form: {
24247
24347
  grant_type: "client_credentials";
24248
- client_id?: string | undefined;
24249
- audience?: string | undefined;
24250
24348
  scope?: string | undefined;
24349
+ audience?: string | undefined;
24350
+ client_id?: string | undefined;
24251
24351
  client_secret?: string | undefined;
24252
24352
  } | {
24253
24353
  code: string;
24354
+ grant_type: "authorization_code";
24254
24355
  client_id: string;
24255
24356
  redirect_uri: string;
24256
- grant_type: "authorization_code";
24257
24357
  code_verifier: string;
24258
24358
  organization?: string | undefined;
24259
24359
  } | {
24260
24360
  code: string;
24261
24361
  grant_type: "authorization_code";
24262
- client_id?: string | undefined;
24263
24362
  organization?: string | undefined;
24363
+ client_id?: string | undefined;
24264
24364
  client_secret?: string | undefined;
24265
24365
  redirect_uri?: string | undefined;
24266
24366
  } | {
24367
+ grant_type: "refresh_token";
24267
24368
  client_id: string;
24268
24369
  refresh_token: string;
24269
- grant_type: "refresh_token";
24270
24370
  redirect_uri?: string | undefined;
24271
24371
  } | {
24372
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24272
24373
  client_id: string;
24273
24374
  username: string;
24274
24375
  otp: string;
24275
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24276
24376
  realm: "email" | "sms";
24277
24377
  };
24278
24378
  } & {
24279
24379
  json: {
24280
24380
  grant_type: "client_credentials";
24281
- client_id?: string | undefined;
24282
- audience?: string | undefined;
24283
24381
  scope?: string | undefined;
24382
+ audience?: string | undefined;
24383
+ client_id?: string | undefined;
24284
24384
  client_secret?: string | undefined;
24285
24385
  } | {
24286
24386
  code: string;
24387
+ grant_type: "authorization_code";
24287
24388
  client_id: string;
24288
24389
  redirect_uri: string;
24289
- grant_type: "authorization_code";
24290
24390
  code_verifier: string;
24291
24391
  organization?: string | undefined;
24292
24392
  } | {
24293
24393
  code: string;
24294
24394
  grant_type: "authorization_code";
24295
- client_id?: string | undefined;
24296
24395
  organization?: string | undefined;
24396
+ client_id?: string | undefined;
24297
24397
  client_secret?: string | undefined;
24298
24398
  redirect_uri?: string | undefined;
24299
24399
  } | {
24400
+ grant_type: "refresh_token";
24300
24401
  client_id: string;
24301
24402
  refresh_token: string;
24302
- grant_type: "refresh_token";
24303
24403
  redirect_uri?: string | undefined;
24304
24404
  } | {
24405
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24305
24406
  client_id: string;
24306
24407
  username: string;
24307
24408
  otp: string;
24308
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24309
24409
  realm: "email" | "sms";
24310
24410
  };
24311
24411
  };
@@ -24324,67 +24424,67 @@ export declare function init(config: AuthHeroConfig): {
24324
24424
  input: {
24325
24425
  form: {
24326
24426
  grant_type: "client_credentials";
24327
- client_id?: string | undefined;
24328
- audience?: string | undefined;
24329
24427
  scope?: string | undefined;
24428
+ audience?: string | undefined;
24429
+ client_id?: string | undefined;
24330
24430
  client_secret?: string | undefined;
24331
24431
  } | {
24332
24432
  code: string;
24433
+ grant_type: "authorization_code";
24333
24434
  client_id: string;
24334
24435
  redirect_uri: string;
24335
- grant_type: "authorization_code";
24336
24436
  code_verifier: string;
24337
24437
  organization?: string | undefined;
24338
24438
  } | {
24339
24439
  code: string;
24340
24440
  grant_type: "authorization_code";
24341
- client_id?: string | undefined;
24342
24441
  organization?: string | undefined;
24442
+ client_id?: string | undefined;
24343
24443
  client_secret?: string | undefined;
24344
24444
  redirect_uri?: string | undefined;
24345
24445
  } | {
24446
+ grant_type: "refresh_token";
24346
24447
  client_id: string;
24347
24448
  refresh_token: string;
24348
- grant_type: "refresh_token";
24349
24449
  redirect_uri?: string | undefined;
24350
24450
  } | {
24451
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24351
24452
  client_id: string;
24352
24453
  username: string;
24353
24454
  otp: string;
24354
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24355
24455
  realm: "email" | "sms";
24356
24456
  };
24357
24457
  } & {
24358
24458
  json: {
24359
24459
  grant_type: "client_credentials";
24360
- client_id?: string | undefined;
24361
- audience?: string | undefined;
24362
24460
  scope?: string | undefined;
24461
+ audience?: string | undefined;
24462
+ client_id?: string | undefined;
24363
24463
  client_secret?: string | undefined;
24364
24464
  } | {
24365
24465
  code: string;
24466
+ grant_type: "authorization_code";
24366
24467
  client_id: string;
24367
24468
  redirect_uri: string;
24368
- grant_type: "authorization_code";
24369
24469
  code_verifier: string;
24370
24470
  organization?: string | undefined;
24371
24471
  } | {
24372
24472
  code: string;
24373
24473
  grant_type: "authorization_code";
24374
- client_id?: string | undefined;
24375
24474
  organization?: string | undefined;
24475
+ client_id?: string | undefined;
24376
24476
  client_secret?: string | undefined;
24377
24477
  redirect_uri?: string | undefined;
24378
24478
  } | {
24479
+ grant_type: "refresh_token";
24379
24480
  client_id: string;
24380
24481
  refresh_token: string;
24381
- grant_type: "refresh_token";
24382
24482
  redirect_uri?: string | undefined;
24383
24483
  } | {
24484
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24384
24485
  client_id: string;
24385
24486
  username: string;
24386
24487
  otp: string;
24387
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24388
24488
  realm: "email" | "sms";
24389
24489
  };
24390
24490
  };
@@ -24398,67 +24498,67 @@ export declare function init(config: AuthHeroConfig): {
24398
24498
  input: {
24399
24499
  form: {
24400
24500
  grant_type: "client_credentials";
24401
- client_id?: string | undefined;
24402
- audience?: string | undefined;
24403
24501
  scope?: string | undefined;
24502
+ audience?: string | undefined;
24503
+ client_id?: string | undefined;
24404
24504
  client_secret?: string | undefined;
24405
24505
  } | {
24406
24506
  code: string;
24507
+ grant_type: "authorization_code";
24407
24508
  client_id: string;
24408
24509
  redirect_uri: string;
24409
- grant_type: "authorization_code";
24410
24510
  code_verifier: string;
24411
24511
  organization?: string | undefined;
24412
24512
  } | {
24413
24513
  code: string;
24414
24514
  grant_type: "authorization_code";
24415
- client_id?: string | undefined;
24416
24515
  organization?: string | undefined;
24516
+ client_id?: string | undefined;
24417
24517
  client_secret?: string | undefined;
24418
24518
  redirect_uri?: string | undefined;
24419
24519
  } | {
24520
+ grant_type: "refresh_token";
24420
24521
  client_id: string;
24421
24522
  refresh_token: string;
24422
- grant_type: "refresh_token";
24423
24523
  redirect_uri?: string | undefined;
24424
24524
  } | {
24525
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24425
24526
  client_id: string;
24426
24527
  username: string;
24427
24528
  otp: string;
24428
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24429
24529
  realm: "email" | "sms";
24430
24530
  };
24431
24531
  } & {
24432
24532
  json: {
24433
24533
  grant_type: "client_credentials";
24434
- client_id?: string | undefined;
24435
- audience?: string | undefined;
24436
24534
  scope?: string | undefined;
24535
+ audience?: string | undefined;
24536
+ client_id?: string | undefined;
24437
24537
  client_secret?: string | undefined;
24438
24538
  } | {
24439
24539
  code: string;
24540
+ grant_type: "authorization_code";
24440
24541
  client_id: string;
24441
24542
  redirect_uri: string;
24442
- grant_type: "authorization_code";
24443
24543
  code_verifier: string;
24444
24544
  organization?: string | undefined;
24445
24545
  } | {
24446
24546
  code: string;
24447
24547
  grant_type: "authorization_code";
24448
- client_id?: string | undefined;
24449
24548
  organization?: string | undefined;
24549
+ client_id?: string | undefined;
24450
24550
  client_secret?: string | undefined;
24451
24551
  redirect_uri?: string | undefined;
24452
24552
  } | {
24553
+ grant_type: "refresh_token";
24453
24554
  client_id: string;
24454
24555
  refresh_token: string;
24455
- grant_type: "refresh_token";
24456
24556
  redirect_uri?: string | undefined;
24457
24557
  } | {
24558
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24458
24559
  client_id: string;
24459
24560
  username: string;
24460
24561
  otp: string;
24461
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24462
24562
  realm: "email" | "sms";
24463
24563
  };
24464
24564
  };
@@ -24472,67 +24572,67 @@ export declare function init(config: AuthHeroConfig): {
24472
24572
  input: {
24473
24573
  form: {
24474
24574
  grant_type: "client_credentials";
24475
- client_id?: string | undefined;
24476
- audience?: string | undefined;
24477
24575
  scope?: string | undefined;
24576
+ audience?: string | undefined;
24577
+ client_id?: string | undefined;
24478
24578
  client_secret?: string | undefined;
24479
24579
  } | {
24480
24580
  code: string;
24581
+ grant_type: "authorization_code";
24481
24582
  client_id: string;
24482
24583
  redirect_uri: string;
24483
- grant_type: "authorization_code";
24484
24584
  code_verifier: string;
24485
24585
  organization?: string | undefined;
24486
24586
  } | {
24487
24587
  code: string;
24488
24588
  grant_type: "authorization_code";
24489
- client_id?: string | undefined;
24490
24589
  organization?: string | undefined;
24590
+ client_id?: string | undefined;
24491
24591
  client_secret?: string | undefined;
24492
24592
  redirect_uri?: string | undefined;
24493
24593
  } | {
24594
+ grant_type: "refresh_token";
24494
24595
  client_id: string;
24495
24596
  refresh_token: string;
24496
- grant_type: "refresh_token";
24497
24597
  redirect_uri?: string | undefined;
24498
24598
  } | {
24599
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24499
24600
  client_id: string;
24500
24601
  username: string;
24501
24602
  otp: string;
24502
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24503
24603
  realm: "email" | "sms";
24504
24604
  };
24505
24605
  } & {
24506
24606
  json: {
24507
24607
  grant_type: "client_credentials";
24508
- client_id?: string | undefined;
24509
- audience?: string | undefined;
24510
24608
  scope?: string | undefined;
24609
+ audience?: string | undefined;
24610
+ client_id?: string | undefined;
24511
24611
  client_secret?: string | undefined;
24512
24612
  } | {
24513
24613
  code: string;
24614
+ grant_type: "authorization_code";
24514
24615
  client_id: string;
24515
24616
  redirect_uri: string;
24516
- grant_type: "authorization_code";
24517
24617
  code_verifier: string;
24518
24618
  organization?: string | undefined;
24519
24619
  } | {
24520
24620
  code: string;
24521
24621
  grant_type: "authorization_code";
24522
- client_id?: string | undefined;
24523
24622
  organization?: string | undefined;
24623
+ client_id?: string | undefined;
24524
24624
  client_secret?: string | undefined;
24525
24625
  redirect_uri?: string | undefined;
24526
24626
  } | {
24627
+ grant_type: "refresh_token";
24527
24628
  client_id: string;
24528
24629
  refresh_token: string;
24529
- grant_type: "refresh_token";
24530
24630
  redirect_uri?: string | undefined;
24531
24631
  } | {
24632
+ grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24532
24633
  client_id: string;
24533
24634
  username: string;
24534
24635
  otp: string;
24535
- grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
24536
24636
  realm: "email" | "sms";
24537
24637
  };
24538
24638
  };