@authhero/adapter-interfaces 0.92.0 → 0.94.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()}),l=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=l.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,we=l.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()),je="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ke=(t=21)=>{let a="",r=crypto.getRandomValues(new Uint8Array(t));for(;t--;)a+=je[r[t]&63];return a};const E=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(()=>ke()).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()}),f=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),...E.shape}),b=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."}),...b.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),Pe=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 s=e.z.object({id:e.z.string(),category:e.z.nativeEnum(p),type:e.z.nativeEnum(_)}),I=s.extend({category:e.z.literal("BLOCK"),type:e.z.literal("RICH_TEXT"),config:e.z.object({content:e.z.string()}).passthrough()}),C=s.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=s.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=s.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()}),N=e.z.object({id:e.z.string(),category:e.z.string(),type:e.z.string()}).passthrough(),y=e.z.union([I,C,O,T,N]);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(y),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()})}),U=e.z.object({id:e.z.string(),type:e.z.string(),coordinates:i}).passthrough(),F=e.z.union([L,D,U]),w=e.z.object({next_node:e.z.string(),coordinates:i}).passthrough(),j=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:i}).passthrough(),k=e.z.object({id:e.z.string(),name:e.z.string(),languages:e.z.object({primary:e.z.string()}).passthrough(),nodes:e.z.array(F),start:w,ending:j,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(),ve=k.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 P=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()}),Me=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(),font:e.z.object({url:e.z.string()}).optional()}),v=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:v.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),G=e.z.object({name:e.z.string(),audience:e.z.string(),sender_email:e.z.string().email(),sender_name:e.z.string(),support_url:e.z.string().url().optional(),logo:e.z.string().url().optional(),primary_color:e.z.string().optional(),secondary_color:e.z.string().optional(),language:e.z.string().optional(),id:e.z.string().optional()}),x=e.z.object({created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t),...G.shape,id:e.z.string()});e.z.object({...f.shape,tenant:x,connections:e.z.array(H)});const K=e.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),W=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()}),He=e.z.object({...W.shape,created_at:e.z.string()}),B=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({...B.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()}),Ge=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)"}),Ke=e.z.object({...n.shape,...Y.shape,id:e.z.string()}),Q=e.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),J=e.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),c={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},We=e.z.object({...c,trigger_id:Q,url:e.z.string()}),Be=e.z.object({...c,trigger_id:J,form_id:e.z.string()}),Xe=e.z.union([We,Be]),Ve=e.z.object({...c,trigger_id:Q,...n.shape,hook_id:e.z.string(),url:e.z.string()}),qe=e.z.object({...c,trigger_id:J,...n.shape,hook_id:e.z.string(),form_id:e.z.string()}),Ye=e.z.union([Ve,qe]),Z=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()}),Qe=e.z.object({keys:e.z.array(Z)}),Je=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())}),$=e.z.object({csrf_token:e.z.string(),auth0Client:e.z.string().optional(),authParams:P,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"}),Ze=e.z.object({...$.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()}),ee={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"},$e=e.z.string().refine(t=>Object.values(ee).includes(t),{message:"Invalid log type"}),te=e.z.object({name:e.z.string(),version:e.z.string(),env:e.z.object({node:e.z.string().optional()}).optional()}),et=e.z.object({type:$e,date:e.z.string(),description:e.z.string().optional(),log_id:e.z.string().optional(),_id:e.z.string().optional(),ip:e.z.string(),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:te.optional()}),oe=e.z.object({user_id:e.z.string(),password:e.z.string(),algorithm:e.z.enum(["bcrypt","argon2id"]).default("argon2id")}),tt=e.z.object({...oe.shape,created_at:e.z.string(),updated_at:e.z.string()}),ne=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")}),ie=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:ne.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")}),ot=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...ie.shape}),nt=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 ae=(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))(ae||{});const it=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 re=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()}),se=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()}),ce=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}),le=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center","left","right"])}),_e=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"])}),pe=e.z.object({borders:re,colors:se,displayName:e.z.string(),fonts:ce,page_background:le,widget:_e}),at=pe.extend({themeId:e.z.string()}),rt=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()}),st=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()}),de=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:ne,resource_servers:e.z.array(e.z.object({audience:e.z.string(),scopes:e.z.string()})),rotating:e.z.boolean()}),ct=e.z.object({created_at:e.z.string(),...de.shape}),lt=e.z.object({to:e.z.string(),message:e.z.string()}),_t=e.z.object({name:e.z.string(),options:e.z.object({})}),ze=e.z.object({value:e.z.string(),description:e.z.string().optional()}),ge=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()}),ue=e.z.object({name:e.z.string(),identifier:e.z.string(),scopes:e.z.array(ze).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:ge.optional()}),me=e.z.object({id:e.z.string().optional(),...ue.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),pt=e.z.array(me),he=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),Se=e.z.object({...he.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),dt=e.z.array(Se),Ee=e.z.object({role_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()}),zt=e.z.array(Ee),fe=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()}),be=e.z.object({...fe.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),gt=e.z.array(be),Ae=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()}),ut=e.z.array(Ae),Ie=e.z.object({user_id:e.z.string(),role_id: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()}),mt=e.z.array(Ce),Oe=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"})}),Te=e.z.object({id:e.z.string().openapi({description:"The unique identifier of the role"}),...Oe.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),ht=e.z.array(Te),Ne=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(),ye=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"})}),Re=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(),Le=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:Ne,metadata:e.z.record(e.z.any()).default({}).optional().openapi({description:"Custom metadata for the organization"}),enabled_connections:e.z.array(ye).default([]).optional().openapi({description:"List of enabled connections for the organization"}),token_quota:Re}),St=e.z.object({...Le.shape,...n.shape,id:e.z.string()}),De=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"})}),Et=e.z.object({...De.shape,...n.shape,id:e.z.string()});function ft(t){const[a,r]=t.split("|");if(!a||!r)throw new Error(`Invalid user_id: ${t}`);return{connection:a,id:r}}exports.Auth0Client=te;exports.AuthorizationResponseMode=z;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=g;exports.ComponentCategory=p;exports.ComponentType=_;exports.GrantType=ae;exports.LogTypes=ee;exports.NodeType=R;exports.auth0FlowInsertSchema=ve;exports.auth0FlowSchema=k;exports.auth0UserResponseSchema=Fe;exports.authParamsSchema=P;exports.baseUserSchema=l;exports.bordersSchema=re;exports.brandingSchema=Me;exports.buttonComponentSchema=C;exports.clientGrantInsertSchema=b;exports.clientGrantListSchema=Pe;exports.clientGrantSchema=A;exports.clientInsertSchema=E;exports.clientSchema=f;exports.codeInsertSchema=W;exports.codeSchema=He;exports.codeTypeSchema=K;exports.colorsSchema=se;exports.componentSchema=y;exports.connectionInsertSchema=M;exports.connectionOptionsSchema=v;exports.connectionSchema=H;exports.coordinatesSchema=i;exports.customDomainInsertSchema=B;exports.customDomainSchema=V;exports.customDomainWithTenantIdSchema=Ge;exports.emailProviderSchema=st;exports.endingSchema=j;exports.fieldComponentSchema=T;exports.flowNodeSchema=D;exports.fontDetailsSchema=o;exports.fontsSchema=ce;exports.formControlSchema=xe;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=q;exports.formSchema=Ke;exports.genericComponentSchema=N;exports.genericNodeSchema=U;exports.hookInsertSchema=Xe;exports.hookSchema=Ye;exports.identitySchema=m;exports.jwksKeySchema=Qe;exports.jwksSchema=Z;exports.legalComponentSchema=O;exports.logSchema=et;exports.loginSessionInsertSchema=$;exports.loginSessionSchema=Ze;exports.nodeSchema=F;exports.openIDConfigurationSchema=Je;exports.organizationBrandingSchema=Ne;exports.organizationEnabledConnectionSchema=ye;exports.organizationInsertSchema=Le;exports.organizationSchema=St;exports.organizationTokenQuotaSchema=Re;exports.pageBackgroundSchema=le;exports.parseUserId=ft;exports.passwordInsertSchema=oe;exports.passwordSchema=tt;exports.profileDataSchema=u;exports.promptSettingSchema=rt;exports.refreshTokenInsertSchema=de;exports.refreshTokenSchema=ct;exports.resourceServerInsertSchema=ue;exports.resourceServerListSchema=pt;exports.resourceServerOptionsSchema=ge;exports.resourceServerSchema=me;exports.resourceServerScopeSchema=ze;exports.richTextComponentSchema=I;exports.roleInsertSchema=Oe;exports.roleListSchema=ht;exports.rolePermissionInsertSchema=he;exports.rolePermissionListSchema=dt;exports.rolePermissionSchema=Se;exports.rolePermissionWithDetailsListSchema=zt;exports.rolePermissionWithDetailsSchema=Ee;exports.roleSchema=Te;exports.sessionInsertSchema=ie;exports.sessionSchema=ot;exports.signingKeySchema=nt;exports.smsProviderSchema=_t;exports.smsSendParamsSchema=lt;exports.startSchema=w;exports.stepNodeSchema=L;exports.tenantInsertSchema=G;exports.tenantSchema=x;exports.themeInsertSchema=pe;exports.themeSchema=at;exports.tokenResponseSchema=it;exports.totalsSchema=Ue;exports.userInsertSchema=h;exports.userOrganizationInsertSchema=De;exports.userOrganizationSchema=Et;exports.userPermissionInsertSchema=fe;exports.userPermissionListSchema=gt;exports.userPermissionSchema=be;exports.userPermissionWithDetailsListSchema=ut;exports.userPermissionWithDetailsSchema=Ae;exports.userResponseSchema=we;exports.userRoleInsertSchema=Ie;exports.userRoleListSchema=mt;exports.userRoleSchema=Ce;exports.userSchema=S;exports.verificationMethodsSchema=X;exports.widgetSchema=_e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@hono/zod-openapi"),we=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()}),Ue=S,je=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()),Fe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ke=(t=21)=>{let a="",s=crypto.getRandomValues(new Uint8Array(t));for(;t--;)a+=Fe[s[t]&63];return a};const E=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(()=>ke()).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()}),f=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),...E.shape}),b=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."}),...b.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),ve=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()}),N=e.z.object({id:e.z.string(),category:e.z.string(),type:e.z.string()}).passthrough(),y=e.z.union([I,C,O,T,N]);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(y),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(),U=e.z.union([L,D,w]),j=e.z.object({next_node:e.z.string(),coordinates:i}).passthrough(),F=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:i}).passthrough(),k=e.z.object({id:e.z.string(),name:e.z.string(),languages:e.z.object({primary:e.z.string()}).passthrough(),nodes:e.z.array(U),start:j,ending:F,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(),Pe=k.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 v=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()}),Me=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({name:e.z.string(),audience:e.z.string(),sender_email:e.z.string().email(),sender_name:e.z.string(),support_url:e.z.string().url().optional(),logo:e.z.string().url().optional(),primary_color:e.z.string().optional(),secondary_color:e.z.string().optional(),language:e.z.string().optional(),id:e.z.string().optional()}),G=e.z.object({created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t),...x.shape,id:e.z.string()});e.z.object({...f.shape,tenant:G,connections:e.z.array(H)});const K=e.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),W=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()}),He=e.z.object({...W.shape,created_at:e.z.string()}),B=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({...B.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()}),xe=V.extend({tenant_id:e.z.string()}),Ge=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)"}),Ke=e.z.object({...n.shape,...Y.shape,id:e.z.string()}),Q=e.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),J=e.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),l={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},We=e.z.object({...l,trigger_id:Q,url:e.z.string()}),Be=e.z.object({...l,trigger_id:J,form_id:e.z.string()}),Xe=e.z.union([We,Be]),Ve=e.z.object({...l,trigger_id:Q,...n.shape,hook_id:e.z.string(),url:e.z.string()}),qe=e.z.object({...l,trigger_id:J,...n.shape,hook_id:e.z.string(),form_id:e.z.string()}),Ye=e.z.union([Ve,qe]),Z=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()}),Qe=e.z.object({keys:e.z.array(Z)}),Je=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())}),$=e.z.object({csrf_token:e.z.string(),auth0Client:e.z.string().optional(),authParams:v,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"}),Ze=e.z.object({...$.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()}),ee={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"},$e=e.z.string().refine(t=>Object.values(ee).includes(t),{message:"Invalid log type"}),te=e.z.object({name:e.z.string(),version:e.z.string(),env:e.z.object({node:e.z.string().optional()}).optional()}),et=e.z.object({type:$e,date:e.z.string(),description:e.z.string().optional(),log_id:e.z.string().optional(),_id:e.z.string().optional(),ip:e.z.string(),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:te.optional()}),oe=e.z.object({user_id:e.z.string(),password:e.z.string(),algorithm:e.z.enum(["bcrypt","argon2id"]).default("argon2id")}),tt=e.z.object({...oe.shape,created_at:e.z.string(),updated_at:e.z.string()}),ne=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")}),ie=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:ne.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")}),ot=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...ie.shape}),nt=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 ae=(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))(ae||{});const it=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 se=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()}),re=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()}),le=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}),ce=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center","left","right"])}),_e=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"])}),pe=e.z.object({borders:se,colors:re,displayName:e.z.string(),fonts:le,page_background:ce,widget:_e}),at=pe.extend({themeId:e.z.string()}),st=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()}),rt=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()}),de=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:ne,resource_servers:e.z.array(e.z.object({audience:e.z.string(),scopes:e.z.string()})),rotating:e.z.boolean()}),lt=e.z.object({created_at:e.z.string(),...de.shape}),ct=e.z.object({to:e.z.string(),message:e.z.string()}),_t=e.z.object({name:e.z.string(),options:e.z.object({})}),ze=e.z.object({value:e.z.string(),description:e.z.string().optional()}),ge=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()}),ue=e.z.object({name:e.z.string(),identifier:e.z.string(),scopes:e.z.array(ze).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:ge.optional()}),me=e.z.object({id:e.z.string().optional(),...ue.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),pt=e.z.array(me),he=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),Se=e.z.object({...he.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),dt=e.z.array(Se),Ee=e.z.object({role_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()}),zt=e.z.array(Ee),fe=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()}),be=e.z.object({...fe.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),gt=e.z.array(be),Ae=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()}),ut=e.z.array(Ae),Ie=e.z.object({user_id:e.z.string(),role_id: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()}),mt=e.z.array(Ce),Oe=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"})}),Te=e.z.object({id:e.z.string().openapi({description:"The unique identifier of the role"}),...Oe.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),ht=e.z.array(Te),Ne=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(),ye=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"})}),Re=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(),Le=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:Ne,metadata:e.z.record(e.z.any()).default({}).optional().openapi({description:"Custom metadata for the organization"}),enabled_connections:e.z.array(ye).default([]).optional().openapi({description:"List of enabled connections for the organization"}),token_quota:Re}),St=e.z.object({...Le.shape,...n.shape,id:e.z.string()}),De=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"})}),Et=e.z.object({...De.shape,...n.shape,id:e.z.string()}),ft=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 bt(t){const[a,s]=t.split("|");if(!a||!s)throw new Error(`Invalid user_id: ${t}`);return{connection:a,id:s}}exports.Auth0Client=te;exports.AuthorizationResponseMode=z;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=g;exports.ComponentCategory=p;exports.ComponentType=_;exports.GrantType=ae;exports.LogTypes=ee;exports.NodeType=R;exports.auth0FlowInsertSchema=Pe;exports.auth0FlowSchema=k;exports.auth0UserResponseSchema=Ue;exports.authParamsSchema=v;exports.baseUserSchema=c;exports.bordersSchema=se;exports.brandingSchema=Me;exports.buttonComponentSchema=C;exports.clientGrantInsertSchema=b;exports.clientGrantListSchema=ve;exports.clientGrantSchema=A;exports.clientInsertSchema=E;exports.clientSchema=f;exports.codeInsertSchema=W;exports.codeSchema=He;exports.codeTypeSchema=K;exports.colorsSchema=re;exports.componentSchema=y;exports.connectionInsertSchema=M;exports.connectionOptionsSchema=P;exports.connectionSchema=H;exports.coordinatesSchema=i;exports.customDomainInsertSchema=B;exports.customDomainSchema=V;exports.customDomainWithTenantIdSchema=xe;exports.emailProviderSchema=rt;exports.endingSchema=F;exports.fieldComponentSchema=T;exports.flowNodeSchema=D;exports.fontDetailsSchema=o;exports.fontsSchema=le;exports.formControlSchema=Ge;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=q;exports.formSchema=Ke;exports.genericComponentSchema=N;exports.genericNodeSchema=w;exports.hookInsertSchema=Xe;exports.hookSchema=Ye;exports.identitySchema=m;exports.jwksKeySchema=Qe;exports.jwksSchema=Z;exports.legalComponentSchema=O;exports.logSchema=et;exports.loginSessionInsertSchema=$;exports.loginSessionSchema=Ze;exports.nodeSchema=U;exports.openIDConfigurationSchema=Je;exports.organizationBrandingSchema=Ne;exports.organizationEnabledConnectionSchema=ye;exports.organizationInsertSchema=Le;exports.organizationSchema=St;exports.organizationTokenQuotaSchema=Re;exports.pageBackgroundSchema=ce;exports.parseUserId=bt;exports.passwordInsertSchema=oe;exports.passwordSchema=tt;exports.profileDataSchema=u;exports.promptSettingSchema=st;exports.refreshTokenInsertSchema=de;exports.refreshTokenSchema=lt;exports.resourceServerInsertSchema=ue;exports.resourceServerListSchema=pt;exports.resourceServerOptionsSchema=ge;exports.resourceServerSchema=me;exports.resourceServerScopeSchema=ze;exports.richTextComponentSchema=I;exports.roleInsertSchema=Oe;exports.roleListSchema=ht;exports.rolePermissionInsertSchema=he;exports.rolePermissionListSchema=dt;exports.rolePermissionSchema=Se;exports.rolePermissionWithDetailsListSchema=zt;exports.rolePermissionWithDetailsSchema=Ee;exports.roleSchema=Te;exports.sessionInsertSchema=ie;exports.sessionSchema=ot;exports.signingKeySchema=nt;exports.smsProviderSchema=_t;exports.smsSendParamsSchema=ct;exports.startSchema=j;exports.stepNodeSchema=L;exports.tenantInsertSchema=x;exports.tenantSchema=G;exports.tenantSettingsSchema=ft;exports.themeInsertSchema=pe;exports.themeSchema=at;exports.tokenResponseSchema=it;exports.totalsSchema=we;exports.userInsertSchema=h;exports.userOrganizationInsertSchema=De;exports.userOrganizationSchema=Et;exports.userPermissionInsertSchema=fe;exports.userPermissionListSchema=gt;exports.userPermissionSchema=be;exports.userPermissionWithDetailsListSchema=ut;exports.userPermissionWithDetailsSchema=Ae;exports.userResponseSchema=je;exports.userRoleInsertSchema=Ie;exports.userRoleListSchema=mt;exports.userRoleSchema=Ce;exports.userSchema=S;exports.verificationMethodsSchema=X;exports.widgetSchema=_e;
@@ -8207,6 +8207,7 @@ export declare const brandingSchema: z.ZodObject<{
8207
8207
  }>>;
