@authhero/adapter-interfaces 0.99.0 → 0.100.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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@hono/zod-openapi"),Ue=e.z.object({start:e.z.number(),limit:e.z.number(),length:e.z.number()}),n=e.z.object({created_at:e.z.string(),updated_at:e.z.string()}),u=e.z.object({email:e.z.string().optional(),email_verified:e.z.boolean().optional(),name:e.z.string().optional(),username:e.z.string().optional(),given_name:e.z.string().optional(),phone_number:e.z.string().optional(),phone_verified:e.z.boolean().optional(),family_name:e.z.string().optional()}).catchall(e.z.any()),m=e.z.object({connection:e.z.string(),user_id:e.z.string(),provider:e.z.string(),isSocial:e.z.boolean(),access_token:e.z.string().optional(),access_token_secret:e.z.string().optional(),refresh_token:e.z.string().optional(),profileData:u.optional()}),c=e.z.object({email:e.z.string().optional().transform(t=>t&&t.toLowerCase()),username:e.z.string().optional(),phone_number:e.z.string().optional(),given_name:e.z.string().optional(),family_name:e.z.string().optional(),nickname:e.z.string().optional(),name:e.z.string().optional(),picture:e.z.string().optional(),locale:e.z.string().optional(),linked_to:e.z.string().optional(),profileData:e.z.string().optional(),user_id:e.z.string().optional(),app_metadata:e.z.any().default({}).optional(),user_metadata:e.z.any().default({}).optional()}),h=c.extend({email_verified:e.z.boolean().default(!1),verify_email:e.z.boolean().optional(),last_ip:e.z.string().optional(),last_login:e.z.string().optional(),user_id:e.z.string().optional(),provider:e.z.string().default("email"),connection:e.z.string().default("email"),is_social:e.z.boolean().optional()}),S=e.z.object({...h.shape,...n.shape,user_id:e.z.string(),is_social:e.z.boolean(),email:e.z.string().optional(),login_count:e.z.number().default(0),identities:e.z.array(m).optional()}),ve=S,Fe=c.extend({login_count:e.z.number(),multifactor:e.z.array(e.z.string()).optional(),last_ip:e.z.string().optional(),last_login:e.z.string().optional(),user_id:e.z.string()}).catchall(e.z.any()),Pe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Me=(t=21)=>{let a="",s=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)a+=Pe[s[t]&63];return a};const b=e.z.object({client_id:e.z.string().openapi({description:"ID of this client."}),name:e.z.string().min(1).openapi({description:"Name of this client (min length: 1 character, does not allow < or >)."}),description:e.z.string().max(140).optional().openapi({description:"Free text description of this client (max length: 140 characters)."}),global:e.z.boolean().default(!1).openapi({description:"Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."}),client_secret:e.z.string().default(()=>Me()).optional().openapi({description:"Client secret (which you must not make public)."}),app_type:e.z.enum(["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"]).default("regular_web").optional().openapi({description:"The type of application this client represents"}),logo_uri:e.z.string().url().optional().openapi({description:"URL of the logo to display for this client. Recommended size is 150x150 pixels."}),is_first_party:e.z.boolean().default(!1).openapi({description:"Whether this client a first party client (true) or not (false)."}),oidc_conformant:e.z.boolean().default(!0).openapi({description:"Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false)."}),callbacks:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication."}),allowed_origins:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs."}),web_origins:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of allowed origins for use with Cross-Origin Authentication, Device Flow, and web message response mode."}),client_aliases:e.z.array(e.z.string()).default([]).optional().openapi({description:"List of audiences/realms for SAML protocol. Used by the wsfed addon."}),allowed_clients:e.z.array(e.z.string()).default([]).optional().openapi({description:"List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed."}),allowed_logout_urls:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains."}),session_transfer:e.z.record(e.z.any()).default({}).optional().openapi({description:"Native to Web SSO Configuration"}),oidc_logout:e.z.record(e.z.any()).default({}).optional().openapi({description:"Configuration for OIDC backchannel logout"}),grant_types:e.z.array(e.z.string()).default([]).optional().openapi({description:"List of grant types supported for this application. Can include authorization_code, implicit, refresh_token, client_credentials, password, http://auth0.com/oauth/grant-type/password-realm, http://auth0.com/oauth/grant-type/mfa-oob, http://auth0.com/oauth/grant-type/mfa-otp, http://auth0.com/oauth/grant-type/mfa-recovery-code, urn:openid:params:grant-type:ciba, and urn:ietf:params:oauth:grant-type:device_code."}),jwt_configuration:e.z.record(e.z.any()).default({}).optional().openapi({description:"Configuration related to JWTs for the client."}),signing_keys:e.z.array(e.z.record(e.z.any())).default([]).optional().openapi({description:"Signing certificates associated with this client."}),encryption_key:e.z.record(e.z.any()).default({}).optional().openapi({description:"Encryption used for WsFed responses with this client."}),sso:e.z.boolean().default(!1).openapi({description:"Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false)."}),sso_disabled:e.z.boolean().default(!0).openapi({description:"Whether Single Sign On is disabled (true) or enabled (true). Defaults to true."}),cross_origin_authentication:e.z.boolean().default(!1).openapi({description:"Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false)."}),cross_origin_loc:e.z.string().url().optional().openapi({description:"URL of the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page."}),custom_login_page_on:e.z.boolean().default(!1).openapi({description:"Whether a custom login page is to be used (true) or the default provided login page (false)."}),custom_login_page:e.z.string().optional().openapi({description:"The content (HTML, CSS, JS) of the custom login page."}),custom_login_page_preview:e.z.string().optional().openapi({description:"The content (HTML, CSS, JS) of the custom login page. (Used on Previews)"}),form_template:e.z.string().optional().openapi({description:"HTML form template to be used for WS-Federation."}),addons:e.z.record(e.z.any()).default({}).optional().openapi({description:"Addons enabled for this client and their associated configurations."}),token_endpoint_auth_method:e.z.enum(["none","client_secret_post","client_secret_basic"]).default("client_secret_basic").optional().openapi({description:"Defines the requested authentication method for the token endpoint. Can be none (public client without a client secret), client_secret_post (client uses HTTP POST parameters), or client_secret_basic (client uses HTTP Basic)."}),client_metadata:e.z.record(e.z.string().max(255)).default({}).optional().openapi({description:'Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: :,-+=_*?"/()<>@ [Tab][Space]'}),mobile:e.z.record(e.z.any()).default({}).optional().openapi({description:"Additional configuration for native mobile apps."}),initiate_login_uri:e.z.string().url().optional().openapi({description:"Initiate login uri, must be https"}),native_social_login:e.z.record(e.z.any()).default({}).optional(),refresh_token:e.z.record(e.z.any()).default({}).optional().openapi({description:"Refresh token configuration"}),default_organization:e.z.record(e.z.any()).default({}).optional().openapi({description:"Defines the default Organization ID and flows"}),organization_usage:e.z.enum(["deny","allow","require"]).default("deny").optional().openapi({description:"Defines how to proceed during an authentication transaction with regards an organization. Can be deny (default), allow or require."}),organization_require_behavior:e.z.enum(["no_prompt","pre_login_prompt","post_login_prompt"]).default("no_prompt").optional().openapi({description:"Defines how to proceed during an authentication transaction when client.organization_usage: 'require'. Can be no_prompt (default), pre_login_prompt or post_login_prompt. post_login_prompt requires oidc_conformant: true."}),client_authentication_methods:e.z.record(e.z.any()).default({}).optional().openapi({description:"Defines client authentication methods."}),require_pushed_authorization_requests:e.z.boolean().default(!1).openapi({description:"Makes the use of Pushed Authorization Requests mandatory for this client"}),require_proof_of_possession:e.z.boolean().default(!1).openapi({description:"Makes the use of Proof-of-Possession mandatory for this client"}),signed_request_object:e.z.record(e.z.any()).default({}).optional().openapi({description:"JWT-secured Authorization Requests (JAR) settings."}),compliance_level:e.z.enum(["none","fapi1_adv_pkj_par","fapi1_adv_mtls_par","fapi2_sp_pkj_mtls","fapi2_sp_mtls_mtls"]).optional().openapi({description:"Defines the compliance level for this client, which may restrict it's capabilities"}),par_request_expiry:e.z.number().optional().openapi({description:"Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"}),token_quota:e.z.record(e.z.any()).default({}).optional()}),E=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),...b.shape}),f=e.z.object({client_id:e.z.string().min(1).openapi({description:"ID of the client."}),audience:e.z.string().min(1).openapi({description:"The audience (API identifier) of this client grant."}),scope:e.z.array(e.z.string()).optional().openapi({description:"Scopes allowed for this client grant."}),organization_usage:e.z.enum(["deny","allow","require"]).optional().openapi({description:"Defines whether organizations can be used with client credentials exchanges for this grant."}),allow_any_organization:e.z.boolean().optional().openapi({description:"If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations."}),is_system:e.z.boolean().optional().openapi({description:"If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly."}),subject_type:e.z.enum(["client","user"]).optional().openapi({description:"The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement."}),authorization_details_types:e.z.array(e.z.string()).optional().openapi({description:"Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement."})}),A=e.z.object({id:e.z.string().openapi({description:"ID of the client grant."}),...f.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),He=e.z.array(A),i=e.z.object({x:e.z.number(),y:e.z.number()});var _=(t=>(t.RICH_TEXT="RICH_TEXT",t.NEXT_BUTTON="NEXT_BUTTON",t.BACK_BUTTON="BACK_BUTTON",t.SUBMIT_BUTTON="SUBMIT_BUTTON",t.DIVIDER="DIVIDER",t.TEXT="TEXT",t.EMAIL="EMAIL",t.PASSWORD="PASSWORD",t.NUMBER="NUMBER",t.PHONE="PHONE",t.DATE="DATE",t.CHECKBOX="CHECKBOX",t.RADIO="RADIO",t.SELECT="SELECT",t.HIDDEN="HIDDEN",t.LEGAL="LEGAL",t))(_||{}),p=(t=>(t.BLOCK="BLOCK",t.FIELD="FIELD",t))(p||{});const r=e.z.object({id:e.z.string(),category:e.z.nativeEnum(p),type:e.z.nativeEnum(_)}),I=r.extend({category:e.z.literal("BLOCK"),type:e.z.literal("RICH_TEXT"),config:e.z.object({content:e.z.string()}).passthrough()}),C=r.extend({category:e.z.literal("BLOCK"),type:e.z.union([e.z.literal("NEXT_BUTTON"),e.z.literal("BACK_BUTTON"),e.z.literal("SUBMIT_BUTTON")]),config:e.z.object({text:e.z.string()}).passthrough()}),O=r.extend({category:e.z.literal("FIELD"),type:e.z.literal("LEGAL"),required:e.z.boolean().optional(),sensitive:e.z.boolean().optional(),config:e.z.object({text:e.z.string()}).passthrough()}),T=r.extend({category:e.z.literal("FIELD"),type:e.z.union([e.z.literal("TEXT"),e.z.literal("EMAIL"),e.z.literal("PASSWORD"),e.z.literal("NUMBER"),e.z.literal("PHONE"),e.z.literal("DATE"),e.z.literal("CHECKBOX"),e.z.literal("RADIO"),e.z.literal("SELECT"),e.z.literal("HIDDEN")]),required:e.z.boolean().optional(),sensitive:e.z.boolean().optional(),config:e.z.object({label:e.z.string().optional(),placeholder:e.z.string().optional()}).passthrough()}),y=e.z.object({id:e.z.string(),category:e.z.string(),type:e.z.string()}).passthrough(),N=e.z.union([I,C,O,T,y]);var R=(t=>(t.STEP="STEP",t.FLOW="FLOW",t.CONDITION="CONDITION",t.ACTION="ACTION",t))(R||{});const L=e.z.object({id:e.z.string(),type:e.z.literal("STEP"),coordinates:i,alias:e.z.string().optional(),config:e.z.object({components:e.z.array(N),next_node:e.z.string()}).passthrough()}),D=e.z.object({id:e.z.string(),type:e.z.literal("FLOW"),coordinates:i,alias:e.z.string().optional(),config:e.z.object({flow_id:e.z.string(),next_node:e.z.string()})}),w=e.z.object({id:e.z.string(),type:e.z.string(),coordinates:i}).passthrough(),j=e.z.union([L,D,w]),k=e.z.object({next_node:e.z.string(),coordinates:i}).passthrough(),U=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:i}).passthrough(),v=e.z.object({id:e.z.string(),name:e.z.string(),languages:e.z.object({primary:e.z.string()}).passthrough(),nodes:e.z.array(j),start:k,ending:U,created_at:e.z.string(),updated_at:e.z.string(),links:e.z.object({sdkSrc:e.z.string().optional(),sdk_src:e.z.string().optional()}).passthrough()}).passthrough(),xe=v.omit({id:!0,created_at:!0,updated_at:!0});var d=(t=>(t.TOKEN="token",t.TOKEN_ID_TOKEN="token id_token",t.CODE="code",t))(d||{}),z=(t=>(t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post",t.WEB_MESSAGE="web_message",t.SAML_POST="saml_post",t))(z||{}),g=(t=>(t.S256="S256",t.Plain="plain",t))(g||{});const F=e.z.object({client_id:e.z.string(),act_as:e.z.string().optional(),response_type:e.z.nativeEnum(d).optional(),response_mode:e.z.nativeEnum(z).optional(),redirect_uri:e.z.string().optional(),audience:e.z.string().optional(),organization:e.z.string().optional(),state:e.z.string().optional(),nonce:e.z.string().optional(),scope:e.z.string().optional(),prompt:e.z.string().optional(),code_challenge_method:e.z.nativeEnum(g).optional(),code_challenge:e.z.string().optional(),username:e.z.string().optional(),ui_locales:e.z.string().optional(),vendor_id:e.z.string().optional()}),Ge=e.z.object({colors:e.z.object({primary:e.z.string(),page_background:e.z.object({type:e.z.string().optional(),start:e.z.string().optional(),end:e.z.string().optional(),angle_deg:e.z.number().optional()}).optional()}).optional(),logo_url:e.z.string().optional(),favicon_url:e.z.string().optional(),powered_by_logo_url:e.z.string().optional(),font:e.z.object({url:e.z.string()}).optional()}),P=e.z.object({kid:e.z.string().optional(),team_id:e.z.string().optional(),realms:e.z.string().optional(),authentication_method:e.z.string().optional(),client_id:e.z.string().optional(),client_secret:e.z.string().optional(),app_secret:e.z.string().optional(),scope:e.z.string().optional(),authorization_endpoint:e.z.string().optional(),token_endpoint:e.z.string().optional(),userinfo_endpoint:e.z.string().optional(),jwks_uri:e.z.string().optional(),discovery_url:e.z.string().optional(),issuer:e.z.string().optional(),provider:e.z.string().optional(),from:e.z.string().optional(),twilio_sid:e.z.string().optional(),twilio_token:e.z.string().optional()}),M=e.z.object({id:e.z.string().optional(),name:e.z.string(),strategy:e.z.string(),options:P.default({}),enabled_clients:e.z.array(e.z.string()).default([]).optional(),response_type:e.z.custom().optional(),response_mode:e.z.custom().optional()}),H=e.z.object({id:e.z.string(),created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t)}).extend(M.shape),x=e.z.object({id:e.z.string().optional(),audience:e.z.string(),friendly_name:e.z.string(),picture_url:e.z.string().optional(),support_email:e.z.string().optional(),support_url:e.z.string().optional(),sender_email:e.z.string().email(),sender_name:e.z.string(),session_lifetime:e.z.number().optional(),idle_session_lifetime:e.z.number().optional(),ephemeral_session_lifetime:e.z.number().optional(),idle_ephemeral_session_lifetime:e.z.number().optional(),session_cookie:e.z.object({mode:e.z.enum(["persistent","non-persistent"]).optional()}).optional(),allowed_logout_urls:e.z.array(e.z.string()).optional(),default_redirection_uri:e.z.string().optional(),enabled_locales:e.z.array(e.z.string()).optional(),default_directory:e.z.string().optional(),error_page:e.z.object({html:e.z.string().optional(),show_log_link:e.z.boolean().optional(),url:e.z.string().optional()}).optional(),flags:e.z.object({allow_changing_enable_sso:e.z.boolean().optional(),allow_legacy_delegation_grant_types:e.z.boolean().optional(),allow_legacy_ro_grant_types:e.z.boolean().optional(),allow_legacy_tokeninfo_endpoint:e.z.boolean().optional(),change_pwd_flow_v1:e.z.boolean().optional(),custom_domains_provisioning:e.z.boolean().optional(),dashboard_insights_view:e.z.boolean().optional(),dashboard_log_streams_next:e.z.boolean().optional(),disable_clickjack_protection_headers:e.z.boolean().optional(),disable_fields_map_fix:e.z.boolean().optional(),disable_impersonation:e.z.boolean().optional(),disable_management_api_sms_obfuscation:e.z.boolean().optional(),enable_adfs_waad_email_verification:e.z.boolean().optional(),enable_apis_section:e.z.boolean().optional(),enable_client_connections:e.z.boolean().optional(),enable_custom_domain_in_emails:e.z.boolean().optional(),enable_dynamic_client_registration:e.z.boolean().optional(),enable_idtoken_api2:e.z.boolean().optional(),enable_legacy_logs_search_v2:e.z.boolean().optional(),enable_legacy_profile:e.z.boolean().optional(),enable_pipeline2:e.z.boolean().optional(),enable_public_signup_user_exists_error:e.z.boolean().optional(),enable_sso:e.z.boolean().optional(),enforce_client_authentication_on_passwordless_start:e.z.boolean().optional(),genai_trial:e.z.boolean().optional(),improved_signup_bot_detection_in_classic:e.z.boolean().optional(),mfa_show_factor_list_on_enrollment:e.z.boolean().optional(),no_disclose_enterprise_connections:e.z.boolean().optional(),remove_alg_from_jwks:e.z.boolean().optional(),revoke_refresh_token_grant:e.z.boolean().optional(),trust_azure_adfs_email_verified_connection_property:e.z.boolean().optional(),use_scope_descriptions_for_consent:e.z.boolean().optional()}).optional(),sandbox_version:e.z.string().optional(),legacy_sandbox_version:e.z.string().optional(),sandbox_versions_available:e.z.array(e.z.string()).optional(),change_password:e.z.object({enabled:e.z.boolean().optional(),html:e.z.string().optional()}).optional(),guardian_mfa_page:e.z.object({enabled:e.z.boolean().optional(),html:e.z.string().optional()}).optional(),device_flow:e.z.object({charset:e.z.enum(["base20","digits"]).optional(),mask:e.z.string().max(20).optional()}).optional(),default_token_quota:e.z.object({clients:e.z.object({client_credentials:e.z.record(e.z.any()).optional()}).optional(),organizations:e.z.object({client_credentials:e.z.record(e.z.any()).optional()}).optional()}).optional(),default_audience:e.z.string().optional(),default_organization:e.z.string().optional(),sessions:e.z.object({oidc_logout_prompt_enabled:e.z.boolean().optional()}).optional(),oidc_logout:e.z.object({rp_logout_end_session_endpoint_discovery:e.z.boolean().optional()}).optional(),allow_organization_name_in_authentication_api:e.z.boolean().optional(),customize_mfa_in_postlogin_action:e.z.boolean().optional(),acr_values_supported:e.z.array(e.z.string()).optional(),mtls:e.z.object({enable_endpoint_aliases:e.z.boolean().optional()}).optional(),pushed_authorization_requests_supported:e.z.boolean().optional(),authorization_response_iss_parameter_supported:e.z.boolean().optional()}),G=e.z.object({created_at:e.z.string().nullable().transform(t=>t??""),updated_at:e.z.string().nullable().transform(t=>t??""),...x.shape,id:e.z.string()});e.z.object({...E.shape,tenant:G,connections:e.z.array(H)});const K=e.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),B=e.z.object({code_id:e.z.string().openapi({description:"The code that will be used in for instance an email verification flow"}),login_id:e.z.string().openapi({description:"The id of the login session that the code is connected to"}),connection_id:e.z.string().optional().openapi({description:"The connection that the code is connected to"}),code_type:K,code_verifier:e.z.string().optional().openapi({description:"The code verifier used in PKCE in outbound flows"}),code_challenge:e.z.string().optional().openapi({description:"The code challenge used in PKCE in outbound flows"}),code_challenge_method:e.z.enum(["plain","S256"]).optional().openapi({description:"The code challenge method used in PKCE in outbound flows"}),redirect_uri:e.z.string().optional().openapi({description:"The redirect URI associated with the code"}),nonce:e.z.string().optional().openapi({description:"The nonce value used for security in OIDC flows"}),state:e.z.string().optional().openapi({description:"The state parameter used for CSRF protection in OAuth flows"}),expires_at:e.z.string(),used_at:e.z.string().optional(),user_id:e.z.string().optional()}),Ke=e.z.object({...B.shape,created_at:e.z.string()}),W=e.z.object({domain:e.z.string(),custom_domain_id:e.z.string().optional(),type:e.z.enum(["auth0_managed_certs","self_managed_certs"]),verification_method:e.z.enum(["txt"]).optional(),tls_policy:e.z.enum(["recommended"]).optional(),custom_client_ip_header:e.z.enum(["true-client-ip","cf-connecting-ip","x-forwarded-for","x-azure-clientip","null"]).optional(),domain_metadata:e.z.record(e.z.string().max(255)).optional()}),X=e.z.object({name:e.z.literal("txt"),record:e.z.string(),domain:e.z.string()}),V=e.z.object({...W.shape,custom_domain_id:e.z.string(),primary:e.z.boolean(),status:e.z.enum(["disabled","pending","pending_verification","ready"]),origin_domain_name:e.z.string().optional(),verification:e.z.object({methods:e.z.array(X)}).optional(),tls_policy:e.z.string().optional()}),Be=V.extend({tenant_id:e.z.string()}),We=e.z.object({id:e.z.string(),type:e.z.literal("submit"),label:e.z.string(),className:e.z.string().optional(),disabled:e.z.boolean().optional().default(!1),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0),customizations:e.z.record(e.z.string(),e.z.any()).optional()}),q=e.z.discriminatedUnion("type",[e.z.object({id:e.z.string(),type:e.z.literal("RICH_TEXT"),config:e.z.object({content:e.z.string()}),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)}),e.z.object({id:e.z.string(),type:e.z.literal("LEGAL"),config:e.z.object({text:e.z.string(),html:e.z.boolean().optional()}),required:e.z.boolean().optional(),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)}),e.z.object({id:e.z.string(),type:e.z.literal("TEXT"),config:e.z.object({placeholder:e.z.string().optional(),multiline:e.z.boolean().optional()}),required:e.z.boolean().optional(),sensitive:e.z.boolean().optional(),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)}),e.z.object({id:e.z.string(),type:e.z.literal("NEXT_BUTTON"),config:e.z.object({text:e.z.string().optional()}),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)})]),Y=e.z.object({name:e.z.string().openapi({description:"The name of the form"}),messages:e.z.object({errors:e.z.record(e.z.string(),e.z.any()).optional(),custom:e.z.record(e.z.string(),e.z.any()).optional()}).optional(),languages:e.z.object({primary:e.z.string().optional(),default:e.z.string().optional()}).optional(),translations:e.z.record(e.z.string(),e.z.any()).optional(),nodes:e.z.array(e.z.discriminatedUnion("type",[e.z.object({id:e.z.string(),type:e.z.literal("FLOW"),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}),alias:e.z.string().min(1).max(150).optional(),config:e.z.object({flow_id:e.z.string().max(30),next_node:e.z.string()})}),e.z.object({id:e.z.string(),type:e.z.literal("ROUTER"),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}),alias:e.z.string().min(1).max(150),config:e.z.object({rules:e.z.array(e.z.object({id:e.z.string(),alias:e.z.string().min(1).max(150).optional(),condition:e.z.any(),next_node:e.z.string()})),fallback:e.z.array(e.z.string())})}),e.z.object({id:e.z.string(),type:e.z.literal("STEP"),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}),alias:e.z.string().min(1).max(150).optional(),config:e.z.object({components:e.z.array(q),next_node:e.z.string()})})])).optional(),start:e.z.object({hidden_fields:e.z.array(e.z.object({key:e.z.string(),value:e.z.string()})).optional(),next_node:e.z.string().optional(),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}).optional()}).optional(),ending:e.z.object({redirection:e.z.object({delay:e.z.number().optional(),target:e.z.string().optional()}).optional(),after_submit:e.z.object({flow_id:e.z.string().optional()}).optional(),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}).optional(),resume_flow:e.z.boolean().optional()}).optional(),style:e.z.object({css:e.z.string().optional()}).optional()}).openapi({description:"Schema for flow-based forms (matches new JSON structure)"}),Xe=e.z.object({...n.shape,...Y.shape,id:e.z.string()}),Q=e.z.enum(["pre-user-registration","post-user-registration","post-user-login","validate-registration-username","pre-user-deletion","post-user-deletion"]),J=e.z.enum(["pre-user-registration","post-user-registration","post-user-login","validate-registration-username","pre-user-deletion","post-user-deletion"]),l={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},Ve=e.z.object({...l,trigger_id:Q,url:e.z.string()}),qe=e.z.object({...l,trigger_id:J,form_id:e.z.string()}),Ye=e.z.union([Ve,qe]),Qe=e.z.object({...l,trigger_id:Q,...n.shape,hook_id:e.z.string(),url:e.z.string()}),Je=e.z.object({...l,trigger_id:J,...n.shape,hook_id:e.z.string(),form_id:e.z.string()}),Ze=e.z.union([Qe,Je]),Z=e.z.object({name:e.z.string().optional()}),$=e.z.object({email:e.z.string().optional()}),ee=e.z.object({organization_id:e.z.string().max(50),inviter:Z,invitee:$,invitation_url:e.z.string().url(),client_id:e.z.string(),connection_id:e.z.string().optional(),app_metadata:e.z.record(e.z.any()).default({}).optional(),user_metadata:e.z.record(e.z.any()).default({}).optional(),ttl_sec:e.z.number().int().max(2592e3).default(604800).optional(),roles:e.z.array(e.z.string()).default([]).optional(),send_invitation_email:e.z.boolean().default(!0).optional()}),$e=e.z.object({id:e.z.string(),organization_id:e.z.string().max(50),created_at:e.z.string().datetime(),expires_at:e.z.string().datetime(),ticket_id:e.z.string().optional()}).extend(ee.shape),te=e.z.object({alg:e.z.enum(["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512"]),e:e.z.string(),kid:e.z.string(),kty:e.z.enum(["RSA","EC","oct"]),n:e.z.string(),x5t:e.z.string().optional(),x5c:e.z.array(e.z.string()).optional(),use:e.z.enum(["sig","enc"]).optional()}),et=e.z.object({keys:e.z.array(te)}),tt=e.z.object({issuer:e.z.string(),authorization_endpoint:e.z.string(),token_endpoint:e.z.string(),device_authorization_endpoint:e.z.string(),userinfo_endpoint:e.z.string(),mfa_challenge_endpoint:e.z.string(),jwks_uri:e.z.string(),registration_endpoint:e.z.string(),revocation_endpoint:e.z.string(),scopes_supported:e.z.array(e.z.string()),response_types_supported:e.z.array(e.z.string()),code_challenge_methods_supported:e.z.array(e.z.string()),response_modes_supported:e.z.array(e.z.string()),subject_types_supported:e.z.array(e.z.string()),id_token_signing_alg_values_supported:e.z.array(e.z.string()),token_endpoint_auth_methods_supported:e.z.array(e.z.string()),claims_supported:e.z.array(e.z.string()),request_uri_parameter_supported:e.z.boolean(),request_parameter_supported:e.z.boolean(),token_endpoint_auth_signing_alg_values_supported:e.z.array(e.z.string())}),oe=e.z.object({csrf_token:e.z.string(),auth0Client:e.z.string().optional(),authParams:F,expires_at:e.z.string(),deleted_at:e.z.string().optional(),ip:e.z.string().optional(),useragent:e.z.string().optional(),session_id:e.z.string().optional(),authorization_url:e.z.string().optional(),login_completed:e.z.boolean().optional().default(!1)}).openapi({description:"This represents a login sesion"}),ot=e.z.object({...oe.shape,id:e.z.string().openapi({description:"This is is used as the state in the universal login"}),created_at:e.z.string(),updated_at:e.z.string()}),ne={ACLS_SUMMARY:"acls_summary",ACTIONS_EXECUTION_FAILED:"actions_execution_failed",API_LIMIT:"api_limit",API_LIMIT_WARNING:"api_limit_warning",APPI:"appi",CIBA_EXCHANGE_FAILED:"ciba_exchange_failed",CIBA_EXCHANGE_SUCCEEDED:"ciba_exchange_succeeded",CIBA_START_FAILED:"ciba_start_failed",CIBA_START_SUCCEEDED:"ciba_start_succeeded",CODE_LINK_SENT:"cls",CODE_SENT:"cs",DEPRECATION_NOTICE:"depnote",FAILED_LOGIN:"f",FAILED_BY_CONNECTOR:"fc",FAILED_CHANGE_EMAIL:"fce",FAILED_BY_CORS:"fco",FAILED_CROSS_ORIGIN_AUTHENTICATION:"fcoa",FAILED_CHANGE_PASSWORD:"fcp",FAILED_POST_CHANGE_PASSWORD_HOOK:"fcph",FAILED_CHANGE_PHONE_NUMBER:"fcpn",FAILED_CHANGE_PASSWORD_REQUEST:"fcpr",FAILED_CONNECTOR_PROVISIONING:"fcpro",FAILED_CHANGE_USERNAME:"fcu",FAILED_DELEGATION:"fd",FAILED_DEVICE_ACTIVATION:"fdeac",FAILED_DEVICE_AUTHORIZATION_REQUEST:"fdeaz",USER_CANCELED_DEVICE_CONFIRMATION:"fdecc",FAILED_USER_DELETION:"fdu",FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN:"feacft",FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS:"feccft",FAILED_EXCHANGE_CUSTOM_TOKEN:"fecte",FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN:"fede",FAILED_FEDERATED_LOGOUT:"federated_logout_failed",FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN:"fens",FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN:"feoobft",FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN:"feotpft",FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN:"fepft",FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN:"fepotpft",FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN:"fercft",FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN:"ferrt",FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN:"fertft",FAILED_HOOK:"fh",FAILED_INVITE_ACCEPT:"fi",FAILED_LOGOUT:"flo",FLOWS_EXECUTION_COMPLETED:"flows_execution_completed",FLOWS_EXECUTION_FAILED:"flows_execution_failed",FAILED_SENDING_NOTIFICATION:"fn",FORMS_SUBMISSION_FAILED:"forms_submission_failed",FORMS_SUBMISSION_SUCCEEDED:"forms_submission_succeeded",FAILED_LOGIN_INCORRECT_PASSWORD:"fp",FAILED_PUSHED_AUTHORIZATION_REQUEST:"fpar",FAILED_POST_USER_REGISTRATION_HOOK:"fpurh",FAILED_SIGNUP:"fs",FAILED_SILENT_AUTH:"fsa",FAILED_LOGIN_INVALID_EMAIL_USERNAME:"fu",FAILED_USERS_IMPORT:"fui",FAILED_VERIFICATION_EMAIL:"fv",FAILED_VERIFICATION_EMAIL_REQUEST:"fvr",EMAIL_VERIFICATION_CONFIRMED:"gd_auth_email_verification",EMAIL_VERIFICATION_FAILED:"gd_auth_fail_email_verification",MFA_AUTH_FAILED:"gd_auth_failed",MFA_AUTH_REJECTED:"gd_auth_rejected",MFA_AUTH_SUCCESS:"gd_auth_succeed",MFA_ENROLLMENT_COMPLETE:"gd_enrollment_complete",TOO_MANY_MFA_FAILURES:"gd_otp_rate_limit_exceed",MFA_RECOVERY_FAILED:"gd_recovery_failed",MFA_RECOVERY_RATE_LIMIT_EXCEED:"gd_recovery_rate_limit_exceed",MFA_RECOVERY_SUCCESS:"gd_recovery_succeed",MFA_EMAIL_SENT:"gd_send_email",EMAIL_VERIFICATION_SENT:"gd_send_email_verification",EMAIL_VERIFICATION_SEND_FAILURE:"gd_send_email_verification_failure",PUSH_NOTIFICATION_SENT:"gd_send_pn",ERROR_SENDING_MFA_PUSH_NOTIFICATION:"gd_send_pn_failure",MFA_SMS_SENT:"gd_send_sms",ERROR_SENDING_MFA_SMS:"gd_send_sms_failure",MFA_VOICE_CALL_SUCCESS:"gd_send_voice",MFA_VOICE_CALL_FAILED:"gd_send_voice_failure",SECOND_FACTOR_STARTED:"gd_start_auth",MFA_ENROLL_STARTED:"gd_start_enroll",MFA_ENROLLMENT_FAILED:"gd_start_enroll_failed",GUARDIAN_TENANT_UPDATE:"gd_tenant_update",UNENROLL_DEVICE_ACCOUNT:"gd_unenroll",UPDATE_DEVICE_ACCOUNT:"gd_update_device_account",WEBAUTHN_CHALLENGE_FAILED:"gd_webauthn_challenge_failed",WEBAUTHN_ENROLLMENT_FAILED:"gd_webauthn_enrollment_failed",FAILED_KMS_API_OPERATION:"kms_key_management_failure",SUCCESS_KMS_API_OPERATION:"kms_key_management_success",KMS_KEY_STATE_CHANGED:"kms_key_state_changed",TOO_MANY_CALLS_TO_DELEGATION:"limit_delegation",BLOCKED_IP_ADDRESS:"limit_mu",BLOCKED_ACCOUNT_IP:"limit_sul",BLOCKED_ACCOUNT_EMAIL:"limit_wc",MFA_REQUIRED:"mfar",MANAGEMENT_API_READ_OPERATION:"mgmt_api_read",FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT:"my_account_authentication_method_failed",SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT:"my_account_authentication_method_succeeded",FAILED_OIDC_BACKCHANNEL_LOGOUT:"oidc_backchannel_logout_failed",SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT:"oidc_backchannel_logout_succeeded",ORGANIZATION_MEMBER_ADDED:"organization_member_added",PASSKEY_CHALLENGE_FAILED:"passkey_challenge_failed",PASSKEY_CHALLENGE_STARTED:"passkey_challenge_started",PRE_LOGIN_ASSESSMENT:"pla",BREACHED_PASSWORD:"pwd_leak",BREACHED_PASSWORD_ON_RESET:"reset_pwd_leak",SUCCESS_RESOURCE_CLEANUP:"resource_cleanup",RICH_CONSENTS_ACCESS_ERROR:"rich_consents_access_error",SUCCESS_LOGIN:"s",SUCCESS_API_OPERATION:"sapi",SUCCESS_CHANGE_EMAIL:"sce",SUCCESS_CROSS_ORIGIN_AUTHENTICATION:"scoa",SUCCESS_CHANGE_PASSWORD:"scp",SUCCESS_CHANGE_PHONE_NUMBER:"scpn",SUCCESS_CHANGE_PASSWORD_REQUEST:"scpr",SUCCESS_CHANGE_USERNAME:"scu",SUCCESS_CREDENTIAL_VALIDATION:"scv",SUCCESS_DELEGATION:"sd",SUCCESS_USER_DELETION:"sdu",SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN:"seacft",SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS:"seccft",SUCCESS_EXCHANGE_CUSTOM_TOKEN:"secte",SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN:"sede",SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN:"sens",SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN:"seoobft",SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN:"seotpft",SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN:"sepft",SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN:"sepkoobft",SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN:"sepkotpft",SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN:"sepkrcft",SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN:"sercft",SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN:"sertft",SUCCESSFULLY_ACCEPTED_USER_INVITE:"si",BREACHED_PASSWORD_ON_SIGNUP:"signup_pwd_leak",SUCCESS_LOGOUT:"slo",SUCCESS_REVOCATION:"srrt",SUCCESS_SIGNUP:"ss",FAILED_SS_SSO_OPERATION:"ss_sso_failure",INFORMATION_FROM_SS_SSO_OPERATION:"ss_sso_info",SUCCESS_SS_SSO_OPERATION:"ss_sso_success",SUCCESS_SILENT_AUTH:"ssa",SUCCESSFUL_SCIM_OPERATION:"sscim",SUCCESSFULLY_IMPORTED_USERS:"sui",SUCCESS_VERIFICATION_EMAIL:"sv",SUCCESS_VERIFICATION_EMAIL_REQUEST:"svr",MAX_AMOUNT_OF_AUTHENTICATORS:"too_many_records",USER_LOGIN_BLOCK_RELEASED:"ublkdu",FAILED_UNIVERSAL_LOGOUT:"universal_logout_failed",SUCCESSFUL_UNIVERSAL_LOGOUT:"universal_logout_succeeded",WARNING_DURING_LOGIN:"w",WARNING_SENDING_NOTIFICATION:"wn",WARNING_USER_MANAGEMENT:"wum"},nt=e.z.string().refine(t=>Object.values(ne).includes(t),{message:"Invalid log type"}),ie=e.z.object({name:e.z.string(),version:e.z.string(),env:e.z.object({node:e.z.string().optional()}).optional()}),ae=e.z.object({type:nt,date:e.z.string(),description:e.z.string().optional(),ip:e.z.string().optional(),user_agent:e.z.string(),details:e.z.any().optional(),isMobile:e.z.boolean(),user_id:e.z.string().optional(),user_name:e.z.string().optional(),connection:e.z.string().optional(),connection_id:e.z.string().optional(),client_id:e.z.string().optional(),client_name:e.z.string().optional(),audience:e.z.string().optional(),scope:e.z.array(e.z.string()).optional(),strategy:e.z.string().optional(),strategy_type:e.z.string().optional(),hostname:e.z.string().optional(),auth0_client:ie.optional(),log_id:e.z.string().optional()}),it=e.z.object({...ae.shape,log_id:e.z.string()}),se=e.z.object({user_id:e.z.string(),password:e.z.string(),algorithm:e.z.enum(["bcrypt","argon2id"]).default("argon2id")}),at=e.z.object({...se.shape,created_at:e.z.string(),updated_at:e.z.string()}),re=e.z.object({initial_user_agent:e.z.string().describe("First user agent of the device from which this user logged in"),initial_ip:e.z.string().describe("First IP address associated with this session"),initial_asn:e.z.string().describe("First autonomous system number associated with this session"),last_user_agent:e.z.string().describe("Last user agent of the device from which this user logged in"),last_ip:e.z.string().describe("Last IP address from which this user logged in"),last_asn:e.z.string().describe("Last autonomous system number from which this user logged in")}),le=e.z.object({id:e.z.string(),revoked_at:e.z.string().optional(),used_at:e.z.string().optional(),user_id:e.z.string().describe("The user ID associated with the session"),expires_at:e.z.string().optional(),login_session_id:e.z.string(),idle_expires_at:e.z.string().optional(),device:re.describe("Metadata related to the device used in the session"),clients:e.z.array(e.z.string()).describe("List of client details for the session")}),st=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...le.shape}),rt=e.z.object({kid:e.z.string().openapi({description:"The key id of the signing key"}),cert:e.z.string().openapi({description:"The public certificate of the signing key"}),fingerprint:e.z.string().openapi({description:"The cert fingerprint"}),thumbprint:e.z.string().openapi({description:"The cert thumbprint"}),pkcs7:e.z.string().optional().openapi({description:"The private key in pkcs7 format"}),current:e.z.boolean().optional().openapi({description:"True if the key is the current key"}),next:e.z.boolean().optional().openapi({description:"True if the key is the next key"}),previous:e.z.boolean().optional().openapi({description:"True if the key is the previous key"}),current_since:e.z.string().optional().openapi({description:"The date and time when the key became the current key"}),current_until:e.z.string().optional().openapi({description:"The date and time when the current key was rotated"}),revoked:e.z.boolean().optional().openapi({description:"True if the key is revoked"}),revoked_at:e.z.string().optional().openapi({description:"The date and time when the key was revoked"}),connection:e.z.string().optional().openapi({description:"The connection identifier associated with the key"}),type:e.z.enum(["jwt_signing","saml_encryption"]).openapi({description:"The type of the signing key"})});var ce=(t=>(t.RefreshToken="refresh_token",t.AuthorizationCode="authorization_code",t.ClientCredential="client_credentials",t.Passwordless="passwordless",t.Password="password",t.OTP="http://auth0.com/oauth/grant-type/passwordless/otp",t))(ce||{});const lt=e.z.object({access_token:e.z.string(),id_token:e.z.string().optional(),scope:e.z.string().optional(),state:e.z.string().optional(),refresh_token:e.z.string().optional(),token_type:e.z.string(),expires_in:e.z.number()});e.z.object({code:e.z.string(),state:e.z.string().optional()});const _e=e.z.object({button_border_radius:e.z.number(),button_border_weight:e.z.number(),buttons_style:e.z.enum(["pill","rounded","sharp"]),input_border_radius:e.z.number(),input_border_weight:e.z.number(),inputs_style:e.z.enum(["pill","rounded","sharp"]),show_widget_shadow:e.z.boolean(),widget_border_weight:e.z.number(),widget_corner_radius:e.z.number()}),pe=e.z.object({base_focus_color:e.z.string(),base_hover_color:e.z.string(),body_text:e.z.string(),captcha_widget_theme:e.z.enum(["auto","dark","light"]),error:e.z.string(),header:e.z.string(),icons:e.z.string(),input_background:e.z.string(),input_border:e.z.string(),input_filled_text:e.z.string(),input_labels_placeholders:e.z.string(),links_focused_components:e.z.string(),primary_button:e.z.string(),primary_button_label:e.z.string(),secondary_button_border:e.z.string(),secondary_button_label:e.z.string(),success:e.z.string(),widget_background:e.z.string(),widget_border:e.z.string()}),o=e.z.object({bold:e.z.boolean(),size:e.z.number()}),de=e.z.object({body_text:o,buttons_text:o,font_url:e.z.string(),input_labels:o,links:o,links_style:e.z.enum(["normal","underlined"]),reference_text_size:e.z.number(),subtitle:o,title:o}),ze=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center","left","right"])}),ge=e.z.object({header_text_alignment:e.z.enum(["center","left","right"]),logo_height:e.z.number(),logo_position:e.z.enum(["center","left","none","right"]),logo_url:e.z.string(),social_buttons_layout:e.z.enum(["bottom","top"])}),ue=e.z.object({borders:_e,colors:pe,displayName:e.z.string(),fonts:de,page_background:ze,widget:ge}),ct=ue.extend({themeId:e.z.string()}),_t=e.z.object({universal_login_experience:e.z.enum(["new","classic"]).default("new"),identifier_first:e.z.boolean().default(!0),password_first:e.z.boolean().default(!1),webauthn_platform_first_factor:e.z.boolean()}),pt=e.z.object({name:e.z.string(),enabled:e.z.boolean().optional().default(!0),default_from_address:e.z.string().optional(),credentials:e.z.union([e.z.object({accessKeyId:e.z.string(),secretAccessKey:e.z.string(),region:e.z.string()}),e.z.object({smtp_host:e.z.array(e.z.string()),smtp_port:e.z.number(),smtp_user:e.z.string(),smtp_pass:e.z.string()}),e.z.object({api_key:e.z.string(),domain:e.z.string().optional()}),e.z.object({connectionString:e.z.string()}),e.z.object({tenantId:e.z.string(),clientId:e.z.string(),clientSecret:e.z.string()})]),settings:e.z.object({}).optional()}),me=e.z.object({id:e.z.string(),session_id:e.z.string(),user_id:e.z.string(),client_id:e.z.string(),expires_at:e.z.string().optional(),idle_expires_at:e.z.string().optional(),last_exchanged_at:e.z.string().optional(),device:re,resource_servers:e.z.array(e.z.object({audience:e.z.string(),scopes:e.z.string()})),rotating:e.z.boolean()}),dt=e.z.object({created_at:e.z.string(),...me.shape}),zt=e.z.object({to:e.z.string(),message:e.z.string()}),gt=e.z.object({name:e.z.string(),options:e.z.object({})}),he=e.z.object({value:e.z.string(),description:e.z.string().optional()}),Se=e.z.object({token_dialect:e.z.enum(["access_token","access_token_authz"]).optional(),enforce_policies:e.z.boolean().optional(),allow_skipping_userinfo:e.z.boolean().optional(),skip_userinfo:e.z.boolean().optional(),persist_client_authorization:e.z.boolean().optional(),enable_introspection_endpoint:e.z.boolean().optional(),mtls:e.z.object({bound_access_tokens:e.z.boolean().optional()}).optional()}),be=e.z.object({name:e.z.string(),identifier:e.z.string(),scopes:e.z.array(he).optional(),signing_alg:e.z.string().optional(),signing_secret:e.z.string().optional(),token_lifetime:e.z.number().optional(),token_lifetime_for_web:e.z.number().optional(),skip_consent_for_verifiable_first_party_clients:e.z.boolean().optional(),allow_offline_access:e.z.boolean().optional(),verificationKey:e.z.string().optional(),options:Se.optional()}),Ee=e.z.object({id:e.z.string().optional(),...be.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),ut=e.z.array(Ee),fe=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),Ae=e.z.object({...fe.shape,created_at:e.z.string()}),mt=e.z.array(Ae),Ie=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string(),organization_id:e.z.string().optional()}),Ce=e.z.object({...Ie.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),ht=e.z.array(Ce),Oe=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),resource_server_name:e.z.string(),permission_name:e.z.string(),description:e.z.string().nullable().optional(),created_at:e.z.string().optional(),organization_id:e.z.string().optional()}),St=e.z.array(Oe),Te=e.z.object({user_id:e.z.string(),role_id:e.z.string(),organization_id:e.z.string().optional()}),ye=e.z.object({...Te.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),bt=e.z.array(ye),Ne=e.z.object({name:e.z.string().min(1).max(50).openapi({description:"The name of the role. Cannot include '<' or '>'"}),description:e.z.string().max(255).optional().openapi({description:"The description of the role"})}),Re=e.z.object({id:e.z.string().openapi({description:"The unique identifier of the role"}),...Ne.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),Et=e.z.array(Re),Le=e.z.object({logo_url:e.z.string().optional().openapi({description:"URL of the organization's logo"}),colors:e.z.object({primary:e.z.string().optional().openapi({description:"Primary color in hex format (e.g., #FF0000)"}),page_background:e.z.string().optional().openapi({description:"Page background color in hex format (e.g., #FFFFFF)"})}).optional()}).optional(),De=e.z.object({connection_id:e.z.string().openapi({description:"ID of the connection"}),assign_membership_on_login:e.z.boolean().default(!1).openapi({description:"Whether to assign membership to the organization on login"}),show_as_button:e.z.boolean().default(!0).openapi({description:"Whether to show this connection as a button in the login screen"}),is_signup_enabled:e.z.boolean().default(!0).openapi({description:"Whether signup is enabled for this connection"})}),we=e.z.object({client_credentials:e.z.object({enforce:e.z.boolean().default(!1).openapi({description:"Whether to enforce token quota limits"}),per_day:e.z.number().min(0).default(0).openapi({description:"Maximum tokens per day (0 = unlimited)"}),per_hour:e.z.number().min(0).default(0).openapi({description:"Maximum tokens per hour (0 = unlimited)"})}).optional()}).optional(),je=e.z.object({id:e.z.string().optional(),name:e.z.string().min(1).openapi({description:"The name of the organization"}),display_name:e.z.string().optional().openapi({description:"The display name of the organization"}),branding:Le,metadata:e.z.record(e.z.any()).default({}).optional().openapi({description:"Custom metadata for the organization"}),enabled_connections:e.z.array(De).default([]).optional().openapi({description:"List of enabled connections for the organization"}),token_quota:we}),ft=e.z.object({...je.shape,...n.shape,id:e.z.string()}),ke=e.z.object({user_id:e.z.string().openapi({description:"ID of the user"}),organization_id:e.z.string().openapi({description:"ID of the organization"})}),At=e.z.object({...ke.shape,...n.shape,id:e.z.string()}),It=e.z.object({idle_session_lifetime:e.z.number().optional(),session_lifetime:e.z.number().optional(),session_cookie:e.z.object({mode:e.z.enum(["persistent","non-persistent"]).optional()}).optional(),enable_client_connections:e.z.boolean().optional(),default_redirection_uri:e.z.string().optional(),enabled_locales:e.z.array(e.z.string()).optional(),default_directory:e.z.string().optional(),error_page:e.z.object({html:e.z.string().optional(),show_log_link:e.z.boolean().optional(),url:e.z.string().optional()}).optional(),flags:e.z.object({allow_legacy_delegation_grant_types:e.z.boolean().optional(),allow_legacy_ro_grant_types:e.z.boolean().optional(),allow_legacy_tokeninfo_endpoint:e.z.boolean().optional(),disable_clickjack_protection_headers:e.z.boolean().optional(),enable_apis_section:e.z.boolean().optional(),enable_client_connections:e.z.boolean().optional(),enable_custom_domain_in_emails:e.z.boolean().optional(),enable_dynamic_client_registration:e.z.boolean().optional(),enable_idtoken_api2:e.z.boolean().optional(),enable_legacy_logs_search_v2:e.z.boolean().optional(),enable_legacy_profile:e.z.boolean().optional(),enable_pipeline2:e.z.boolean().optional(),enable_public_signup_user_exists_error:e.z.boolean().optional(),use_scope_descriptions_for_consent:e.z.boolean().optional(),disable_management_api_sms_obfuscation:e.z.boolean().optional(),enable_adfs_waad_email_verification:e.z.boolean().optional(),revoke_refresh_token_grant:e.z.boolean().optional(),dashboard_log_streams_next:e.z.boolean().optional(),dashboard_insights_view:e.z.boolean().optional(),disable_fields_map_fix:e.z.boolean().optional(),mfa_show_factor_list_on_enrollment:e.z.boolean().optional()}).optional(),friendly_name:e.z.string().optional(),picture_url:e.z.string().optional(),support_email:e.z.string().optional(),support_url:e.z.string().optional(),sandbox_version:e.z.string().optional(),sandbox_versions_available:e.z.array(e.z.string()).optional(),change_password:e.z.object({enabled:e.z.boolean(),html:e.z.string()}).optional(),guardian_mfa_page:e.z.object({enabled:e.z.boolean(),html:e.z.string()}).optional(),default_audience:e.z.string().optional(),default_organization:e.z.string().optional(),sessions:e.z.object({oidc_logout_prompt_enabled:e.z.boolean().optional()}).optional()});function Ct(t){const[a,s]=t.split("|");if(!a||!s)throw new Error(`Invalid user_id: ${t}`);return{connection:a,id:s}}exports.Auth0Client=ie;exports.AuthorizationResponseMode=z;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=g;exports.ComponentCategory=p;exports.ComponentType=_;exports.GrantType=ce;exports.LogTypes=ne;exports.NodeType=R;exports.auth0FlowInsertSchema=xe;exports.auth0FlowSchema=v;exports.auth0UserResponseSchema=ve;exports.authParamsSchema=F;exports.baseUserSchema=c;exports.bordersSchema=_e;exports.brandingSchema=Ge;exports.buttonComponentSchema=C;exports.clientGrantInsertSchema=f;exports.clientGrantListSchema=He;exports.clientGrantSchema=A;exports.clientInsertSchema=b;exports.clientSchema=E;exports.codeInsertSchema=B;exports.codeSchema=Ke;exports.codeTypeSchema=K;exports.colorsSchema=pe;exports.componentSchema=N;exports.connectionInsertSchema=M;exports.connectionOptionsSchema=P;exports.connectionSchema=H;exports.coordinatesSchema=i;exports.customDomainInsertSchema=W;exports.customDomainSchema=V;exports.customDomainWithTenantIdSchema=Be;exports.emailProviderSchema=pt;exports.endingSchema=U;exports.fieldComponentSchema=T;exports.flowNodeSchema=D;exports.fontDetailsSchema=o;exports.fontsSchema=de;exports.formControlSchema=We;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=q;exports.formSchema=Xe;exports.genericComponentSchema=y;exports.genericNodeSchema=w;exports.hookInsertSchema=Ye;exports.hookSchema=Ze;exports.identitySchema=m;exports.inviteInsertSchema=ee;exports.inviteSchema=$e;exports.inviteeSchema=$;exports.inviterSchema=Z;exports.jwksKeySchema=et;exports.jwksSchema=te;exports.legalComponentSchema=O;exports.logInsertSchema=ae;exports.logSchema=it;exports.loginSessionInsertSchema=oe;exports.loginSessionSchema=ot;exports.nodeSchema=j;exports.openIDConfigurationSchema=tt;exports.organizationBrandingSchema=Le;exports.organizationEnabledConnectionSchema=De;exports.organizationInsertSchema=je;exports.organizationSchema=ft;exports.organizationTokenQuotaSchema=we;exports.pageBackgroundSchema=ze;exports.parseUserId=Ct;exports.passwordInsertSchema=se;exports.passwordSchema=at;exports.profileDataSchema=u;exports.promptSettingSchema=_t;exports.refreshTokenInsertSchema=me;exports.refreshTokenSchema=dt;exports.resourceServerInsertSchema=be;exports.resourceServerListSchema=ut;exports.resourceServerOptionsSchema=Se;exports.resourceServerSchema=Ee;exports.resourceServerScopeSchema=he;exports.richTextComponentSchema=I;exports.roleInsertSchema=Ne;exports.roleListSchema=Et;exports.rolePermissionInsertSchema=fe;exports.rolePermissionListSchema=mt;exports.rolePermissionSchema=Ae;exports.roleSchema=Re;exports.sessionInsertSchema=le;exports.sessionSchema=st;exports.signingKeySchema=rt;exports.smsProviderSchema=gt;exports.smsSendParamsSchema=zt;exports.startSchema=k;exports.stepNodeSchema=L;exports.tenantInsertSchema=x;exports.tenantSchema=G;exports.tenantSettingsSchema=It;exports.themeInsertSchema=ue;exports.themeSchema=ct;exports.tokenResponseSchema=lt;exports.totalsSchema=Ue;exports.userInsertSchema=h;exports.userOrganizationInsertSchema=ke;exports.userOrganizationSchema=At;exports.userPermissionInsertSchema=Ie;exports.userPermissionListSchema=ht;exports.userPermissionSchema=Ce;exports.userPermissionWithDetailsListSchema=St;exports.userPermissionWithDetailsSchema=Oe;exports.userResponseSchema=Fe;exports.userRoleInsertSchema=Te;exports.userRoleListSchema=bt;exports.userRoleSchema=ye;exports.userSchema=S;exports.verificationMethodsSchema=X;exports.widgetSchema=ge;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@hono/zod-openapi"),ve=e.z.object({start:e.z.number(),limit:e.z.number(),length:e.z.number()}),n=e.z.object({created_at:e.z.string(),updated_at:e.z.string()}),u=e.z.object({email:e.z.string().optional(),email_verified:e.z.boolean().optional(),name:e.z.string().optional(),username:e.z.string().optional(),given_name:e.z.string().optional(),phone_number:e.z.string().optional(),phone_verified:e.z.boolean().optional(),family_name:e.z.string().optional()}).catchall(e.z.any()),m=e.z.object({connection:e.z.string(),user_id:e.z.string(),provider:e.z.string(),isSocial:e.z.boolean(),access_token:e.z.string().optional(),access_token_secret:e.z.string().optional(),refresh_token:e.z.string().optional(),profileData:u.optional()}),c=e.z.object({email:e.z.string().optional().transform(t=>t&&t.toLowerCase()),username:e.z.string().optional(),phone_number:e.z.string().optional(),given_name:e.z.string().optional(),family_name:e.z.string().optional(),nickname:e.z.string().optional(),name:e.z.string().optional(),picture:e.z.string().optional(),locale:e.z.string().optional(),linked_to:e.z.string().optional(),profileData:e.z.string().optional(),user_id:e.z.string().optional(),app_metadata:e.z.any().default({}).optional(),user_metadata:e.z.any().default({}).optional()}),h=c.extend({email_verified:e.z.boolean().default(!1),verify_email:e.z.boolean().optional(),last_ip:e.z.string().optional(),last_login:e.z.string().optional(),user_id:e.z.string().optional(),provider:e.z.string().default("email"),connection:e.z.string().default("email"),is_social:e.z.boolean().optional()}),S=e.z.object({...h.shape,...n.shape,user_id:e.z.string(),is_social:e.z.boolean(),email:e.z.string().optional(),login_count:e.z.number().default(0),identities:e.z.array(m).optional()}),Fe=S,Pe=c.extend({login_count:e.z.number(),multifactor:e.z.array(e.z.string()).optional(),last_ip:e.z.string().optional(),last_login:e.z.string().optional(),user_id:e.z.string()}).catchall(e.z.any()),Me="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let He=(t=21)=>{let a="",s=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)a+=Me[s[t]&63];return a};const b=e.z.object({client_id:e.z.string().openapi({description:"ID of this client."}),name:e.z.string().min(1).openapi({description:"Name of this client (min length: 1 character, does not allow < or >)."}),description:e.z.string().max(140).optional().openapi({description:"Free text description of this client (max length: 140 characters)."}),global:e.z.boolean().default(!1).openapi({description:"Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)."}),client_secret:e.z.string().default(()=>He()).optional().openapi({description:"Client secret (which you must not make public)."}),app_type:e.z.enum(["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"]).default("regular_web").optional().openapi({description:"The type of application this client represents"}),logo_uri:e.z.string().url().optional().openapi({description:"URL of the logo to display for this client. Recommended size is 150x150 pixels."}),is_first_party:e.z.boolean().default(!1).openapi({description:"Whether this client a first party client (true) or not (false)."}),oidc_conformant:e.z.boolean().default(!0).openapi({description:"Whether this client conforms to strict OIDC specifications (true) or uses legacy features (false)."}),callbacks:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication."}),allowed_origins:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs."}),web_origins:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of allowed origins for use with Cross-Origin Authentication, Device Flow, and web message response mode."}),client_aliases:e.z.array(e.z.string()).default([]).optional().openapi({description:"List of audiences/realms for SAML protocol. Used by the wsfed addon."}),allowed_clients:e.z.array(e.z.string()).default([]).optional().openapi({description:"List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed."}),allowed_logout_urls:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains."}),session_transfer:e.z.record(e.z.any()).default({}).optional().openapi({description:"Native to Web SSO Configuration"}),oidc_logout:e.z.record(e.z.any()).default({}).optional().openapi({description:"Configuration for OIDC backchannel logout"}),grant_types:e.z.array(e.z.string()).default([]).optional().openapi({description:"List of grant types supported for this application. Can include authorization_code, implicit, refresh_token, client_credentials, password, http://auth0.com/oauth/grant-type/password-realm, http://auth0.com/oauth/grant-type/mfa-oob, http://auth0.com/oauth/grant-type/mfa-otp, http://auth0.com/oauth/grant-type/mfa-recovery-code, urn:openid:params:grant-type:ciba, and urn:ietf:params:oauth:grant-type:device_code."}),jwt_configuration:e.z.record(e.z.any()).default({}).optional().openapi({description:"Configuration related to JWTs for the client."}),signing_keys:e.z.array(e.z.record(e.z.any())).default([]).optional().openapi({description:"Signing certificates associated with this client."}),encryption_key:e.z.record(e.z.any()).default({}).optional().openapi({description:"Encryption used for WsFed responses with this client."}),sso:e.z.boolean().default(!1).openapi({description:"Applies only to SSO clients and determines whether Auth0 will handle Single Sign On (true) or whether the Identity Provider will (false)."}),sso_disabled:e.z.boolean().default(!0).openapi({description:"Whether Single Sign On is disabled (true) or enabled (true). Defaults to true."}),cross_origin_authentication:e.z.boolean().default(!1).openapi({description:"Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false)."}),cross_origin_loc:e.z.string().url().optional().openapi({description:"URL of the location in your site where the cross origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page."}),custom_login_page_on:e.z.boolean().default(!1).openapi({description:"Whether a custom login page is to be used (true) or the default provided login page (false)."}),custom_login_page:e.z.string().optional().openapi({description:"The content (HTML, CSS, JS) of the custom login page."}),custom_login_page_preview:e.z.string().optional().openapi({description:"The content (HTML, CSS, JS) of the custom login page. (Used on Previews)"}),form_template:e.z.string().optional().openapi({description:"HTML form template to be used for WS-Federation."}),addons:e.z.record(e.z.any()).default({}).optional().openapi({description:"Addons enabled for this client and their associated configurations."}),token_endpoint_auth_method:e.z.enum(["none","client_secret_post","client_secret_basic"]).default("client_secret_basic").optional().openapi({description:"Defines the requested authentication method for the token endpoint. Can be none (public client without a client secret), client_secret_post (client uses HTTP POST parameters), or client_secret_basic (client uses HTTP Basic)."}),client_metadata:e.z.record(e.z.string().max(255)).default({}).optional().openapi({description:'Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: :,-+=_*?"/()<>@ [Tab][Space]'}),mobile:e.z.record(e.z.any()).default({}).optional().openapi({description:"Additional configuration for native mobile apps."}),initiate_login_uri:e.z.string().url().optional().openapi({description:"Initiate login uri, must be https"}),native_social_login:e.z.record(e.z.any()).default({}).optional(),refresh_token:e.z.record(e.z.any()).default({}).optional().openapi({description:"Refresh token configuration"}),default_organization:e.z.record(e.z.any()).default({}).optional().openapi({description:"Defines the default Organization ID and flows"}),organization_usage:e.z.enum(["deny","allow","require"]).default("deny").optional().openapi({description:"Defines how to proceed during an authentication transaction with regards an organization. Can be deny (default), allow or require."}),organization_require_behavior:e.z.enum(["no_prompt","pre_login_prompt","post_login_prompt"]).default("no_prompt").optional().openapi({description:"Defines how to proceed during an authentication transaction when client.organization_usage: 'require'. Can be no_prompt (default), pre_login_prompt or post_login_prompt. post_login_prompt requires oidc_conformant: true."}),client_authentication_methods:e.z.record(e.z.any()).default({}).optional().openapi({description:"Defines client authentication methods."}),require_pushed_authorization_requests:e.z.boolean().default(!1).openapi({description:"Makes the use of Pushed Authorization Requests mandatory for this client"}),require_proof_of_possession:e.z.boolean().default(!1).openapi({description:"Makes the use of Proof-of-Possession mandatory for this client"}),signed_request_object:e.z.record(e.z.any()).default({}).optional().openapi({description:"JWT-secured Authorization Requests (JAR) settings."}),compliance_level:e.z.enum(["none","fapi1_adv_pkj_par","fapi1_adv_mtls_par","fapi2_sp_pkj_mtls","fapi2_sp_mtls_mtls"]).optional().openapi({description:"Defines the compliance level for this client, which may restrict it's capabilities"}),par_request_expiry:e.z.number().optional().openapi({description:"Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"}),token_quota:e.z.record(e.z.any()).default({}).optional()}),E=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),...b.shape}),f=e.z.object({client_id:e.z.string().min(1).openapi({description:"ID of the client."}),audience:e.z.string().min(1).openapi({description:"The audience (API identifier) of this client grant."}),scope:e.z.array(e.z.string()).optional().openapi({description:"Scopes allowed for this client grant."}),organization_usage:e.z.enum(["deny","allow","require"]).optional().openapi({description:"Defines whether organizations can be used with client credentials exchanges for this grant."}),allow_any_organization:e.z.boolean().optional().openapi({description:"If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations."}),is_system:e.z.boolean().optional().openapi({description:"If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly."}),subject_type:e.z.enum(["client","user"]).optional().openapi({description:"The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement."}),authorization_details_types:e.z.array(e.z.string()).optional().openapi({description:"Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement."})}),A=e.z.object({id:e.z.string().openapi({description:"ID of the client grant."}),...f.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),xe=e.z.array(A),i=e.z.object({x:e.z.number(),y:e.z.number()});var _=(t=>(t.RICH_TEXT="RICH_TEXT",t.NEXT_BUTTON="NEXT_BUTTON",t.BACK_BUTTON="BACK_BUTTON",t.SUBMIT_BUTTON="SUBMIT_BUTTON",t.DIVIDER="DIVIDER",t.TEXT="TEXT",t.EMAIL="EMAIL",t.PASSWORD="PASSWORD",t.NUMBER="NUMBER",t.PHONE="PHONE",t.DATE="DATE",t.CHECKBOX="CHECKBOX",t.RADIO="RADIO",t.SELECT="SELECT",t.HIDDEN="HIDDEN",t.LEGAL="LEGAL",t))(_||{}),p=(t=>(t.BLOCK="BLOCK",t.FIELD="FIELD",t))(p||{});const r=e.z.object({id:e.z.string(),category:e.z.nativeEnum(p),type:e.z.nativeEnum(_)}),I=r.extend({category:e.z.literal("BLOCK"),type:e.z.literal("RICH_TEXT"),config:e.z.object({content:e.z.string()}).passthrough()}),C=r.extend({category:e.z.literal("BLOCK"),type:e.z.union([e.z.literal("NEXT_BUTTON"),e.z.literal("BACK_BUTTON"),e.z.literal("SUBMIT_BUTTON")]),config:e.z.object({text:e.z.string()}).passthrough()}),O=r.extend({category:e.z.literal("FIELD"),type:e.z.literal("LEGAL"),required:e.z.boolean().optional(),sensitive:e.z.boolean().optional(),config:e.z.object({text:e.z.string()}).passthrough()}),T=r.extend({category:e.z.literal("FIELD"),type:e.z.union([e.z.literal("TEXT"),e.z.literal("EMAIL"),e.z.literal("PASSWORD"),e.z.literal("NUMBER"),e.z.literal("PHONE"),e.z.literal("DATE"),e.z.literal("CHECKBOX"),e.z.literal("RADIO"),e.z.literal("SELECT"),e.z.literal("HIDDEN")]),required:e.z.boolean().optional(),sensitive:e.z.boolean().optional(),config:e.z.object({label:e.z.string().optional(),placeholder:e.z.string().optional()}).passthrough()}),y=e.z.object({id:e.z.string(),category:e.z.string(),type:e.z.string()}).passthrough(),N=e.z.union([I,C,O,T,y]);var R=(t=>(t.STEP="STEP",t.FLOW="FLOW",t.CONDITION="CONDITION",t.ACTION="ACTION",t))(R||{});const L=e.z.object({id:e.z.string(),type:e.z.literal("STEP"),coordinates:i,alias:e.z.string().optional(),config:e.z.object({components:e.z.array(N),next_node:e.z.string()}).passthrough()}),D=e.z.object({id:e.z.string(),type:e.z.literal("FLOW"),coordinates:i,alias:e.z.string().optional(),config:e.z.object({flow_id:e.z.string(),next_node:e.z.string()})}),w=e.z.object({id:e.z.string(),type:e.z.string(),coordinates:i}).passthrough(),j=e.z.union([L,D,w]),k=e.z.object({next_node:e.z.string(),coordinates:i}).passthrough(),U=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:i}).passthrough(),v=e.z.object({id:e.z.string(),name:e.z.string(),languages:e.z.object({primary:e.z.string()}).passthrough(),nodes:e.z.array(j),start:k,ending:U,created_at:e.z.string(),updated_at:e.z.string(),links:e.z.object({sdkSrc:e.z.string().optional(),sdk_src:e.z.string().optional()}).passthrough()}).passthrough(),Ge=v.omit({id:!0,created_at:!0,updated_at:!0});var d=(t=>(t.TOKEN="token",t.TOKEN_ID_TOKEN="token id_token",t.CODE="code",t))(d||{}),z=(t=>(t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post",t.WEB_MESSAGE="web_message",t.SAML_POST="saml_post",t))(z||{}),g=(t=>(t.S256="S256",t.Plain="plain",t))(g||{});const F=e.z.object({client_id:e.z.string(),act_as:e.z.string().optional(),response_type:e.z.nativeEnum(d).optional(),response_mode:e.z.nativeEnum(z).optional(),redirect_uri:e.z.string().optional(),audience:e.z.string().optional(),organization:e.z.string().optional(),state:e.z.string().optional(),nonce:e.z.string().optional(),scope:e.z.string().optional(),prompt:e.z.string().optional(),code_challenge_method:e.z.nativeEnum(g).optional(),code_challenge:e.z.string().optional(),username:e.z.string().optional(),ui_locales:e.z.string().optional(),vendor_id:e.z.string().optional()}),Ke=e.z.object({colors:e.z.object({primary:e.z.string(),page_background:e.z.object({type:e.z.string().optional(),start:e.z.string().optional(),end:e.z.string().optional(),angle_deg:e.z.number().optional()}).optional()}).optional(),logo_url:e.z.string().optional(),favicon_url:e.z.string().optional(),powered_by_logo_url:e.z.string().optional(),font:e.z.object({url:e.z.string()}).optional()}),P=e.z.object({kid:e.z.string().optional(),team_id:e.z.string().optional(),realms:e.z.string().optional(),authentication_method:e.z.string().optional(),client_id:e.z.string().optional(),client_secret:e.z.string().optional(),app_secret:e.z.string().optional(),scope:e.z.string().optional(),authorization_endpoint:e.z.string().optional(),token_endpoint:e.z.string().optional(),userinfo_endpoint:e.z.string().optional(),jwks_uri:e.z.string().optional(),discovery_url:e.z.string().optional(),issuer:e.z.string().optional(),provider:e.z.string().optional(),from:e.z.string().optional(),twilio_sid:e.z.string().optional(),twilio_token:e.z.string().optional()}),M=e.z.object({id:e.z.string().optional(),name:e.z.string(),strategy:e.z.string(),options:P.default({}),enabled_clients:e.z.array(e.z.string()).default([]).optional(),response_type:e.z.custom().optional(),response_mode:e.z.custom().optional()}),H=e.z.object({id:e.z.string(),created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t)}).extend(M.shape),x=e.z.object({id:e.z.string().optional(),audience:e.z.string(),friendly_name:e.z.string(),picture_url:e.z.string().optional(),support_email:e.z.string().optional(),support_url:e.z.string().optional(),sender_email:e.z.string().email(),sender_name:e.z.string(),session_lifetime:e.z.number().optional(),idle_session_lifetime:e.z.number().optional(),ephemeral_session_lifetime:e.z.number().optional(),idle_ephemeral_session_lifetime:e.z.number().optional(),session_cookie:e.z.object({mode:e.z.enum(["persistent","non-persistent"]).optional()}).optional(),allowed_logout_urls:e.z.array(e.z.string()).optional(),default_redirection_uri:e.z.string().optional(),enabled_locales:e.z.array(e.z.string()).optional(),default_directory:e.z.string().optional(),error_page:e.z.object({html:e.z.string().optional(),show_log_link:e.z.boolean().optional(),url:e.z.string().optional()}).optional(),flags:e.z.object({allow_changing_enable_sso:e.z.boolean().optional(),allow_legacy_delegation_grant_types:e.z.boolean().optional(),allow_legacy_ro_grant_types:e.z.boolean().optional(),allow_legacy_tokeninfo_endpoint:e.z.boolean().optional(),change_pwd_flow_v1:e.z.boolean().optional(),custom_domains_provisioning:e.z.boolean().optional(),dashboard_insights_view:e.z.boolean().optional(),dashboard_log_streams_next:e.z.boolean().optional(),disable_clickjack_protection_headers:e.z.boolean().optional(),disable_fields_map_fix:e.z.boolean().optional(),disable_impersonation:e.z.boolean().optional(),disable_management_api_sms_obfuscation:e.z.boolean().optional(),enable_adfs_waad_email_verification:e.z.boolean().optional(),enable_apis_section:e.z.boolean().optional(),enable_client_connections:e.z.boolean().optional(),enable_custom_domain_in_emails:e.z.boolean().optional(),enable_dynamic_client_registration:e.z.boolean().optional(),enable_idtoken_api2:e.z.boolean().optional(),enable_legacy_logs_search_v2:e.z.boolean().optional(),enable_legacy_profile:e.z.boolean().optional(),enable_pipeline2:e.z.boolean().optional(),enable_public_signup_user_exists_error:e.z.boolean().optional(),enable_sso:e.z.boolean().optional(),enforce_client_authentication_on_passwordless_start:e.z.boolean().optional(),genai_trial:e.z.boolean().optional(),improved_signup_bot_detection_in_classic:e.z.boolean().optional(),mfa_show_factor_list_on_enrollment:e.z.boolean().optional(),no_disclose_enterprise_connections:e.z.boolean().optional(),remove_alg_from_jwks:e.z.boolean().optional(),revoke_refresh_token_grant:e.z.boolean().optional(),trust_azure_adfs_email_verified_connection_property:e.z.boolean().optional(),use_scope_descriptions_for_consent:e.z.boolean().optional()}).optional(),sandbox_version:e.z.string().optional(),legacy_sandbox_version:e.z.string().optional(),sandbox_versions_available:e.z.array(e.z.string()).optional(),change_password:e.z.object({enabled:e.z.boolean().optional(),html:e.z.string().optional()}).optional(),guardian_mfa_page:e.z.object({enabled:e.z.boolean().optional(),html:e.z.string().optional()}).optional(),device_flow:e.z.object({charset:e.z.enum(["base20","digits"]).optional(),mask:e.z.string().max(20).optional()}).optional(),default_token_quota:e.z.object({clients:e.z.object({client_credentials:e.z.record(e.z.any()).optional()}).optional(),organizations:e.z.object({client_credentials:e.z.record(e.z.any()).optional()}).optional()}).optional(),default_audience:e.z.string().optional(),default_organization:e.z.string().optional(),sessions:e.z.object({oidc_logout_prompt_enabled:e.z.boolean().optional()}).optional(),oidc_logout:e.z.object({rp_logout_end_session_endpoint_discovery:e.z.boolean().optional()}).optional(),allow_organization_name_in_authentication_api:e.z.boolean().optional(),customize_mfa_in_postlogin_action:e.z.boolean().optional(),acr_values_supported:e.z.array(e.z.string()).optional(),mtls:e.z.object({enable_endpoint_aliases:e.z.boolean().optional()}).optional(),pushed_authorization_requests_supported:e.z.boolean().optional(),authorization_response_iss_parameter_supported:e.z.boolean().optional()}),G=e.z.object({created_at:e.z.string().nullable().transform(t=>t??""),updated_at:e.z.string().nullable().transform(t=>t??""),...x.shape,id:e.z.string()});e.z.object({...E.shape,tenant:G,connections:e.z.array(H)});const K=e.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),B=e.z.object({code_id:e.z.string().openapi({description:"The code that will be used in for instance an email verification flow"}),login_id:e.z.string().openapi({description:"The id of the login session that the code is connected to"}),connection_id:e.z.string().optional().openapi({description:"The connection that the code is connected to"}),code_type:K,code_verifier:e.z.string().optional().openapi({description:"The code verifier used in PKCE in outbound flows"}),code_challenge:e.z.string().optional().openapi({description:"The code challenge used in PKCE in outbound flows"}),code_challenge_method:e.z.enum(["plain","S256"]).optional().openapi({description:"The code challenge method used in PKCE in outbound flows"}),redirect_uri:e.z.string().optional().openapi({description:"The redirect URI associated with the code"}),nonce:e.z.string().optional().openapi({description:"The nonce value used for security in OIDC flows"}),state:e.z.string().optional().openapi({description:"The state parameter used for CSRF protection in OAuth flows"}),expires_at:e.z.string(),used_at:e.z.string().optional(),user_id:e.z.string().optional()}),Be=e.z.object({...B.shape,created_at:e.z.string()}),W=e.z.object({domain:e.z.string(),custom_domain_id:e.z.string().optional(),type:e.z.enum(["auth0_managed_certs","self_managed_certs"]),verification_method:e.z.enum(["txt"]).optional(),tls_policy:e.z.enum(["recommended"]).optional(),custom_client_ip_header:e.z.enum(["true-client-ip","cf-connecting-ip","x-forwarded-for","x-azure-clientip","null"]).optional(),domain_metadata:e.z.record(e.z.string().max(255)).optional()}),X=e.z.object({name:e.z.literal("txt"),record:e.z.string(),domain:e.z.string()}),V=e.z.object({...W.shape,custom_domain_id:e.z.string(),primary:e.z.boolean(),status:e.z.enum(["disabled","pending","pending_verification","ready"]),origin_domain_name:e.z.string().optional(),verification:e.z.object({methods:e.z.array(X)}).optional(),tls_policy:e.z.string().optional()}),We=V.extend({tenant_id:e.z.string()}),Xe=e.z.object({id:e.z.string(),type:e.z.literal("submit"),label:e.z.string(),className:e.z.string().optional(),disabled:e.z.boolean().optional().default(!1),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0),customizations:e.z.record(e.z.string(),e.z.any()).optional()}),q=e.z.discriminatedUnion("type",[e.z.object({id:e.z.string(),type:e.z.literal("RICH_TEXT"),config:e.z.object({content:e.z.string()}),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)}),e.z.object({id:e.z.string(),type:e.z.literal("LEGAL"),config:e.z.object({text:e.z.string(),html:e.z.boolean().optional()}),required:e.z.boolean().optional(),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)}),e.z.object({id:e.z.string(),type:e.z.literal("TEXT"),config:e.z.object({placeholder:e.z.string().optional(),multiline:e.z.boolean().optional()}),required:e.z.boolean().optional(),sensitive:e.z.boolean().optional(),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)}),e.z.object({id:e.z.string(),type:e.z.literal("NEXT_BUTTON"),config:e.z.object({text:e.z.string().optional()}),order:e.z.number().optional(),visible:e.z.boolean().optional().default(!0)})]),Y=e.z.object({name:e.z.string().openapi({description:"The name of the form"}),messages:e.z.object({errors:e.z.record(e.z.string(),e.z.any()).optional(),custom:e.z.record(e.z.string(),e.z.any()).optional()}).optional(),languages:e.z.object({primary:e.z.string().optional(),default:e.z.string().optional()}).optional(),translations:e.z.record(e.z.string(),e.z.any()).optional(),nodes:e.z.array(e.z.discriminatedUnion("type",[e.z.object({id:e.z.string(),type:e.z.literal("FLOW"),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}),alias:e.z.string().min(1).max(150).optional(),config:e.z.object({flow_id:e.z.string().max(30),next_node:e.z.string()})}),e.z.object({id:e.z.string(),type:e.z.literal("ROUTER"),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}),alias:e.z.string().min(1).max(150),config:e.z.object({rules:e.z.array(e.z.object({id:e.z.string(),alias:e.z.string().min(1).max(150).optional(),condition:e.z.any(),next_node:e.z.string()})),fallback:e.z.array(e.z.string())})}),e.z.object({id:e.z.string(),type:e.z.literal("STEP"),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}),alias:e.z.string().min(1).max(150).optional(),config:e.z.object({components:e.z.array(q),next_node:e.z.string()})})])).optional(),start:e.z.object({hidden_fields:e.z.array(e.z.object({key:e.z.string(),value:e.z.string()})).optional(),next_node:e.z.string().optional(),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}).optional()}).optional(),ending:e.z.object({redirection:e.z.object({delay:e.z.number().optional(),target:e.z.string().optional()}).optional(),after_submit:e.z.object({flow_id:e.z.string().optional()}).optional(),coordinates:e.z.object({x:e.z.number(),y:e.z.number()}).optional(),resume_flow:e.z.boolean().optional()}).optional(),style:e.z.object({css:e.z.string().optional()}).optional()}).openapi({description:"Schema for flow-based forms (matches new JSON structure)"}),Ve=e.z.object({...n.shape,...Y.shape,id:e.z.string()}),Q=e.z.enum(["pre-user-registration","post-user-registration","post-user-login","validate-registration-username","pre-user-deletion","post-user-deletion"]),J=e.z.enum(["pre-user-registration","post-user-registration","post-user-login","validate-registration-username","pre-user-deletion","post-user-deletion"]),l={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},qe=e.z.object({...l,trigger_id:Q,url:e.z.string()}),Ye=e.z.object({...l,trigger_id:J,form_id:e.z.string()}),Qe=e.z.union([qe,Ye]),Je=e.z.object({...l,trigger_id:Q,...n.shape,hook_id:e.z.string(),url:e.z.string()}),Ze=e.z.object({...l,trigger_id:J,...n.shape,hook_id:e.z.string(),form_id:e.z.string()}),$e=e.z.union([Je,Ze]),Z=e.z.object({name:e.z.string().optional()}),$=e.z.object({email:e.z.string().optional()}),ee=e.z.object({organization_id:e.z.string().max(50),inviter:Z,invitee:$,invitation_url:e.z.string().url(),client_id:e.z.string(),connection_id:e.z.string().optional(),app_metadata:e.z.record(e.z.any()).default({}).optional(),user_metadata:e.z.record(e.z.any()).default({}).optional(),ttl_sec:e.z.number().int().max(2592e3).default(604800).optional(),roles:e.z.array(e.z.string()).default([]).optional(),send_invitation_email:e.z.boolean().default(!0).optional()}),et=e.z.object({id:e.z.string(),organization_id:e.z.string().max(50),created_at:e.z.string().datetime(),expires_at:e.z.string().datetime(),ticket_id:e.z.string().optional()}).extend(ee.shape),te=e.z.object({alg:e.z.enum(["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512"]),e:e.z.string(),kid:e.z.string(),kty:e.z.enum(["RSA","EC","oct"]),n:e.z.string(),x5t:e.z.string().optional(),x5c:e.z.array(e.z.string()).optional(),use:e.z.enum(["sig","enc"]).optional()}),tt=e.z.object({keys:e.z.array(te)}),ot=e.z.object({issuer:e.z.string(),authorization_endpoint:e.z.string(),token_endpoint:e.z.string(),device_authorization_endpoint:e.z.string(),userinfo_endpoint:e.z.string(),mfa_challenge_endpoint:e.z.string(),jwks_uri:e.z.string(),registration_endpoint:e.z.string(),revocation_endpoint:e.z.string(),scopes_supported:e.z.array(e.z.string()),response_types_supported:e.z.array(e.z.string()),code_challenge_methods_supported:e.z.array(e.z.string()),response_modes_supported:e.z.array(e.z.string()),subject_types_supported:e.z.array(e.z.string()),id_token_signing_alg_values_supported:e.z.array(e.z.string()),token_endpoint_auth_methods_supported:e.z.array(e.z.string()),claims_supported:e.z.array(e.z.string()),request_uri_parameter_supported:e.z.boolean(),request_parameter_supported:e.z.boolean(),token_endpoint_auth_signing_alg_values_supported:e.z.array(e.z.string())}),oe=e.z.object({csrf_token:e.z.string(),auth0Client:e.z.string().optional(),authParams:F,expires_at:e.z.string(),deleted_at:e.z.string().optional(),ip:e.z.string().optional(),useragent:e.z.string().optional(),session_id:e.z.string().optional(),authorization_url:e.z.string().optional(),login_completed:e.z.boolean().optional().default(!1)}).openapi({description:"This represents a login sesion"}),nt=e.z.object({...oe.shape,id:e.z.string().openapi({description:"This is is used as the state in the universal login"}),created_at:e.z.string(),updated_at:e.z.string()}),ne={ACLS_SUMMARY:"acls_summary",ACTIONS_EXECUTION_FAILED:"actions_execution_failed",API_LIMIT:"api_limit",API_LIMIT_WARNING:"api_limit_warning",APPI:"appi",CIBA_EXCHANGE_FAILED:"ciba_exchange_failed",CIBA_EXCHANGE_SUCCEEDED:"ciba_exchange_succeeded",CIBA_START_FAILED:"ciba_start_failed",CIBA_START_SUCCEEDED:"ciba_start_succeeded",CODE_LINK_SENT:"cls",CODE_SENT:"cs",DEPRECATION_NOTICE:"depnote",FAILED_LOGIN:"f",FAILED_BY_CONNECTOR:"fc",FAILED_CHANGE_EMAIL:"fce",FAILED_BY_CORS:"fco",FAILED_CROSS_ORIGIN_AUTHENTICATION:"fcoa",FAILED_CHANGE_PASSWORD:"fcp",FAILED_POST_CHANGE_PASSWORD_HOOK:"fcph",FAILED_CHANGE_PHONE_NUMBER:"fcpn",FAILED_CHANGE_PASSWORD_REQUEST:"fcpr",FAILED_CONNECTOR_PROVISIONING:"fcpro",FAILED_CHANGE_USERNAME:"fcu",FAILED_DELEGATION:"fd",FAILED_DEVICE_ACTIVATION:"fdeac",FAILED_DEVICE_AUTHORIZATION_REQUEST:"fdeaz",USER_CANCELED_DEVICE_CONFIRMATION:"fdecc",FAILED_USER_DELETION:"fdu",FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN:"feacft",FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS:"feccft",FAILED_EXCHANGE_CUSTOM_TOKEN:"fecte",FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN:"fede",FAILED_FEDERATED_LOGOUT:"federated_logout_failed",FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN:"fens",FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN:"feoobft",FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN:"feotpft",FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN:"fepft",FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN:"fepotpft",FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN:"fercft",FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN:"ferrt",FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN:"fertft",FAILED_HOOK:"fh",FAILED_INVITE_ACCEPT:"fi",FAILED_LOGOUT:"flo",FLOWS_EXECUTION_COMPLETED:"flows_execution_completed",FLOWS_EXECUTION_FAILED:"flows_execution_failed",FAILED_SENDING_NOTIFICATION:"fn",FORMS_SUBMISSION_FAILED:"forms_submission_failed",FORMS_SUBMISSION_SUCCEEDED:"forms_submission_succeeded",FAILED_LOGIN_INCORRECT_PASSWORD:"fp",FAILED_PUSHED_AUTHORIZATION_REQUEST:"fpar",FAILED_POST_USER_REGISTRATION_HOOK:"fpurh",FAILED_SIGNUP:"fs",FAILED_SILENT_AUTH:"fsa",FAILED_LOGIN_INVALID_EMAIL_USERNAME:"fu",FAILED_USERS_IMPORT:"fui",FAILED_VERIFICATION_EMAIL:"fv",FAILED_VERIFICATION_EMAIL_REQUEST:"fvr",EMAIL_VERIFICATION_CONFIRMED:"gd_auth_email_verification",EMAIL_VERIFICATION_FAILED:"gd_auth_fail_email_verification",MFA_AUTH_FAILED:"gd_auth_failed",MFA_AUTH_REJECTED:"gd_auth_rejected",MFA_AUTH_SUCCESS:"gd_auth_succeed",MFA_ENROLLMENT_COMPLETE:"gd_enrollment_complete",TOO_MANY_MFA_FAILURES:"gd_otp_rate_limit_exceed",MFA_RECOVERY_FAILED:"gd_recovery_failed",MFA_RECOVERY_RATE_LIMIT_EXCEED:"gd_recovery_rate_limit_exceed",MFA_RECOVERY_SUCCESS:"gd_recovery_succeed",MFA_EMAIL_SENT:"gd_send_email",EMAIL_VERIFICATION_SENT:"gd_send_email_verification",EMAIL_VERIFICATION_SEND_FAILURE:"gd_send_email_verification_failure",PUSH_NOTIFICATION_SENT:"gd_send_pn",ERROR_SENDING_MFA_PUSH_NOTIFICATION:"gd_send_pn_failure",MFA_SMS_SENT:"gd_send_sms",ERROR_SENDING_MFA_SMS:"gd_send_sms_failure",MFA_VOICE_CALL_SUCCESS:"gd_send_voice",MFA_VOICE_CALL_FAILED:"gd_send_voice_failure",SECOND_FACTOR_STARTED:"gd_start_auth",MFA_ENROLL_STARTED:"gd_start_enroll",MFA_ENROLLMENT_FAILED:"gd_start_enroll_failed",GUARDIAN_TENANT_UPDATE:"gd_tenant_update",UNENROLL_DEVICE_ACCOUNT:"gd_unenroll",UPDATE_DEVICE_ACCOUNT:"gd_update_device_account",WEBAUTHN_CHALLENGE_FAILED:"gd_webauthn_challenge_failed",WEBAUTHN_ENROLLMENT_FAILED:"gd_webauthn_enrollment_failed",FAILED_KMS_API_OPERATION:"kms_key_management_failure",SUCCESS_KMS_API_OPERATION:"kms_key_management_success",KMS_KEY_STATE_CHANGED:"kms_key_state_changed",TOO_MANY_CALLS_TO_DELEGATION:"limit_delegation",BLOCKED_IP_ADDRESS:"limit_mu",BLOCKED_ACCOUNT_IP:"limit_sul",BLOCKED_ACCOUNT_EMAIL:"limit_wc",MFA_REQUIRED:"mfar",MANAGEMENT_API_READ_OPERATION:"mgmt_api_read",FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT:"my_account_authentication_method_failed",SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT:"my_account_authentication_method_succeeded",FAILED_OIDC_BACKCHANNEL_LOGOUT:"oidc_backchannel_logout_failed",SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT:"oidc_backchannel_logout_succeeded",ORGANIZATION_MEMBER_ADDED:"organization_member_added",PASSKEY_CHALLENGE_FAILED:"passkey_challenge_failed",PASSKEY_CHALLENGE_STARTED:"passkey_challenge_started",PRE_LOGIN_ASSESSMENT:"pla",BREACHED_PASSWORD:"pwd_leak",BREACHED_PASSWORD_ON_RESET:"reset_pwd_leak",SUCCESS_RESOURCE_CLEANUP:"resource_cleanup",RICH_CONSENTS_ACCESS_ERROR:"rich_consents_access_error",SUCCESS_LOGIN:"s",SUCCESS_API_OPERATION:"sapi",SUCCESS_CHANGE_EMAIL:"sce",SUCCESS_CROSS_ORIGIN_AUTHENTICATION:"scoa",SUCCESS_CHANGE_PASSWORD:"scp",SUCCESS_CHANGE_PHONE_NUMBER:"scpn",SUCCESS_CHANGE_PASSWORD_REQUEST:"scpr",SUCCESS_CHANGE_USERNAME:"scu",SUCCESS_CREDENTIAL_VALIDATION:"scv",SUCCESS_DELEGATION:"sd",SUCCESS_USER_DELETION:"sdu",SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN:"seacft",SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS:"seccft",SUCCESS_EXCHANGE_CUSTOM_TOKEN:"secte",SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN:"sede",SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN:"sens",SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN:"seoobft",SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN:"seotpft",SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN:"sepft",SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN:"sepkoobft",SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN:"sepkotpft",SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN:"sepkrcft",SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN:"sercft",SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN:"sertft",SUCCESSFULLY_ACCEPTED_USER_INVITE:"si",BREACHED_PASSWORD_ON_SIGNUP:"signup_pwd_leak",SUCCESS_LOGOUT:"slo",SUCCESS_REVOCATION:"srrt",SUCCESS_SIGNUP:"ss",FAILED_SS_SSO_OPERATION:"ss_sso_failure",INFORMATION_FROM_SS_SSO_OPERATION:"ss_sso_info",SUCCESS_SS_SSO_OPERATION:"ss_sso_success",SUCCESS_SILENT_AUTH:"ssa",SUCCESSFUL_SCIM_OPERATION:"sscim",SUCCESSFULLY_IMPORTED_USERS:"sui",SUCCESS_VERIFICATION_EMAIL:"sv",SUCCESS_VERIFICATION_EMAIL_REQUEST:"svr",MAX_AMOUNT_OF_AUTHENTICATORS:"too_many_records",USER_LOGIN_BLOCK_RELEASED:"ublkdu",FAILED_UNIVERSAL_LOGOUT:"universal_logout_failed",SUCCESSFUL_UNIVERSAL_LOGOUT:"universal_logout_succeeded",WARNING_DURING_LOGIN:"w",WARNING_SENDING_NOTIFICATION:"wn",WARNING_USER_MANAGEMENT:"wum"},it=e.z.string().refine(t=>Object.values(ne).includes(t),{message:"Invalid log type"}),ie=e.z.object({name:e.z.string(),version:e.z.string(),env:e.z.object({node:e.z.string().optional()}).optional()}),ae=e.z.object({country_code:e.z.string().length(2),country_code3:e.z.string().length(3),country_name:e.z.string(),city_name:e.z.string(),latitude:e.z.string(),longitude:e.z.string(),time_zone:e.z.string(),continent_code:e.z.string()}),se=e.z.object({type:it,date:e.z.string(),description:e.z.string().optional(),ip:e.z.string().optional(),user_agent:e.z.string().optional(),details:e.z.any().optional(),isMobile:e.z.boolean(),user_id:e.z.string().optional(),user_name:e.z.string().optional(),connection:e.z.string().optional(),connection_id:e.z.string().optional(),client_id:e.z.string().optional(),client_name:e.z.string().optional(),audience:e.z.string().optional(),scope:e.z.string().optional(),strategy:e.z.string().optional(),strategy_type:e.z.string().optional(),hostname:e.z.string().optional(),auth0_client:ie.optional(),log_id:e.z.string().optional(),location_info:ae.optional()}),at=e.z.object({...se.shape,log_id:e.z.string()}),re=e.z.object({user_id:e.z.string(),password:e.z.string(),algorithm:e.z.enum(["bcrypt","argon2id"]).default("argon2id")}),st=e.z.object({...re.shape,created_at:e.z.string(),updated_at:e.z.string()}),le=e.z.object({initial_user_agent:e.z.string().describe("First user agent of the device from which this user logged in"),initial_ip:e.z.string().describe("First IP address associated with this session"),initial_asn:e.z.string().describe("First autonomous system number associated with this session"),last_user_agent:e.z.string().describe("Last user agent of the device from which this user logged in"),last_ip:e.z.string().describe("Last IP address from which this user logged in"),last_asn:e.z.string().describe("Last autonomous system number from which this user logged in")}),ce=e.z.object({id:e.z.string(),revoked_at:e.z.string().optional(),used_at:e.z.string().optional(),user_id:e.z.string().describe("The user ID associated with the session"),expires_at:e.z.string().optional(),login_session_id:e.z.string(),idle_expires_at:e.z.string().optional(),device:le.describe("Metadata related to the device used in the session"),clients:e.z.array(e.z.string()).describe("List of client details for the session")}),rt=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...ce.shape}),lt=e.z.object({kid:e.z.string().openapi({description:"The key id of the signing key"}),cert:e.z.string().openapi({description:"The public certificate of the signing key"}),fingerprint:e.z.string().openapi({description:"The cert fingerprint"}),thumbprint:e.z.string().openapi({description:"The cert thumbprint"}),pkcs7:e.z.string().optional().openapi({description:"The private key in pkcs7 format"}),current:e.z.boolean().optional().openapi({description:"True if the key is the current key"}),next:e.z.boolean().optional().openapi({description:"True if the key is the next key"}),previous:e.z.boolean().optional().openapi({description:"True if the key is the previous key"}),current_since:e.z.string().optional().openapi({description:"The date and time when the key became the current key"}),current_until:e.z.string().optional().openapi({description:"The date and time when the current key was rotated"}),revoked:e.z.boolean().optional().openapi({description:"True if the key is revoked"}),revoked_at:e.z.string().optional().openapi({description:"The date and time when the key was revoked"}),connection:e.z.string().optional().openapi({description:"The connection identifier associated with the key"}),type:e.z.enum(["jwt_signing","saml_encryption"]).openapi({description:"The type of the signing key"})});var _e=(t=>(t.RefreshToken="refresh_token",t.AuthorizationCode="authorization_code",t.ClientCredential="client_credentials",t.Passwordless="passwordless",t.Password="password",t.OTP="http://auth0.com/oauth/grant-type/passwordless/otp",t))(_e||{});const ct=e.z.object({access_token:e.z.string(),id_token:e.z.string().optional(),scope:e.z.string().optional(),state:e.z.string().optional(),refresh_token:e.z.string().optional(),token_type:e.z.string(),expires_in:e.z.number()});e.z.object({code:e.z.string(),state:e.z.string().optional()});const pe=e.z.object({button_border_radius:e.z.number(),button_border_weight:e.z.number(),buttons_style:e.z.enum(["pill","rounded","sharp"]),input_border_radius:e.z.number(),input_border_weight:e.z.number(),inputs_style:e.z.enum(["pill","rounded","sharp"]),show_widget_shadow:e.z.boolean(),widget_border_weight:e.z.number(),widget_corner_radius:e.z.number()}),de=e.z.object({base_focus_color:e.z.string(),base_hover_color:e.z.string(),body_text:e.z.string(),captcha_widget_theme:e.z.enum(["auto","dark","light"]),error:e.z.string(),header:e.z.string(),icons:e.z.string(),input_background:e.z.string(),input_border:e.z.string(),input_filled_text:e.z.string(),input_labels_placeholders:e.z.string(),links_focused_components:e.z.string(),primary_button:e.z.string(),primary_button_label:e.z.string(),secondary_button_border:e.z.string(),secondary_button_label:e.z.string(),success:e.z.string(),widget_background:e.z.string(),widget_border:e.z.string()}),o=e.z.object({bold:e.z.boolean(),size:e.z.number()}),ze=e.z.object({body_text:o,buttons_text:o,font_url:e.z.string(),input_labels:o,links:o,links_style:e.z.enum(["normal","underlined"]),reference_text_size:e.z.number(),subtitle:o,title:o}),ge=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center","left","right"])}),ue=e.z.object({header_text_alignment:e.z.enum(["center","left","right"]),logo_height:e.z.number(),logo_position:e.z.enum(["center","left","none","right"]),logo_url:e.z.string(),social_buttons_layout:e.z.enum(["bottom","top"])}),me=e.z.object({borders:pe,colors:de,displayName:e.z.string(),fonts:ze,page_background:ge,widget:ue}),_t=me.extend({themeId:e.z.string()}),pt=e.z.object({universal_login_experience:e.z.enum(["new","classic"]).default("new"),identifier_first:e.z.boolean().default(!0),password_first:e.z.boolean().default(!1),webauthn_platform_first_factor:e.z.boolean()}),dt=e.z.object({name:e.z.string(),enabled:e.z.boolean().optional().default(!0),default_from_address:e.z.string().optional(),credentials:e.z.union([e.z.object({accessKeyId:e.z.string(),secretAccessKey:e.z.string(),region:e.z.string()}),e.z.object({smtp_host:e.z.array(e.z.string()),smtp_port:e.z.number(),smtp_user:e.z.string(),smtp_pass:e.z.string()}),e.z.object({api_key:e.z.string(),domain:e.z.string().optional()}),e.z.object({connectionString:e.z.string()}),e.z.object({tenantId:e.z.string(),clientId:e.z.string(),clientSecret:e.z.string()})]),settings:e.z.object({}).optional()}),he=e.z.object({id:e.z.string(),session_id:e.z.string(),user_id:e.z.string(),client_id:e.z.string(),expires_at:e.z.string().optional(),idle_expires_at:e.z.string().optional(),last_exchanged_at:e.z.string().optional(),device:le,resource_servers:e.z.array(e.z.object({audience:e.z.string(),scopes:e.z.string()})),rotating:e.z.boolean()}),zt=e.z.object({created_at:e.z.string(),...he.shape}),gt=e.z.object({to:e.z.string(),message:e.z.string()}),ut=e.z.object({name:e.z.string(),options:e.z.object({})}),Se=e.z.object({value:e.z.string(),description:e.z.string().optional()}),be=e.z.object({token_dialect:e.z.enum(["access_token","access_token_authz"]).optional(),enforce_policies:e.z.boolean().optional(),allow_skipping_userinfo:e.z.boolean().optional(),skip_userinfo:e.z.boolean().optional(),persist_client_authorization:e.z.boolean().optional(),enable_introspection_endpoint:e.z.boolean().optional(),mtls:e.z.object({bound_access_tokens:e.z.boolean().optional()}).optional()}),Ee=e.z.object({name:e.z.string(),identifier:e.z.string(),scopes:e.z.array(Se).optional(),signing_alg:e.z.string().optional(),signing_secret:e.z.string().optional(),token_lifetime:e.z.number().optional(),token_lifetime_for_web:e.z.number().optional(),skip_consent_for_verifiable_first_party_clients:e.z.boolean().optional(),allow_offline_access:e.z.boolean().optional(),verificationKey:e.z.string().optional(),options:be.optional()}),fe=e.z.object({id:e.z.string().optional(),...Ee.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),mt=e.z.array(fe),Ae=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),Ie=e.z.object({...Ae.shape,created_at:e.z.string()}),ht=e.z.array(Ie),Ce=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string(),organization_id:e.z.string().optional()}),Oe=e.z.object({...Ce.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),St=e.z.array(Oe),Te=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),resource_server_name:e.z.string(),permission_name:e.z.string(),description:e.z.string().nullable().optional(),created_at:e.z.string().optional(),organization_id:e.z.string().optional()}),bt=e.z.array(Te),ye=e.z.object({user_id:e.z.string(),role_id:e.z.string(),organization_id:e.z.string().optional()}),Ne=e.z.object({...ye.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),Et=e.z.array(Ne),Re=e.z.object({name:e.z.string().min(1).max(50).openapi({description:"The name of the role. Cannot include '<' or '>'"}),description:e.z.string().max(255).optional().openapi({description:"The description of the role"})}),Le=e.z.object({id:e.z.string().openapi({description:"The unique identifier of the role"}),...Re.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),ft=e.z.array(Le),De=e.z.object({logo_url:e.z.string().optional().openapi({description:"URL of the organization's logo"}),colors:e.z.object({primary:e.z.string().optional().openapi({description:"Primary color in hex format (e.g., #FF0000)"}),page_background:e.z.string().optional().openapi({description:"Page background color in hex format (e.g., #FFFFFF)"})}).optional()}).optional(),we=e.z.object({connection_id:e.z.string().openapi({description:"ID of the connection"}),assign_membership_on_login:e.z.boolean().default(!1).openapi({description:"Whether to assign membership to the organization on login"}),show_as_button:e.z.boolean().default(!0).openapi({description:"Whether to show this connection as a button in the login screen"}),is_signup_enabled:e.z.boolean().default(!0).openapi({description:"Whether signup is enabled for this connection"})}),je=e.z.object({client_credentials:e.z.object({enforce:e.z.boolean().default(!1).openapi({description:"Whether to enforce token quota limits"}),per_day:e.z.number().min(0).default(0).openapi({description:"Maximum tokens per day (0 = unlimited)"}),per_hour:e.z.number().min(0).default(0).openapi({description:"Maximum tokens per hour (0 = unlimited)"})}).optional()}).optional(),ke=e.z.object({id:e.z.string().optional(),name:e.z.string().min(1).openapi({description:"The name of the organization"}),display_name:e.z.string().optional().openapi({description:"The display name of the organization"}),branding:De,metadata:e.z.record(e.z.any()).default({}).optional().openapi({description:"Custom metadata for the organization"}),enabled_connections:e.z.array(we).default([]).optional().openapi({description:"List of enabled connections for the organization"}),token_quota:je}),At=e.z.object({...ke.shape,...n.shape,id:e.z.string()}),Ue=e.z.object({user_id:e.z.string().openapi({description:"ID of the user"}),organization_id:e.z.string().openapi({description:"ID of the organization"})}),It=e.z.object({...Ue.shape,...n.shape,id:e.z.string()}),Ct=e.z.object({idle_session_lifetime:e.z.number().optional(),session_lifetime:e.z.number().optional(),session_cookie:e.z.object({mode:e.z.enum(["persistent","non-persistent"]).optional()}).optional(),enable_client_connections:e.z.boolean().optional(),default_redirection_uri:e.z.string().optional(),enabled_locales:e.z.array(e.z.string()).optional(),default_directory:e.z.string().optional(),error_page:e.z.object({html:e.z.string().optional(),show_log_link:e.z.boolean().optional(),url:e.z.string().optional()}).optional(),flags:e.z.object({allow_legacy_delegation_grant_types:e.z.boolean().optional(),allow_legacy_ro_grant_types:e.z.boolean().optional(),allow_legacy_tokeninfo_endpoint:e.z.boolean().optional(),disable_clickjack_protection_headers:e.z.boolean().optional(),enable_apis_section:e.z.boolean().optional(),enable_client_connections:e.z.boolean().optional(),enable_custom_domain_in_emails:e.z.boolean().optional(),enable_dynamic_client_registration:e.z.boolean().optional(),enable_idtoken_api2:e.z.boolean().optional(),enable_legacy_logs_search_v2:e.z.boolean().optional(),enable_legacy_profile:e.z.boolean().optional(),enable_pipeline2:e.z.boolean().optional(),enable_public_signup_user_exists_error:e.z.boolean().optional(),use_scope_descriptions_for_consent:e.z.boolean().optional(),disable_management_api_sms_obfuscation:e.z.boolean().optional(),enable_adfs_waad_email_verification:e.z.boolean().optional(),revoke_refresh_token_grant:e.z.boolean().optional(),dashboard_log_streams_next:e.z.boolean().optional(),dashboard_insights_view:e.z.boolean().optional(),disable_fields_map_fix:e.z.boolean().optional(),mfa_show_factor_list_on_enrollment:e.z.boolean().optional()}).optional(),friendly_name:e.z.string().optional(),picture_url:e.z.string().optional(),support_email:e.z.string().optional(),support_url:e.z.string().optional(),sandbox_version:e.z.string().optional(),sandbox_versions_available:e.z.array(e.z.string()).optional(),change_password:e.z.object({enabled:e.z.boolean(),html:e.z.string()}).optional(),guardian_mfa_page:e.z.object({enabled:e.z.boolean(),html:e.z.string()}).optional(),default_audience:e.z.string().optional(),default_organization:e.z.string().optional(),sessions:e.z.object({oidc_logout_prompt_enabled:e.z.boolean().optional()}).optional()});function Ot(t){const[a,s]=t.split("|");if(!a||!s)throw new Error(`Invalid user_id: ${t}`);return{connection:a,id:s}}exports.Auth0Client=ie;exports.AuthorizationResponseMode=z;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=g;exports.ComponentCategory=p;exports.ComponentType=_;exports.GrantType=_e;exports.LocationInfo=ae;exports.LogTypes=ne;exports.NodeType=R;exports.auth0FlowInsertSchema=Ge;exports.auth0FlowSchema=v;exports.auth0UserResponseSchema=Fe;exports.authParamsSchema=F;exports.baseUserSchema=c;exports.bordersSchema=pe;exports.brandingSchema=Ke;exports.buttonComponentSchema=C;exports.clientGrantInsertSchema=f;exports.clientGrantListSchema=xe;exports.clientGrantSchema=A;exports.clientInsertSchema=b;exports.clientSchema=E;exports.codeInsertSchema=B;exports.codeSchema=Be;exports.codeTypeSchema=K;exports.colorsSchema=de;exports.componentSchema=N;exports.connectionInsertSchema=M;exports.connectionOptionsSchema=P;exports.connectionSchema=H;exports.coordinatesSchema=i;exports.customDomainInsertSchema=W;exports.customDomainSchema=V;exports.customDomainWithTenantIdSchema=We;exports.emailProviderSchema=dt;exports.endingSchema=U;exports.fieldComponentSchema=T;exports.flowNodeSchema=D;exports.fontDetailsSchema=o;exports.fontsSchema=ze;exports.formControlSchema=Xe;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=q;exports.formSchema=Ve;exports.genericComponentSchema=y;exports.genericNodeSchema=w;exports.hookInsertSchema=Qe;exports.hookSchema=$e;exports.identitySchema=m;exports.inviteInsertSchema=ee;exports.inviteSchema=et;exports.inviteeSchema=$;exports.inviterSchema=Z;exports.jwksKeySchema=tt;exports.jwksSchema=te;exports.legalComponentSchema=O;exports.logInsertSchema=se;exports.logSchema=at;exports.loginSessionInsertSchema=oe;exports.loginSessionSchema=nt;exports.nodeSchema=j;exports.openIDConfigurationSchema=ot;exports.organizationBrandingSchema=De;exports.organizationEnabledConnectionSchema=we;exports.organizationInsertSchema=ke;exports.organizationSchema=At;exports.organizationTokenQuotaSchema=je;exports.pageBackgroundSchema=ge;exports.parseUserId=Ot;exports.passwordInsertSchema=re;exports.passwordSchema=st;exports.profileDataSchema=u;exports.promptSettingSchema=pt;exports.refreshTokenInsertSchema=he;exports.refreshTokenSchema=zt;exports.resourceServerInsertSchema=Ee;exports.resourceServerListSchema=mt;exports.resourceServerOptionsSchema=be;exports.resourceServerSchema=fe;exports.resourceServerScopeSchema=Se;exports.richTextComponentSchema=I;exports.roleInsertSchema=Re;exports.roleListSchema=ft;exports.rolePermissionInsertSchema=Ae;exports.rolePermissionListSchema=ht;exports.rolePermissionSchema=Ie;exports.roleSchema=Le;exports.sessionInsertSchema=ce;exports.sessionSchema=rt;exports.signingKeySchema=lt;exports.smsProviderSchema=ut;exports.smsSendParamsSchema=gt;exports.startSchema=k;exports.stepNodeSchema=L;exports.tenantInsertSchema=x;exports.tenantSchema=G;exports.tenantSettingsSchema=Ct;exports.themeInsertSchema=me;exports.themeSchema=_t;exports.tokenResponseSchema=ct;exports.totalsSchema=ve;exports.userInsertSchema=h;exports.userOrganizationInsertSchema=Ue;exports.userOrganizationSchema=It;exports.userPermissionInsertSchema=Ce;exports.userPermissionListSchema=St;exports.userPermissionSchema=Oe;exports.userPermissionWithDetailsListSchema=bt;exports.userPermissionWithDetailsSchema=Te;exports.userResponseSchema=Pe;exports.userRoleInsertSchema=ye;exports.userRoleListSchema=Et;exports.userRoleSchema=Ne;exports.userSchema=S;exports.verificationMethodsSchema=X;exports.widgetSchema=ue;
@@ -12788,12 +12788,40 @@ export declare const Auth0Client: z.ZodObject<{
12788
12788
  node?: string | undefined;
12789
12789
  } | undefined;
