@authhero/adapter-interfaces 0.70.0 → 0.72.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 t=require("@hono/zod-openapi"),dt=t.z.object({start:t.z.number(),limit:t.z.number(),length:t.z.number()}),s=t.z.object({created_at:t.z.string(),updated_at:t.z.string()}),u=t.z.object({email:t.z.string().optional(),email_verified:t.z.boolean().optional(),name:t.z.string().optional(),username:t.z.string().optional(),given_name:t.z.string().optional(),phone_number:t.z.string().optional(),phone_verified:t.z.boolean().optional(),family_name:t.z.string().optional()}).catchall(t.z.any()),h=t.z.object({connection:t.z.string(),user_id:t.z.string(),provider:t.z.string(),isSocial:t.z.boolean(),access_token:t.z.string().optional(),access_token_secret:t.z.string().optional(),refresh_token:t.z.string().optional(),profileData:u.optional()}),c=t.z.object({email:t.z.string().optional().transform(e=>e&&e.toLowerCase()),username:t.z.string().optional(),phone_number:t.z.string().optional(),given_name:t.z.string().optional(),family_name:t.z.string().optional(),nickname:t.z.string().optional(),name:t.z.string().optional(),picture:t.z.string().optional(),locale:t.z.string().optional(),linked_to:t.z.string().optional(),profileData:t.z.string().optional(),user_id:t.z.string().optional(),app_metadata:t.z.any().default({}).optional(),user_metadata:t.z.any().default({}).optional()}),_=c.extend({email_verified:t.z.boolean().default(!1),verify_email:t.z.boolean().optional(),last_ip:t.z.string().optional(),last_login:t.z.string().optional(),user_id:t.z.string().optional(),provider:t.z.string().default("email"),connection:t.z.string().default("email"),is_social:t.z.boolean().optional()}),b=t.z.object({..._.shape,...s.shape,user_id:t.z.string(),is_social:t.z.boolean(),email:t.z.string().optional(),login_count:t.z.number().default(0),identities:t.z.array(h).optional()}),gt=b,mt=c.extend({login_count:t.z.number(),multifactor:t.z.array(t.z.string()).optional(),last_ip:t.z.string().optional(),last_login:t.z.string().optional(),user_id:t.z.string()}).catchall(t.z.any()),ut="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ht=(e=21)=>{let i="",a=crypto.getRandomValues(new Uint8Array(e));for(;e--;)i+=ut[a[e]&63];return i};const S=t.z.object({audience:t.z.string().optional(),recipient:t.z.string().optional(),createUpnClaim:t.z.boolean().optional(),mapUnknownClaimsAsIs:t.z.boolean().optional(),passthroughClaimsWithNoMapping:t.z.boolean().optional(),mapIdentities:t.z.boolean().optional(),signatureAlgorithm:t.z.string().optional(),digestAlgorithm:t.z.string().optional(),issuer:t.z.string().optional(),destination:t.z.string().optional(),lifetimeInSeconds:t.z.number().optional(),signResponse:t.z.boolean().optional(),nameIdentifierFormat:t.z.string().optional(),nameIdentifierProbes:t.z.array(t.z.string()).optional(),authnContextClassRef:t.z.string().optional(),mappings:t.z.record(t.z.string()).optional()}),f=t.z.object({id:t.z.string(),name:t.z.string(),callbacks:t.z.array(t.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs whitelisted to use as a callback to the client after authentication."}),allowed_origins:t.z.array(t.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. Query strings and hash information are not taken into account when validating these URLs."}),web_origins:t.z.array(t.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."}),allowed_logout_urls:t.z.array(t.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."}),allowed_clients:t.z.array(t.z.string()).default([]).optional().openapi({description:"Ids of clients that will be allowed to perform delegation requests. Clients that will be allowed to make delegation request. By default, all your clients will be allowed. This field allows you to specify specific clients"}),addons:t.z.object({samlp:S.optional()}).default({}).optional().openapi({description:"Addons associated with the client. The key is the addon's package name and the value is an object with the configuration for the addon."}),email_validation:t.z.enum(["enabled","disabled","enforced"]).default("enforced").optional().openapi({description:"Defines if it possible to sign in with an unverified email and if verification emails will be sent. This is not available in auth0"}),client_secret:t.z.string().default(()=>ht()).optional(),disable_sign_ups:t.z.boolean().optional().default(!1).openapi({description:"Prevents users from signing up using the hosted login page. This is not available in auth0"})}),E=t.z.object({created_at:t.z.string().transform(e=>e===null?"":e),updated_at:t.z.string().transform(e=>e===null?"":e),...f.shape}),o=t.z.object({x:t.z.number(),y:t.z.number()});var z=(e=>(e.RICH_TEXT="RICH_TEXT",e.NEXT_BUTTON="NEXT_BUTTON",e.BACK_BUTTON="BACK_BUTTON",e.SUBMIT_BUTTON="SUBMIT_BUTTON",e.DIVIDER="DIVIDER",e.TEXT="TEXT",e.EMAIL="EMAIL",e.PASSWORD="PASSWORD",e.NUMBER="NUMBER",e.PHONE="PHONE",e.DATE="DATE",e.CHECKBOX="CHECKBOX",e.RADIO="RADIO",e.SELECT="SELECT",e.HIDDEN="HIDDEN",e.LEGAL="LEGAL",e))(z||{}),p=(e=>(e.BLOCK="BLOCK",e.FIELD="FIELD",e))(p||{});const r=t.z.object({id:t.z.string(),category:t.z.nativeEnum(p),type:t.z.nativeEnum(z)}),I=r.extend({category:t.z.literal("BLOCK"),type:t.z.literal("RICH_TEXT"),config:t.z.object({content:t.z.string()}).passthrough()}),y=r.extend({category:t.z.literal("BLOCK"),type:t.z.union([t.z.literal("NEXT_BUTTON"),t.z.literal("BACK_BUTTON"),t.z.literal("SUBMIT_BUTTON")]),config:t.z.object({text:t.z.string()}).passthrough()}),j=r.extend({category:t.z.literal("FIELD"),type:t.z.literal("LEGAL"),required:t.z.boolean().optional(),sensitive:t.z.boolean().optional(),config:t.z.object({text:t.z.string()}).passthrough()}),w=r.extend({category:t.z.literal("FIELD"),type:t.z.union([t.z.literal("TEXT"),t.z.literal("EMAIL"),t.z.literal("PASSWORD"),t.z.literal("NUMBER"),t.z.literal("PHONE"),t.z.literal("DATE"),t.z.literal("CHECKBOX"),t.z.literal("RADIO"),t.z.literal("SELECT"),t.z.literal("HIDDEN")]),required:t.z.boolean().optional(),sensitive:t.z.boolean().optional(),config:t.z.object({label:t.z.string().optional(),placeholder:t.z.string().optional()}).passthrough()}),C=t.z.object({id:t.z.string(),category:t.z.string(),type:t.z.string()}).passthrough(),k=t.z.union([I,y,j,w,C]);var O=(e=>(e.STEP="STEP",e.FLOW="FLOW",e.CONDITION="CONDITION",e.ACTION="ACTION",e))(O||{});const T=t.z.object({id:t.z.string(),type:t.z.literal("STEP"),coordinates:o,alias:t.z.string().optional(),config:t.z.object({components:t.z.array(k),next_node:t.z.string()}).passthrough()}),A=t.z.object({id:t.z.string(),type:t.z.literal("FLOW"),coordinates:o,alias:t.z.string().optional(),config:t.z.object({flow_id:t.z.string(),next_node:t.z.string()})}),v=t.z.object({id:t.z.string(),type:t.z.string(),coordinates:o}).passthrough(),N=t.z.union([T,A,v]),D=t.z.object({next_node:t.z.string(),coordinates:o}).passthrough(),U=t.z.object({resume_flow:t.z.boolean().optional(),coordinates:o}).passthrough(),R=t.z.object({id:t.z.string(),name:t.z.string(),languages:t.z.object({primary:t.z.string()}).passthrough(),nodes:t.z.array(N),start:D,ending:U,created_at:t.z.string(),updated_at:t.z.string(),links:t.z.object({sdkSrc:t.z.string().optional(),sdk_src:t.z.string().optional()}).passthrough()}).passthrough(),_t=R.omit({id:!0,created_at:!0,updated_at:!0});var d=(e=>(e.TOKEN="token",e.TOKEN_ID_TOKEN="token id_token",e.CODE="code",e))(d||{}),g=(e=>(e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post",e.WEB_MESSAGE="web_message",e.SAML_POST="saml_post",e))(g||{}),m=(e=>(e.S256="S256",e.Plain="plain",e))(m||{});const x=t.z.object({client_id:t.z.string(),act_as:t.z.string().optional(),response_type:t.z.nativeEnum(d).optional(),response_mode:t.z.nativeEnum(g).optional(),redirect_uri:t.z.string().optional(),audience:t.z.string().optional(),organization:t.z.string().optional(),state:t.z.string().optional(),nonce:t.z.string().optional(),scope:t.z.string().optional(),prompt:t.z.string().optional(),code_challenge_method:t.z.nativeEnum(m).optional(),code_challenge:t.z.string().optional(),username:t.z.string().optional(),ui_locales:t.z.string().optional(),vendor_id:t.z.string().optional()}),bt=t.z.object({colors:t.z.object({primary:t.z.string(),page_background:t.z.object({type:t.z.string().optional(),start:t.z.string().optional(),end:t.z.string().optional(),angle_deg:t.z.number().optional()}).optional()}).optional(),logo_url:t.z.string().optional(),favicon_url:t.z.string().optional(),font:t.z.object({url:t.z.string()}).optional()}),P=t.z.object({kid:t.z.string().optional(),team_id:t.z.string().optional(),realms:t.z.string().optional(),client_id:t.z.string().optional(),client_secret:t.z.string().optional(),app_secret:t.z.string().optional(),scope:t.z.string().optional(),authorization_endpoint:t.z.string().optional(),token_endpoint:t.z.string().optional(),userinfo_endpoint:t.z.string().optional(),jwks_uri:t.z.string().optional(),discovery_url:t.z.string().optional(),issuer:t.z.string().optional(),provider:t.z.string().optional(),from:t.z.string().optional(),twilio_sid:t.z.string().optional(),twilio_token:t.z.string().optional()}),L=t.z.object({id:t.z.string().optional(),name:t.z.string(),strategy:t.z.string(),options:P.default({}),enabled_clients:t.z.array(t.z.string()).default([]).optional(),response_type:t.z.custom().optional(),response_mode:t.z.custom().optional()}),B=t.z.object({id:t.z.string(),created_at:t.z.string().transform(e=>e===null?"":e),updated_at:t.z.string().transform(e=>e===null?"":e)}).extend(L.shape),H=t.z.object({name:t.z.string(),audience:t.z.string(),sender_email:t.z.string().email(),sender_name:t.z.string(),support_url:t.z.string().url().optional(),logo:t.z.string().url().optional(),primary_color:t.z.string().optional(),secondary_color:t.z.string().optional(),language:t.z.string().optional(),id:t.z.string().optional()}),F=t.z.object({created_at:t.z.string().transform(e=>e===null?"":e),updated_at:t.z.string().transform(e=>e===null?"":e),...H.shape,id:t.z.string()}),St=t.z.object({logoUrl:t.z.string(),loginBackgroundImage:t.z.string().nullish(),style:t.z.object({primaryColor:t.z.string(),buttonTextColor:t.z.string(),primaryHoverColor:t.z.string()}),supportEmail:t.z.string().nullable(),supportUrl:t.z.string().nullable(),name:t.z.string(),showGreyishBackground:t.z.boolean().optional(),termsAndConditionsUrl:t.z.string().nullable(),companyName:t.z.string().optional(),checkoutHideSocial:t.z.boolean().optional(),siteUrl:t.z.string().nullable(),manageSubscriptionsUrl:t.z.string().optional()});t.z.object({...E.shape,tenant:F,connections:t.z.array(B)});const K=t.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),M=t.z.object({code_id:t.z.string().openapi({description:"The code that will be used in for instance an email verification flow"}),login_id:t.z.string().openapi({description:"The id of the login session that the code is connected to"}),connection_id:t.z.string().optional().openapi({description:"The connection that the code is connected to"}),code_type:K,code_verifier:t.z.string().optional().openapi({description:"The code verifier used in PKCE in outbound flows"}),code_challenge:t.z.string().optional().openapi({description:"The code challenge used in PKCE in outbound flows"}),code_challenge_method:t.z.enum(["plain","S256"]).optional().openapi({description:"The code challenge method used in PKCE in outbound flows"}),redirect_uri:t.z.string().optional().openapi({description:"The redirect URI associated with the code"}),nonce:t.z.string().optional().openapi({description:"The nonce value used for security in OIDC flows"}),state:t.z.string().optional().openapi({description:"The state parameter used for CSRF protection in OAuth flows"}),expires_at:t.z.string(),used_at:t.z.string().optional(),user_id:t.z.string().optional()}),ft=t.z.object({...M.shape,created_at:t.z.string()}),G=t.z.object({domain:t.z.string(),custom_domain_id:t.z.string().optional(),type:t.z.enum(["auth0_managed_certs","self_managed_certs"]),verification_method:t.z.enum(["txt"]).optional(),tls_policy:t.z.enum(["recommended"]).optional(),custom_client_ip_header:t.z.enum(["true-client-ip","cf-connecting-ip","x-forwarded-for","x-azure-clientip","null"]).optional(),domain_metadata:t.z.record(t.z.string().max(255)).optional()}),W=t.z.object({name:t.z.literal("txt"),record:t.z.string(),domain:t.z.string()}),X=t.z.object({...G.shape,custom_domain_id:t.z.string(),primary:t.z.boolean(),status:t.z.enum(["disabled","pending","pending_verification","ready"]),origin_domain_name:t.z.string().optional(),verification:t.z.object({methods:t.z.array(W)}).optional(),tls_policy:t.z.string().optional()}),Et=X.extend({tenant_id:t.z.string()}),It=t.z.object({id:t.z.string(),type:t.z.literal("submit"),label:t.z.string(),className:t.z.string().optional(),disabled:t.z.boolean().optional().default(!1),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0),customizations:t.z.record(t.z.string(),t.z.any()).optional()}),q=t.z.discriminatedUnion("type",[t.z.object({id:t.z.string(),type:t.z.literal("RICH_TEXT"),config:t.z.object({content:t.z.string()}),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)}),t.z.object({id:t.z.string(),type:t.z.literal("LEGAL"),config:t.z.object({text:t.z.string(),html:t.z.boolean().optional()}),required:t.z.boolean().optional(),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)}),t.z.object({id:t.z.string(),type:t.z.literal("NEXT_BUTTON"),config:t.z.object({text:t.z.string().optional()}),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)})]),V=t.z.object({name:t.z.string().openapi({description:"The name of the form"}),messages:t.z.object({errors:t.z.record(t.z.string(),t.z.any()).optional(),custom:t.z.record(t.z.string(),t.z.any()).optional()}).optional(),languages:t.z.object({primary:t.z.string().optional(),default:t.z.string().optional()}).optional(),translations:t.z.record(t.z.string(),t.z.any()).optional(),nodes:t.z.array(t.z.discriminatedUnion("type",[t.z.object({id:t.z.string(),type:t.z.literal("FLOW"),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}),alias:t.z.string().min(1).max(150).optional(),config:t.z.object({flow_id:t.z.string().max(30),next_node:t.z.string()})}),t.z.object({id:t.z.string(),type:t.z.literal("ROUTER"),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}),alias:t.z.string().min(1).max(150),config:t.z.object({rules:t.z.array(t.z.object({id:t.z.string(),alias:t.z.string().min(1).max(150).optional(),condition:t.z.any(),next_node:t.z.string()})),fallback:t.z.array(t.z.string())})}),t.z.object({id:t.z.string(),type:t.z.literal("STEP"),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}),alias:t.z.string().min(1).max(150).optional(),config:t.z.object({components:t.z.array(q),next_node:t.z.string()})})])).optional(),start:t.z.object({hidden_fields:t.z.array(t.z.object({key:t.z.string(),value:t.z.string()})).optional(),next_node:t.z.string().optional(),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}).optional()}).optional(),ending:t.z.object({redirection:t.z.object({delay:t.z.number().optional(),target:t.z.string().optional()}).optional(),after_submit:t.z.object({flow_id:t.z.string().optional()}).optional(),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}).optional(),resume_flow:t.z.boolean().optional()}).optional(),style:t.z.object({css:t.z.string().optional()}).optional()}).openapi({description:"Schema for flow-based forms (matches new JSON structure)"}),yt=t.z.object({...s.shape,...V.shape,id:t.z.string()}),Q=t.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),Y=t.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),l={enabled:t.z.boolean().default(!1),synchronous:t.z.boolean().default(!1),priority:t.z.number().optional(),hook_id:t.z.string().optional()},jt=t.z.object({...l,trigger_id:Q,url:t.z.string()}),wt=t.z.object({...l,trigger_id:Y,form_id:t.z.string()}),Ct=t.z.union([jt,wt]),kt=t.z.object({...l,trigger_id:Q,...s.shape,hook_id:t.z.string(),url:t.z.string()}),Ot=t.z.object({...l,trigger_id:Y,...s.shape,hook_id:t.z.string(),form_id:t.z.string()}),Tt=t.z.union([kt,Ot]),J=t.z.object({alg:t.z.enum(["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512"]),e:t.z.string(),kid:t.z.string(),kty:t.z.enum(["RSA","EC","oct"]),n:t.z.string(),x5t:t.z.string().optional(),x5c:t.z.array(t.z.string()).optional(),use:t.z.enum(["sig","enc"]).optional()}),At=t.z.object({keys:t.z.array(J)}),vt=t.z.object({issuer:t.z.string(),authorization_endpoint:t.z.string(),token_endpoint:t.z.string(),device_authorization_endpoint:t.z.string(),userinfo_endpoint:t.z.string(),mfa_challenge_endpoint:t.z.string(),jwks_uri:t.z.string(),registration_endpoint:t.z.string(),revocation_endpoint:t.z.string(),scopes_supported:t.z.array(t.z.string()),response_types_supported:t.z.array(t.z.string()),code_challenge_methods_supported:t.z.array(t.z.string()),response_modes_supported:t.z.array(t.z.string()),subject_types_supported:t.z.array(t.z.string()),id_token_signing_alg_values_supported:t.z.array(t.z.string()),token_endpoint_auth_methods_supported:t.z.array(t.z.string()),claims_supported:t.z.array(t.z.string()),request_uri_parameter_supported:t.z.boolean(),request_parameter_supported:t.z.boolean(),token_endpoint_auth_signing_alg_values_supported:t.z.array(t.z.string())}),Z=t.z.object({csrf_token:t.z.string(),auth0Client:t.z.string().optional(),authParams:x,expires_at:t.z.string(),deleted_at:t.z.string().optional(),ip:t.z.string().optional(),useragent:t.z.string().optional(),session_id:t.z.string().optional(),authorization_url:t.z.string().optional(),login_completed:t.z.boolean().optional().default(!1)}).openapi({description:"This represents a login sesion"}),Nt=t.z.object({...Z.shape,id:t.z.string().openapi({description:"This is is used as the state in the universal login"}),created_at:t.z.string(),updated_at:t.z.string()});var $=(e=>(e.FAILED_SILENT_AUTH="fsa",e.FAILED_SIGNUP="fs",e.FAILED_LOGIN="f",e.FAILED_LOGIN_INCORRECT_PASSWORD="fp",e.FAILED_CHANGE_PASSWORD="fcp",e.FAILED_BY_CONNECTOR="fc",e.FAILED_LOGIN_INVALID_EMAIL_USERNAME="fu",e.FAILED_HOOK="fh",e.FAILED_CROSS_ORIGIN_AUTHENTICATION="fcoa",e.SUCCESS_API_OPERATION="sapi",e.SUCCESS_CHANGE_PASSWORD="scp",e.SUCCESS_CHANGE_PASSWORD_REQUEST="scpr",e.SUCCESS_CHANGE_USERNAME="scu",e.SUCCESS_CROSS_ORIGIN_AUTHENTICATION="scoa",e.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN="seacft",e.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN="serft",e.SUCCESS_LOGIN="s",e.SUCCESS_LOGOUT="slo",e.SUCCESS_SIGNUP="ss",e.SUCCESS_SILENT_AUTH="ssa",e.SUCCESS_VERIFICATION_EMAIL="sv",e.SUCCESS_VERIFICATION_EMAIL_REQUEST="svr",e.CODE_LINK_SENT="cls",e.BLOCKED_ACCOUNT_EMAIL="limit_wc",e.BLOCKED_ACCOUNT_IP="limit_sul",e.BLOCKED_IP_ADDRESS="limit_mu",e))($||{});const Dt=t.z.enum(["cls","fsa","fs","f","fc","fcoa","fcp","fh","fp","fs","fu","s","sapi","scoa","scp","scpr","scu","seacft","serft","slo","ss","ssa","sv","svr"]),tt=t.z.object({name:t.z.string(),version:t.z.string(),env:t.z.object({node:t.z.string().optional()}).optional()}),Ut=t.z.object({type:Dt,date:t.z.string(),description:t.z.string().optional(),log_id:t.z.string().optional(),_id:t.z.string().optional(),ip:t.z.string(),user_agent:t.z.string(),details:t.z.any().optional(),isMobile:t.z.boolean(),user_id:t.z.string().optional(),user_name:t.z.string().optional(),connection:t.z.string().optional(),connection_id:t.z.string().optional(),client_id:t.z.string().optional(),client_name:t.z.string().optional(),audience:t.z.string().optional(),scope:t.z.array(t.z.string()).optional(),strategy:t.z.string().optional(),strategy_type:t.z.string().optional(),hostname:t.z.string().optional(),auth0_client:tt.optional()}),et=t.z.object({user_id:t.z.string(),password:t.z.string(),algorithm:t.z.enum(["bcrypt","argon2id"]).default("argon2id")}),Rt=t.z.object({...et.shape,created_at:t.z.string(),updated_at:t.z.string()}),nt=t.z.object({initial_user_agent:t.z.string().describe("First user agent of the device from which this user logged in"),initial_ip:t.z.string().describe("First IP address associated with this session"),initial_asn:t.z.string().describe("First autonomous system number associated with this session"),last_user_agent:t.z.string().describe("Last user agent of the device from which this user logged in"),last_ip:t.z.string().describe("Last IP address from which this user logged in"),last_asn:t.z.string().describe("Last autonomous system number from which this user logged in")}),ot=t.z.object({id:t.z.string(),revoked_at:t.z.string().optional(),used_at:t.z.string().optional(),user_id:t.z.string().describe("The user ID associated with the session"),expires_at:t.z.string().optional(),login_session_id:t.z.string(),idle_expires_at:t.z.string().optional(),device:nt.describe("Metadata related to the device used in the session"),clients:t.z.array(t.z.string()).describe("List of client details for the session")}),xt=t.z.object({created_at:t.z.string(),updated_at:t.z.string(),authenticated_at:t.z.string(),last_interaction_at:t.z.string(),...ot.shape}),Pt=t.z.object({kid:t.z.string().openapi({description:"The key id of the signing key"}),cert:t.z.string().openapi({description:"The public certificate of the signing key"}),fingerprint:t.z.string().openapi({description:"The cert fingerprint"}),thumbprint:t.z.string().openapi({description:"The cert thumbprint"}),pkcs7:t.z.string().optional().openapi({description:"The private key in pkcs7 format"}),current:t.z.boolean().optional().openapi({description:"True if the key is the current key"}),next:t.z.boolean().optional().openapi({description:"True if the key is the next key"}),previous:t.z.boolean().optional().openapi({description:"True if the key is the previous key"}),current_since:t.z.string().optional().openapi({description:"The date and time when the key became the current key"}),current_until:t.z.string().optional().openapi({description:"The date and time when the current key was rotated"}),revoked:t.z.boolean().optional().openapi({description:"True if the key is revoked"}),revoked_at:t.z.string().optional().openapi({description:"The date and time when the key was revoked"})});var it=(e=>(e.RefreshToken="refresh_token",e.AuthorizationCode="authorization_code",e.ClientCredential="client_credentials",e.Passwordless="passwordless",e.Password="password",e.OTP="http://auth0.com/oauth/grant-type/passwordless/otp",e))(it||{});const Lt=t.z.object({access_token:t.z.string(),id_token:t.z.string().optional(),scope:t.z.string().optional(),state:t.z.string().optional(),refresh_token:t.z.string().optional(),token_type:t.z.string(),expires_in:t.z.number()});t.z.object({code:t.z.string(),state:t.z.string().optional()});const at=t.z.object({button_border_radius:t.z.number(),button_border_weight:t.z.number(),buttons_style:t.z.enum(["pill"]),input_border_radius:t.z.number(),input_border_weight:t.z.number(),inputs_style:t.z.enum(["pill"]),show_widget_shadow:t.z.boolean(),widget_border_weight:t.z.number(),widget_corner_radius:t.z.number()}),st=t.z.object({base_focus_color:t.z.string(),base_hover_color:t.z.string(),body_text:t.z.string(),captcha_widget_theme:t.z.enum(["auto"]),error:t.z.string(),header:t.z.string(),icons:t.z.string(),input_background:t.z.string(),input_border:t.z.string(),input_filled_text:t.z.string(),input_labels_placeholders:t.z.string(),links_focused_components:t.z.string(),primary_button:t.z.string(),primary_button_label:t.z.string(),secondary_button_border:t.z.string(),secondary_button_label:t.z.string(),success:t.z.string(),widget_background:t.z.string(),widget_border:t.z.string()}),n=t.z.object({bold:t.z.boolean(),size:t.z.number()}),rt=t.z.object({body_text:n,buttons_text:n,font_url:t.z.string(),input_labels:n,links:n,links_style:t.z.enum(["normal"]),reference_text_size:t.z.number(),subtitle:n,title:n}),lt=t.z.object({background_color:t.z.string(),background_image_url:t.z.string(),page_layout:t.z.enum(["center"])}),ct=t.z.object({header_text_alignment:t.z.enum(["center"]),logo_height:t.z.number(),logo_position:t.z.enum(["center"]),logo_url:t.z.string(),social_buttons_layout:t.z.enum(["bottom"])}),zt=t.z.object({borders:at,colors:st,displayName:t.z.string(),fonts:rt,page_background:lt,widget:ct}),Bt=zt.extend({themeId:t.z.string()}),Ht=t.z.object({universal_login_experience:t.z.enum(["new","classic"]).default("new"),identifier_first:t.z.boolean().default(!0),password_first:t.z.boolean().default(!1),webauthn_platform_first_factor:t.z.boolean()}),Ft=t.z.object({name:t.z.string(),enabled:t.z.boolean().optional().default(!0),default_from_address:t.z.string().optional(),credentials:t.z.union([t.z.object({accessKeyId:t.z.string(),secretAccessKey:t.z.string(),region:t.z.string()}),t.z.object({smtp_host:t.z.array(t.z.string()),smtp_port:t.z.number(),smtp_user:t.z.string(),smtp_pass:t.z.string()}),t.z.object({api_key:t.z.string(),domain:t.z.string().optional()}),t.z.object({connectionString:t.z.string()}),t.z.object({tenantId:t.z.string(),clientId:t.z.string(),clientSecret:t.z.string()})]),settings:t.z.object({}).optional()}),pt=t.z.object({id:t.z.string(),session_id:t.z.string(),user_id:t.z.string(),client_id:t.z.string(),expires_at:t.z.string().optional(),idle_expires_at:t.z.string().optional(),last_exchanged_at:t.z.string().optional(),device:nt,resource_servers:t.z.array(t.z.object({audience:t.z.string(),scopes:t.z.string()})),rotating:t.z.boolean()}),Kt=t.z.object({created_at:t.z.string(),...pt.shape}),Mt=t.z.object({to:t.z.string(),message:t.z.string()}),Gt=t.z.object({name:t.z.string(),options:t.z.object({})});function Wt(e){const[i,a]=e.split("|");if(!i||!a)throw new Error(`Invalid user_id: ${e}`);return{connection:i,id:a}}exports.Auth0Client=tt;exports.AuthorizationResponseMode=g;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=m;exports.ComponentCategory=p;exports.ComponentType=z;exports.GrantType=it;exports.LogTypes=$;exports.NodeType=O;exports.applicationInsertSchema=f;exports.applicationSchema=E;exports.auth0FlowInsertSchema=_t;exports.auth0FlowSchema=R;exports.auth0UserResponseSchema=gt;exports.authParamsSchema=x;exports.baseUserSchema=c;exports.bordersSchema=at;exports.brandingSchema=bt;exports.buttonComponentSchema=y;exports.codeInsertSchema=M;exports.codeSchema=ft;exports.codeTypeSchema=K;exports.colorsSchema=st;exports.componentSchema=k;exports.connectionInsertSchema=L;exports.connectionOptionsSchema=P;exports.connectionSchema=B;exports.coordinatesSchema=o;exports.customDomainInsertSchema=G;exports.customDomainSchema=X;exports.customDomainWithTenantIdSchema=Et;exports.emailProviderSchema=Ft;exports.endingSchema=U;exports.fieldComponentSchema=w;exports.flowNodeSchema=A;exports.fontDetailsSchema=n;exports.fontsSchema=rt;exports.formControlSchema=It;exports.formInsertSchema=V;exports.formNodeComponentDefinition=q;exports.formSchema=yt;exports.genericComponentSchema=C;exports.genericNodeSchema=v;exports.hookInsertSchema=Ct;exports.hookSchema=Tt;exports.identitySchema=h;exports.jwksKeySchema=At;exports.jwksSchema=J;exports.legalComponentSchema=j;exports.logSchema=Ut;exports.loginSessionInsertSchema=Z;exports.loginSessionSchema=Nt;exports.nodeSchema=N;exports.openIDConfigurationSchema=vt;exports.pageBackgroundSchema=lt;exports.parseUserId=Wt;exports.passwordInsertSchema=et;exports.passwordSchema=Rt;exports.profileDataSchema=u;exports.promptSettingSchema=Ht;exports.refreshTokenInsertSchema=pt;exports.refreshTokenSchema=Kt;exports.richTextComponentSchema=I;exports.samlpAddon=S;exports.sessionInsertSchema=ot;exports.sessionSchema=xt;exports.signingKeySchema=Pt;exports.smsProviderSchema=Gt;exports.smsSendParamsSchema=Mt;exports.startSchema=D;exports.stepNodeSchema=T;exports.tenantInsertSchema=H;exports.tenantSchema=F;exports.themeInsertSchema=zt;exports.themeSchema=Bt;exports.tokenResponseSchema=Lt;exports.totalsSchema=dt;exports.userInsertSchema=_;exports.userResponseSchema=mt;exports.userSchema=b;exports.vendorSettingsSchema=St;exports.verificationMethodsSchema=W;exports.widgetSchema=ct;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@hono/zod-openapi"),dt=t.z.object({start:t.z.number(),limit:t.z.number(),length:t.z.number()}),s=t.z.object({created_at:t.z.string(),updated_at:t.z.string()}),u=t.z.object({email:t.z.string().optional(),email_verified:t.z.boolean().optional(),name:t.z.string().optional(),username:t.z.string().optional(),given_name:t.z.string().optional(),phone_number:t.z.string().optional(),phone_verified:t.z.boolean().optional(),family_name:t.z.string().optional()}).catchall(t.z.any()),h=t.z.object({connection:t.z.string(),user_id:t.z.string(),provider:t.z.string(),isSocial:t.z.boolean(),access_token:t.z.string().optional(),access_token_secret:t.z.string().optional(),refresh_token:t.z.string().optional(),profileData:u.optional()}),c=t.z.object({email:t.z.string().optional().transform(e=>e&&e.toLowerCase()),username:t.z.string().optional(),phone_number:t.z.string().optional(),given_name:t.z.string().optional(),family_name:t.z.string().optional(),nickname:t.z.string().optional(),name:t.z.string().optional(),picture:t.z.string().optional(),locale:t.z.string().optional(),linked_to:t.z.string().optional(),profileData:t.z.string().optional(),user_id:t.z.string().optional(),app_metadata:t.z.any().default({}).optional(),user_metadata:t.z.any().default({}).optional()}),_=c.extend({email_verified:t.z.boolean().default(!1),verify_email:t.z.boolean().optional(),last_ip:t.z.string().optional(),last_login:t.z.string().optional(),user_id:t.z.string().optional(),provider:t.z.string().default("email"),connection:t.z.string().default("email"),is_social:t.z.boolean().optional()}),b=t.z.object({..._.shape,...s.shape,user_id:t.z.string(),is_social:t.z.boolean(),email:t.z.string().optional(),login_count:t.z.number().default(0),identities:t.z.array(h).optional()}),gt=b,mt=c.extend({login_count:t.z.number(),multifactor:t.z.array(t.z.string()).optional(),last_ip:t.z.string().optional(),last_login:t.z.string().optional(),user_id:t.z.string()}).catchall(t.z.any()),ut="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ht=(e=21)=>{let i="",a=crypto.getRandomValues(new Uint8Array(e));for(;e--;)i+=ut[a[e]&63];return i};const S=t.z.object({audience:t.z.string().optional(),recipient:t.z.string().optional(),createUpnClaim:t.z.boolean().optional(),mapUnknownClaimsAsIs:t.z.boolean().optional(),passthroughClaimsWithNoMapping:t.z.boolean().optional(),mapIdentities:t.z.boolean().optional(),signatureAlgorithm:t.z.string().optional(),digestAlgorithm:t.z.string().optional(),issuer:t.z.string().optional(),destination:t.z.string().optional(),lifetimeInSeconds:t.z.number().optional(),signResponse:t.z.boolean().optional(),nameIdentifierFormat:t.z.string().optional(),nameIdentifierProbes:t.z.array(t.z.string()).optional(),authnContextClassRef:t.z.string().optional(),mappings:t.z.record(t.z.string()).optional()}),f=t.z.object({id:t.z.string(),name:t.z.string(),callbacks:t.z.array(t.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs whitelisted to use as a callback to the client after authentication."}),allowed_origins:t.z.array(t.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. Query strings and hash information are not taken into account when validating these URLs."}),web_origins:t.z.array(t.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."}),allowed_logout_urls:t.z.array(t.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."}),allowed_clients:t.z.array(t.z.string()).default([]).optional().openapi({description:"Ids of clients that will be allowed to perform delegation requests. Clients that will be allowed to make delegation request. By default, all your clients will be allowed. This field allows you to specify specific clients"}),addons:t.z.object({samlp:S.optional()}).default({}).optional().openapi({description:"Addons associated with the client. The key is the addon's package name and the value is an object with the configuration for the addon."}),email_validation:t.z.enum(["enabled","disabled","enforced"]).default("enforced").optional().openapi({description:"Defines if it possible to sign in with an unverified email and if verification emails will be sent. This is not available in auth0"}),client_secret:t.z.string().default(()=>ht()).optional(),disable_sign_ups:t.z.boolean().optional().default(!1).openapi({description:"Prevents users from signing up using the hosted login page. This is not available in auth0"})}),E=t.z.object({created_at:t.z.string().transform(e=>e===null?"":e),updated_at:t.z.string().transform(e=>e===null?"":e),...f.shape}),o=t.z.object({x:t.z.number(),y:t.z.number()});var z=(e=>(e.RICH_TEXT="RICH_TEXT",e.NEXT_BUTTON="NEXT_BUTTON",e.BACK_BUTTON="BACK_BUTTON",e.SUBMIT_BUTTON="SUBMIT_BUTTON",e.DIVIDER="DIVIDER",e.TEXT="TEXT",e.EMAIL="EMAIL",e.PASSWORD="PASSWORD",e.NUMBER="NUMBER",e.PHONE="PHONE",e.DATE="DATE",e.CHECKBOX="CHECKBOX",e.RADIO="RADIO",e.SELECT="SELECT",e.HIDDEN="HIDDEN",e.LEGAL="LEGAL",e))(z||{}),p=(e=>(e.BLOCK="BLOCK",e.FIELD="FIELD",e))(p||{});const r=t.z.object({id:t.z.string(),category:t.z.nativeEnum(p),type:t.z.nativeEnum(z)}),y=r.extend({category:t.z.literal("BLOCK"),type:t.z.literal("RICH_TEXT"),config:t.z.object({content:t.z.string()}).passthrough()}),I=r.extend({category:t.z.literal("BLOCK"),type:t.z.union([t.z.literal("NEXT_BUTTON"),t.z.literal("BACK_BUTTON"),t.z.literal("SUBMIT_BUTTON")]),config:t.z.object({text:t.z.string()}).passthrough()}),j=r.extend({category:t.z.literal("FIELD"),type:t.z.literal("LEGAL"),required:t.z.boolean().optional(),sensitive:t.z.boolean().optional(),config:t.z.object({text:t.z.string()}).passthrough()}),w=r.extend({category:t.z.literal("FIELD"),type:t.z.union([t.z.literal("TEXT"),t.z.literal("EMAIL"),t.z.literal("PASSWORD"),t.z.literal("NUMBER"),t.z.literal("PHONE"),t.z.literal("DATE"),t.z.literal("CHECKBOX"),t.z.literal("RADIO"),t.z.literal("SELECT"),t.z.literal("HIDDEN")]),required:t.z.boolean().optional(),sensitive:t.z.boolean().optional(),config:t.z.object({label:t.z.string().optional(),placeholder:t.z.string().optional()}).passthrough()}),C=t.z.object({id:t.z.string(),category:t.z.string(),type:t.z.string()}).passthrough(),k=t.z.union([y,I,j,w,C]);var O=(e=>(e.STEP="STEP",e.FLOW="FLOW",e.CONDITION="CONDITION",e.ACTION="ACTION",e))(O||{});const T=t.z.object({id:t.z.string(),type:t.z.literal("STEP"),coordinates:o,alias:t.z.string().optional(),config:t.z.object({components:t.z.array(k),next_node:t.z.string()}).passthrough()}),v=t.z.object({id:t.z.string(),type:t.z.literal("FLOW"),coordinates:o,alias:t.z.string().optional(),config:t.z.object({flow_id:t.z.string(),next_node:t.z.string()})}),A=t.z.object({id:t.z.string(),type:t.z.string(),coordinates:o}).passthrough(),N=t.z.union([T,v,A]),D=t.z.object({next_node:t.z.string(),coordinates:o}).passthrough(),U=t.z.object({resume_flow:t.z.boolean().optional(),coordinates:o}).passthrough(),R=t.z.object({id:t.z.string(),name:t.z.string(),languages:t.z.object({primary:t.z.string()}).passthrough(),nodes:t.z.array(N),start:D,ending:U,created_at:t.z.string(),updated_at:t.z.string(),links:t.z.object({sdkSrc:t.z.string().optional(),sdk_src:t.z.string().optional()}).passthrough()}).passthrough(),_t=R.omit({id:!0,created_at:!0,updated_at:!0});var d=(e=>(e.TOKEN="token",e.TOKEN_ID_TOKEN="token id_token",e.CODE="code",e))(d||{}),g=(e=>(e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post",e.WEB_MESSAGE="web_message",e.SAML_POST="saml_post",e))(g||{}),m=(e=>(e.S256="S256",e.Plain="plain",e))(m||{});const x=t.z.object({client_id:t.z.string(),act_as:t.z.string().optional(),response_type:t.z.nativeEnum(d).optional(),response_mode:t.z.nativeEnum(g).optional(),redirect_uri:t.z.string().optional(),audience:t.z.string().optional(),organization:t.z.string().optional(),state:t.z.string().optional(),nonce:t.z.string().optional(),scope:t.z.string().optional(),prompt:t.z.string().optional(),code_challenge_method:t.z.nativeEnum(m).optional(),code_challenge:t.z.string().optional(),username:t.z.string().optional(),ui_locales:t.z.string().optional(),vendor_id:t.z.string().optional()}),bt=t.z.object({colors:t.z.object({primary:t.z.string(),page_background:t.z.object({type:t.z.string().optional(),start:t.z.string().optional(),end:t.z.string().optional(),angle_deg:t.z.number().optional()}).optional()}).optional(),logo_url:t.z.string().optional(),favicon_url:t.z.string().optional(),font:t.z.object({url:t.z.string()}).optional()}),P=t.z.object({kid:t.z.string().optional(),team_id:t.z.string().optional(),realms:t.z.string().optional(),authentication_method:t.z.string().optional(),client_id:t.z.string().optional(),client_secret:t.z.string().optional(),app_secret:t.z.string().optional(),scope:t.z.string().optional(),authorization_endpoint:t.z.string().optional(),token_endpoint:t.z.string().optional(),userinfo_endpoint:t.z.string().optional(),jwks_uri:t.z.string().optional(),discovery_url:t.z.string().optional(),issuer:t.z.string().optional(),provider:t.z.string().optional(),from:t.z.string().optional(),twilio_sid:t.z.string().optional(),twilio_token:t.z.string().optional()}),L=t.z.object({id:t.z.string().optional(),name:t.z.string(),strategy:t.z.string(),options:P.default({}),enabled_clients:t.z.array(t.z.string()).default([]).optional(),response_type:t.z.custom().optional(),response_mode:t.z.custom().optional()}),B=t.z.object({id:t.z.string(),created_at:t.z.string().transform(e=>e===null?"":e),updated_at:t.z.string().transform(e=>e===null?"":e)}).extend(L.shape),H=t.z.object({name:t.z.string(),audience:t.z.string(),sender_email:t.z.string().email(),sender_name:t.z.string(),support_url:t.z.string().url().optional(),logo:t.z.string().url().optional(),primary_color:t.z.string().optional(),secondary_color:t.z.string().optional(),language:t.z.string().optional(),id:t.z.string().optional()}),F=t.z.object({created_at:t.z.string().transform(e=>e===null?"":e),updated_at:t.z.string().transform(e=>e===null?"":e),...H.shape,id:t.z.string()}),St=t.z.object({logoUrl:t.z.string(),loginBackgroundImage:t.z.string().nullish(),style:t.z.object({primaryColor:t.z.string(),buttonTextColor:t.z.string(),primaryHoverColor:t.z.string()}),supportEmail:t.z.string().nullable(),supportUrl:t.z.string().nullable(),name:t.z.string(),showGreyishBackground:t.z.boolean().optional(),termsAndConditionsUrl:t.z.string().nullable(),companyName:t.z.string().optional(),checkoutHideSocial:t.z.boolean().optional(),siteUrl:t.z.string().nullable(),manageSubscriptionsUrl:t.z.string().optional()});t.z.object({...E.shape,tenant:F,connections:t.z.array(B)});const K=t.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),M=t.z.object({code_id:t.z.string().openapi({description:"The code that will be used in for instance an email verification flow"}),login_id:t.z.string().openapi({description:"The id of the login session that the code is connected to"}),connection_id:t.z.string().optional().openapi({description:"The connection that the code is connected to"}),code_type:K,code_verifier:t.z.string().optional().openapi({description:"The code verifier used in PKCE in outbound flows"}),code_challenge:t.z.string().optional().openapi({description:"The code challenge used in PKCE in outbound flows"}),code_challenge_method:t.z.enum(["plain","S256"]).optional().openapi({description:"The code challenge method used in PKCE in outbound flows"}),redirect_uri:t.z.string().optional().openapi({description:"The redirect URI associated with the code"}),nonce:t.z.string().optional().openapi({description:"The nonce value used for security in OIDC flows"}),state:t.z.string().optional().openapi({description:"The state parameter used for CSRF protection in OAuth flows"}),expires_at:t.z.string(),used_at:t.z.string().optional(),user_id:t.z.string().optional()}),ft=t.z.object({...M.shape,created_at:t.z.string()}),G=t.z.object({domain:t.z.string(),custom_domain_id:t.z.string().optional(),type:t.z.enum(["auth0_managed_certs","self_managed_certs"]),verification_method:t.z.enum(["txt"]).optional(),tls_policy:t.z.enum(["recommended"]).optional(),custom_client_ip_header:t.z.enum(["true-client-ip","cf-connecting-ip","x-forwarded-for","x-azure-clientip","null"]).optional(),domain_metadata:t.z.record(t.z.string().max(255)).optional()}),X=t.z.object({name:t.z.literal("txt"),record:t.z.string(),domain:t.z.string()}),W=t.z.object({...G.shape,custom_domain_id:t.z.string(),primary:t.z.boolean(),status:t.z.enum(["disabled","pending","pending_verification","ready"]),origin_domain_name:t.z.string().optional(),verification:t.z.object({methods:t.z.array(X)}).optional(),tls_policy:t.z.string().optional()}),Et=W.extend({tenant_id:t.z.string()}),yt=t.z.object({id:t.z.string(),type:t.z.literal("submit"),label:t.z.string(),className:t.z.string().optional(),disabled:t.z.boolean().optional().default(!1),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0),customizations:t.z.record(t.z.string(),t.z.any()).optional()}),q=t.z.discriminatedUnion("type",[t.z.object({id:t.z.string(),type:t.z.literal("RICH_TEXT"),config:t.z.object({content:t.z.string()}),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)}),t.z.object({id:t.z.string(),type:t.z.literal("LEGAL"),config:t.z.object({text:t.z.string(),html:t.z.boolean().optional()}),required:t.z.boolean().optional(),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)}),t.z.object({id:t.z.string(),type:t.z.literal("TEXT"),config:t.z.object({placeholder:t.z.string().optional(),multiline:t.z.boolean().optional()}),required:t.z.boolean().optional(),sensitive:t.z.boolean().optional(),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)}),t.z.object({id:t.z.string(),type:t.z.literal("NEXT_BUTTON"),config:t.z.object({text:t.z.string().optional()}),order:t.z.number().optional(),visible:t.z.boolean().optional().default(!0)})]),V=t.z.object({name:t.z.string().openapi({description:"The name of the form"}),messages:t.z.object({errors:t.z.record(t.z.string(),t.z.any()).optional(),custom:t.z.record(t.z.string(),t.z.any()).optional()}).optional(),languages:t.z.object({primary:t.z.string().optional(),default:t.z.string().optional()}).optional(),translations:t.z.record(t.z.string(),t.z.any()).optional(),nodes:t.z.array(t.z.discriminatedUnion("type",[t.z.object({id:t.z.string(),type:t.z.literal("FLOW"),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}),alias:t.z.string().min(1).max(150).optional(),config:t.z.object({flow_id:t.z.string().max(30),next_node:t.z.string()})}),t.z.object({id:t.z.string(),type:t.z.literal("ROUTER"),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}),alias:t.z.string().min(1).max(150),config:t.z.object({rules:t.z.array(t.z.object({id:t.z.string(),alias:t.z.string().min(1).max(150).optional(),condition:t.z.any(),next_node:t.z.string()})),fallback:t.z.array(t.z.string())})}),t.z.object({id:t.z.string(),type:t.z.literal("STEP"),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}),alias:t.z.string().min(1).max(150).optional(),config:t.z.object({components:t.z.array(q),next_node:t.z.string()})})])).optional(),start:t.z.object({hidden_fields:t.z.array(t.z.object({key:t.z.string(),value:t.z.string()})).optional(),next_node:t.z.string().optional(),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}).optional()}).optional(),ending:t.z.object({redirection:t.z.object({delay:t.z.number().optional(),target:t.z.string().optional()}).optional(),after_submit:t.z.object({flow_id:t.z.string().optional()}).optional(),coordinates:t.z.object({x:t.z.number(),y:t.z.number()}).optional(),resume_flow:t.z.boolean().optional()}).optional(),style:t.z.object({css:t.z.string().optional()}).optional()}).openapi({description:"Schema for flow-based forms (matches new JSON structure)"}),It=t.z.object({...s.shape,...V.shape,id:t.z.string()}),Q=t.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),Y=t.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),l={enabled:t.z.boolean().default(!1),synchronous:t.z.boolean().default(!1),priority:t.z.number().optional(),hook_id:t.z.string().optional()},jt=t.z.object({...l,trigger_id:Q,url:t.z.string()}),wt=t.z.object({...l,trigger_id:Y,form_id:t.z.string()}),Ct=t.z.union([jt,wt]),kt=t.z.object({...l,trigger_id:Q,...s.shape,hook_id:t.z.string(),url:t.z.string()}),Ot=t.z.object({...l,trigger_id:Y,...s.shape,hook_id:t.z.string(),form_id:t.z.string()}),Tt=t.z.union([kt,Ot]),J=t.z.object({alg:t.z.enum(["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512"]),e:t.z.string(),kid:t.z.string(),kty:t.z.enum(["RSA","EC","oct"]),n:t.z.string(),x5t:t.z.string().optional(),x5c:t.z.array(t.z.string()).optional(),use:t.z.enum(["sig","enc"]).optional()}),vt=t.z.object({keys:t.z.array(J)}),At=t.z.object({issuer:t.z.string(),authorization_endpoint:t.z.string(),token_endpoint:t.z.string(),device_authorization_endpoint:t.z.string(),userinfo_endpoint:t.z.string(),mfa_challenge_endpoint:t.z.string(),jwks_uri:t.z.string(),registration_endpoint:t.z.string(),revocation_endpoint:t.z.string(),scopes_supported:t.z.array(t.z.string()),response_types_supported:t.z.array(t.z.string()),code_challenge_methods_supported:t.z.array(t.z.string()),response_modes_supported:t.z.array(t.z.string()),subject_types_supported:t.z.array(t.z.string()),id_token_signing_alg_values_supported:t.z.array(t.z.string()),token_endpoint_auth_methods_supported:t.z.array(t.z.string()),claims_supported:t.z.array(t.z.string()),request_uri_parameter_supported:t.z.boolean(),request_parameter_supported:t.z.boolean(),token_endpoint_auth_signing_alg_values_supported:t.z.array(t.z.string())}),Z=t.z.object({csrf_token:t.z.string(),auth0Client:t.z.string().optional(),authParams:x,expires_at:t.z.string(),deleted_at:t.z.string().optional(),ip:t.z.string().optional(),useragent:t.z.string().optional(),session_id:t.z.string().optional(),authorization_url:t.z.string().optional(),login_completed:t.z.boolean().optional().default(!1)}).openapi({description:"This represents a login sesion"}),Nt=t.z.object({...Z.shape,id:t.z.string().openapi({description:"This is is used as the state in the universal login"}),created_at:t.z.string(),updated_at:t.z.string()});var $=(e=>(e.FAILED_SILENT_AUTH="fsa",e.FAILED_SIGNUP="fs",e.FAILED_LOGIN="f",e.FAILED_LOGIN_INCORRECT_PASSWORD="fp",e.FAILED_CHANGE_PASSWORD="fcp",e.FAILED_BY_CONNECTOR="fc",e.FAILED_LOGIN_INVALID_EMAIL_USERNAME="fu",e.FAILED_HOOK="fh",e.FAILED_CROSS_ORIGIN_AUTHENTICATION="fcoa",e.SUCCESS_API_OPERATION="sapi",e.SUCCESS_CHANGE_PASSWORD="scp",e.SUCCESS_CHANGE_PASSWORD_REQUEST="scpr",e.SUCCESS_CHANGE_USERNAME="scu",e.SUCCESS_CROSS_ORIGIN_AUTHENTICATION="scoa",e.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN="seacft",e.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN="serft",e.SUCCESS_LOGIN="s",e.SUCCESS_LOGOUT="slo",e.SUCCESS_SIGNUP="ss",e.SUCCESS_SILENT_AUTH="ssa",e.SUCCESS_VERIFICATION_EMAIL="sv",e.SUCCESS_VERIFICATION_EMAIL_REQUEST="svr",e.CODE_LINK_SENT="cls",e.BLOCKED_ACCOUNT_EMAIL="limit_wc",e.BLOCKED_ACCOUNT_IP="limit_sul",e.BLOCKED_IP_ADDRESS="limit_mu",e))($||{});const Dt=t.z.enum(["cls","fsa","fs","f","fc","fcoa","fcp","fh","fp","fs","fu","s","sapi","scoa","scp","scpr","scu","seacft","serft","slo","ss","ssa","sv","svr"]),tt=t.z.object({name:t.z.string(),version:t.z.string(),env:t.z.object({node:t.z.string().optional()}).optional()}),Ut=t.z.object({type:Dt,date:t.z.string(),description:t.z.string().optional(),log_id:t.z.string().optional(),_id:t.z.string().optional(),ip:t.z.string(),user_agent:t.z.string(),details:t.z.any().optional(),isMobile:t.z.boolean(),user_id:t.z.string().optional(),user_name:t.z.string().optional(),connection:t.z.string().optional(),connection_id:t.z.string().optional(),client_id:t.z.string().optional(),client_name:t.z.string().optional(),audience:t.z.string().optional(),scope:t.z.array(t.z.string()).optional(),strategy:t.z.string().optional(),strategy_type:t.z.string().optional(),hostname:t.z.string().optional(),auth0_client:tt.optional()}),et=t.z.object({user_id:t.z.string(),password:t.z.string(),algorithm:t.z.enum(["bcrypt","argon2id"]).default("argon2id")}),Rt=t.z.object({...et.shape,created_at:t.z.string(),updated_at:t.z.string()}),nt=t.z.object({initial_user_agent:t.z.string().describe("First user agent of the device from which this user logged in"),initial_ip:t.z.string().describe("First IP address associated with this session"),initial_asn:t.z.string().describe("First autonomous system number associated with this session"),last_user_agent:t.z.string().describe("Last user agent of the device from which this user logged in"),last_ip:t.z.string().describe("Last IP address from which this user logged in"),last_asn:t.z.string().describe("Last autonomous system number from which this user logged in")}),ot=t.z.object({id:t.z.string(),revoked_at:t.z.string().optional(),used_at:t.z.string().optional(),user_id:t.z.string().describe("The user ID associated with the session"),expires_at:t.z.string().optional(),login_session_id:t.z.string(),idle_expires_at:t.z.string().optional(),device:nt.describe("Metadata related to the device used in the session"),clients:t.z.array(t.z.string()).describe("List of client details for the session")}),xt=t.z.object({created_at:t.z.string(),updated_at:t.z.string(),authenticated_at:t.z.string(),last_interaction_at:t.z.string(),...ot.shape}),Pt=t.z.object({kid:t.z.string().openapi({description:"The key id of the signing key"}),cert:t.z.string().openapi({description:"The public certificate of the signing key"}),fingerprint:t.z.string().openapi({description:"The cert fingerprint"}),thumbprint:t.z.string().openapi({description:"The cert thumbprint"}),pkcs7:t.z.string().optional().openapi({description:"The private key in pkcs7 format"}),current:t.z.boolean().optional().openapi({description:"True if the key is the current key"}),next:t.z.boolean().optional().openapi({description:"True if the key is the next key"}),previous:t.z.boolean().optional().openapi({description:"True if the key is the previous key"}),current_since:t.z.string().optional().openapi({description:"The date and time when the key became the current key"}),current_until:t.z.string().optional().openapi({description:"The date and time when the current key was rotated"}),revoked:t.z.boolean().optional().openapi({description:"True if the key is revoked"}),revoked_at:t.z.string().optional().openapi({description:"The date and time when the key was revoked"})});var it=(e=>(e.RefreshToken="refresh_token",e.AuthorizationCode="authorization_code",e.ClientCredential="client_credentials",e.Passwordless="passwordless",e.Password="password",e.OTP="http://auth0.com/oauth/grant-type/passwordless/otp",e))(it||{});const Lt=t.z.object({access_token:t.z.string(),id_token:t.z.string().optional(),scope:t.z.string().optional(),state:t.z.string().optional(),refresh_token:t.z.string().optional(),token_type:t.z.string(),expires_in:t.z.number()});t.z.object({code:t.z.string(),state:t.z.string().optional()});const at=t.z.object({button_border_radius:t.z.number(),button_border_weight:t.z.number(),buttons_style:t.z.enum(["pill"]),input_border_radius:t.z.number(),input_border_weight:t.z.number(),inputs_style:t.z.enum(["pill"]),show_widget_shadow:t.z.boolean(),widget_border_weight:t.z.number(),widget_corner_radius:t.z.number()}),st=t.z.object({base_focus_color:t.z.string(),base_hover_color:t.z.string(),body_text:t.z.string(),captcha_widget_theme:t.z.enum(["auto"]),error:t.z.string(),header:t.z.string(),icons:t.z.string(),input_background:t.z.string(),input_border:t.z.string(),input_filled_text:t.z.string(),input_labels_placeholders:t.z.string(),links_focused_components:t.z.string(),primary_button:t.z.string(),primary_button_label:t.z.string(),secondary_button_border:t.z.string(),secondary_button_label:t.z.string(),success:t.z.string(),widget_background:t.z.string(),widget_border:t.z.string()}),n=t.z.object({bold:t.z.boolean(),size:t.z.number()}),rt=t.z.object({body_text:n,buttons_text:n,font_url:t.z.string(),input_labels:n,links:n,links_style:t.z.enum(["normal"]),reference_text_size:t.z.number(),subtitle:n,title:n}),lt=t.z.object({background_color:t.z.string(),background_image_url:t.z.string(),page_layout:t.z.enum(["center"])}),ct=t.z.object({header_text_alignment:t.z.enum(["center"]),logo_height:t.z.number(),logo_position:t.z.enum(["center"]),logo_url:t.z.string(),social_buttons_layout:t.z.enum(["bottom"])}),zt=t.z.object({borders:at,colors:st,displayName:t.z.string(),fonts:rt,page_background:lt,widget:ct}),Bt=zt.extend({themeId:t.z.string()}),Ht=t.z.object({universal_login_experience:t.z.enum(["new","classic"]).default("new"),identifier_first:t.z.boolean().default(!0),password_first:t.z.boolean().default(!1),webauthn_platform_first_factor:t.z.boolean()}),Ft=t.z.object({name:t.z.string(),enabled:t.z.boolean().optional().default(!0),default_from_address:t.z.string().optional(),credentials:t.z.union([t.z.object({accessKeyId:t.z.string(),secretAccessKey:t.z.string(),region:t.z.string()}),t.z.object({smtp_host:t.z.array(t.z.string()),smtp_port:t.z.number(),smtp_user:t.z.string(),smtp_pass:t.z.string()}),t.z.object({api_key:t.z.string(),domain:t.z.string().optional()}),t.z.object({connectionString:t.z.string()}),t.z.object({tenantId:t.z.string(),clientId:t.z.string(),clientSecret:t.z.string()})]),settings:t.z.object({}).optional()}),pt=t.z.object({id:t.z.string(),session_id:t.z.string(),user_id:t.z.string(),client_id:t.z.string(),expires_at:t.z.string().optional(),idle_expires_at:t.z.string().optional(),last_exchanged_at:t.z.string().optional(),device:nt,resource_servers:t.z.array(t.z.object({audience:t.z.string(),scopes:t.z.string()})),rotating:t.z.boolean()}),Kt=t.z.object({created_at:t.z.string(),...pt.shape}),Mt=t.z.object({to:t.z.string(),message:t.z.string()}),Gt=t.z.object({name:t.z.string(),options:t.z.object({})});function Xt(e){const[i,a]=e.split("|");if(!i||!a)throw new Error(`Invalid user_id: ${e}`);return{connection:i,id:a}}exports.Auth0Client=tt;exports.AuthorizationResponseMode=g;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=m;exports.ComponentCategory=p;exports.ComponentType=z;exports.GrantType=it;exports.LogTypes=$;exports.NodeType=O;exports.applicationInsertSchema=f;exports.applicationSchema=E;exports.auth0FlowInsertSchema=_t;exports.auth0FlowSchema=R;exports.auth0UserResponseSchema=gt;exports.authParamsSchema=x;exports.baseUserSchema=c;exports.bordersSchema=at;exports.brandingSchema=bt;exports.buttonComponentSchema=I;exports.codeInsertSchema=M;exports.codeSchema=ft;exports.codeTypeSchema=K;exports.colorsSchema=st;exports.componentSchema=k;exports.connectionInsertSchema=L;exports.connectionOptionsSchema=P;exports.connectionSchema=B;exports.coordinatesSchema=o;exports.customDomainInsertSchema=G;exports.customDomainSchema=W;exports.customDomainWithTenantIdSchema=Et;exports.emailProviderSchema=Ft;exports.endingSchema=U;exports.fieldComponentSchema=w;exports.flowNodeSchema=v;exports.fontDetailsSchema=n;exports.fontsSchema=rt;exports.formControlSchema=yt;exports.formInsertSchema=V;exports.formNodeComponentDefinition=q;exports.formSchema=It;exports.genericComponentSchema=C;exports.genericNodeSchema=A;exports.hookInsertSchema=Ct;exports.hookSchema=Tt;exports.identitySchema=h;exports.jwksKeySchema=vt;exports.jwksSchema=J;exports.legalComponentSchema=j;exports.logSchema=Ut;exports.loginSessionInsertSchema=Z;exports.loginSessionSchema=Nt;exports.nodeSchema=N;exports.openIDConfigurationSchema=At;exports.pageBackgroundSchema=lt;exports.parseUserId=Xt;exports.passwordInsertSchema=et;exports.passwordSchema=Rt;exports.profileDataSchema=u;exports.promptSettingSchema=Ht;exports.refreshTokenInsertSchema=pt;exports.refreshTokenSchema=Kt;exports.richTextComponentSchema=y;exports.samlpAddon=S;exports.sessionInsertSchema=ot;exports.sessionSchema=xt;exports.signingKeySchema=Pt;exports.smsProviderSchema=Gt;exports.smsSendParamsSchema=Mt;exports.startSchema=D;exports.stepNodeSchema=T;exports.tenantInsertSchema=H;exports.tenantSchema=F;exports.themeInsertSchema=zt;exports.themeSchema=Bt;exports.tokenResponseSchema=Lt;exports.totalsSchema=dt;exports.userInsertSchema=_;exports.userResponseSchema=mt;exports.userSchema=b;exports.vendorSettingsSchema=St;exports.verificationMethodsSchema=X;exports.widgetSchema=ct;
@@ -8192,6 +8192,7 @@ declare const ClientSchema: z.ZodObject<{
8192
8192
  kid: z.ZodOptional<z.ZodString>;
8193
8193
  team_id: z.ZodOptional<z.ZodString>;
8194
8194
  realms: z.ZodOptional<z.ZodString>;
8195
+ authentication_method: z.ZodOptional<z.ZodString>;
8195
8196
  client_id: z.ZodOptional<z.ZodString>;
8196
8197
  client_secret: z.ZodOptional<z.ZodString>;
8197
8198
  app_secret: z.ZodOptional<z.ZodString>;
@@ -8215,6 +8216,7 @@ declare const ClientSchema: z.ZodObject<{
8215
8216
  kid?: string | undefined;
8216
8217
  team_id?: string | undefined;
8217
8218
  realms?: string | undefined;
8219
+ authentication_method?: string | undefined;
8218
8220
  app_secret?: string | undefined;
8219
8221
  authorization_endpoint?: string | undefined;
8220
8222
  token_endpoint?: string | undefined;
@@ -8233,6 +8235,7 @@ declare const ClientSchema: z.ZodObject<{
8233
8235
  kid?: string | undefined;
8234
8236
  team_id?: string | undefined;
8235
8237
  realms?: string | undefined;
8238
+ authentication_method?: string | undefined;
8236
8239
  app_secret?: string | undefined;
8237
8240
  authorization_endpoint?: string | undefined;
8238
8241
  token_endpoint?: string | undefined;
@@ -8256,6 +8259,7 @@ declare const ClientSchema: z.ZodObject<{
8256
8259
  kid?: string | undefined;
8257
8260
  team_id?: string | undefined;
8258
8261
  realms?: string | undefined;
8262
+ authentication_method?: string | undefined;
8259
8263
  app_secret?: string | undefined;
8260
8264
  authorization_endpoint?: string | undefined;
8261
8265
  token_endpoint?: string | undefined;
@@ -8288,6 +8292,7 @@ declare const ClientSchema: z.ZodObject<{
8288
8292
  kid?: string | undefined;
8289
8293
  team_id?: string | undefined;
8290
8294
  realms?: string | undefined;
8295
+ authentication_method?: string | undefined;
8291
8296
  app_secret?: string | undefined;
8292
8297
  authorization_endpoint?: string | undefined;
8293
8298
  token_endpoint?: string | undefined;
@@ -8441,6 +8446,7 @@ declare const ClientSchema: z.ZodObject<{
8441
8446
  kid?: string | undefined;
8442
8447
  team_id?: string | undefined;
8443
8448
  realms?: string | undefined;
8449
+ authentication_method?: string | undefined;
8444
8450
  app_secret?: string | undefined;
8445
8451
  authorization_endpoint?: string | undefined;
8446
8452
  token_endpoint?: string | undefined;
@@ -8520,6 +8526,7 @@ declare const ClientSchema: z.ZodObject<{
8520
8526
  kid?: string | undefined;
8521
8527
  team_id?: string | undefined;
8522
8528
  realms?: string | undefined;
8529
+ authentication_method?: string | undefined;
8523
8530
  app_secret?: string | undefined;
8524
8531
  authorization_endpoint?: string | undefined;
8525
8532
  token_endpoint?: string | undefined;
@@ -8689,6 +8696,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
8689
8696
  kid: z.ZodOptional<z.ZodString>;
8690
8697
  team_id: z.ZodOptional<z.ZodString>;
8691
8698
  realms: z.ZodOptional<z.ZodString>;
8699
+ authentication_method: z.ZodOptional<z.ZodString>;
8692
8700
  client_id: z.ZodOptional<z.ZodString>;
8693
8701
  client_secret: z.ZodOptional<z.ZodString>;
8694
8702
  app_secret: z.ZodOptional<z.ZodString>;
@@ -8712,6 +8720,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
8712
8720
  kid?: string | undefined;
8713
8721
  team_id?: string | undefined;
8714
8722
  realms?: string | undefined;
8723
+ authentication_method?: string | undefined;
8715
8724
  app_secret?: string | undefined;
8716
8725
  authorization_endpoint?: string | undefined;
8717
8726
  token_endpoint?: string | undefined;
@@ -8730,6 +8739,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
8730
8739
  kid?: string | undefined;
8731
8740
  team_id?: string | undefined;
8732
8741
  realms?: string | undefined;
8742
+ authentication_method?: string | undefined;
8733
8743
  app_secret?: string | undefined;
8734
8744
  authorization_endpoint?: string | undefined;
8735
8745
  token_endpoint?: string | undefined;
@@ -8748,6 +8758,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
8748
8758
  kid: z.ZodOptional<z.ZodString>;
8749
8759
  team_id: z.ZodOptional<z.ZodString>;
8750
8760
  realms: z.ZodOptional<z.ZodString>;
8761
+ authentication_method: z.ZodOptional<z.ZodString>;
8751
8762
  client_id: z.ZodOptional<z.ZodString>;
8752
8763
  client_secret: z.ZodOptional<z.ZodString>;
8753
8764
  app_secret: z.ZodOptional<z.ZodString>;
@@ -8771,6 +8782,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
8771
8782
  kid?: string | undefined;
8772
8783
  team_id?: string | undefined;
8773
8784
  realms?: string | undefined;
8785
+ authentication_method?: string | undefined;
8774
8786
  app_secret?: string | undefined;
8775
8787
  authorization_endpoint?: string | undefined;
8776
8788
  token_endpoint?: string | undefined;
@@ -8789,6 +8801,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
8789
8801
  kid?: string | undefined;
8790
8802
  team_id?: string | undefined;
8791
8803
  realms?: string | undefined;
8804
+ authentication_method?: string | undefined;
8792
8805
  app_secret?: string | undefined;
8793
8806
  authorization_endpoint?: string | undefined;
8794
8807
  token_endpoint?: string | undefined;
@@ -8812,6 +8825,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
8812
8825
  kid?: string | undefined;
8813
8826
  team_id?: string | undefined;
8814
8827
  realms?: string | undefined;
8828
+ authentication_method?: string | undefined;
8815
8829
  app_secret?: string | undefined;
8816
8830
  authorization_endpoint?: string | undefined;
8817
8831
  token_endpoint?: string | undefined;
@@ -8840,6 +8854,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
8840
8854
  kid?: string | undefined;
8841
8855
  team_id?: string | undefined;
8842
8856
  realms?: string | undefined;
8857
+ authentication_method?: string | undefined;
8843
8858
  app_secret?: string | undefined;
8844
8859
  authorization_endpoint?: string | undefined;
8845
8860
  token_endpoint?: string | undefined;
@@ -8867,6 +8882,7 @@ export declare const connectionSchema: z.ZodObject<{
8867
8882
  kid: z.ZodOptional<z.ZodString>;
8868
8883
  team_id: z.ZodOptional<z.ZodString>;
8869
8884
  realms: z.ZodOptional<z.ZodString>;
8885
+ authentication_method: z.ZodOptional<z.ZodString>;
8870
8886
  client_id: z.ZodOptional<z.ZodString>;
8871
8887
  client_secret: z.ZodOptional<z.ZodString>;
8872
8888
  app_secret: z.ZodOptional<z.ZodString>;
@@ -8890,6 +8906,7 @@ export declare const connectionSchema: z.ZodObject<{
8890
8906
  kid?: string | undefined;
8891
8907
  team_id?: string | undefined;
8892
8908
  realms?: string | undefined;
8909
+ authentication_method?: string | undefined;
8893
8910
  app_secret?: string | undefined;
8894
8911
  authorization_endpoint?: string | undefined;
8895
8912
  token_endpoint?: string | undefined;
@@ -8908,6 +8925,7 @@ export declare const connectionSchema: z.ZodObject<{
8908
8925
  kid?: string | undefined;
8909
8926
  team_id?: string | undefined;
8910
8927
  realms?: string | undefined;
8928
+ authentication_method?: string | undefined;
8911
8929
  app_secret?: string | undefined;
8912
8930
  authorization_endpoint?: string | undefined;
8913
8931
  token_endpoint?: string | undefined;
@@ -8931,6 +8949,7 @@ export declare const connectionSchema: z.ZodObject<{
8931
8949
  kid?: string | undefined;
8932
8950
  team_id?: string | undefined;
8933
8951
  realms?: string | undefined;
8952
+ authentication_method?: string | undefined;
8934
8953
  app_secret?: string | undefined;
8935
8954
  authorization_endpoint?: string | undefined;
8936
8955
  token_endpoint?: string | undefined;
@@ -8963,6 +8982,7 @@ export declare const connectionSchema: z.ZodObject<{
8963
8982
  kid?: string | undefined;
8964
8983
  team_id?: string | undefined;
8965
8984
  realms?: string | undefined;
8985
+ authentication_method?: string | undefined;
8966
8986
  app_secret?: string | undefined;
8967
8987
  authorization_endpoint?: string | undefined;
8968
8988
  token_endpoint?: string | undefined;
@@ -9322,6 +9342,46 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
9322
9342
  order?: number | undefined;
9323
9343
  visible?: boolean | undefined;
9324
9344
  }>,
9345
+ z.ZodObject<{
9346
+ id: z.ZodString;
9347
+ type: z.ZodLiteral<"TEXT">;
9348
+ config: z.ZodObject<{
9349
+ placeholder: z.ZodOptional<z.ZodString>;
9350
+ multiline: z.ZodOptional<z.ZodBoolean>;
9351
+ }, "strip", z.ZodTypeAny, {
9352
+ placeholder?: string | undefined;
9353
+ multiline?: boolean | undefined;
9354
+ }, {
9355
+ placeholder?: string | undefined;
9356
+ multiline?: boolean | undefined;
9357
+ }>;
9358
+ required: z.ZodOptional<z.ZodBoolean>;
9359
+ sensitive: z.ZodOptional<z.ZodBoolean>;
9360
+ order: z.ZodOptional<z.ZodNumber>;
9361
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9362
+ }, "strip", z.ZodTypeAny, {
9363
+ type: "TEXT";
9364
+ id: string;
9365
+ config: {
9366
+ placeholder?: string | undefined;
9367
+ multiline?: boolean | undefined;
9368
+ };
9369
+ visible: boolean;
9370
+ required?: boolean | undefined;
9371
+ sensitive?: boolean | undefined;
9372
+ order?: number | undefined;
9373
+ }, {
9374
+ type: "TEXT";
9375
+ id: string;
9376
+ config: {
9377
+ placeholder?: string | undefined;
9378
+ multiline?: boolean | undefined;
9379
+ };
9380
+ required?: boolean | undefined;
9381
+ sensitive?: boolean | undefined;
9382
+ order?: number | undefined;
9383
+ visible?: boolean | undefined;
9384
+ }>,
9325
9385
  z.ZodObject<{
9326
9386
  id: z.ZodString;
9327
9387
  type: z.ZodLiteral<"NEXT_BUTTON">;
@@ -9595,6 +9655,46 @@ export declare const formInsertSchema: z.ZodObject<{
9595
9655
  order?: number | undefined;
9596
9656
  visible?: boolean | undefined;
9597
9657
  }>,
9658
+ z.ZodObject<{
9659
+ id: z.ZodString;
9660
+ type: z.ZodLiteral<"TEXT">;
9661
+ config: z.ZodObject<{
9662
+ placeholder: z.ZodOptional<z.ZodString>;
9663
+ multiline: z.ZodOptional<z.ZodBoolean>;
9664
+ }, "strip", z.ZodTypeAny, {
9665
+ placeholder?: string | undefined;
9666
+ multiline?: boolean | undefined;
9667
+ }, {
9668
+ placeholder?: string | undefined;
9669
+ multiline?: boolean | undefined;
9670
+ }>;
9671
+ required: z.ZodOptional<z.ZodBoolean>;
9672
+ sensitive: z.ZodOptional<z.ZodBoolean>;
9673
+ order: z.ZodOptional<z.ZodNumber>;
9674
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9675
+ }, "strip", z.ZodTypeAny, {
9676
+ type: "TEXT";
9677
+ id: string;
9678
+ config: {
9679
+ placeholder?: string | undefined;
9680
+ multiline?: boolean | undefined;
9681
+ };
9682
+ visible: boolean;
9683
+ required?: boolean | undefined;
9684
+ sensitive?: boolean | undefined;
9685
+ order?: number | undefined;
9686
+ }, {
9687
+ type: "TEXT";
9688
+ id: string;
9689
+ config: {
9690
+ placeholder?: string | undefined;
9691
+ multiline?: boolean | undefined;
9692
+ };
9693
+ required?: boolean | undefined;
9694
+ sensitive?: boolean | undefined;
9695
+ order?: number | undefined;
9696
+ visible?: boolean | undefined;
9697
+ }>,
9598
9698
  z.ZodObject<{
9599
9699
  id: z.ZodString;
9600
9700
  type: z.ZodLiteral<"NEXT_BUTTON">;
@@ -9645,6 +9745,17 @@ export declare const formInsertSchema: z.ZodObject<{
9645
9745
  visible: boolean;
9646
9746
  required?: boolean | undefined;
9647
9747
  order?: number | undefined;
9748
+ } | {
9749
+ type: "TEXT";
9750
+ id: string;
9751
+ config: {
9752
+ placeholder?: string | undefined;
9753
+ multiline?: boolean | undefined;
9754
+ };
9755
+ visible: boolean;
9756
+ required?: boolean | undefined;
9757
+ sensitive?: boolean | undefined;
9758
+ order?: number | undefined;
9648
9759
  } | {
9649
9760
  type: "NEXT_BUTTON";
9650
9761
  id: string;
@@ -9674,6 +9785,17 @@ export declare const formInsertSchema: z.ZodObject<{
9674
9785
  required?: boolean | undefined;
9675
9786
  order?: number | undefined;
9676
9787
  visible?: boolean | undefined;
9788
+ } | {
9789
+ type: "TEXT";
9790
+ id: string;
9791
+ config: {
9792
+ placeholder?: string | undefined;
9793
+ multiline?: boolean | undefined;
9794
+ };
9795
+ required?: boolean | undefined;
9796
+ sensitive?: boolean | undefined;
9797
+ order?: number | undefined;
9798
+ visible?: boolean | undefined;
9677
9799
  } | {
9678
9800
  type: "NEXT_BUTTON";
9679
9801
  id: string;
@@ -9707,6 +9829,17 @@ export declare const formInsertSchema: z.ZodObject<{
9707
9829
  visible: boolean;
9708
9830
  required?: boolean | undefined;
9709
9831
  order?: number | undefined;
9832
+ } | {
9833
+ type: "TEXT";
9834
+ id: string;
9835
+ config: {
9836
+ placeholder?: string | undefined;
9837
+ multiline?: boolean | undefined;
9838
+ };
9839
+ visible: boolean;
9840
+ required?: boolean | undefined;
9841
+ sensitive?: boolean | undefined;
9842
+ order?: number | undefined;
9710
9843
  } | {
9711
9844
  type: "NEXT_BUTTON";
9712
9845
  id: string;
@@ -9745,6 +9878,17 @@ export declare const formInsertSchema: z.ZodObject<{
9745
9878
  required?: boolean | undefined;
9746
9879
  order?: number | undefined;
9747
9880
  visible?: boolean | undefined;
9881
+ } | {
9882
+ type: "TEXT";
9883
+ id: string;
9884
+ config: {
9885
+ placeholder?: string | undefined;
9886
+ multiline?: boolean | undefined;
9887
+ };
9888
+ required?: boolean | undefined;
9889
+ sensitive?: boolean | undefined;
9890
+ order?: number | undefined;
9891
+ visible?: boolean | undefined;
9748
9892
  } | {
9749
9893
  type: "NEXT_BUTTON";
9750
9894
  id: string;
@@ -9940,6 +10084,17 @@ export declare const formInsertSchema: z.ZodObject<{
9940
10084
  visible: boolean;
9941
10085
  required?: boolean | undefined;
9942
10086
  order?: number | undefined;
10087
+ } | {
10088
+ type: "TEXT";
10089
+ id: string;
10090
+ config: {
10091
+ placeholder?: string | undefined;
10092
+ multiline?: boolean | undefined;
10093
+ };
10094
+ visible: boolean;
10095
+ required?: boolean | undefined;
10096
+ sensitive?: boolean | undefined;
10097
+ order?: number | undefined;
9943
10098
  } | {
9944
10099
  type: "NEXT_BUTTON";
9945
10100
  id: string;
@@ -10047,6 +10202,17 @@ export declare const formInsertSchema: z.ZodObject<{
10047
10202
  required?: boolean | undefined;
10048
10203
  order?: number | undefined;
10049
10204
  visible?: boolean | undefined;
10205
+ } | {
10206
+ type: "TEXT";
10207
+ id: string;
10208
+ config: {
10209
+ placeholder?: string | undefined;
10210
+ multiline?: boolean | undefined;
10211
+ };
10212
+ required?: boolean | undefined;
10213
+ sensitive?: boolean | undefined;
10214
+ order?: number | undefined;
10215
+ visible?: boolean | undefined;
10050
10216
  } | {
10051
10217
  type: "NEXT_BUTTON";
10052
10218
  id: string;
@@ -10328,6 +10494,46 @@ export declare const formSchema: z.ZodObject<{
10328
10494
  order?: number | undefined;
10329
10495
  visible?: boolean | undefined;
10330
10496
  }>,
10497
+ z.ZodObject<{
10498
+ id: z.ZodString;
10499
+ type: z.ZodLiteral<"TEXT">;
10500
+ config: z.ZodObject<{
10501
+ placeholder: z.ZodOptional<z.ZodString>;
10502
+ multiline: z.ZodOptional<z.ZodBoolean>;
10503
+ }, "strip", z.ZodTypeAny, {
10504
+ placeholder?: string | undefined;
10505
+ multiline?: boolean | undefined;
10506
+ }, {
10507
+ placeholder?: string | undefined;
10508
+ multiline?: boolean | undefined;
10509
+ }>;
10510
+ required: z.ZodOptional<z.ZodBoolean>;
10511
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10512
+ order: z.ZodOptional<z.ZodNumber>;
10513
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10514
+ }, "strip", z.ZodTypeAny, {
10515
+ type: "TEXT";
10516
+ id: string;
10517
+ config: {
10518
+ placeholder?: string | undefined;
10519
+ multiline?: boolean | undefined;
10520
+ };
10521
+ visible: boolean;
10522
+ required?: boolean | undefined;
10523
+ sensitive?: boolean | undefined;
10524
+ order?: number | undefined;
10525
+ }, {
10526
+ type: "TEXT";
10527
+ id: string;
10528
+ config: {
10529
+ placeholder?: string | undefined;
10530
+ multiline?: boolean | undefined;
10531
+ };
10532
+ required?: boolean | undefined;
10533
+ sensitive?: boolean | undefined;
10534
+ order?: number | undefined;
10535
+ visible?: boolean | undefined;
10536
+ }>,
10331
10537
  z.ZodObject<{
10332
10538
  id: z.ZodString;
10333
10539
  type: z.ZodLiteral<"NEXT_BUTTON">;
@@ -10378,6 +10584,17 @@ export declare const formSchema: z.ZodObject<{
10378
10584
  visible: boolean;
10379
10585
  required?: boolean | undefined;
10380
10586
  order?: number | undefined;
10587
+ } | {
10588
+ type: "TEXT";
10589
+ id: string;
10590
+ config: {
10591
+ placeholder?: string | undefined;
10592
+ multiline?: boolean | undefined;
10593
+ };
10594
+ visible: boolean;
10595
+ required?: boolean | undefined;
10596
+ sensitive?: boolean | undefined;
10597
+ order?: number | undefined;
10381
10598
  } | {
10382
10599
  type: "NEXT_BUTTON";
10383
10600
  id: string;
@@ -10407,6 +10624,17 @@ export declare const formSchema: z.ZodObject<{
10407
10624
  required?: boolean | undefined;
10408
10625
  order?: number | undefined;
10409
10626
  visible?: boolean | undefined;
10627
+ } | {
10628
+ type: "TEXT";
10629
+ id: string;
10630
+ config: {
10631
+ placeholder?: string | undefined;
10632
+ multiline?: boolean | undefined;
10633
+ };
10634
+ required?: boolean | undefined;
10635
+ sensitive?: boolean | undefined;
10636
+ order?: number | undefined;
10637
+ visible?: boolean | undefined;
10410
10638
  } | {
10411
10639
  type: "NEXT_BUTTON";
10412
10640
  id: string;
@@ -10440,6 +10668,17 @@ export declare const formSchema: z.ZodObject<{
10440
10668
  visible: boolean;
10441
10669
  required?: boolean | undefined;
10442
10670
  order?: number | undefined;
10671
+ } | {
10672
+ type: "TEXT";
10673
+ id: string;
10674
+ config: {
10675
+ placeholder?: string | undefined;
10676
+ multiline?: boolean | undefined;
10677
+ };
10678
+ visible: boolean;
10679
+ required?: boolean | undefined;
10680
+ sensitive?: boolean | undefined;
10681
+ order?: number | undefined;
10443
10682
  } | {
10444
10683
  type: "NEXT_BUTTON";
10445
10684
  id: string;
@@ -10478,6 +10717,17 @@ export declare const formSchema: z.ZodObject<{
10478
10717
  required?: boolean | undefined;
10479
10718
  order?: number | undefined;
10480
10719
  visible?: boolean | undefined;
10720
+ } | {
10721
+ type: "TEXT";
10722
+ id: string;
10723
+ config: {
10724
+ placeholder?: string | undefined;
10725
+ multiline?: boolean | undefined;
10726
+ };
10727
+ required?: boolean | undefined;
10728
+ sensitive?: boolean | undefined;
10729
+ order?: number | undefined;
10730
+ visible?: boolean | undefined;
10481
10731
  } | {
10482
10732
  type: "NEXT_BUTTON";
10483
10733
  id: string;
@@ -10678,6 +10928,17 @@ export declare const formSchema: z.ZodObject<{
10678
10928
  visible: boolean;
10679
10929
  required?: boolean | undefined;
10680
10930
  order?: number | undefined;
10931
+ } | {
10932
+ type: "TEXT";
10933
+ id: string;
10934
+ config: {
10935
+ placeholder?: string | undefined;
10936
+ multiline?: boolean | undefined;
10937
+ };
10938
+ visible: boolean;
10939
+ required?: boolean | undefined;
10940
+ sensitive?: boolean | undefined;
10941
+ order?: number | undefined;
10681
10942
  } | {
10682
10943
  type: "NEXT_BUTTON";
10683
10944
  id: string;
@@ -10788,6 +11049,17 @@ export declare const formSchema: z.ZodObject<{
10788
11049
  required?: boolean | undefined;
10789
11050
  order?: number | undefined;
10790
11051
  visible?: boolean | undefined;
11052
+ } | {
11053
+ type: "TEXT";
11054
+ id: string;
11055
+ config: {
11056
+ placeholder?: string | undefined;
11057
+ multiline?: boolean | undefined;
11058
+ };
11059
+ required?: boolean | undefined;
11060
+ sensitive?: boolean | undefined;
11061
+ order?: number | undefined;
11062
+ visible?: boolean | undefined;
10791
11063
  } | {
10792
11064
  type: "NEXT_BUTTON";
10793
11065
  id: string;
@@ -124,10 +124,10 @@ const w = t.object({
124
124
  x: t.number(),
125
125
  y: t.number()
126
126
  });
127
- var p = /* @__PURE__ */ ((e) => (e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e))(p || {}), g = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.FIELD = "FIELD", e))(g || {});
127
+ var p = /* @__PURE__ */ ((e) => (e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e))(p || {}), d = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.FIELD = "FIELD", e))(d || {});
128
128
  const r = t.object({
129
129
  id: t.string(),
130
- category: t.nativeEnum(g),
130
+ category: t.nativeEnum(d),
131
131
  type: t.nativeEnum(p)
132
132
  }), O = r.extend({
133
133
  category: t.literal(
@@ -141,7 +141,7 @@ const r = t.object({
141
141
  config: t.object({
142
142
  content: t.string()
143
143
  }).passthrough()
144
- }), A = r.extend({
144
+ }), T = r.extend({
145
145
  category: t.literal(
146
146
  "BLOCK"
147
147
  /* BLOCK */
@@ -163,7 +163,7 @@ const r = t.object({
163
163
  config: t.object({
164
164
  text: t.string()
165
165
  }).passthrough()
166
- }), T = r.extend({
166
+ }), v = r.extend({
167
167
  category: t.literal(
168
168
  "FIELD"
169
169
  /* FIELD */
@@ -177,7 +177,7 @@ const r = t.object({
177
177
  config: t.object({
178
178
  text: t.string()
179
179
  }).passthrough()
180
- }), v = r.extend({
180
+ }), A = r.extend({
181
181
  category: t.literal(
182
182
  "FIELD"
183
183
  /* FIELD */
@@ -236,9 +236,9 @@ const r = t.object({
236
236
  type: t.string()
237
237
  }).passthrough(), U = t.union([
238
238
  O,
239
- A,
240
239
  T,
241
240
  v,
241
+ A,
242
242
  N
243
243
  ]);
244
244
  var D = /* @__PURE__ */ ((e) => (e.STEP = "STEP", e.FLOW = "FLOW", e.CONDITION = "CONDITION", e.ACTION = "ACTION", e))(D || {});
@@ -300,11 +300,11 @@ const x = t.object({
300
300
  created_at: !0,
301
301
  updated_at: !0
302
302
  });
303
- var d = /* @__PURE__ */ ((e) => (e.TOKEN = "token", e.TOKEN_ID_TOKEN = "token id_token", e.CODE = "code", e))(d || {}), u = /* @__PURE__ */ ((e) => (e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e))(u || {}), _ = /* @__PURE__ */ ((e) => (e.S256 = "S256", e.Plain = "plain", e))(_ || {});
303
+ var g = /* @__PURE__ */ ((e) => (e.TOKEN = "token", e.TOKEN_ID_TOKEN = "token id_token", e.CODE = "code", e))(g || {}), u = /* @__PURE__ */ ((e) => (e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e))(u || {}), _ = /* @__PURE__ */ ((e) => (e.S256 = "S256", e.Plain = "plain", e))(_ || {});
304
304
  const K = t.object({
305
305
  client_id: t.string(),
306
306
  act_as: t.string().optional(),
307
- response_type: t.nativeEnum(d).optional(),
307
+ response_type: t.nativeEnum(g).optional(),
308
308
  response_mode: t.nativeEnum(u).optional(),
309
309
  redirect_uri: t.string().optional(),
310
310
  audience: t.string().optional(),
@@ -338,6 +338,7 @@ const K = t.object({
338
338
  kid: t.string().optional(),
339
339
  team_id: t.string().optional(),
340
340
  realms: t.string().optional(),
341
+ authentication_method: t.string().optional(),
341
342
  client_id: t.string().optional(),
342
343
  client_secret: t.string().optional(),
343
344
  app_secret: t.string().optional(),
@@ -475,7 +476,7 @@ const V = t.enum([
475
476
  tls_policy: t.string().optional()
476
477
  }), Ot = J.extend({
477
478
  tenant_id: t.string()
478
- }), At = t.object({
479
+ }), Tt = t.object({
479
480
  id: t.string(),
480
481
  type: t.literal("submit"),
481
482
  label: t.string(),
@@ -505,6 +506,18 @@ const V = t.enum([
505
506
  order: t.number().optional(),
506
507
  visible: t.boolean().optional().default(!0)
507
508
  }),
509
+ t.object({
510
+ id: t.string(),
511
+ type: t.literal("TEXT"),
512
+ config: t.object({
513
+ placeholder: t.string().optional(),
514
+ multiline: t.boolean().optional()
515
+ }),
516
+ required: t.boolean().optional(),
517
+ sensitive: t.boolean().optional(),
518
+ order: t.number().optional(),
519
+ visible: t.boolean().optional().default(!0)
520
+ }),
508
521
  t.object({
509
522
  id: t.string(),
510
523
  type: t.literal("NEXT_BUTTON"),
@@ -589,7 +602,7 @@ const V = t.enum([
589
602
  style: t.object({ css: t.string().optional() }).optional()
590
603
  }).openapi({
591
604
  description: "Schema for flow-based forms (matches new JSON structure)"
592
- }), Tt = t.object({
605
+ }), vt = t.object({
593
606
  ...s.shape,
594
607
  ...$.shape,
595
608
  id: t.string()
@@ -615,7 +628,7 @@ const V = t.enum([
615
628
  ...l,
616
629
  trigger_id: h,
617
630
  form_id: t.string()
618
- }), vt = t.union([
631
+ }), At = t.union([
619
632
  tt,
620
633
  et
621
634
  ]), nt = t.object({
@@ -825,7 +838,7 @@ const rt = t.enum([
825
838
  revoked: t.boolean().optional().openapi({ description: "True if the key is revoked" }),
826
839
  revoked_at: t.string().optional().openapi({ description: "The date and time when the key was revoked" })
827
840
  });
828
- var gt = /* @__PURE__ */ ((e) => (e.RefreshToken = "refresh_token", e.AuthorizationCode = "authorization_code", e.ClientCredential = "client_credentials", e.Passwordless = "passwordless", e.Password = "password", e.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", e))(gt || {});
841
+ var dt = /* @__PURE__ */ ((e) => (e.RefreshToken = "refresh_token", e.AuthorizationCode = "authorization_code", e.ClientCredential = "client_credentials", e.Passwordless = "passwordless", e.Password = "password", e.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", e))(dt || {});
829
842
  const Ht = t.object({
830
843
  access_token: t.string(),
831
844
  id_token: t.string().optional(),
@@ -839,7 +852,7 @@ t.object({
839
852
  code: t.string(),
840
853
  state: t.string().optional()
841
854
  });
842
- const dt = t.object({
855
+ const gt = t.object({
843
856
  button_border_radius: t.number(),
844
857
  button_border_weight: t.number(),
845
858
  buttons_style: t.enum(["pill"]),
@@ -893,7 +906,7 @@ const dt = t.object({
893
906
  logo_url: t.string(),
894
907
  social_buttons_layout: t.enum(["bottom"])
895
908
  }), bt = t.object({
896
- borders: dt,
909
+ borders: gt,
897
910
  colors: ut,
898
911
  displayName: t.string(),
899
912
  fonts: _t,
@@ -978,11 +991,11 @@ function qt(e) {
978
991
  export {
979
992
  lt as Auth0Client,
980
993
  u as AuthorizationResponseMode,
981
- d as AuthorizationResponseType,
994
+ g as AuthorizationResponseType,
982
995
  _ as CodeChallengeMethod,
983
- g as ComponentCategory,
996
+ d as ComponentCategory,
984
997
  p as ComponentType,
985
- gt as GrantType,
998
+ dt as GrantType,
986
999
  st as LogTypes,
987
1000
  D as NodeType,
988
1001
  C as applicationInsertSchema,
@@ -992,9 +1005,9 @@ export {
992
1005
  jt as auth0UserResponseSchema,
993
1006
  K as authParamsSchema,
994
1007
  c as baseUserSchema,
995
- dt as bordersSchema,
1008
+ gt as bordersSchema,
996
1009
  wt as brandingSchema,
997
- A as buttonComponentSchema,
1010
+ T as buttonComponentSchema,
998
1011
  z as codeInsertSchema,
999
1012
  kt as codeSchema,
1000
1013
  V as codeTypeSchema,
@@ -1009,22 +1022,22 @@ export {
1009
1022
  Ot as customDomainWithTenantIdSchema,
1010
1023
  Mt as emailProviderSchema,
1011
1024
  H as endingSchema,
1012
- v as fieldComponentSchema,
1025
+ A as fieldComponentSchema,
1013
1026
  R as flowNodeSchema,
1014
1027
  n as fontDetailsSchema,
1015
1028
  _t as fontsSchema,
1016
- At as formControlSchema,
1029
+ Tt as formControlSchema,
1017
1030
  $ as formInsertSchema,
1018
1031
  Z as formNodeComponentDefinition,
1019
- Tt as formSchema,
1032
+ vt as formSchema,
1020
1033
  N as genericComponentSchema,
1021
1034
  P as genericNodeSchema,
1022
- vt as hookInsertSchema,
1035
+ At as hookInsertSchema,
1023
1036
  Nt as hookSchema,
1024
1037
  S as identitySchema,
1025
1038
  Ut as jwksKeySchema,
1026
1039
  it as jwksSchema,
1027
- T as legalComponentSchema,
1040
+ v as legalComponentSchema,
1028
1041
  Rt as logSchema,
1029
1042
  at as loginSessionInsertSchema,
1030
1043
  xt as loginSessionSchema,
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.70.0",
14
+ "version": "0.72.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],