@authhero/adapter-interfaces 0.72.0 → 0.74.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.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +159 -84
- package/dist/adapter-interfaces.mjs +369 -249
- package/package.json +1 -1
|
@@ -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)}),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;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@hono/zod-openapi"),de=e.z.object({start:e.z.number(),limit:e.z.number(),length:e.z.number()}),s=e.z.object({created_at:e.z.string(),updated_at:e.z.string()}),E=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()),S=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:E.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()}),m=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()}),u=e.z.object({...m.shape,...s.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(S).optional()}),pe=u,ge=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()),Ee="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Se=(t=21)=>{let i="",a=crypto.getRandomValues(new Uint8Array(t));for(;t--;)i+=Ee[a[t]&63];return i};const h=e.z.object({audience:e.z.string().optional(),recipient:e.z.string().optional(),createUpnClaim:e.z.boolean().optional(),mapUnknownClaimsAsIs:e.z.boolean().optional(),passthroughClaimsWithNoMapping:e.z.boolean().optional(),mapIdentities:e.z.boolean().optional(),signatureAlgorithm:e.z.string().optional(),digestAlgorithm:e.z.string().optional(),issuer:e.z.string().optional(),destination:e.z.string().optional(),lifetimeInSeconds:e.z.number().optional(),signResponse:e.z.boolean().optional(),nameIdentifierFormat:e.z.string().optional(),nameIdentifierProbes:e.z.array(e.z.string()).optional(),authnContextClassRef:e.z.string().optional(),mappings:e.z.record(e.z.string()).optional()}),A=e.z.object({id:e.z.string(),name:e.z.string(),callbacks:e.z.array(e.z.string()).default([]).optional().openapi({description:"Comma-separated list of URLs whitelisted 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. 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."}),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."}),allowed_clients:e.z.array(e.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:e.z.object({samlp:h.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:e.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:e.z.string().default(()=>Se()).optional(),disable_sign_ups:e.z.boolean().optional().default(!1).openapi({description:"Prevents users from signing up using the hosted login page. This is not available in auth0"})}),C=e.z.object({created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t),...A.shape}),o=e.z.object({x:e.z.number(),y:e.z.number()});var c=(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))(c||{}),z=(t=>(t.BLOCK="BLOCK",t.FIELD="FIELD",t))(z||{});const r=e.z.object({id:e.z.string(),category:e.z.nativeEnum(z),type:e.z.nativeEnum(c)}),b=r.extend({category:e.z.literal("BLOCK"),type:e.z.literal("RICH_TEXT"),config:e.z.object({content:e.z.string()}).passthrough()}),I=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()}),f=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()}),T=e.z.object({id:e.z.string(),category:e.z.string(),type:e.z.string()}).passthrough(),N=e.z.union([b,I,O,f,T]);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:o,alias:e.z.string().optional(),config:e.z.object({components:e.z.array(N),next_node:e.z.string()}).passthrough()}),D=e.z.object({id:e.z.string(),type:e.z.literal("FLOW"),coordinates:o,alias:e.z.string().optional(),config:e.z.object({flow_id:e.z.string(),next_node:e.z.string()})}),y=e.z.object({id:e.z.string(),type:e.z.string(),coordinates:o}).passthrough(),U=e.z.union([L,D,y]),F=e.z.object({next_node:e.z.string(),coordinates:o}).passthrough(),j=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:o}).passthrough(),w=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:F,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(),me=w.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||{}),p=(t=>(t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post",t.WEB_MESSAGE="web_message",t.SAML_POST="saml_post",t))(p||{}),g=(t=>(t.S256="S256",t.Plain="plain",t))(g||{});const k=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(p).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()}),ue=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()}),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()}),H=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()}),v=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(H.shape),M=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),...M.shape,id:e.z.string()}),he=e.z.object({logoUrl:e.z.string(),loginBackgroundImage:e.z.string().nullish(),style:e.z.object({primaryColor:e.z.string(),buttonTextColor:e.z.string(),primaryHoverColor:e.z.string()}),country:e.z.string().optional(),supportEmail:e.z.string().nullable(),supportUrl:e.z.string().nullable(),name:e.z.string(),showGreyishBackground:e.z.boolean().optional(),termsAndConditionsUrl:e.z.string().nullable(),companyName:e.z.string().optional(),checkoutHideSocial:e.z.boolean().optional(),siteUrl:e.z.string().nullable(),manageSubscriptionsUrl:e.z.string().optional()});e.z.object({...C.shape,tenant:G,connections:e.z.array(v)});const x=e.z.enum(["password_reset","email_verification","otp","authorization_code","oauth2_state","ticket"]),K=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:x,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()}),Ae=e.z.object({...K.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()}),W=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()}),Ce=W.extend({tenant_id:e.z.string()}),be=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()}),V=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(V),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)"}),Ie=e.z.object({...s.shape,...Y.shape,id:e.z.string()}),q=e.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),Q=e.z.enum(["pre-user-signup","post-user-registration","post-user-login"]),_={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},Oe=e.z.object({..._,trigger_id:q,url:e.z.string()}),fe=e.z.object({..._,trigger_id:Q,form_id:e.z.string()}),Te=e.z.union([Oe,fe]),Ne=e.z.object({..._,trigger_id:q,...s.shape,hook_id:e.z.string(),url:e.z.string()}),Re=e.z.object({..._,trigger_id:Q,...s.shape,hook_id:e.z.string(),form_id:e.z.string()}),Le=e.z.union([Ne,Re]),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()}),De=e.z.object({keys:e.z.array(Z)}),ye=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())}),J=e.z.object({csrf_token:e.z.string(),auth0Client:e.z.string().optional(),authParams:k,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"}),Ue=e.z.object({...J.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()}),$={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"},Fe=e.z.string().refine(t=>Object.values($).includes(t),{message:"Invalid log type"}),ee=e.z.object({name:e.z.string(),version:e.z.string(),env:e.z.object({node:e.z.string().optional()}).optional()}),je=e.z.object({type:Fe,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:ee.optional()}),te=e.z.object({user_id:e.z.string(),password:e.z.string(),algorithm:e.z.enum(["bcrypt","argon2id"]).default("argon2id")}),we=e.z.object({...te.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")}),oe=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")}),ke=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...oe.shape}),Pe=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"})});var ie=(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))(ie||{});const He=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 ae=e.z.object({button_border_radius:e.z.number(),button_border_weight:e.z.number(),buttons_style:e.z.enum(["pill"]),input_border_radius:e.z.number(),input_border_weight:e.z.number(),inputs_style:e.z.enum(["pill"]),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"]),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()}),n=e.z.object({bold:e.z.boolean(),size:e.z.number()}),re=e.z.object({body_text:n,buttons_text:n,font_url:e.z.string(),input_labels:n,links:n,links_style:e.z.enum(["normal"]),reference_text_size:e.z.number(),subtitle:n,title:n}),_e=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center"])}),le=e.z.object({header_text_alignment:e.z.enum(["center"]),logo_height:e.z.number(),logo_position:e.z.enum(["center"]),logo_url:e.z.string(),social_buttons_layout:e.z.enum(["bottom"])}),ce=e.z.object({borders:ae,colors:se,displayName:e.z.string(),fonts:re,page_background:_e,widget:le}),ve=ce.extend({themeId:e.z.string()}),Me=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()}),Ge=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()}),ze=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()}),xe=e.z.object({created_at:e.z.string(),...ze.shape}),Ke=e.z.object({to:e.z.string(),message:e.z.string()}),Be=e.z.object({name:e.z.string(),options:e.z.object({})});function Xe(t){const[i,a]=t.split("|");if(!i||!a)throw new Error(`Invalid user_id: ${t}`);return{connection:i,id:a}}exports.Auth0Client=ee;exports.AuthorizationResponseMode=p;exports.AuthorizationResponseType=d;exports.CodeChallengeMethod=g;exports.ComponentCategory=z;exports.ComponentType=c;exports.GrantType=ie;exports.LogTypes=$;exports.NodeType=R;exports.applicationInsertSchema=A;exports.applicationSchema=C;exports.auth0FlowInsertSchema=me;exports.auth0FlowSchema=w;exports.auth0UserResponseSchema=pe;exports.authParamsSchema=k;exports.baseUserSchema=l;exports.bordersSchema=ae;exports.brandingSchema=ue;exports.buttonComponentSchema=I;exports.codeInsertSchema=K;exports.codeSchema=Ae;exports.codeTypeSchema=x;exports.colorsSchema=se;exports.componentSchema=N;exports.connectionInsertSchema=H;exports.connectionOptionsSchema=P;exports.connectionSchema=v;exports.coordinatesSchema=o;exports.customDomainInsertSchema=B;exports.customDomainSchema=W;exports.customDomainWithTenantIdSchema=Ce;exports.emailProviderSchema=Ge;exports.endingSchema=j;exports.fieldComponentSchema=f;exports.flowNodeSchema=D;exports.fontDetailsSchema=n;exports.fontsSchema=re;exports.formControlSchema=be;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=V;exports.formSchema=Ie;exports.genericComponentSchema=T;exports.genericNodeSchema=y;exports.hookInsertSchema=Te;exports.hookSchema=Le;exports.identitySchema=S;exports.jwksKeySchema=De;exports.jwksSchema=Z;exports.legalComponentSchema=O;exports.logSchema=je;exports.loginSessionInsertSchema=J;exports.loginSessionSchema=Ue;exports.nodeSchema=U;exports.openIDConfigurationSchema=ye;exports.pageBackgroundSchema=_e;exports.parseUserId=Xe;exports.passwordInsertSchema=te;exports.passwordSchema=we;exports.profileDataSchema=E;exports.promptSettingSchema=Me;exports.refreshTokenInsertSchema=ze;exports.refreshTokenSchema=xe;exports.richTextComponentSchema=b;exports.samlpAddon=h;exports.sessionInsertSchema=oe;exports.sessionSchema=ke;exports.signingKeySchema=Pe;exports.smsProviderSchema=Be;exports.smsSendParamsSchema=Ke;exports.startSchema=F;exports.stepNodeSchema=L;exports.tenantInsertSchema=M;exports.tenantSchema=G;exports.themeInsertSchema=ce;exports.themeSchema=ve;exports.tokenResponseSchema=He;exports.totalsSchema=de;exports.userInsertSchema=m;exports.userResponseSchema=ge;exports.userSchema=u;exports.vendorSettingsSchema=he;exports.verificationMethodsSchema=X;exports.widgetSchema=le;
|
|
@@ -11759,61 +11759,159 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
11759
11759
|
login_completed?: boolean | undefined;
|
|
11760
11760
|
}>;
|
|
11761
11761
|
export type LoginSession = z.infer<typeof loginSessionSchema>;
|
|
11762
|
-
export declare
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
"
|
|
11792
|
-
"
|
|
11793
|
-
"
|
|
11794
|
-
"
|
|
11795
|
-
"
|
|
11796
|
-
"
|
|
11797
|
-
"
|
|
11798
|
-
"
|
|
11799
|
-
"
|
|
11800
|
-
"
|
|
11801
|
-
"
|
|
11802
|
-
"
|
|
11803
|
-
"
|
|
11804
|
-
"
|
|
11805
|
-
"
|
|
11806
|
-
"
|
|
11807
|
-
"
|
|
11808
|
-
"
|
|
11809
|
-
"
|
|
11810
|
-
"
|
|
11811
|
-
"
|
|
11812
|
-
"
|
|
11813
|
-
"
|
|
11814
|
-
"
|
|
11815
|
-
|
|
11816
|
-
|
|
11762
|
+
export declare const LogTypes: {
|
|
11763
|
+
readonly ACLS_SUMMARY: "acls_summary";
|
|
11764
|
+
readonly ACTIONS_EXECUTION_FAILED: "actions_execution_failed";
|
|
11765
|
+
readonly API_LIMIT: "api_limit";
|
|
11766
|
+
readonly API_LIMIT_WARNING: "api_limit_warning";
|
|
11767
|
+
readonly APPI: "appi";
|
|
11768
|
+
readonly CIBA_EXCHANGE_FAILED: "ciba_exchange_failed";
|
|
11769
|
+
readonly CIBA_EXCHANGE_SUCCEEDED: "ciba_exchange_succeeded";
|
|
11770
|
+
readonly CIBA_START_FAILED: "ciba_start_failed";
|
|
11771
|
+
readonly CIBA_START_SUCCEEDED: "ciba_start_succeeded";
|
|
11772
|
+
readonly CODE_LINK_SENT: "cls";
|
|
11773
|
+
readonly CODE_SENT: "cs";
|
|
11774
|
+
readonly DEPRECATION_NOTICE: "depnote";
|
|
11775
|
+
readonly FAILED_LOGIN: "f";
|
|
11776
|
+
readonly FAILED_BY_CONNECTOR: "fc";
|
|
11777
|
+
readonly FAILED_CHANGE_EMAIL: "fce";
|
|
11778
|
+
readonly FAILED_BY_CORS: "fco";
|
|
11779
|
+
readonly FAILED_CROSS_ORIGIN_AUTHENTICATION: "fcoa";
|
|
11780
|
+
readonly FAILED_CHANGE_PASSWORD: "fcp";
|
|
11781
|
+
readonly FAILED_POST_CHANGE_PASSWORD_HOOK: "fcph";
|
|
11782
|
+
readonly FAILED_CHANGE_PHONE_NUMBER: "fcpn";
|
|
11783
|
+
readonly FAILED_CHANGE_PASSWORD_REQUEST: "fcpr";
|
|
11784
|
+
readonly FAILED_CONNECTOR_PROVISIONING: "fcpro";
|
|
11785
|
+
readonly FAILED_CHANGE_USERNAME: "fcu";
|
|
11786
|
+
readonly FAILED_DELEGATION: "fd";
|
|
11787
|
+
readonly FAILED_DEVICE_ACTIVATION: "fdeac";
|
|
11788
|
+
readonly FAILED_DEVICE_AUTHORIZATION_REQUEST: "fdeaz";
|
|
11789
|
+
readonly USER_CANCELED_DEVICE_CONFIRMATION: "fdecc";
|
|
11790
|
+
readonly FAILED_USER_DELETION: "fdu";
|
|
11791
|
+
readonly FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN: "feacft";
|
|
11792
|
+
readonly FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS: "feccft";
|
|
11793
|
+
readonly FAILED_EXCHANGE_CUSTOM_TOKEN: "fecte";
|
|
11794
|
+
readonly FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN: "fede";
|
|
11795
|
+
readonly FAILED_FEDERATED_LOGOUT: "federated_logout_failed";
|
|
11796
|
+
readonly FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN: "fens";
|
|
11797
|
+
readonly FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN: "feoobft";
|
|
11798
|
+
readonly FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN: "feotpft";
|
|
11799
|
+
readonly FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN: "fepft";
|
|
11800
|
+
readonly FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN: "fepotpft";
|
|
11801
|
+
readonly FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN: "fercft";
|
|
11802
|
+
readonly FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN: "ferrt";
|
|
11803
|
+
readonly FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN: "fertft";
|
|
11804
|
+
readonly FAILED_HOOK: "fh";
|
|
11805
|
+
readonly FAILED_INVITE_ACCEPT: "fi";
|
|
11806
|
+
readonly FAILED_LOGOUT: "flo";
|
|
11807
|
+
readonly FLOWS_EXECUTION_COMPLETED: "flows_execution_completed";
|
|
11808
|
+
readonly FLOWS_EXECUTION_FAILED: "flows_execution_failed";
|
|
11809
|
+
readonly FAILED_SENDING_NOTIFICATION: "fn";
|
|
11810
|
+
readonly FORMS_SUBMISSION_FAILED: "forms_submission_failed";
|
|
11811
|
+
readonly FORMS_SUBMISSION_SUCCEEDED: "forms_submission_succeeded";
|
|
11812
|
+
readonly FAILED_LOGIN_INCORRECT_PASSWORD: "fp";
|
|
11813
|
+
readonly FAILED_PUSHED_AUTHORIZATION_REQUEST: "fpar";
|
|
11814
|
+
readonly FAILED_POST_USER_REGISTRATION_HOOK: "fpurh";
|
|
11815
|
+
readonly FAILED_SIGNUP: "fs";
|
|
11816
|
+
readonly FAILED_SILENT_AUTH: "fsa";
|
|
11817
|
+
readonly FAILED_LOGIN_INVALID_EMAIL_USERNAME: "fu";
|
|
11818
|
+
readonly FAILED_USERS_IMPORT: "fui";
|
|
11819
|
+
readonly FAILED_VERIFICATION_EMAIL: "fv";
|
|
11820
|
+
readonly FAILED_VERIFICATION_EMAIL_REQUEST: "fvr";
|
|
11821
|
+
readonly EMAIL_VERIFICATION_CONFIRMED: "gd_auth_email_verification";
|
|
11822
|
+
readonly EMAIL_VERIFICATION_FAILED: "gd_auth_fail_email_verification";
|
|
11823
|
+
readonly MFA_AUTH_FAILED: "gd_auth_failed";
|
|
11824
|
+
readonly MFA_AUTH_REJECTED: "gd_auth_rejected";
|
|
11825
|
+
readonly MFA_AUTH_SUCCESS: "gd_auth_succeed";
|
|
11826
|
+
readonly MFA_ENROLLMENT_COMPLETE: "gd_enrollment_complete";
|
|
11827
|
+
readonly TOO_MANY_MFA_FAILURES: "gd_otp_rate_limit_exceed";
|
|
11828
|
+
readonly MFA_RECOVERY_FAILED: "gd_recovery_failed";
|
|
11829
|
+
readonly MFA_RECOVERY_RATE_LIMIT_EXCEED: "gd_recovery_rate_limit_exceed";
|
|
11830
|
+
readonly MFA_RECOVERY_SUCCESS: "gd_recovery_succeed";
|
|
11831
|
+
readonly MFA_EMAIL_SENT: "gd_send_email";
|
|
11832
|
+
readonly EMAIL_VERIFICATION_SENT: "gd_send_email_verification";
|
|
11833
|
+
readonly EMAIL_VERIFICATION_SEND_FAILURE: "gd_send_email_verification_failure";
|
|
11834
|
+
readonly PUSH_NOTIFICATION_SENT: "gd_send_pn";
|
|
11835
|
+
readonly ERROR_SENDING_MFA_PUSH_NOTIFICATION: "gd_send_pn_failure";
|
|
11836
|
+
readonly MFA_SMS_SENT: "gd_send_sms";
|
|
11837
|
+
readonly ERROR_SENDING_MFA_SMS: "gd_send_sms_failure";
|
|
11838
|
+
readonly MFA_VOICE_CALL_SUCCESS: "gd_send_voice";
|
|
11839
|
+
readonly MFA_VOICE_CALL_FAILED: "gd_send_voice_failure";
|
|
11840
|
+
readonly SECOND_FACTOR_STARTED: "gd_start_auth";
|
|
11841
|
+
readonly MFA_ENROLL_STARTED: "gd_start_enroll";
|
|
11842
|
+
readonly MFA_ENROLLMENT_FAILED: "gd_start_enroll_failed";
|
|
11843
|
+
readonly GUARDIAN_TENANT_UPDATE: "gd_tenant_update";
|
|
11844
|
+
readonly UNENROLL_DEVICE_ACCOUNT: "gd_unenroll";
|
|
11845
|
+
readonly UPDATE_DEVICE_ACCOUNT: "gd_update_device_account";
|
|
11846
|
+
readonly WEBAUTHN_CHALLENGE_FAILED: "gd_webauthn_challenge_failed";
|
|
11847
|
+
readonly WEBAUTHN_ENROLLMENT_FAILED: "gd_webauthn_enrollment_failed";
|
|
11848
|
+
readonly FAILED_KMS_API_OPERATION: "kms_key_management_failure";
|
|
11849
|
+
readonly SUCCESS_KMS_API_OPERATION: "kms_key_management_success";
|
|
11850
|
+
readonly KMS_KEY_STATE_CHANGED: "kms_key_state_changed";
|
|
11851
|
+
readonly TOO_MANY_CALLS_TO_DELEGATION: "limit_delegation";
|
|
11852
|
+
readonly BLOCKED_IP_ADDRESS: "limit_mu";
|
|
11853
|
+
readonly BLOCKED_ACCOUNT_IP: "limit_sul";
|
|
11854
|
+
readonly BLOCKED_ACCOUNT_EMAIL: "limit_wc";
|
|
11855
|
+
readonly MFA_REQUIRED: "mfar";
|
|
11856
|
+
readonly MANAGEMENT_API_READ_OPERATION: "mgmt_api_read";
|
|
11857
|
+
readonly FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT: "my_account_authentication_method_failed";
|
|
11858
|
+
readonly SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT: "my_account_authentication_method_succeeded";
|
|
11859
|
+
readonly FAILED_OIDC_BACKCHANNEL_LOGOUT: "oidc_backchannel_logout_failed";
|
|
11860
|
+
readonly SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT: "oidc_backchannel_logout_succeeded";
|
|
11861
|
+
readonly ORGANIZATION_MEMBER_ADDED: "organization_member_added";
|
|
11862
|
+
readonly PASSKEY_CHALLENGE_FAILED: "passkey_challenge_failed";
|
|
11863
|
+
readonly PASSKEY_CHALLENGE_STARTED: "passkey_challenge_started";
|
|
11864
|
+
readonly PRE_LOGIN_ASSESSMENT: "pla";
|
|
11865
|
+
readonly BREACHED_PASSWORD: "pwd_leak";
|
|
11866
|
+
readonly BREACHED_PASSWORD_ON_RESET: "reset_pwd_leak";
|
|
11867
|
+
readonly SUCCESS_RESOURCE_CLEANUP: "resource_cleanup";
|
|
11868
|
+
readonly RICH_CONSENTS_ACCESS_ERROR: "rich_consents_access_error";
|
|
11869
|
+
readonly SUCCESS_LOGIN: "s";
|
|
11870
|
+
readonly SUCCESS_API_OPERATION: "sapi";
|
|
11871
|
+
readonly SUCCESS_CHANGE_EMAIL: "sce";
|
|
11872
|
+
readonly SUCCESS_CROSS_ORIGIN_AUTHENTICATION: "scoa";
|
|
11873
|
+
readonly SUCCESS_CHANGE_PASSWORD: "scp";
|
|
11874
|
+
readonly SUCCESS_CHANGE_PHONE_NUMBER: "scpn";
|
|
11875
|
+
readonly SUCCESS_CHANGE_PASSWORD_REQUEST: "scpr";
|
|
11876
|
+
readonly SUCCESS_CHANGE_USERNAME: "scu";
|
|
11877
|
+
readonly SUCCESS_CREDENTIAL_VALIDATION: "scv";
|
|
11878
|
+
readonly SUCCESS_DELEGATION: "sd";
|
|
11879
|
+
readonly SUCCESS_USER_DELETION: "sdu";
|
|
11880
|
+
readonly SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN: "seacft";
|
|
11881
|
+
readonly SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS: "seccft";
|
|
11882
|
+
readonly SUCCESS_EXCHANGE_CUSTOM_TOKEN: "secte";
|
|
11883
|
+
readonly SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN: "sede";
|
|
11884
|
+
readonly SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN: "sens";
|
|
11885
|
+
readonly SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN: "seoobft";
|
|
11886
|
+
readonly SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN: "seotpft";
|
|
11887
|
+
readonly SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN: "sepft";
|
|
11888
|
+
readonly SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN: "sepkoobft";
|
|
11889
|
+
readonly SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN: "sepkotpft";
|
|
11890
|
+
readonly SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN: "sepkrcft";
|
|
11891
|
+
readonly SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN: "sercft";
|
|
11892
|
+
readonly SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN: "sertft";
|
|
11893
|
+
readonly SUCCESSFULLY_ACCEPTED_USER_INVITE: "si";
|
|
11894
|
+
readonly BREACHED_PASSWORD_ON_SIGNUP: "signup_pwd_leak";
|
|
11895
|
+
readonly SUCCESS_LOGOUT: "slo";
|
|
11896
|
+
readonly SUCCESS_REVOCATION: "srrt";
|
|
11897
|
+
readonly SUCCESS_SIGNUP: "ss";
|
|
11898
|
+
readonly FAILED_SS_SSO_OPERATION: "ss_sso_failure";
|
|
11899
|
+
readonly INFORMATION_FROM_SS_SSO_OPERATION: "ss_sso_info";
|
|
11900
|
+
readonly SUCCESS_SS_SSO_OPERATION: "ss_sso_success";
|
|
11901
|
+
readonly SUCCESS_SILENT_AUTH: "ssa";
|
|
11902
|
+
readonly SUCCESSFUL_SCIM_OPERATION: "sscim";
|
|
11903
|
+
readonly SUCCESSFULLY_IMPORTED_USERS: "sui";
|
|
11904
|
+
readonly SUCCESS_VERIFICATION_EMAIL: "sv";
|
|
11905
|
+
readonly SUCCESS_VERIFICATION_EMAIL_REQUEST: "svr";
|
|
11906
|
+
readonly MAX_AMOUNT_OF_AUTHENTICATORS: "too_many_records";
|
|
11907
|
+
readonly USER_LOGIN_BLOCK_RELEASED: "ublkdu";
|
|
11908
|
+
readonly FAILED_UNIVERSAL_LOGOUT: "universal_logout_failed";
|
|
11909
|
+
readonly SUCCESSFUL_UNIVERSAL_LOGOUT: "universal_logout_succeeded";
|
|
11910
|
+
readonly WARNING_DURING_LOGIN: "w";
|
|
11911
|
+
readonly WARNING_SENDING_NOTIFICATION: "wn";
|
|
11912
|
+
readonly WARNING_USER_MANAGEMENT: "wum";
|
|
11913
|
+
};
|
|
11914
|
+
export type LogType = (typeof LogTypes)[keyof typeof LogTypes];
|
|
11817
11915
|
export declare const Auth0Client: z.ZodObject<{
|
|
11818
11916
|
name: z.ZodString;
|
|
11819
11917
|
version: z.ZodString;
|
|
@@ -11838,32 +11936,7 @@ export declare const Auth0Client: z.ZodObject<{
|
|
|
11838
11936
|
} | undefined;
|
|
11839
11937
|
}>;
|
|
11840
11938
|
export declare const logSchema: z.ZodObject<{
|
|
11841
|
-
type: z.
|
|
11842
|
-
"cls",
|
|
11843
|
-
"fsa",
|
|
11844
|
-
"fs",
|
|
11845
|
-
"f",
|
|
11846
|
-
"fc",
|
|
11847
|
-
"fcoa",
|
|
11848
|
-
"fcp",
|
|
11849
|
-
"fh",
|
|
11850
|
-
"fp",
|
|
11851
|
-
"fs",
|
|
11852
|
-
"fu",
|
|
11853
|
-
"s",
|
|
11854
|
-
"sapi",
|
|
11855
|
-
"scoa",
|
|
11856
|
-
"scp",
|
|
11857
|
-
"scpr",
|
|
11858
|
-
"scu",
|
|
11859
|
-
"seacft",
|
|
11860
|
-
"serft",
|
|
11861
|
-
"slo",
|
|
11862
|
-
"ss",
|
|
11863
|
-
"ssa",
|
|
11864
|
-
"sv",
|
|
11865
|
-
"svr"
|
|
11866
|
-
]>;
|
|
11939
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
11867
11940
|
date: z.ZodString;
|
|
11868
11941
|
description: z.ZodOptional<z.ZodString>;
|
|
11869
11942
|
log_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11907,7 +11980,7 @@ export declare const logSchema: z.ZodObject<{
|
|
|
11907
11980
|
} | undefined;
|
|
11908
11981
|
}>>;
|
|
11909
11982
|
}, "strip", z.ZodTypeAny, {
|
|
11910
|
-
type: "
|
|
11983
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
11911
11984
|
date: string;
|
|
11912
11985
|
ip: string;
|
|
11913
11986
|
user_agent: string;
|
|
@@ -11935,7 +12008,7 @@ export declare const logSchema: z.ZodObject<{
|
|
|
11935
12008
|
} | undefined;
|
|
11936
12009
|
} | undefined;
|
|
11937
12010
|
}, {
|
|
11938
|
-
type:
|
|
12011
|
+
type: string;
|
|
11939
12012
|
date: string;
|
|
11940
12013
|
ip: string;
|
|
11941
12014
|
user_agent: string;
|
|
@@ -12286,6 +12359,7 @@ export declare const vendorSettingsSchema: z.ZodObject<{
|
|
|
12286
12359
|
buttonTextColor: string;
|
|
12287
12360
|
primaryHoverColor: string;
|
|
12288
12361
|
}>;
|
|
12362
|
+
country: z.ZodOptional<z.ZodString>;
|
|
12289
12363
|
supportEmail: z.ZodNullable<z.ZodString>;
|
|
12290
12364
|
supportUrl: z.ZodNullable<z.ZodString>;
|
|
12291
12365
|
name: z.ZodString;
|
|
@@ -12308,6 +12382,7 @@ export declare const vendorSettingsSchema: z.ZodObject<{
|
|
|
12308
12382
|
termsAndConditionsUrl: string | null;
|
|
12309
12383
|
siteUrl: string | null;
|
|
12310
12384
|
loginBackgroundImage?: string | null | undefined;
|
|
12385
|
+
country?: string | undefined;
|
|
12311
12386
|
showGreyishBackground?: boolean | undefined;
|
|
12312
12387
|
companyName?: string | undefined;
|
|
12313
12388
|
checkoutHideSocial?: boolean | undefined;
|
|
@@ -12325,6 +12400,7 @@ export declare const vendorSettingsSchema: z.ZodObject<{
|
|
|
12325
12400
|
termsAndConditionsUrl: string | null;
|
|
12326
12401
|
siteUrl: string | null;
|
|
12327
12402
|
loginBackgroundImage?: string | null | undefined;
|
|
12403
|
+
country?: string | undefined;
|
|
12328
12404
|
showGreyishBackground?: boolean | undefined;
|
|
12329
12405
|
companyName?: string | undefined;
|
|
12330
12406
|
checkoutHideSocial?: boolean | undefined;
|
|
@@ -13991,7 +14067,6 @@ export interface DataAdapters {
|
|
|
13991
14067
|
}
|
|
13992
14068
|
|
|
13993
14069
|
export {
|
|
13994
|
-
LogType$1 as LogType,
|
|
13995
14070
|
Node$1 as Node,
|
|
13996
14071
|
};
|
|
13997
14072
|
|