12790
12790
  }>;
12791
+ export declare const LocationInfo: z.ZodObject<{
12792
+ country_code: z.ZodString;
12793
+ country_code3: z.ZodString;
12794
+ country_name: z.ZodString;
12795
+ city_name: z.ZodString;
12796
+ latitude: z.ZodString;
12797
+ longitude: z.ZodString;
12798
+ time_zone: z.ZodString;
12799
+ continent_code: z.ZodString;
12800
+ }, "strip", z.ZodTypeAny, {
12801
+ country_code: string;
12802
+ country_code3: string;
12803
+ country_name: string;
12804
+ city_name: string;
12805
+ latitude: string;
12806
+ longitude: string;
12807
+ time_zone: string;
12808
+ continent_code: string;
12809
+ }, {
12810
+ country_code: string;
12811
+ country_code3: string;
12812
+ country_name: string;
12813
+ city_name: string;
12814
+ latitude: string;
12815
+ longitude: string;
12816
+ time_zone: string;
12817
+ continent_code: string;
12818
+ }>;
12791
12819
  export declare const logInsertSchema: z.ZodObject<{
12792
12820
  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>;
12793
12821
  date: z.ZodString;
12794
12822
  description: z.ZodOptional<z.ZodString>;
12795
12823
  ip: z.ZodOptional<z.ZodString>;
12796
- user_agent: z.ZodString;
12824
+ user_agent: z.ZodOptional<z.ZodString>;
12797
12825
  details: z.ZodOptional<z.ZodAny>;
12798
12826
  isMobile: z.ZodBoolean;
12799
12827
  user_id: z.ZodOptional<z.ZodString>;
@@ -12803,7 +12831,7 @@ export declare const logInsertSchema: z.ZodObject<{
12803
12831
  client_id: z.ZodOptional<z.ZodString>;
12804
12832
  client_name: z.ZodOptional<z.ZodString>;
12805
12833
  audience: z.ZodOptional<z.ZodString>;
12806
- scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12834
+ scope: z.ZodOptional<z.ZodString>;
12807
12835
  strategy: z.ZodOptional<z.ZodString>;
12808
12836
  strategy_type: z.ZodOptional<z.ZodString>;
12809
12837
  hostname: z.ZodOptional<z.ZodString>;
@@ -12831,20 +12859,48 @@ export declare const logInsertSchema: z.ZodObject<{
12831
12859
  } | undefined;
12832
12860
  }>>;
12833
12861
  log_id: z.ZodOptional<z.ZodString>;
12862
+ location_info: z.ZodOptional<z.ZodObject<{
12863
+ country_code: z.ZodString;
12864
+ country_code3: z.ZodString;
12865
+ country_name: z.ZodString;
12866
+ city_name: z.ZodString;
12867
+ latitude: z.ZodString;
12868
+ longitude: z.ZodString;
12869
+ time_zone: z.ZodString;
12870
+ continent_code: z.ZodString;
12871
+ }, "strip", z.ZodTypeAny, {
12872
+ country_code: string;
12873
+ country_code3: string;
12874
+ country_name: string;
12875
+ city_name: string;
12876
+ latitude: string;
12877
+ longitude: string;
12878
+ time_zone: string;
12879
+ continent_code: string;
12880
+ }, {
12881
+ country_code: string;
12882
+ country_code3: string;
12883
+ country_name: string;
12884
+ city_name: string;
12885
+ latitude: string;
12886
+ longitude: string;
12887
+ time_zone: string;
12888
+ continent_code: string;
12889
+ }>>;
12834
12890
  }, "strip", z.ZodTypeAny, {
12835
12891
  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";
12836
12892
  date: string;
12837
- user_agent: string;
12838
12893
  isMobile: boolean;
12839
12894
  description?: string | undefined;
12840
12895
  connection?: string | undefined;
12841
12896
  user_id?: string | undefined;
12842
12897
  client_id?: string | undefined;
12843
12898
  audience?: string | undefined;
12844
- scope?: string[] | undefined;
12899
+ scope?: string | undefined;
12845
12900
  strategy?: string | undefined;
12846
12901
  connection_id?: string | undefined;
12847
12902
  ip?: string | undefined;
12903
+ user_agent?: string | undefined;
12848
12904
  details?: any;
12849
12905
  user_name?: string | undefined;
12850
12906
  client_name?: string | undefined;
@@ -12858,20 +12914,30 @@ export declare const logInsertSchema: z.ZodObject<{
12858
12914
  } | undefined;
12859
12915
  } | undefined;