8208
8208
  logo_url: z.ZodOptional<z.ZodString>;
8209
8209
  favicon_url: z.ZodOptional<z.ZodString>;
8210
+ powered_by_logo_url: z.ZodOptional<z.ZodString>;
8210
8211
  font: z.ZodOptional<z.ZodObject<{
8211
8212
  url: z.ZodString;
8212
8213
  }, "strip", z.ZodTypeAny, {
@@ -8226,6 +8227,7 @@ export declare const brandingSchema: z.ZodObject<{
8226
8227
  } | undefined;
8227
8228
  logo_url?: string | undefined;
8228
8229
  favicon_url?: string | undefined;
8230
+ powered_by_logo_url?: string | undefined;
8229
8231
  font?: {
8230
8232
  url: string;
8231
8233
  } | undefined;
@@ -8241,6 +8243,7 @@ export declare const brandingSchema: z.ZodObject<{
8241
8243
  } | undefined;
8242
8244
  logo_url?: string | undefined;
8243
8245
  favicon_url?: string | undefined;
8246
+ powered_by_logo_url?: string | undefined;
8244
8247
  font?: {
8245
8248
  url: string;
8246
8249
  } | undefined;
@@ -15073,6 +15076,254 @@ export declare const userOrganizationSchema: z.ZodObject<{
15073
15076
  organization_id: string;
15074
15077
  }>;
15075
15078
  export type UserOrganization = z.infer<typeof userOrganizationSchema>;
15079
+ export declare const tenantSettingsSchema: z.ZodObject<{
15080
+ idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
15081
+ session_lifetime: z.ZodOptional<z.ZodNumber>;
15082
+ session_cookie: z.ZodOptional<z.ZodObject<{
15083
+ mode: z.ZodOptional<z.ZodEnum<[
15084
+ "persistent",
15085
+ "non-persistent"
15086
+ ]>>;
15087
+ }, "strip", z.ZodTypeAny, {
15088
+ mode?: "persistent" | "non-persistent" | undefined;
15089
+ }, {
15090
+ mode?: "persistent" | "non-persistent" | undefined;
15091
+ }>>;
15092
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
15093
+ default_redirection_uri: z.ZodOptional<z.ZodString>;
15094
+ enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15095
+ default_directory: z.ZodOptional<z.ZodString>;
15096
+ error_page: z.ZodOptional<z.ZodObject<{
15097
+ html: z.ZodOptional<z.ZodString>;
15098
+ show_log_link: z.ZodOptional<z.ZodBoolean>;
15099
+ url: z.ZodOptional<z.ZodString>;
15100
+ }, "strip", z.ZodTypeAny, {
15101
+ url?: string | undefined;
15102
+ html?: string | undefined;
15103
+ show_log_link?: boolean | undefined;
15104
+ }, {
15105
+ url?: string | undefined;
15106
+ html?: string | undefined;
15107
+ show_log_link?: boolean | undefined;
15108
+ }>>;
15109
+ flags: z.ZodOptional<z.ZodObject<{
15110
+ allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
15111
+ allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
15112
+ allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
15113
+ disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
15114
+ enable_apis_section: z.ZodOptional<z.ZodBoolean>;
15115
+ enable_client_connections: z.ZodOptional<z.ZodBoolean>;
15116
+ enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
15117
+ enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
15118
+ enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
15119
+ enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
15120
+ enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
15121
+ enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
15122
+ enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
15123
+ use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
15124
+ disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
15125
+ enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
15126
+ revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
15127
+ dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
15128
+ dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
15129
+ disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
15130
+ mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
15131
+ }, "strip", z.ZodTypeAny, {
15132
+ enable_client_connections?: boolean | undefined;
15133
+ allow_legacy_delegation_grant_types?: boolean | undefined;
15134
+ allow_legacy_ro_grant_types?: boolean | undefined;
15135
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
15136
+ disable_clickjack_protection_headers?: boolean | undefined;
15137
+ enable_apis_section?: boolean | undefined;
15138
+ enable_custom_domain_in_emails?: boolean | undefined;
15139
+ enable_dynamic_client_registration?: boolean | undefined;
15140
+ enable_idtoken_api2?: boolean | undefined;
15141
+ enable_legacy_logs_search_v2?: boolean | undefined;
15142
+ enable_legacy_profile?: boolean | undefined;
15143
+ enable_pipeline2?: boolean | undefined;
15144
+ enable_public_signup_user_exists_error?: boolean | undefined;
15145
+ use_scope_descriptions_for_consent?: boolean | undefined;
15146
+ disable_management_api_sms_obfuscation?: boolean | undefined;
15147
+ enable_adfs_waad_email_verification?: boolean | undefined;
15148
+ revoke_refresh_token_grant?: boolean | undefined;
15149
+ dashboard_log_streams_next?: boolean | undefined;
15150
+ dashboard_insights_view?: boolean | undefined;
15151
+ disable_fields_map_fix?: boolean | undefined;
15152
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
15153
+ }, {
15154
+ enable_client_connections?: boolean | undefined;
15155
+ allow_legacy_delegation_grant_types?: boolean | undefined;
15156
+ allow_legacy_ro_grant_types?: boolean | undefined;
15157
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
15158
+ disable_clickjack_protection_headers?: boolean | undefined;
15159
+ enable_apis_section?: boolean | undefined;
15160
+ enable_custom_domain_in_emails?: boolean | undefined;
15161
+ enable_dynamic_client_registration?: boolean | undefined;
15162
+ enable_idtoken_api2?: boolean | undefined;
15163
+ enable_legacy_logs_search_v2?: boolean | undefined;
15164
+ enable_legacy_profile?: boolean | undefined;
15165
+ enable_pipeline2?: boolean | undefined;
15166
+ enable_public_signup_user_exists_error?: boolean | undefined;
15167
+ use_scope_descriptions_for_consent?: boolean | undefined;
15168
+ disable_management_api_sms_obfuscation?: boolean | undefined;
15169
+ enable_adfs_waad_email_verification?: boolean | undefined;
15170
+ revoke_refresh_token_grant?: boolean | undefined;
15171
+ dashboard_log_streams_next?: boolean | undefined;
15172
+ dashboard_insights_view?: boolean | undefined;
15173
+ disable_fields_map_fix?: boolean | undefined;
15174
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
15175
+ }>>;
15176
+ friendly_name: z.ZodOptional<z.ZodString>;
15177
+ picture_url: z.ZodOptional<z.ZodString>;
15178
+ support_email: z.ZodOptional<z.ZodString>;
15179
+ support_url: z.ZodOptional<z.ZodString>;
15180
+ sandbox_version: z.ZodOptional<z.ZodString>;
15181
+ sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15182
+ change_password: z.ZodOptional<z.ZodObject<{
15183
+ enabled: z.ZodBoolean;
15184
+ html: z.ZodString;
15185
+ }, "strip", z.ZodTypeAny, {
15186
+ html: string;
15187
+ enabled: boolean;
15188
+ }, {
15189
+ html: string;
15190
+ enabled: boolean;
15191
+ }>>;
15192
+ guardian_mfa_page: z.ZodOptional<z.ZodObject<{
15193
+ enabled: z.ZodBoolean;
15194
+ html: z.ZodString;
15195
+ }, "strip", z.ZodTypeAny, {
15196
+ html: string;
15197
+ enabled: boolean;
15198
+ }, {
15199
+ html: string;
15200
+ enabled: boolean;
15201
+ }>>;
15202
+ default_audience: z.ZodOptional<z.ZodString>;
15203
+ default_organization: z.ZodOptional<z.ZodString>;
15204
+ sessions: z.ZodOptional<z.ZodObject<{
15205
+ oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
15206
+ }, "strip", z.ZodTypeAny, {
15207
+ oidc_logout_prompt_enabled?: boolean | undefined;
15208
+ }, {
15209
+ oidc_logout_prompt_enabled?: boolean | undefined;
15210
+ }>>;
15211
+ }, "strip", z.ZodTypeAny, {
15212
+ default_organization?: string | undefined;
15213
+ support_url?: string | undefined;
15214
+ idle_session_lifetime?: number | undefined;
15215
+ session_lifetime?: number | undefined;
15216
+ session_cookie?: {
15217
+ mode?: "persistent" | "non-persistent" | undefined;
15218
+ } | undefined;
15219
+ enable_client_connections?: boolean | undefined;
15220
+ default_redirection_uri?: string | undefined;
15221
+ enabled_locales?: string[] | undefined;
15222
+ default_directory?: string | undefined;
15223
+ error_page?: {
15224
+ url?: string | undefined;
15225
+ html?: string | undefined;
15226
+ show_log_link?: boolean | undefined;
15227
+ } | undefined;
15228
+ flags?: {
15229
+ enable_client_connections?: boolean | undefined;
15230
+ allow_legacy_delegation_grant_types?: boolean | undefined;
15231
+ allow_legacy_ro_grant_types?: boolean | undefined;
15232
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
15233
+ disable_clickjack_protection_headers?: boolean | undefined;
15234
+ enable_apis_section?: boolean | undefined;
15235
+ enable_custom_domain_in_emails?: boolean | undefined;
15236
+ enable_dynamic_client_registration?: boolean | undefined;
15237
+ enable_idtoken_api2?: boolean | undefined;
15238
+ enable_legacy_logs_search_v2?: boolean | undefined;
15239
+ enable_legacy_profile?: boolean | undefined;
15240
+ enable_pipeline2?: boolean | undefined;
15241
+ enable_public_signup_user_exists_error?: boolean | undefined;
15242
+ use_scope_descriptions_for_consent?: boolean | undefined;
15243
+ disable_management_api_sms_obfuscation?: boolean | undefined;
15244
+ enable_adfs_waad_email_verification?: boolean | undefined;
15245
+ revoke_refresh_token_grant?: boolean | undefined;
15246
+ dashboard_log_streams_next?: boolean | undefined;
15247
+ dashboard_insights_view?: boolean | undefined;
15248
+ disable_fields_map_fix?: boolean | undefined;
15249
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
15250
+ } | undefined;
15251
+ friendly_name?: string | undefined;
15252
+ picture_url?: string | undefined;
15253
+ support_email?: string | undefined;
15254
+ sandbox_version?: string | undefined;
15255
+ sandbox_versions_available?: string[] | undefined;
15256
+ change_password?: {
15257
+ html: string;
15258
+ enabled: boolean;
15259
+ } | undefined;
15260
+ guardian_mfa_page?: {
15261
+ html: string;
15262
+ enabled: boolean;
15263
+ } | undefined;
15264
+ default_audience?: string | undefined;
15265
+ sessions?: {
15266
+ oidc_logout_prompt_enabled?: boolean | undefined;
15267
+ } | undefined;
15268
+ }, {
15269
+ default_organization?: string | undefined;
15270
+ support_url?: string | undefined;
15271
+ idle_session_lifetime?: number | undefined;
15272
+ session_lifetime?: number | undefined;
15273
+ session_cookie?: {
15274
+ mode?: "persistent" | "non-persistent" | undefined;
15275
+ } | undefined;
15276
+ enable_client_connections?: boolean | undefined;
15277
+ default_redirection_uri?: string | undefined;
15278
+ enabled_locales?: string[] | undefined;
15279
+ default_directory?: string | undefined;
15280
+ error_page?: {
15281
+ url?: string | undefined;
15282
+ html?: string | undefined;
15283
+ show_log_link?: boolean | undefined;
15284
+ } | undefined;
15285
+ flags?: {
15286
+ enable_client_connections?: boolean | undefined;
15287
+ allow_legacy_delegation_grant_types?: boolean | undefined;
15288
+ allow_legacy_ro_grant_types?: boolean | undefined;
15289
+ allow_legacy_tokeninfo_endpoint?: boolean | undefined;
15290
+ disable_clickjack_protection_headers?: boolean | undefined;
15291
+ enable_apis_section?: boolean | undefined;
15292
+ enable_custom_domain_in_emails?: boolean | undefined;
15293
+ enable_dynamic_client_registration?: boolean | undefined;
15294
+ enable_idtoken_api2?: boolean | undefined;
15295
+ enable_legacy_logs_search_v2?: boolean | undefined;
15296
+ enable_legacy_profile?: boolean | undefined;
15297
+ enable_pipeline2?: boolean | undefined;
15298
+ enable_public_signup_user_exists_error?: boolean | undefined;
15299
+ use_scope_descriptions_for_consent?: boolean | undefined;
15300
+ disable_management_api_sms_obfuscation?: boolean | undefined;
15301
+ enable_adfs_waad_email_verification?: boolean | undefined;
15302
+ revoke_refresh_token_grant?: boolean | undefined;
15303
+ dashboard_log_streams_next?: boolean | undefined;
15304
+ dashboard_insights_view?: boolean | undefined;
15305
+ disable_fields_map_fix?: boolean | undefined;
15306
+ mfa_show_factor_list_on_enrollment?: boolean | undefined;
15307
+ } | undefined;
15308
+ friendly_name?: string | undefined;
15309
+ picture_url?: string | undefined;
15310
+ support_email?: string | undefined;
15311
+ sandbox_version?: string | undefined;
15312
+ sandbox_versions_available?: string[] | undefined;
15313
+ change_password?: {
15314
+ html: string;
15315
+ enabled: boolean;
15316
+ } | undefined;
15317
+ guardian_mfa_page?: {
15318
+ html: string;
15319
+ enabled: boolean;
15320
+ } | undefined;
15321
+ default_audience?: string | undefined;
15322
+ sessions?: {
15323
+ oidc_logout_prompt_enabled?: boolean | undefined;
15324
+ } | undefined;
15325
+ }>;
15326
+ export type TenantSettings = z.infer<typeof tenantSettingsSchema>;
15076
15327
  export declare function parseUserId(user_id: string): {
15077
15328
  connection: string;
15078
15329
  id: string;
@@ -15345,6 +15596,10 @@ export interface UserOrganizationsAdapter {
15345
15596
  } & Totals>;
15346
15597
  update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
15347
15598
  }
15599
+ export interface TenantSettingsAdapter {
15600
+ set: (tenant_id: string, settings: TenantSettings) => Promise<void>;
15601
+ get: (tenant_id: string) => Promise<TenantSettings | null>;
15602
+ }
15348
15603
  export interface DataAdapters {
15349
15604
  branding: BrandingAdapter;
15350
15605
  cache?: CacheAdapter;
@@ -15369,6 +15624,7 @@ export interface DataAdapters {
15369
15624
  roles: RolesAdapter;
15370
15625
  sessions: SessionsAdapter;
15371
15626
  tenants: TenantsDataAdapter;
15627
+ tenantSettings: TenantSettingsAdapter;
15372
15628
  themes: ThemesAdapter;
15373
15629
  users: UserDataAdapter;
15374
15630
  userRoles: UserRolesAdapter;
@@ -1,9 +1,9 @@
1
1
  import { z as e } from "@hono/zod-openapi";
2
- const Ge = e.object({
2
+ const xe = e.object({
3
3
  start: e.number(),
4
4
  limit: e.number(),
5
5
  length: e.number()
6
- }), i = e.object({
6
+ }), n = e.object({
7
7
  created_at: e.string(),
8
8
  updated_at: e.string()
9
9
  }), S = e.object({
@@ -50,13 +50,13 @@ const Ge = e.object({
50
50
  is_social: e.boolean().optional()
51
51
  }), A = e.object({
52
52
  ...b.shape,
53
- ...i.shape,
53
+ ...n.shape,
54
54
  user_id: e.string(),
55
55
  is_social: e.boolean(),
56
56
  email: e.string().optional(),
57
57
  login_count: e.number().default(0),
58
58
  identities: e.array(f).optional()
59
- }), xe = A, Ke = c.extend({
59
+ }), Ge = A, Ke = c.extend({
60
60
  login_count: e.number(),
61
61
  multifactor: e.array(e.string()).optional(),
62
62
  last_ip: e.string().optional(),
@@ -64,10 +64,10 @@ const Ge = e.object({
64
64
  user_id: e.string()
65
65
  }).catchall(e.any()), I = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
66
66
  let C = (t = 21) => {
67
- let n = "", r = crypto.getRandomValues(new Uint8Array(t));
67
+ let i = "", s = crypto.getRandomValues(new Uint8Array(t));
68
68
  for (; t--; )
69
- n += I[r[t] & 63];
70
- return n;
69
+ i += I[s[t] & 63];
70
+ return i;
71
71
  };
72
72
  const O = e.object({
73
73
  client_id: e.string().openapi({
@@ -277,11 +277,11 @@ const O = e.object({
277
277
  y: e.number()
278
278
  });
279
279
  var _ = /* @__PURE__ */ ((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 = /* @__PURE__ */ ((t) => (t.BLOCK = "BLOCK", t.FIELD = "FIELD", t))(p || {});
280
- const s = e.object({
280
+ const r = e.object({
281
281
  id: e.string(),
282
282
  category: e.nativeEnum(p),
283
283
  type: e.nativeEnum(_)
284
- }), R = s.extend({
284
+ }), R = r.extend({
285
285
  category: e.literal(
286
286
  "BLOCK"
287
287
  /* BLOCK */
@@ -293,7 +293,7 @@ const s = e.object({
293
293
  config: e.object({
294
294
  content: e.string()
295
295
  }).passthrough()
296
- }), L = s.extend({
296
+ }), L = r.extend({
297
297
  category: e.literal(
298
298
  "BLOCK"
299
299
  /* BLOCK */
@@ -315,7 +315,7 @@ const s = e.object({
315
315
  config: e.object({
316
316
  text: e.string()
317
317
  }).passthrough()
318
- }), D = s.extend({
318
+ }), D = r.extend({
319
319
  category: e.literal(
320
320
  "FIELD"
321
321
  /* FIELD */
@@ -329,7 +329,7 @@ const s = e.object({
329
329
  config: e.object({
330
330
  text: e.string()
331
331
  }).passthrough()
332
- }), U = s.extend({
332
+ }), w = r.extend({
333
333
  category: e.literal(
334
334
  "FIELD"
335
335
  /* FIELD */
@@ -382,18 +382,18 @@ const s = e.object({
382
382
  label: e.string().optional(),
383
383
  placeholder: e.string().optional()
384
384
  }).passthrough()
385
- }), F = e.object({
385
+ }), U = e.object({
386
386
  id: e.string(),
387
387
  category: e.string(),
388
388
  type: e.string()
389
- }).passthrough(), w = e.union([
389
+ }).passthrough(), j = e.union([
390
390
  R,
391
391
  L,
392
392
  D,
393
- U,
394
- F
393
+ w,
394
+ U
395
395
  ]);
396
- var j = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(j || {});
396
+ var F = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(F || {});
397
397
  const k = e.object({
398
398
  id: e.string(),
399
399
  type: e.literal(
@@ -403,7 +403,7 @@ const k = e.object({
403
403
  coordinates: a,
404
404
  alias: e.string().optional(),
405
405
  config: e.object({
406
- components: e.array(w),
406
+ components: e.array(j),
407
407
  next_node: e.string()
408
408
  }).passthrough()
409
409
  }), v = e.object({
@@ -429,10 +429,10 @@ const k = e.object({
429
429
  ]), M = e.object({
430
430
  next_node: e.string(),
431
431
  coordinates: a
432
- }).passthrough(), G = e.object({
432
+ }).passthrough(), x = e.object({
433
433
  resume_flow: e.boolean().optional(),
434
434
  coordinates: a
435
- }).passthrough(), x = e.object({
435
+ }).passthrough(), G = e.object({
436
436
  id: e.string(),
437
437
  name: e.string(),
438
438
  languages: e.object({
@@ -440,14 +440,14 @@ const k = e.object({
440
440
  }).passthrough(),
441
441
  nodes: e.array(H),
442
442
  start: M,
443
- ending: G,
443
+ ending: x,
444
444
  created_at: e.string(),
445
445
  updated_at: e.string(),
446
446
  links: e.object({
447
447
  sdkSrc: e.string().optional(),
448
448
  sdk_src: e.string().optional()
449
449
  }).passthrough()
450
- }).passthrough(), We = x.omit({
450
+ }).passthrough(), We = G.omit({
451
451
  id: !0,
452
452
  created_at: !0,
453
453
  updated_at: !0
@@ -483,6 +483,7 @@ const K = e.object({
483
483
  }).optional(),
484
484
  logo_url: e.string().optional(),
485
485
  favicon_url: e.string().optional(),
486
+ powered_by_logo_url: e.string().optional(),
486
487
  font: e.object({
487
488
  url: e.string()
488
489
  }).optional()
@@ -738,7 +739,7 @@ const q = e.enum([
738
739
  }).openapi({
739
740
  description: "Schema for flow-based forms (matches new JSON structure)"
740
741
  }), Ye = e.object({
741
- ...i.shape,
742
+ ...n.shape,
742
743
  ...ee.shape,
743
744
  id: e.string()
744
745
  }), m = e.enum([
@@ -766,19 +767,19 @@ const q = e.enum([
766
767
  }), Qe = e.union([
767
768
  te,
768
769
  oe
769
- ]), ie = e.object({
770
+ ]), ne = e.object({
770
771
  ...l,
771
772
  trigger_id: m,
772
- ...i.shape,
773
+ ...n.shape,
773
774
  hook_id: e.string(),
774
775
  url: e.string()
775
- }), ne = e.object({
776
+ }), ie = e.object({
776
777
  ...l,
777
778
  trigger_id: h,
778
- ...i.shape,
779
+ ...n.shape,
779
780
  hook_id: e.string(),
780
781
  form_id: e.string()
781
- }), Je = e.union([ie, ne]), ae = e.object({
782
+ }), Je = e.union([ne, ie]), ae = e.object({
782
783
  alg: e.enum([
783
784
  "RS256",
784
785
  "RS384",
@@ -820,7 +821,7 @@ const q = e.enum([
820
821
  request_uri_parameter_supported: e.boolean(),
821
822
  request_parameter_supported: e.boolean(),
822
823
  token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
823
- }), re = e.object({
824
+ }), se = e.object({
824
825
  csrf_token: e.string(),
825
826
  auth0Client: e.string().optional(),
826
827
  authParams: K,
@@ -834,13 +835,13 @@ const q = e.enum([
834
835
  }).openapi({
835
836
  description: "This represents a login sesion"
836
837
  }), et = e.object({
837
- ...re.shape,
838
+ ...se.shape,
838
839
  id: e.string().openapi({
839
840
  description: "This is is used as the state in the universal login"
840
841
  }),
841
842
  created_at: e.string(),
842
843
  updated_at: e.string()
843
- }), se = {
844
+ }), re = {
844
845
  // Network & System
845
846
  ACLS_SUMMARY: "acls_summary",
846
847
  ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
@@ -1008,7 +1009,7 @@ const q = e.enum([
1008
1009
  WARNING_SENDING_NOTIFICATION: "wn",
1009
1010
  WARNING_USER_MANAGEMENT: "wum"
1010
1011
  }, le = e.string().refine(
1011
- (t) => Object.values(se).includes(t),
1012
+ (t) => Object.values(re).includes(t),
1012
1013
  { message: "Invalid log type" }
1013
1014
  ), ce = e.object({
1014
1015
  name: e.string(),
@@ -1066,13 +1067,13 @@ const q = e.enum([
1066
1067
  "Metadata related to the device used in the session"
1067
1068
  ),
1068
1069
  clients: e.array(e.string()).describe("List of client details for the session")
1069
- }), it = e.object({
1070
+ }), nt = e.object({
1070
1071
  created_at: e.string(),
1071
1072
  updated_at: e.string(),
1072
1073
  authenticated_at: e.string(),
1073
1074
  last_interaction_at: e.string(),
1074
1075
  ...pe.shape
1075
- }), nt = e.object({
1076
+ }), it = e.object({
1076
1077
  kid: e.string().openapi({ description: "The key id of the signing key" }),
1077
1078
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
1078
1079
  fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
@@ -1172,9 +1173,9 @@ const ge = e.object({
1172
1173
  fonts: me,
1173
1174
  page_background: he,
1174
1175
  widget: Ee
1175
- }), rt = Se.extend({
1176
+ }), st = Se.extend({
1176
1177
  themeId: e.string()
1177
- }), st = e.object({
1178
+ }), rt = e.object({
1178
1179
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
1179
1180
  identifier_first: e.boolean().default(!0),
1180
1181
  password_first: e.boolean().default(!1),
@@ -1311,25 +1312,25 @@ const ge = e.object({
1311
1312
  user_id: e.string(),
1312
1313
  role_id: e.string(),
1313
1314
  organization_id: e.string().optional()
1314
- }), Ue = e.object({
1315
+ }), we = e.object({
1315
1316
  ...De.shape,
1316
1317
  tenant_id: e.string(),
1317
1318
  created_at: e.string().optional()
1318
- }), Et = e.array(Ue), Fe = e.object({
1319
+ }), Et = e.array(we), Ue = e.object({
1319
1320
  name: e.string().min(1).max(50).openapi({
1320
1321
  description: "The name of the role. Cannot include '<' or '>'"
1321
1322
  }),
1322
1323
  description: e.string().max(255).optional().openapi({
1323
1324
  description: "The description of the role"
1324
1325
  })
1325
- }), we = e.object({
1326
+ }), je = e.object({
1326
1327
  id: e.string().openapi({
1327
1328
  description: "The unique identifier of the role"
1328
1329
  }),
1329
- ...Fe.shape,
1330
+ ...Ue.shape,
1330
1331
  created_at: e.string().optional(),
1331
1332
  updated_at: e.string().optional()
1332
- }), St = e.array(we), je = e.object({
1333
+ }), St = e.array(je), Fe = e.object({
1333
1334
  logo_url: e.string().optional().openapi({
1334
1335
  description: "URL of the organization's logo"
1335
1336
  }),
@@ -1374,7 +1375,7 @@ const ge = e.object({
1374
1375
  display_name: e.string().optional().openapi({
1375
1376
  description: "The display name of the organization"
1376
1377
  }),
1377
- branding: je,
1378
+ branding: Fe,
1378
1379
  metadata: e.record(e.any()).default({}).optional().openapi({
1379
1380
  description: "Custom metadata for the organization"
1380
1381
  }),
@@ -1384,7 +1385,7 @@ const ge = e.object({
1384
1385
  token_quota: ve
1385
1386
  }), ft = e.object({
1386
1387
  ...Pe.shape,
1387
- ...i.shape,
1388
+ ...n.shape,
1388
1389
  id: e.string()
1389
1390
  }), He = e.object({
1390
1391
  user_id: e.string().openapi({
@@ -1395,14 +1396,83 @@ const ge = e.object({
1395
1396
  })
1396
1397
  }), bt = e.object({
1397
1398
  ...He.shape,
1398
- ...i.shape,
1399
+ ...n.shape,
1399
1400
  id: e.string()
1401
+ }), At = e.object({
1402
+ // Session settings
1403
+ idle_session_lifetime: e.number().optional(),
1404
+ session_lifetime: e.number().optional(),
1405
+ session_cookie: e.object({
1406
+ mode: e.enum(["persistent", "non-persistent"]).optional()
1407
+ }).optional(),
1408
+ // MFA settings
1409
+ enable_client_connections: e.boolean().optional(),
1410
+ // Universal Login settings
1411
+ default_redirection_uri: e.string().optional(),
1412
+ // Advanced settings
1413
+ enabled_locales: e.array(e.string()).optional(),
1414
+ default_directory: e.string().optional(),
1415
+ error_page: e.object({
1416
+ html: e.string().optional(),
1417
+ show_log_link: e.boolean().optional(),
1418
+ url: e.string().optional()
1419
+ }).optional(),
1420
+ // Flags
1421
+ flags: e.object({
1422
+ allow_legacy_delegation_grant_types: e.boolean().optional(),
1423
+ allow_legacy_ro_grant_types: e.boolean().optional(),
1424
+ allow_legacy_tokeninfo_endpoint: e.boolean().optional(),
1425
+ disable_clickjack_protection_headers: e.boolean().optional(),
1426
+ enable_apis_section: e.boolean().optional(),
1427
+ enable_client_connections: e.boolean().optional(),
1428
+ enable_custom_domain_in_emails: e.boolean().optional(),
1429
+ enable_dynamic_client_registration: e.boolean().optional(),
1430
+ enable_idtoken_api2: e.boolean().optional(),
1431
+ enable_legacy_logs_search_v2: e.boolean().optional(),
1432
+ enable_legacy_profile: e.boolean().optional(),
1433
+ enable_pipeline2: e.boolean().optional(),
1434
+ enable_public_signup_user_exists_error: e.boolean().optional(),
1435
+ use_scope_descriptions_for_consent: e.boolean().optional(),
1436
+ disable_management_api_sms_obfuscation: e.boolean().optional(),
1437
+ enable_adfs_waad_email_verification: e.boolean().optional(),
1438
+ revoke_refresh_token_grant: e.boolean().optional(),
1439
+ dashboard_log_streams_next: e.boolean().optional(),
1440
+ dashboard_insights_view: e.boolean().optional(),
1441
+ disable_fields_map_fix: e.boolean().optional(),
1442
+ mfa_show_factor_list_on_enrollment: e.boolean().optional()
1443
+ }).optional(),
1444
+ // Additional settings
1445
+ friendly_name: e.string().optional(),
1446
+ picture_url: e.string().optional(),
1447
+ support_email: e.string().optional(),
1448
+ support_url: e.string().optional(),
1449
+ // Sandbox settings
1450
+ sandbox_version: e.string().optional(),
1451
+ sandbox_versions_available: e.array(e.string()).optional(),
1452
+ // Change password settings
1453
+ change_password: e.object({
1454
+ enabled: e.boolean(),
1455
+ html: e.string()
1456
+ }).optional(),
1457
+ // Guardian MFA settings
1458
+ guardian_mfa_page: e.object({
1459
+ enabled: e.boolean(),
1460
+ html: e.string()
1461
+ }).optional(),
1462
+ // Default audience
1463
+ default_audience: e.string().optional(),
1464
+ // Default directory
1465
+ default_organization: e.string().optional(),
1466
+ // Session management
1467
+ sessions: e.object({
1468
+ oidc_logout_prompt_enabled: e.boolean().optional()
1469
+ }).optional()
1400
1470
  });
1401
- function At(t) {
1402
- const [n, r] = t.split("|");
1403
- if (!n || !r)
1471
+ function It(t) {
1472
+ const [i, s] = t.split("|");
1473
+ if (!i || !s)
1404
1474
  throw new Error(`Invalid user_id: ${t}`);
1405
- return { connection: n, id: r };
1475
+ return { connection: i, id: s };
1406
1476
  }
1407
1477
  export {
1408
1478
  ce as Auth0Client,
@@ -1412,11 +1482,11 @@ export {
1412
1482
  p as ComponentCategory,
1413
1483
  _ as ComponentType,
1414
1484
  de as GrantType,
1415
- se as LogTypes,
1416
- j as NodeType,
1485
+ re as LogTypes,
1486
+ F as NodeType,
1417
1487
  We as auth0FlowInsertSchema,
1418
- x as auth0FlowSchema,
1419
- xe as auth0UserResponseSchema,
1488
+ G as auth0FlowSchema,
1489
+ Ge as auth0UserResponseSchema,
1420
1490
  K as authParamsSchema,
1421
1491
  c as baseUserSchema,
1422
1492
  ge as bordersSchema,
@@ -1431,7 +1501,7 @@ export {
1431
1501
  Xe as codeSchema,
1432
1502
  q as codeTypeSchema,
1433
1503
  ue as colorsSchema,
1434
- w as componentSchema,
1504
+ j as componentSchema,
1435
1505
  W as connectionInsertSchema,
1436
1506
  B as connectionOptionsSchema,
1437
1507
  z as connectionSchema,
@@ -1440,8 +1510,8 @@ export {
1440
1510
  Z as customDomainSchema,
1441
1511
  Ve as customDomainWithTenantIdSchema,
1442
1512
  lt as emailProviderSchema,
1443
- G as endingSchema,
1444
- U as fieldComponentSchema,
1513
+ x as endingSchema,
1514
+ w as fieldComponentSchema,
1445
1515
  v as flowNodeSchema,
1446
1516
  o as fontDetailsSchema,
1447
1517
  me as fontsSchema,
@@ -1449,7 +1519,7 @@ export {
1449
1519
  ee as formInsertSchema,
1450
1520
  $ as formNodeComponentDefinition,
1451
1521
  Ye as formSchema,
1452
- F as genericComponentSchema,
1522
+ U as genericComponentSchema,
1453
1523
  P as genericNodeSchema,
1454
1524
  Qe as hookInsertSchema,
1455
1525
  Je as hookSchema,
@@ -1458,21 +1528,21 @@ export {
1458
1528
  ae as jwksSchema,
1459
1529
  D as legalComponentSchema,
1460
1530
  tt as logSchema,
1461
- re as loginSessionInsertSchema,
1531
+ se as loginSessionInsertSchema,
1462
1532
  et as loginSessionSchema,
1463
1533
  H as nodeSchema,
1464
1534
  $e as openIDConfigurationSchema,
1465
- je as organizationBrandingSchema,
1535
+ Fe as organizationBrandingSchema,
1466
1536
  ke as organizationEnabledConnectionSchema,
1467
1537
  Pe as organizationInsertSchema,
1468
1538
  ft as organizationSchema,
1469
1539
  ve as organizationTokenQuotaSchema,
1470
1540
  he as pageBackgroundSchema,
1471
- At as parseUserId,
1541
+ It as parseUserId,
1472
1542
  _e as passwordInsertSchema,
1473
1543
  ot as passwordSchema,
1474
1544
  S as profileDataSchema,
1475
- st as promptSettingSchema,
1545
+ rt as promptSettingSchema,
1476
1546
  fe as refreshTokenInsertSchema,
1477
1547
  ct as refreshTokenSchema,
1478
1548
  Ie as resourceServerInsertSchema,
@@ -1481,27 +1551,28 @@ export {
1481
1551
  Ce as resourceServerSchema,
1482
1552
  be as resourceServerScopeSchema,
1483
1553
  R as richTextComponentSchema,
1484
- Fe as roleInsertSchema,
1554
+ Ue as roleInsertSchema,
1485
1555
  St as roleListSchema,
1486
1556
  Oe as rolePermissionInsertSchema,
1487
1557
  gt as rolePermissionListSchema,
1488
1558
  Te as rolePermissionSchema,
1489
1559
  ut as rolePermissionWithDetailsListSchema,
1490
1560
  Ne as rolePermissionWithDetailsSchema,
1491
- we as roleSchema,
1561
+ je as roleSchema,
1492
1562
  pe as sessionInsertSchema,
1493
- it as sessionSchema,
1494
- nt as signingKeySchema,
1563
+ nt as sessionSchema,
1564
+ it as signingKeySchema,
1495
1565
  pt as smsProviderSchema,
1496
1566
  _t as smsSendParamsSchema,
1497
1567
  M as startSchema,
1498
1568
  k as stepNodeSchema,
1499
1569
  X as tenantInsertSchema,
1500
1570
  V as tenantSchema,
1571
+ At as tenantSettingsSchema,
1501
1572
  Se as themeInsertSchema,
1502
- rt as themeSchema,
1573
+ st as themeSchema,
1503
1574
  at as tokenResponseSchema,
1504
- Ge as totalsSchema,
1575
+ xe as totalsSchema,
1505
1576
  b as userInsertSchema,
1506
1577
  He as userOrganizationInsertSchema,
1507
1578
  bt as userOrganizationSchema,
@@ -1513,7 +1584,7 @@ export {
1513
1584
  Ke as userResponseSchema,
1514
1585
  De as userRoleInsertSchema,
1515
1586
  Et as userRoleListSchema,
1516
- Ue as userRoleSchema,
1587
+ we as userRoleSchema,
1517
1588
  A as userSchema,
1518
1589
  J as verificationMethodsSchema,
1519
1590
  Ee as widgetSchema
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.92.0",
14
+ "version": "0.94.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],