12860
12916
  log_id?: string | undefined;
12917
+ location_info?: {
12918
+ country_code: string;
12919
+ country_code3: string;
12920
+ country_name: string;
12921
+ city_name: string;
12922
+ latitude: string;
12923
+ longitude: string;
12924
+ time_zone: string;
12925
+ continent_code: string;
12926
+ } | undefined;
12861
12927
  }, {
12862
12928
  type: string;
12863
12929
  date: string;
12864
- user_agent: string;
12865
12930
  isMobile: boolean;
12866
12931
  description?: string | undefined;
12867
12932
  connection?: string | undefined;
12868
12933
  user_id?: string | undefined;
12869
12934
  client_id?: string | undefined;
12870
12935
  audience?: string | undefined;
12871
- scope?: string[] | undefined;
12936
+ scope?: string | undefined;
12872
12937
  strategy?: string | undefined;
12873
12938
  connection_id?: string | undefined;
12874
12939
  ip?: string | undefined;
12940
+ user_agent?: string | undefined;
12875
12941
  details?: any;
12876
12942
  user_name?: string | undefined;
12877
12943
  client_name?: string | undefined;
@@ -12885,6 +12951,16 @@ export declare const logInsertSchema: z.ZodObject<{
12885
12951
  } | undefined;
12886
12952
  } | undefined;
12887
12953
  log_id?: string | undefined;
12954
+ location_info?: {
12955
+ country_code: string;
12956
+ country_code3: string;
12957
+ country_name: string;
12958
+ city_name: string;
12959
+ latitude: string;
12960
+ longitude: string;
12961
+ time_zone: string;
12962
+ continent_code: string;
12963
+ } | undefined;
12888
12964
  }>;
12889
12965
  export type LogInsert = z.infer<typeof logInsertSchema>;
12890
12966
  export declare const logSchema: z.ZodObject<{
@@ -12893,7 +12969,7 @@ export declare const logSchema: z.ZodObject<{
12893
12969
  date: z.ZodString;
12894
12970
  description: z.ZodOptional<z.ZodString>;
12895
12971
  ip: z.ZodOptional<z.ZodString>;
12896
- user_agent: z.ZodString;
12972
+ user_agent: z.ZodOptional<z.ZodString>;
12897
12973
  details: z.ZodOptional<z.ZodAny>;
12898
12974
  isMobile: z.ZodBoolean;
12899
12975
  user_id: z.ZodOptional<z.ZodString>;
@@ -12903,7 +12979,7 @@ export declare const logSchema: z.ZodObject<{
12903
12979
  client_id: z.ZodOptional<z.ZodString>;
12904
12980
  client_name: z.ZodOptional<z.ZodString>;
12905
12981
  audience: z.ZodOptional<z.ZodString>;
12906
- scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12982
+ scope: z.ZodOptional<z.ZodString>;
12907
12983
  strategy: z.ZodOptional<z.ZodString>;
12908
12984
  strategy_type: z.ZodOptional<z.ZodString>;
12909
12985
  hostname: z.ZodOptional<z.ZodString>;
@@ -12930,10 +13006,37 @@ export declare const logSchema: z.ZodObject<{
12930
13006
  node?: string | undefined;
12931
13007
  } | undefined;
12932
13008
  }>>;
13009
+ location_info: z.ZodOptional<z.ZodObject<{
13010
+ country_code: z.ZodString;
13011
+ country_code3: z.ZodString;
13012
+ country_name: z.ZodString;
13013
+ city_name: z.ZodString;
13014
+ latitude: z.ZodString;
13015
+ longitude: z.ZodString;
13016
+ time_zone: z.ZodString;
13017
+ continent_code: z.ZodString;
13018
+ }, "strip", z.ZodTypeAny, {
13019
+ country_code: string;
13020
+ country_code3: string;
13021
+ country_name: string;
13022
+ city_name: string;
13023
+ latitude: string;
13024
+ longitude: string;
13025
+ time_zone: string;
13026
+ continent_code: string;
13027
+ }, {
13028
+ country_code: string;
13029
+ country_code3: string;
13030
+ country_name: string;
13031
+ city_name: string;
13032
+ latitude: string;
13033
+ longitude: string;
13034
+ time_zone: string;
13035
+ continent_code: string;
13036
+ }>>;
12933
13037
  }, "strip", z.ZodTypeAny, {
12934
13038
  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";
12935
13039
  date: string;
12936
- user_agent: string;
12937
13040
  isMobile: boolean;
12938
13041
  log_id: string;
12939
13042
  description?: string | undefined;
@@ -12941,10 +13044,11 @@ export declare const logSchema: z.ZodObject<{
12941
13044
  user_id?: string | undefined;
12942
13045
  client_id?: string | undefined;
12943
13046
  audience?: string | undefined;
12944
- scope?: string[] | undefined;
13047
+ scope?: string | undefined;
12945
13048
  strategy?: string | undefined;
12946
13049
  connection_id?: string | undefined;
12947
13050
  ip?: string | undefined;
13051
+ user_agent?: string | undefined;
12948
13052
  details?: any;
12949
13053
  user_name?: string | undefined;
12950
13054
  client_name?: string | undefined;
@@ -12957,10 +13061,19 @@ export declare const logSchema: z.ZodObject<{
12957
13061
  node?: string | undefined;
12958
13062
  } | undefined;
12959
13063
  } | undefined;
13064
+ location_info?: {
13065
+ country_code: string;
13066
+ country_code3: string;
13067
+ country_name: string;
13068
+ city_name: string;
13069
+ latitude: string;
13070
+ longitude: string;
13071
+ time_zone: string;
13072
+ continent_code: string;
13073
+ } | undefined;
12960
13074
  }, {
12961
13075
  type: string;
12962
13076
  date: string;
12963
- user_agent: string;
12964
13077
  isMobile: boolean;
12965
13078
  log_id: string;
12966
13079
  description?: string | undefined;
@@ -12968,10 +13081,11 @@ export declare const logSchema: z.ZodObject<{
12968
13081
  user_id?: string | undefined;
12969
13082
  client_id?: string | undefined;
12970
13083
  audience?: string | undefined;
12971
- scope?: string[] | undefined;
13084
+ scope?: string | undefined;
12972
13085
  strategy?: string | undefined;
12973
13086
  connection_id?: string | undefined;
12974
13087
  ip?: string | undefined;
13088
+ user_agent?: string | undefined;
12975
13089
  details?: any;
12976
13090
  user_name?: string | undefined;
12977
13091
  client_name?: string | undefined;
@@ -12984,6 +13098,16 @@ export declare const logSchema: z.ZodObject<{
12984
13098
  node?: string | undefined;
12985
13099
  } | undefined;
12986
13100
  } | undefined;
13101
+ location_info?: {
13102
+ country_code: string;
13103
+ country_code3: string;
13104
+ country_name: string;
13105
+ city_name: string;
13106
+ latitude: string;
13107
+ longitude: string;
13108
+ time_zone: string;
13109
+ continent_code: string;
13110
+ } | undefined;
12987
13111
  }>;
12988
13112
  export type Log = z.infer<typeof logSchema>;
12989
13113
  export declare const passwordInsertSchema: z.ZodObject<{
@@ -17168,6 +17292,23 @@ export interface InvitesAdapter {
17168
17292
  list(tenant_id: string, params?: ListParams): Promise<ListInvitesResponse>;
17169
17293
  update(tenant_id: string, id: string, params: Partial<InviteInsert>): Promise<boolean>;
17170
17294
  }
17295
+ export interface GeoInfo {
17296
+ country_code: string;
17297
+ country_code3: string;
17298
+ country_name: string;
17299
+ city_name: string;
17300
+ latitude: string;
17301
+ longitude: string;
17302
+ time_zone: string;
17303
+ continent_code: string;
17304
+ }
17305
+ export interface GeoAdapter {
17306
+ /**
17307
+ * Get geo information from the current request
17308
+ * @returns Geo information or null if not available
17309
+ */
17310
+ getGeoInfo(): Promise<GeoInfo | null>;
17311
+ }
17171
17312
  export interface DataAdapters {
17172
17313
  branding: BrandingAdapter;
17173
17314
  cache?: CacheAdapter;
@@ -17179,6 +17320,7 @@ export interface DataAdapters {
17179
17320
  customDomains: CustomDomainsAdapter;
17180
17321
  emailProviders: EmailProvidersAdapter;
17181
17322
  forms: FormsAdapter;
17323
+ geo?: GeoAdapter;
17182
17324
  hooks: HooksAdapter;
17183
17325
  invites: InvitesAdapter;
17184
17326
  keys: KeysAdapter;
@@ -1,5 +1,5 @@
1
1
  import { z as e } from "@hono/zod-openapi";
2
- const ze = e.object({
2
+ const Be = e.object({
3
3
  start: e.number(),
4
4
  limit: e.number(),
5
5
  length: e.number()
@@ -56,7 +56,7 @@ const ze = e.object({
56
56
  email: e.string().optional(),
57
57
  login_count: e.number().default(0),
58
58
  identities: e.array(f).optional()
59
- }), Be = A, We = _.extend({
59
+ }), We = A, Xe = _.extend({
60
60
  login_count: e.number(),
61
61
  multifactor: e.array(e.string()).optional(),
62
62
  last_ip: e.string().optional(),
@@ -272,7 +272,7 @@ const O = e.object({
272
272
  ...N.shape,
273
273
  created_at: e.string().optional(),
274
274
  updated_at: e.string().optional()
275
- }), Xe = e.array(y), a = e.object({
275
+ }), Ve = e.array(y), a = e.object({
276
276
  x: e.number(),
277
277
  y: e.number()
278
278
  });
@@ -447,7 +447,7 @@ const F = e.object({
447
447
  sdkSrc: e.string().optional(),
448
448
  sdk_src: e.string().optional()
449
449
  }).passthrough()
450
- }).passthrough(), Ve = G.omit({
450
+ }).passthrough(), qe = G.omit({
451
451
  id: !0,
452
452
  created_at: !0,
453
453
  updated_at: !0
@@ -471,7 +471,7 @@ const K = e.object({
471
471
  ui_locales: e.string().optional(),
472
472
  // The following fields are not available in Auth0
473
473
  vendor_id: e.string().optional()
474
- }), qe = e.object({
474
+ }), Ye = e.object({
475
475
  colors: e.object({
476
476
  primary: e.string(),
477
477
  page_background: e.object({
@@ -688,7 +688,7 @@ const q = e.enum([
688
688
  expires_at: e.string(),
689
689
  used_at: e.string().optional(),
690
690
  user_id: e.string().optional()
691
- }), Ye = e.object({
691
+ }), Qe = e.object({
692
692
  ...Y.shape,
693
693
  created_at: e.string()
694
694
  }), Q = e.object({
@@ -719,9 +719,9 @@ const q = e.enum([
719
719
  methods: e.array(J)
720
720
  }).optional(),
721
721
  tls_policy: e.string().optional()
722
- }), Qe = Z.extend({
722
+ }), Je = Z.extend({
723
723
  tenant_id: e.string()
724
- }), Je = e.object({
724
+ }), Ze = e.object({
725
725
  id: e.string(),
726
726
  type: e.literal("submit"),
727
727
  label: e.string(),
@@ -847,7 +847,7 @@ const q = e.enum([
847
847
  style: e.object({ css: e.string().optional() }).optional()
848
848
  }).openapi({
849
849
  description: "Schema for flow-based forms (matches new JSON structure)"
850
- }), Ze = e.object({
850
+ }), $e = e.object({
851
851
  ...n.shape,
852
852
  ...ee.shape,
853
853
  id: e.string()
@@ -879,7 +879,7 @@ const q = e.enum([
879
879
  ...l,
880
880
  trigger_id: h,
881
881
  form_id: e.string()
882
- }), $e = e.union([
882
+ }), et = e.union([
883
883
  te,
884
884
  oe
885
885
  ]), ne = e.object({
@@ -894,7 +894,7 @@ const q = e.enum([
894
894
  ...n.shape,
895
895
  hook_id: e.string(),
896
896
  form_id: e.string()
897
- }), et = e.union([ne, ie]), ae = e.object({
897
+ }), tt = e.union([ne, ie]), ae = e.object({
898
898
  name: e.string().optional()
899
899
  }), se = e.object({
900
900
  email: e.string().optional()
@@ -910,7 +910,7 @@ const q = e.enum([
910
910
  ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
911
911
  roles: e.array(e.string()).default([]).optional(),
912
912
  send_invitation_email: e.boolean().default(!0).optional()
913
- }), tt = e.object({
913
+ }), ot = e.object({
914
914
  id: e.string(),
915
915
  organization_id: e.string().max(50),
916
916
  created_at: e.string().datetime(),
@@ -935,9 +935,9 @@ const q = e.enum([
935
935
  x5t: e.string().optional(),
936
936
  x5c: e.array(e.string()).optional(),
937
937
  use: e.enum(["sig", "enc"]).optional()
938
- }), ot = e.object({
939
- keys: e.array(le)
940
938
  }), nt = e.object({
939
+ keys: e.array(le)
940
+ }), it = e.object({
941
941
  issuer: e.string(),
942
942
  authorization_endpoint: e.string(),
943
943
  token_endpoint: e.string(),
@@ -971,7 +971,7 @@ const q = e.enum([
971
971
  login_completed: e.boolean().optional().default(!1)
972
972
  }).openapi({
973
973
  description: "This represents a login sesion"
974
- }), it = e.object({
974
+ }), at = e.object({
975
975
  ..._e.shape,
976
976
  id: e.string().openapi({
977
977
  description: "This is is used as the state in the universal login"
@@ -1155,11 +1155,20 @@ const q = e.enum([
1155
1155
  node: e.string().optional()
1156
1156
  }).optional()
1157
1157
  }), ge = e.object({
1158
+ country_code: e.string().length(2),
1159
+ country_code3: e.string().length(3),
1160
+ country_name: e.string(),
1161
+ city_name: e.string(),
1162
+ latitude: e.string(),
1163
+ longitude: e.string(),
1164
+ time_zone: e.string(),
1165
+ continent_code: e.string()
1166
+ }), ue = e.object({
1158
1167
  type: pe,
1159
1168
  date: e.string(),
1160
1169
  description: e.string().optional(),
1161
1170
  ip: e.string().optional(),
1162
- user_agent: e.string(),
1171
+ user_agent: e.string().optional(),
1163
1172
  details: e.any().optional(),
1164
1173
  // Using z.any() as a placeholder for "details" type
1165
1174
  isMobile: e.boolean(),
@@ -1170,21 +1179,22 @@ const q = e.enum([
1170
1179
  client_id: e.string().optional(),
1171
1180
  client_name: e.string().optional(),
1172
1181
  audience: e.string().optional(),
1173
- scope: e.array(e.string()).optional(),
1182
+ scope: e.string().optional(),
1174
1183
  strategy: e.string().optional(),
1175
1184
  strategy_type: e.string().optional(),
1176
1185
  hostname: e.string().optional(),
1177
1186
  auth0_client: de.optional(),
1178
- log_id: e.string().optional()
1179
- }), at = e.object({
1180
- ...ge.shape,
1187
+ log_id: e.string().optional(),
1188
+ location_info: ge.optional()
1189
+ }), st = e.object({
1190
+ ...ue.shape,
1181
1191
  log_id: e.string()
1182
- }), ue = e.object({
1192
+ }), me = e.object({
1183
1193
  user_id: e.string(),
1184
1194
  password: e.string(),
1185
1195
  algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id")
1186
- }), st = e.object({
1187
- ...ue.shape,
1196
+ }), rt = e.object({
1197
+ ...me.shape,
1188
1198
  created_at: e.string(),
1189
1199
  updated_at: e.string()
1190
1200
  }), b = e.object({
@@ -1194,7 +1204,7 @@ const q = e.enum([
1194
1204
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
1195
1205
  last_ip: e.string().describe("Last IP address from which this user logged in"),
1196
1206
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
1197
- }), me = e.object({
1207
+ }), he = e.object({
1198
1208
  id: e.string(),
1199
1209
  revoked_at: e.string().optional(),
1200
1210
  used_at: e.string().optional(),
@@ -1206,13 +1216,13 @@ const q = e.enum([
1206
1216
  "Metadata related to the device used in the session"
1207
1217
  ),
1208
1218
  clients: e.array(e.string()).describe("List of client details for the session")
1209
- }), rt = e.object({
1219
+ }), lt = e.object({
1210
1220
  created_at: e.string(),
1211
1221
  updated_at: e.string(),
1212
1222
  authenticated_at: e.string(),
1213
1223
  last_interaction_at: e.string(),
1214
- ...me.shape
1215
- }), lt = e.object({
1224
+ ...he.shape
1225
+ }), _t = e.object({
1216
1226
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1217
1227
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1218
1228
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1238,8 +1248,8 @@ const q = e.enum([
1238
1248
  description: "The type of the signing key"
1239
1249
  })
1240
1250
  });
1241
- var he = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(he || {});
1242
- const _t = e.object({
1251
+ var be = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(be || {});
1252
+ const ct = e.object({
1243
1253
  access_token: e.string(),
1244
1254
  id_token: e.string().optional(),
1245
1255
  scope: e.string().optional(),
@@ -1252,7 +1262,7 @@ e.object({
1252
1262
  code: e.string(),
1253
1263
  state: e.string().optional()
1254
1264
  });
1255
- const be = e.object({
1265
+ const Ee = e.object({
1256
1266
  button_border_radius: e.number(),
1257
1267
  button_border_weight: e.number(),
1258
1268
  buttons_style: e.enum(["pill", "rounded", "sharp"]),
@@ -1262,7 +1272,7 @@ const be = e.object({
1262
1272
  show_widget_shadow: e.boolean(),
1263
1273
  widget_border_weight: e.number(),
1264
1274
  widget_corner_radius: e.number()
1265
- }), Ee = e.object({
1275
+ }), fe = e.object({
1266
1276
  base_focus_color: e.string(),
1267
1277
  base_hover_color: e.string(),
1268
1278
  body_text: e.string(),
@@ -1285,7 +1295,7 @@ const be = e.object({
1285
1295
  }), o = e.object({
1286
1296
  bold: e.boolean(),
1287
1297
  size: e.number()
1288
- }), fe = e.object({
1298
+ }), Se = e.object({
1289
1299
  body_text: o,
1290
1300
  buttons_text: o,
1291
1301
  font_url: e.string(),
@@ -1295,31 +1305,31 @@ const be = e.object({
1295
1305
  reference_text_size: e.number(),
1296
1306
  subtitle: o,
1297
1307
  title: o
1298
- }), Se = e.object({
1308
+ }), Ae = e.object({
1299
1309
  background_color: e.string(),
1300
1310
  background_image_url: e.string(),
1301
1311
  page_layout: e.enum(["center", "left", "right"])
1302
- }), Ae = e.object({
1312
+ }), Ie = e.object({
1303
1313
  header_text_alignment: e.enum(["center", "left", "right"]),
1304
1314
  logo_height: e.number(),
1305
1315
  logo_position: e.enum(["center", "left", "none", "right"]),
1306
1316
  logo_url: e.string(),
1307
1317
  social_buttons_layout: e.enum(["bottom", "top"])
1308
- }), Ie = e.object({
1309
- borders: be,
1310
- colors: Ee,
1318
+ }), Ce = e.object({
1319
+ borders: Ee,
1320
+ colors: fe,
1311
1321
  displayName: e.string(),
1312
- fonts: fe,
1313
- page_background: Se,
1314
- widget: Ae
1315
- }), ct = Ie.extend({
1322
+ fonts: Se,
1323
+ page_background: Ae,
1324
+ widget: Ie
1325
+ }), pt = Ce.extend({
1316
1326
  themeId: e.string()
1317
- }), pt = e.object({
1327
+ }), dt = e.object({
1318
1328
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1319
1329
  identifier_first: e.boolean().default(!0),
1320
1330
  password_first: e.boolean().default(!1),
1321
1331
  webauthn_platform_first_factor: e.boolean()
1322
- }), dt = e.object({
1332
+ }), gt = e.object({
1323
1333
  name: e.string(),
1324
1334
  enabled: e.boolean().optional().default(!0),
1325
1335
  default_from_address: e.string().optional(),
@@ -1349,7 +1359,7 @@ const be = e.object({
1349
1359
  })
1350
1360
  ]),
1351
1361
  settings: e.object({}).optional()
1352
- }), Ce = e.object({
1362
+ }), Oe = e.object({
1353
1363
  // The actual refresh token value (primary key).
1354
1364
  id: e.string(),
1355
1365
  // Link to the session record
@@ -1370,21 +1380,21 @@ const be = e.object({
1370
1380
  })
1371
1381
  ),
1372
1382
  rotating: e.boolean()
1373
- }), gt = e.object({
1383
+ }), ut = e.object({
1374
1384
  // When the refresh token record was created.
1375
1385
  created_at: e.string(),
1376
1386
  // Spread in the rest of the refresh token properties.
1377
- ...Ce.shape
1378
- }), ut = e.object({
1387
+ ...Oe.shape
1388
+ }), mt = e.object({
1379
1389
  to: e.string(),
1380
1390
  message: e.string()
1381
- }), mt = e.object({
1391
+ }), ht = e.object({
1382
1392
  name: e.string(),
1383
1393
  options: e.object({})
1384
- }), Oe = e.object({
1394
+ }), Te = e.object({
1385
1395
  value: e.string(),
1386
1396
  description: e.string().optional()
1387
- }), Te = e.object({
1397
+ }), Ne = e.object({
1388
1398
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
1389
1399
  enforce_policies: e.boolean().optional(),
1390
1400
  allow_skipping_userinfo: e.boolean().optional(),
@@ -1394,10 +1404,10 @@ const be = e.object({
1394
1404
  mtls: e.object({
1395
1405
  bound_access_tokens: e.boolean().optional()
1396
1406
  }).optional()
1397
- }), Ne = e.object({
1407
+ }), ye = e.object({
1398
1408
  name: e.string(),
1399
1409
  identifier: e.string(),
1400
- scopes: e.array(Oe).optional(),
1410
+ scopes: e.array(Te).optional(),
1401
1411
  signing_alg: e.string().optional(),
1402
1412
  signing_secret: e.string().optional(),
1403
1413
  token_lifetime: e.number().optional(),
@@ -1405,29 +1415,29 @@ const be = e.object({
1405
1415
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
1406
1416
  allow_offline_access: e.boolean().optional(),
1407
1417
  verificationKey: e.string().optional(),
1408
- options: Te.optional()
1409
- }), ye = e.object({
1418
+ options: Ne.optional()
1419
+ }), Re = e.object({
1410
1420
  id: e.string().optional(),
1411
- ...Ne.shape,
1421
+ ...ye.shape,
1412
1422
  created_at: e.string().optional(),
1413
1423
  updated_at: e.string().optional()
1414
- }), ht = e.array(ye), Re = e.object({
1424
+ }), bt = e.array(Re), Le = e.object({
1415
1425
  role_id: e.string(),
1416
1426
  resource_server_identifier: e.string(),
1417
1427
  permission_name: e.string()
1418
- }), Le = e.object({
1419
- ...Re.shape,
1428
+ }), De = e.object({
1429
+ ...Le.shape,
1420
1430
  created_at: e.string()
1421
- }), bt = e.array(Le), De = e.object({
1431
+ }), Et = e.array(De), je = e.object({
1422
1432
  user_id: e.string(),
1423
1433
  resource_server_identifier: e.string(),
1424
1434
  permission_name: e.string(),
1425
1435
  organization_id: e.string().optional()
1426
- }), je = e.object({
1427
- ...De.shape,
1436
+ }), we = e.object({
1437
+ ...je.shape,
1428
1438
  tenant_id: e.string(),
1429
1439
  created_at: e.string().optional()
1430
- }), Et = e.array(je), we = e.object({
1440
+ }), ft = e.array(we), ke = e.object({
1431
1441
  user_id: e.string(),
1432
1442
  resource_server_identifier: e.string(),
1433
1443
  resource_server_name: e.string(),
@@ -1435,31 +1445,31 @@ const be = e.object({
1435
1445
  description: e.string().nullable().optional(),
1436
1446
  created_at: e.string().optional(),
1437
1447
  organization_id: e.string().optional()
1438
- }), ft = e.array(
1439
- we
1440
- ), ke = e.object({
1448
+ }), St = e.array(
1449
+ ke
1450
+ ), Ue = e.object({
1441
1451
  user_id: e.string(),
1442
1452
  role_id: e.string(),
1443
1453
  organization_id: e.string().optional()
1444
- }), Ue = e.object({
1445
- ...ke.shape,
1454
+ }), Fe = e.object({
1455
+ ...Ue.shape,
1446
1456
  tenant_id: e.string(),
1447
1457
  created_at: e.string().optional()
1448
- }), St = e.array(Ue), Fe = e.object({
1458
+ }), At = e.array(Fe), ve = e.object({
1449
1459
  name: e.string().min(1).max(50).openapi({
1450
1460
  description: "The name of the role. Cannot include '<' or '>'"
1451
1461
  }),
1452
1462
  description: e.string().max(255).optional().openapi({
1453
1463
  description: "The description of the role"
1454
1464
  })
1455
- }), ve = e.object({
1465
+ }), Pe = e.object({
1456
1466
  id: e.string().openapi({
1457
1467
  description: "The unique identifier of the role"
1458
1468
  }),
1459
- ...Fe.shape,
1469
+ ...ve.shape,
1460
1470
  created_at: e.string().optional(),
1461
1471
  updated_at: e.string().optional()
1462
- }), At = e.array(ve), Pe = e.object({
1472
+ }), It = e.array(Pe), He = e.object({
1463
1473
  logo_url: e.string().optional().openapi({
1464
1474
  description: "URL of the organization's logo"
1465
1475
  }),
@@ -1471,7 +1481,7 @@ const be = e.object({
1471
1481
  description: "Page background color in hex format (e.g., #FFFFFF)"
1472
1482
  })
1473
1483
  }).optional()
1474
- }).optional(), He = e.object({
1484
+ }).optional(), Me = e.object({
1475
1485
  connection_id: e.string().openapi({
1476
1486
  description: "ID of the connection"
1477
1487
  }),
@@ -1484,7 +1494,7 @@ const be = e.object({
1484
1494
  is_signup_enabled: e.boolean().default(!0).openapi({
1485
1495
  description: "Whether signup is enabled for this connection"
1486
1496
  })
1487
- }), Me = e.object({
1497
+ }), xe = e.object({
1488
1498
  client_credentials: e.object({
1489
1499
  enforce: e.boolean().default(!1).openapi({
1490
1500
  description: "Whether to enforce token quota limits"
@@ -1496,7 +1506,7 @@ const be = e.object({
1496
1506
  description: "Maximum tokens per hour (0 = unlimited)"
1497
1507
  })
1498
1508
  }).optional()
1499
- }).optional(), xe = e.object({
1509
+ }).optional(), Ge = e.object({
1500
1510
  id: e.string().optional(),
1501
1511
  name: e.string().min(1).openapi({
1502
1512
  description: "The name of the organization"
@@ -1504,30 +1514,30 @@ const be = e.object({
1504
1514
  display_name: e.string().optional().openapi({
1505
1515
  description: "The display name of the organization"
1506
1516
  }),
1507
- branding: Pe,
1517
+ branding: He,
1508
1518
  metadata: e.record(e.any()).default({}).optional().openapi({
1509
1519
  description: "Custom metadata for the organization"
1510
1520
  }),
1511
- enabled_connections: e.array(He).default([]).optional().openapi({
1521
+ enabled_connections: e.array(Me).default([]).optional().openapi({
1512
1522
  description: "List of enabled connections for the organization"
1513
1523
  }),
1514
- token_quota: Me
1515
- }), It = e.object({
1516
- ...xe.shape,
1524
+ token_quota: xe
1525
+ }), Ct = e.object({
1526
+ ...Ge.shape,
1517
1527
  ...n.shape,
1518
1528
  id: e.string()
1519
- }), Ge = e.object({
1529
+ }), Ke = e.object({
1520
1530
  user_id: e.string().openapi({
1521
1531
  description: "ID of the user"
1522
1532
  }),
1523
1533
  organization_id: e.string().openapi({
1524
1534
  description: "ID of the organization"
1525
1535
  })
1526
- }), Ct = e.object({
1527
- ...Ge.shape,
1536
+ }), Ot = e.object({
1537
+ ...Ke.shape,
1528
1538
  ...n.shape,
1529
1539
  id: e.string()
1530
- }), Ot = e.object({
1540
+ }), Tt = e.object({
1531
1541
  // Session settings
1532
1542
  idle_session_lifetime: e.number().optional(),
1533
1543
  session_lifetime: e.number().optional(),
@@ -1597,7 +1607,7 @@ const be = e.object({
1597
1607
  oidc_logout_prompt_enabled: e.boolean().optional()
1598
1608
  }).optional()
1599
1609
  });
1600
- function Tt(t) {
1610
+ function Nt(t) {
1601
1611
  const [i, s] = t.split("|");
1602
1612
  if (!i || !s)
1603
1613
  throw new Error(`Invalid user_id: ${t}`);
@@ -1610,26 +1620,27 @@ export {
1610
1620
  u as CodeChallengeMethod,
1611
1621
  p as ComponentCategory,
1612
1622
  c as ComponentType,
1613
- he as GrantType,
1623
+ be as GrantType,
1624
+ ge as LocationInfo,
1614
1625
  ce as LogTypes,
1615
1626
  U as NodeType,
1616
- Ve as auth0FlowInsertSchema,
1627
+ qe as auth0FlowInsertSchema,
1617
1628
  G as auth0FlowSchema,
1618
- Be as auth0UserResponseSchema,
1629
+ We as auth0UserResponseSchema,
1619
1630
  K as authParamsSchema,
1620
1631
  _ as baseUserSchema,
1621
- be as bordersSchema,
1622
- qe as brandingSchema,
1632
+ Ee as bordersSchema,
1633
+ Ye as brandingSchema,
1623
1634
  L as buttonComponentSchema,
1624
1635
  N as clientGrantInsertSchema,
1625
- Xe as clientGrantListSchema,
1636
+ Ve as clientGrantListSchema,
1626
1637
  y as clientGrantSchema,
1627
1638
  O as clientInsertSchema,
1628
1639
  T as clientSchema,
1629
1640
  Y as codeInsertSchema,
1630
- Ye as codeSchema,
1641
+ Qe as codeSchema,
1631
1642
  q as codeTypeSchema,
1632
- Ee as colorsSchema,
1643
+ fe as colorsSchema,
1633
1644
  k as componentSchema,
1634
1645
  B as connectionInsertSchema,
1635
1646
  z as connectionOptionsSchema,
@@ -1637,87 +1648,87 @@ export {
1637
1648
  a as coordinatesSchema,
1638
1649
  Q as customDomainInsertSchema,
1639
1650
  Z as customDomainSchema,
1640
- Qe as customDomainWithTenantIdSchema,
1641
- dt as emailProviderSchema,
1651
+ Je as customDomainWithTenantIdSchema,
1652
+ gt as emailProviderSchema,
1642
1653
  x as endingSchema,
1643
1654
  j as fieldComponentSchema,
1644
1655
  v as flowNodeSchema,
1645
1656
  o as fontDetailsSchema,
1646
- fe as fontsSchema,
1647
- Je as formControlSchema,
1657
+ Se as fontsSchema,
1658
+ Ze as formControlSchema,
1648
1659
  ee as formInsertSchema,
1649
1660
  $ as formNodeComponentDefinition,
1650
- Ze as formSchema,
1661
+ $e as formSchema,
1651
1662
  w as genericComponentSchema,
1652
1663
  P as genericNodeSchema,
1653
- $e as hookInsertSchema,
1654
- et as hookSchema,
1664
+ et as hookInsertSchema,
1665
+ tt as hookSchema,
1655
1666
  f as identitySchema,
1656
1667
  re as inviteInsertSchema,
1657
- tt as inviteSchema,
1668
+ ot as inviteSchema,
1658
1669
  se as inviteeSchema,
1659
1670
  ae as inviterSchema,
1660
- ot as jwksKeySchema,
1671
+ nt as jwksKeySchema,
1661
1672
  le as jwksSchema,
1662
1673
  D as legalComponentSchema,
1663
- ge as logInsertSchema,
1664
- at as logSchema,
1674
+ ue as logInsertSchema,
1675
+ st as logSchema,
1665
1676
  _e as loginSessionInsertSchema,
1666
- it as loginSessionSchema,
1677
+ at as loginSessionSchema,
1667
1678
  H as nodeSchema,
1668
- nt as openIDConfigurationSchema,
1669
- Pe as organizationBrandingSchema,
1670
- He as organizationEnabledConnectionSchema,
1671
- xe as organizationInsertSchema,
1672
- It as organizationSchema,
1673
- Me as organizationTokenQuotaSchema,
1674
- Se as pageBackgroundSchema,
1675
- Tt as parseUserId,
1676
- ue as passwordInsertSchema,
1677
- st as passwordSchema,
1679
+ it as openIDConfigurationSchema,
1680
+ He as organizationBrandingSchema,
1681
+ Me as organizationEnabledConnectionSchema,
1682
+ Ge as organizationInsertSchema,
1683
+ Ct as organizationSchema,
1684
+ xe as organizationTokenQuotaSchema,
1685
+ Ae as pageBackgroundSchema,
1686
+ Nt as parseUserId,
1687
+ me as passwordInsertSchema,
1688
+ rt as passwordSchema,
1678
1689
  E as profileDataSchema,
1679
- pt as promptSettingSchema,
1680
- Ce as refreshTokenInsertSchema,
1681
- gt as refreshTokenSchema,
1682
- Ne as resourceServerInsertSchema,
1683
- ht as resourceServerListSchema,
1684
- Te as resourceServerOptionsSchema,
1685
- ye as resourceServerSchema,
1686
- Oe as resourceServerScopeSchema,
1690
+ dt as promptSettingSchema,
1691
+ Oe as refreshTokenInsertSchema,
1692
+ ut as refreshTokenSchema,
1693
+ ye as resourceServerInsertSchema,
1694
+ bt as resourceServerListSchema,
1695
+ Ne as resourceServerOptionsSchema,
1696
+ Re as resourceServerSchema,
1697
+ Te as resourceServerScopeSchema,
1687
1698
  R as richTextComponentSchema,
1688
- Fe as roleInsertSchema,
1689
- At as roleListSchema,
1690
- Re as rolePermissionInsertSchema,
1691
- bt as rolePermissionListSchema,
1692
- Le as rolePermissionSchema,
1693
- ve as roleSchema,
1694
- me as sessionInsertSchema,
1695
- rt as sessionSchema,
1696
- lt as signingKeySchema,
1697
- mt as smsProviderSchema,
1698
- ut as smsSendParamsSchema,
1699
+ ve as roleInsertSchema,
1700
+ It as roleListSchema,
1701
+ Le as rolePermissionInsertSchema,
1702
+ Et as rolePermissionListSchema,
1703
+ De as rolePermissionSchema,
1704
+ Pe as roleSchema,
1705
+ he as sessionInsertSchema,
1706
+ lt as sessionSchema,
1707
+ _t as signingKeySchema,
1708
+ ht as smsProviderSchema,
1709
+ mt as smsSendParamsSchema,
1699
1710
  M as startSchema,
1700
1711
  F as stepNodeSchema,
1701
1712
  X as tenantInsertSchema,
1702
1713
  V as tenantSchema,
1703
- Ot as tenantSettingsSchema,
1704
- Ie as themeInsertSchema,
1705
- ct as themeSchema,
1706
- _t as tokenResponseSchema,
1707
- ze as totalsSchema,
1714
+ Tt as tenantSettingsSchema,
1715
+ Ce as themeInsertSchema,
1716
+ pt as themeSchema,
1717
+ ct as tokenResponseSchema,
1718
+ Be as totalsSchema,
1708
1719
  S as userInsertSchema,
1709
- Ge as userOrganizationInsertSchema,
1710
- Ct as userOrganizationSchema,
1711
- De as userPermissionInsertSchema,
1712
- Et as userPermissionListSchema,
1713
- je as userPermissionSchema,
1714
- ft as userPermissionWithDetailsListSchema,
1715
- we as userPermissionWithDetailsSchema,
1716
- We as userResponseSchema,
1717
- ke as userRoleInsertSchema,
1718
- St as userRoleListSchema,
1719
- Ue as userRoleSchema,
1720
+ Ke as userOrganizationInsertSchema,
1721
+ Ot as userOrganizationSchema,
1722
+ je as userPermissionInsertSchema,
1723
+ ft as userPermissionListSchema,
1724
+ we as userPermissionSchema,
1725
+ St as userPermissionWithDetailsListSchema,
1726
+ ke as userPermissionWithDetailsSchema,
1727
+ Xe as userResponseSchema,
1728
+ Ue as userRoleInsertSchema,
1729
+ At as userRoleListSchema,
1730
+ Fe as userRoleSchema,
1720
1731
  A as userSchema,
1721
1732
  J as verificationMethodsSchema,
1722
- Ae as widgetSchema
1733
+ Ie as widgetSchema
1723
1734
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.99.0",
14
+ "version": "0.100.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],