@authhero/adapter-interfaces 0.84.0 → 0.86.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 +383 -0
- package/dist/adapter-interfaces.mjs +206 -131
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@hono/zod-openapi"),fe=e.z.object({start:e.z.number(),limit:e.z.number(),length:e.z.number()}),a=e.z.object({created_at:e.z.string(),updated_at:e.z.string()}),m=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:m.optional()}),_=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()}),E=_.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({...E.shape,...a.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()}),Oe=u,Te=_.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()),Ne="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Re=(t=21)=>{let i="",s=crypto.getRandomValues(new Uint8Array(t));for(;t--;)i+=Ne[s[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()}),b=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(()=>Re()).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"}),client_metadata:e.z.record(e.z.string().length(255)).optional()}),A=e.z.object({created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t),...b.shape}),n=e.z.object({x:e.z.number(),y:e.z.number()});var l=(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))(l||{}),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(l)}),C=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()}),f=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()}),O=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([C,I,f,O,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:n,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:n,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:n}).passthrough(),U=e.z.union([L,D,y]),F=e.z.object({next_node:e.z.string(),coordinates:n}).passthrough(),j=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:n}).passthrough(),k=e.z.object({id:e.z.string(),name:e.z.string(),languages:e.z.object({primary:e.z.string()}).passthrough(),nodes:e.z.array(U),start: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(),Le=k.omit({id:!0,created_at:!0,updated_at:!0});var p=(t=>(t.TOKEN="token",t.TOKEN_ID_TOKEN="token id_token",t.CODE="code",t))(p||{}),d=(t=>(t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post",t.WEB_MESSAGE="web_message",t.SAML_POST="saml_post",t))(d||{}),g=(t=>(t.S256="S256",t.Plain="plain",t))(g||{});const w=e.z.object({client_id:e.z.string(),act_as:e.z.string().optional(),response_type:e.z.nativeEnum(p).optional(),response_mode:e.z.nativeEnum(d).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()}),De=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()}),v=e.z.object({id:e.z.string().optional(),name:e.z.string(),strategy:e.z.string(),options:P.default({}),enabled_clients:e.z.array(e.z.string()).default([]).optional(),response_type:e.z.custom().optional(),response_mode:e.z.custom().optional()}),H=e.z.object({id:e.z.string(),created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t)}).extend(v.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()});e.z.object({...A.shape,tenant:G,connections:e.z.array(H)});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()}),ye=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()}),Ue=W.extend({tenant_id:e.z.string()}),Fe=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)"}),je=e.z.object({...a.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"]),c={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},ke=e.z.object({...c,trigger_id:q,url:e.z.string()}),we=e.z.object({...c,trigger_id:Q,form_id:e.z.string()}),Pe=e.z.union([ke,we]),ve=e.z.object({...c,trigger_id:q,...a.shape,hook_id:e.z.string(),url:e.z.string()}),He=e.z.object({...c,trigger_id:Q,...a.shape,hook_id:e.z.string(),form_id:e.z.string()}),Me=e.z.union([ve,He]),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()}),Ge=e.z.object({keys:e.z.array(Z)}),xe=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:w,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"}),Ke=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"},Be=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()}),Xe=e.z.object({type:Be,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()}),oe=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")}),ne=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:oe.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")}),Ve=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...ne.shape}),Ye=e.z.object({kid:e.z.string().openapi({description:"The key id of the signing key"}),cert:e.z.string().openapi({description:"The public certificate of the signing key"}),fingerprint:e.z.string().openapi({description:"The cert fingerprint"}),thumbprint:e.z.string().openapi({description:"The cert thumbprint"}),pkcs7:e.z.string().optional().openapi({description:"The private key in pkcs7 format"}),current:e.z.boolean().optional().openapi({description:"True if the key is the current key"}),next:e.z.boolean().optional().openapi({description:"True if the key is the next key"}),previous:e.z.boolean().optional().openapi({description:"True if the key is the previous key"}),current_since:e.z.string().optional().openapi({description:"The date and time when the key became the current key"}),current_until:e.z.string().optional().openapi({description:"The date and time when the current key was rotated"}),revoked:e.z.boolean().optional().openapi({description:"True if the key is revoked"}),revoked_at:e.z.string().optional().openapi({description:"The date and time when the key was revoked"}),connection:e.z.string().optional().openapi({description:"The connection identifier associated with the key"}),type:e.z.enum(["jwt_signing","saml_encryption"]).openapi({description:"The type of the signing key"})});var 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 qe=e.z.object({access_token:e.z.string(),id_token:e.z.string().optional(),scope:e.z.string().optional(),state:e.z.string().optional(),refresh_token:e.z.string().optional(),token_type:e.z.string(),expires_in:e.z.number()});e.z.object({code:e.z.string(),state:e.z.string().optional()});const se=e.z.object({button_border_radius:e.z.number(),button_border_weight:e.z.number(),buttons_style:e.z.enum(["pill","rounded","sharp"]),input_border_radius:e.z.number(),input_border_weight:e.z.number(),inputs_style:e.z.enum(["pill","rounded","sharp"]),show_widget_shadow:e.z.boolean(),widget_border_weight:e.z.number(),widget_corner_radius:e.z.number()}),ae=e.z.object({base_focus_color:e.z.string(),base_hover_color:e.z.string(),body_text:e.z.string(),captcha_widget_theme:e.z.enum(["auto","dark","light"]),error:e.z.string(),header:e.z.string(),icons:e.z.string(),input_background:e.z.string(),input_border:e.z.string(),input_filled_text:e.z.string(),input_labels_placeholders:e.z.string(),links_focused_components:e.z.string(),primary_button:e.z.string(),primary_button_label:e.z.string(),secondary_button_border:e.z.string(),secondary_button_label:e.z.string(),success:e.z.string(),widget_background:e.z.string(),widget_border:e.z.string()}),o=e.z.object({bold:e.z.boolean(),size:e.z.number()}),re=e.z.object({body_text:o,buttons_text:o,font_url:e.z.string(),input_labels:o,links:o,links_style:e.z.enum(["normal","underlined"]),reference_text_size:e.z.number(),subtitle:o,title:o}),ce=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center","left","right"])}),_e=e.z.object({header_text_alignment:e.z.enum(["center","left","right"]),logo_height:e.z.number(),logo_position:e.z.enum(["center","left","none","right"]),logo_url:e.z.string(),social_buttons_layout:e.z.enum(["bottom","top"])}),le=e.z.object({borders:se,colors:ae,displayName:e.z.string(),fonts:re,page_background:ce,widget:_e}),Qe=le.extend({themeId:e.z.string()}),Ze=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()}),Je=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:oe,resource_servers:e.z.array(e.z.object({audience:e.z.string(),scopes:e.z.string()})),rotating:e.z.boolean()}),$e=e.z.object({created_at:e.z.string(),...ze.shape}),et=e.z.object({to:e.z.string(),message:e.z.string()}),tt=e.z.object({name:e.z.string(),options:e.z.object({})}),pe=e.z.object({value:e.z.string(),description:e.z.string().optional()}),de=e.z.object({token_dialect:e.z.enum(["access_token","access_token_authz"]).optional(),enforce_policies:e.z.boolean().optional(),allow_skipping_userinfo:e.z.boolean().optional(),skip_userinfo:e.z.boolean().optional(),persist_client_authorization:e.z.boolean().optional(),enable_introspection_endpoint:e.z.boolean().optional(),mtls:e.z.object({bound_access_tokens:e.z.boolean().optional()}).optional()}),ge=e.z.object({name:e.z.string(),identifier:e.z.string(),scopes:e.z.array(pe).optional(),signing_alg:e.z.string().optional(),signing_secret:e.z.string().optional(),token_lifetime:e.z.number().optional(),token_lifetime_for_web:e.z.number().optional(),skip_consent_for_verifiable_first_party_clients:e.z.boolean().optional(),allow_offline_access:e.z.boolean().optional(),verificationKey:e.z.string().optional(),options:de.optional()}),me=e.z.object({id:e.z.string().optional(),...ge.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),ot=e.z.array(me),Se=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),Ee=e.z.object({...Se.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),nt=e.z.array(Ee),ue=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),resource_server_name:e.z.string(),permission_name:e.z.string(),description:e.z.string().nullable().optional(),created_at:e.z.string().optional()}),it=e.z.array(ue),he=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),be=e.z.object({...he.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),st=e.z.array(be),Ae=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),resource_server_name:e.z.string(),permission_name:e.z.string(),description:e.z.string().nullable().optional(),created_at:e.z.string().optional()}),at=e.z.array(Ae),Ce=e.z.object({name:e.z.string().min(1).max(50).openapi({description:"The name of the role. Cannot include '<' or '>'"}),description:e.z.string().max(255).optional().openapi({description:"The description of the role"})}),Ie=e.z.object({id:e.z.string().openapi({description:"The unique identifier of the role"}),...Ce.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),rt=e.z.array(Ie);function ct(t){const[i,s]=t.split("|");if(!i||!s)throw new Error(`Invalid user_id: ${t}`);return{connection:i,id:s}}exports.Auth0Client=ee;exports.AuthorizationResponseMode=d;exports.AuthorizationResponseType=p;exports.CodeChallengeMethod=g;exports.ComponentCategory=z;exports.ComponentType=l;exports.GrantType=ie;exports.LogTypes=$;exports.NodeType=R;exports.applicationInsertSchema=b;exports.applicationSchema=A;exports.auth0FlowInsertSchema=Le;exports.auth0FlowSchema=k;exports.auth0UserResponseSchema=Oe;exports.authParamsSchema=w;exports.baseUserSchema=_;exports.bordersSchema=se;exports.brandingSchema=De;exports.buttonComponentSchema=I;exports.codeInsertSchema=K;exports.codeSchema=ye;exports.codeTypeSchema=x;exports.colorsSchema=ae;exports.componentSchema=N;exports.connectionInsertSchema=v;exports.connectionOptionsSchema=P;exports.connectionSchema=H;exports.coordinatesSchema=n;exports.customDomainInsertSchema=B;exports.customDomainSchema=W;exports.customDomainWithTenantIdSchema=Ue;exports.emailProviderSchema=Je;exports.endingSchema=j;exports.fieldComponentSchema=O;exports.flowNodeSchema=D;exports.fontDetailsSchema=o;exports.fontsSchema=re;exports.formControlSchema=Fe;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=V;exports.formSchema=je;exports.genericComponentSchema=T;exports.genericNodeSchema=y;exports.hookInsertSchema=Pe;exports.hookSchema=Me;exports.identitySchema=S;exports.jwksKeySchema=Ge;exports.jwksSchema=Z;exports.legalComponentSchema=f;exports.logSchema=Xe;exports.loginSessionInsertSchema=J;exports.loginSessionSchema=Ke;exports.nodeSchema=U;exports.openIDConfigurationSchema=xe;exports.pageBackgroundSchema=ce;exports.parseUserId=ct;exports.passwordInsertSchema=te;exports.passwordSchema=We;exports.profileDataSchema=m;exports.promptSettingSchema=Ze;exports.refreshTokenInsertSchema=ze;exports.refreshTokenSchema=$e;exports.resourceServerInsertSchema=ge;exports.resourceServerListSchema=ot;exports.resourceServerOptionsSchema=de;exports.resourceServerSchema=me;exports.resourceServerScopeSchema=pe;exports.richTextComponentSchema=C;exports.roleInsertSchema=Ce;exports.roleListSchema=rt;exports.rolePermissionInsertSchema=Se;exports.rolePermissionListSchema=nt;exports.rolePermissionSchema=Ee;exports.rolePermissionWithDetailsListSchema=it;exports.rolePermissionWithDetailsSchema=ue;exports.roleSchema=Ie;exports.samlpAddon=h;exports.sessionInsertSchema=ne;exports.sessionSchema=Ve;exports.signingKeySchema=Ye;exports.smsProviderSchema=tt;exports.smsSendParamsSchema=et;exports.startSchema=F;exports.stepNodeSchema=L;exports.tenantInsertSchema=M;exports.tenantSchema=G;exports.themeInsertSchema=le;exports.themeSchema=Qe;exports.tokenResponseSchema=qe;exports.totalsSchema=fe;exports.userInsertSchema=E;exports.userPermissionInsertSchema=he;exports.userPermissionListSchema=st;exports.userPermissionSchema=be;exports.userPermissionWithDetailsListSchema=at;exports.userPermissionWithDetailsSchema=Ae;exports.userResponseSchema=Te;exports.userSchema=u;exports.verificationMethodsSchema=X;exports.widgetSchema=_e;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@hono/zod-openapi"),Le=e.z.object({start:e.z.number(),limit:e.z.number(),length:e.z.number()}),n=e.z.object({created_at:e.z.string(),updated_at:e.z.string()}),m=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:m.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()}),u=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()}),E=e.z.object({...u.shape,...n.shape,user_id:e.z.string(),is_social:e.z.boolean(),email:e.z.string().optional(),login_count:e.z.number().default(0),identities:e.z.array(S).optional()}),De=E,ye=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()),Ue="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Fe=(t=21)=>{let a="",s=crypto.getRandomValues(new Uint8Array(t));for(;t--;)a+=Ue[s[t]&63];return a};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()}),b=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(()=>Fe()).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"}),client_metadata:e.z.record(e.z.string().length(255)).optional()}),f=e.z.object({created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t),...b.shape}),i=e.z.object({x:e.z.number(),y:e.z.number()});var _=(t=>(t.RICH_TEXT="RICH_TEXT",t.NEXT_BUTTON="NEXT_BUTTON",t.BACK_BUTTON="BACK_BUTTON",t.SUBMIT_BUTTON="SUBMIT_BUTTON",t.DIVIDER="DIVIDER",t.TEXT="TEXT",t.EMAIL="EMAIL",t.PASSWORD="PASSWORD",t.NUMBER="NUMBER",t.PHONE="PHONE",t.DATE="DATE",t.CHECKBOX="CHECKBOX",t.RADIO="RADIO",t.SELECT="SELECT",t.HIDDEN="HIDDEN",t.LEGAL="LEGAL",t))(_||{}),p=(t=>(t.BLOCK="BLOCK",t.FIELD="FIELD",t))(p||{});const r=e.z.object({id:e.z.string(),category:e.z.nativeEnum(p),type:e.z.nativeEnum(_)}),A=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()}),C=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()}),O=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([A,I,C,O,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:i,alias:e.z.string().optional(),config:e.z.object({components:e.z.array(N),next_node:e.z.string()}).passthrough()}),D=e.z.object({id:e.z.string(),type:e.z.literal("FLOW"),coordinates:i,alias:e.z.string().optional(),config:e.z.object({flow_id:e.z.string(),next_node:e.z.string()})}),y=e.z.object({id:e.z.string(),type:e.z.string(),coordinates:i}).passthrough(),U=e.z.union([L,D,y]),F=e.z.object({next_node:e.z.string(),coordinates:i}).passthrough(),j=e.z.object({resume_flow:e.z.boolean().optional(),coordinates:i}).passthrough(),k=e.z.object({id:e.z.string(),name:e.z.string(),languages:e.z.object({primary:e.z.string()}).passthrough(),nodes:e.z.array(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(),je=k.omit({id:!0,created_at:!0,updated_at:!0});var z=(t=>(t.TOKEN="token",t.TOKEN_ID_TOKEN="token id_token",t.CODE="code",t))(z||{}),d=(t=>(t.QUERY="query",t.FRAGMENT="fragment",t.FORM_POST="form_post",t.WEB_MESSAGE="web_message",t.SAML_POST="saml_post",t))(d||{}),g=(t=>(t.S256="S256",t.Plain="plain",t))(g||{});const w=e.z.object({client_id:e.z.string(),act_as:e.z.string().optional(),response_type:e.z.nativeEnum(z).optional(),response_mode:e.z.nativeEnum(d).optional(),redirect_uri:e.z.string().optional(),audience:e.z.string().optional(),organization:e.z.string().optional(),state:e.z.string().optional(),nonce:e.z.string().optional(),scope:e.z.string().optional(),prompt:e.z.string().optional(),code_challenge_method:e.z.nativeEnum(g).optional(),code_challenge:e.z.string().optional(),username:e.z.string().optional(),ui_locales:e.z.string().optional(),vendor_id:e.z.string().optional()}),ke=e.z.object({colors:e.z.object({primary:e.z.string(),page_background:e.z.object({type:e.z.string().optional(),start:e.z.string().optional(),end:e.z.string().optional(),angle_deg:e.z.number().optional()}).optional()}).optional(),logo_url:e.z.string().optional(),favicon_url:e.z.string().optional(),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()}),v=e.z.object({id:e.z.string().optional(),name:e.z.string(),strategy:e.z.string(),options:P.default({}),enabled_clients:e.z.array(e.z.string()).default([]).optional(),response_type:e.z.custom().optional(),response_mode:e.z.custom().optional()}),H=e.z.object({id:e.z.string(),created_at:e.z.string().transform(t=>t===null?"":t),updated_at:e.z.string().transform(t=>t===null?"":t)}).extend(v.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()});e.z.object({...f.shape,tenant:G,connections:e.z.array(H)});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()}),we=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()}),W=e.z.object({name:e.z.literal("txt"),record:e.z.string(),domain:e.z.string()}),X=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(W)}).optional(),tls_policy:e.z.string().optional()}),Pe=X.extend({tenant_id:e.z.string()}),ve=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)"}),He=e.z.object({...n.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"]),c={enabled:e.z.boolean().default(!1),synchronous:e.z.boolean().default(!1),priority:e.z.number().optional(),hook_id:e.z.string().optional()},Me=e.z.object({...c,trigger_id:q,url:e.z.string()}),Ge=e.z.object({...c,trigger_id:Q,form_id:e.z.string()}),xe=e.z.union([Me,Ge]),Ke=e.z.object({...c,trigger_id:q,...n.shape,hook_id:e.z.string(),url:e.z.string()}),Be=e.z.object({...c,trigger_id:Q,...n.shape,hook_id:e.z.string(),form_id:e.z.string()}),We=e.z.union([Ke,Be]),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()}),Xe=e.z.object({keys:e.z.array(Z)}),Ve=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:w,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"}),Ye=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"},qe=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()}),Qe=e.z.object({type:qe,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")}),Ze=e.z.object({...te.shape,created_at:e.z.string(),updated_at:e.z.string()}),oe=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")}),ne=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:oe.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")}),Je=e.z.object({created_at:e.z.string(),updated_at:e.z.string(),authenticated_at:e.z.string(),last_interaction_at:e.z.string(),...ne.shape}),$e=e.z.object({kid:e.z.string().openapi({description:"The key id of the signing key"}),cert:e.z.string().openapi({description:"The public certificate of the signing key"}),fingerprint:e.z.string().openapi({description:"The cert fingerprint"}),thumbprint:e.z.string().openapi({description:"The cert thumbprint"}),pkcs7:e.z.string().optional().openapi({description:"The private key in pkcs7 format"}),current:e.z.boolean().optional().openapi({description:"True if the key is the current key"}),next:e.z.boolean().optional().openapi({description:"True if the key is the next key"}),previous:e.z.boolean().optional().openapi({description:"True if the key is the previous key"}),current_since:e.z.string().optional().openapi({description:"The date and time when the key became the current key"}),current_until:e.z.string().optional().openapi({description:"The date and time when the current key was rotated"}),revoked:e.z.boolean().optional().openapi({description:"True if the key is revoked"}),revoked_at:e.z.string().optional().openapi({description:"The date and time when the key was revoked"}),connection:e.z.string().optional().openapi({description:"The connection identifier associated with the key"}),type:e.z.enum(["jwt_signing","saml_encryption"]).openapi({description:"The type of the signing key"})});var 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 et=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","rounded","sharp"]),input_border_radius:e.z.number(),input_border_weight:e.z.number(),inputs_style:e.z.enum(["pill","rounded","sharp"]),show_widget_shadow:e.z.boolean(),widget_border_weight:e.z.number(),widget_corner_radius:e.z.number()}),se=e.z.object({base_focus_color:e.z.string(),base_hover_color:e.z.string(),body_text:e.z.string(),captcha_widget_theme:e.z.enum(["auto","dark","light"]),error:e.z.string(),header:e.z.string(),icons:e.z.string(),input_background:e.z.string(),input_border:e.z.string(),input_filled_text:e.z.string(),input_labels_placeholders:e.z.string(),links_focused_components:e.z.string(),primary_button:e.z.string(),primary_button_label:e.z.string(),secondary_button_border:e.z.string(),secondary_button_label:e.z.string(),success:e.z.string(),widget_background:e.z.string(),widget_border:e.z.string()}),o=e.z.object({bold:e.z.boolean(),size:e.z.number()}),re=e.z.object({body_text:o,buttons_text:o,font_url:e.z.string(),input_labels:o,links:o,links_style:e.z.enum(["normal","underlined"]),reference_text_size:e.z.number(),subtitle:o,title:o}),ce=e.z.object({background_color:e.z.string(),background_image_url:e.z.string(),page_layout:e.z.enum(["center","left","right"])}),le=e.z.object({header_text_alignment:e.z.enum(["center","left","right"]),logo_height:e.z.number(),logo_position:e.z.enum(["center","left","none","right"]),logo_url:e.z.string(),social_buttons_layout:e.z.enum(["bottom","top"])}),_e=e.z.object({borders:ae,colors:se,displayName:e.z.string(),fonts:re,page_background:ce,widget:le}),tt=_e.extend({themeId:e.z.string()}),ot=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()}),nt=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()}),pe=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:oe,resource_servers:e.z.array(e.z.object({audience:e.z.string(),scopes:e.z.string()})),rotating:e.z.boolean()}),it=e.z.object({created_at:e.z.string(),...pe.shape}),at=e.z.object({to:e.z.string(),message:e.z.string()}),st=e.z.object({name:e.z.string(),options:e.z.object({})}),ze=e.z.object({value:e.z.string(),description:e.z.string().optional()}),de=e.z.object({token_dialect:e.z.enum(["access_token","access_token_authz"]).optional(),enforce_policies:e.z.boolean().optional(),allow_skipping_userinfo:e.z.boolean().optional(),skip_userinfo:e.z.boolean().optional(),persist_client_authorization:e.z.boolean().optional(),enable_introspection_endpoint:e.z.boolean().optional(),mtls:e.z.object({bound_access_tokens:e.z.boolean().optional()}).optional()}),ge=e.z.object({name:e.z.string(),identifier:e.z.string(),scopes:e.z.array(ze).optional(),signing_alg:e.z.string().optional(),signing_secret:e.z.string().optional(),token_lifetime:e.z.number().optional(),token_lifetime_for_web:e.z.number().optional(),skip_consent_for_verifiable_first_party_clients:e.z.boolean().optional(),allow_offline_access:e.z.boolean().optional(),verificationKey:e.z.string().optional(),options:de.optional()}),me=e.z.object({id:e.z.string().optional(),...ge.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),rt=e.z.array(me),Se=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),ue=e.z.object({...Se.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),ct=e.z.array(ue),Ee=e.z.object({role_id:e.z.string(),resource_server_identifier:e.z.string(),resource_server_name:e.z.string(),permission_name:e.z.string(),description:e.z.string().nullable().optional(),created_at:e.z.string().optional()}),lt=e.z.array(Ee),he=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),permission_name:e.z.string()}),be=e.z.object({...he.shape,tenant_id:e.z.string(),created_at:e.z.string().optional()}),_t=e.z.array(be),fe=e.z.object({user_id:e.z.string(),resource_server_identifier:e.z.string(),resource_server_name:e.z.string(),permission_name:e.z.string(),description:e.z.string().nullable().optional(),created_at:e.z.string().optional()}),pt=e.z.array(fe),Ae=e.z.object({name:e.z.string().min(1).max(50).openapi({description:"The name of the role. Cannot include '<' or '>'"}),description:e.z.string().max(255).optional().openapi({description:"The description of the role"})}),Ie=e.z.object({id:e.z.string().openapi({description:"The unique identifier of the role"}),...Ae.shape,created_at:e.z.string().optional(),updated_at:e.z.string().optional()}),zt=e.z.array(Ie),Ce=e.z.object({logo_url:e.z.string().optional().openapi({description:"URL of the organization's logo"}),colors:e.z.object({primary:e.z.string().optional().openapi({description:"Primary color in hex format (e.g., #FF0000)"}),page_background:e.z.string().optional().openapi({description:"Page background color in hex format (e.g., #FFFFFF)"})}).optional()}).optional(),Oe=e.z.object({connection_id:e.z.string().openapi({description:"ID of the connection"}),assign_membership_on_login:e.z.boolean().default(!1).openapi({description:"Whether to assign membership to the organization on login"}),show_as_button:e.z.boolean().default(!0).openapi({description:"Whether to show this connection as a button in the login screen"}),is_signup_enabled:e.z.boolean().default(!0).openapi({description:"Whether signup is enabled for this connection"})}),Te=e.z.object({client_credentials:e.z.object({enforce:e.z.boolean().default(!1).openapi({description:"Whether to enforce token quota limits"}),per_day:e.z.number().min(0).default(0).openapi({description:"Maximum tokens per day (0 = unlimited)"}),per_hour:e.z.number().min(0).default(0).openapi({description:"Maximum tokens per hour (0 = unlimited)"})}).optional()}).optional(),Ne=e.z.object({id:e.z.string().optional(),name:e.z.string().min(1).openapi({description:"The name of the organization"}),display_name:e.z.string().optional().openapi({description:"The display name of the organization"}),branding:Ce,metadata:e.z.record(e.z.any()).default({}).optional().openapi({description:"Custom metadata for the organization"}),enabled_connections:e.z.array(Oe).default([]).optional().openapi({description:"List of enabled connections for the organization"}),token_quota:Te}),dt=e.z.object({...Ne.shape,...n.shape,id:e.z.string()}),Re=e.z.object({user_id:e.z.string().openapi({description:"ID of the user"}),organization_id:e.z.string().openapi({description:"ID of the organization"})}),gt=e.z.object({...Re.shape,...n.shape,id:e.z.string()});function mt(t){const[a,s]=t.split("|");if(!a||!s)throw new Error(`Invalid user_id: ${t}`);return{connection:a,id:s}}exports.Auth0Client=ee;exports.AuthorizationResponseMode=d;exports.AuthorizationResponseType=z;exports.CodeChallengeMethod=g;exports.ComponentCategory=p;exports.ComponentType=_;exports.GrantType=ie;exports.LogTypes=$;exports.NodeType=R;exports.applicationInsertSchema=b;exports.applicationSchema=f;exports.auth0FlowInsertSchema=je;exports.auth0FlowSchema=k;exports.auth0UserResponseSchema=De;exports.authParamsSchema=w;exports.baseUserSchema=l;exports.bordersSchema=ae;exports.brandingSchema=ke;exports.buttonComponentSchema=I;exports.codeInsertSchema=K;exports.codeSchema=we;exports.codeTypeSchema=x;exports.colorsSchema=se;exports.componentSchema=N;exports.connectionInsertSchema=v;exports.connectionOptionsSchema=P;exports.connectionSchema=H;exports.coordinatesSchema=i;exports.customDomainInsertSchema=B;exports.customDomainSchema=X;exports.customDomainWithTenantIdSchema=Pe;exports.emailProviderSchema=nt;exports.endingSchema=j;exports.fieldComponentSchema=O;exports.flowNodeSchema=D;exports.fontDetailsSchema=o;exports.fontsSchema=re;exports.formControlSchema=ve;exports.formInsertSchema=Y;exports.formNodeComponentDefinition=V;exports.formSchema=He;exports.genericComponentSchema=T;exports.genericNodeSchema=y;exports.hookInsertSchema=xe;exports.hookSchema=We;exports.identitySchema=S;exports.jwksKeySchema=Xe;exports.jwksSchema=Z;exports.legalComponentSchema=C;exports.logSchema=Qe;exports.loginSessionInsertSchema=J;exports.loginSessionSchema=Ye;exports.nodeSchema=U;exports.openIDConfigurationSchema=Ve;exports.organizationBrandingSchema=Ce;exports.organizationEnabledConnectionSchema=Oe;exports.organizationInsertSchema=Ne;exports.organizationSchema=dt;exports.organizationTokenQuotaSchema=Te;exports.pageBackgroundSchema=ce;exports.parseUserId=mt;exports.passwordInsertSchema=te;exports.passwordSchema=Ze;exports.profileDataSchema=m;exports.promptSettingSchema=ot;exports.refreshTokenInsertSchema=pe;exports.refreshTokenSchema=it;exports.resourceServerInsertSchema=ge;exports.resourceServerListSchema=rt;exports.resourceServerOptionsSchema=de;exports.resourceServerSchema=me;exports.resourceServerScopeSchema=ze;exports.richTextComponentSchema=A;exports.roleInsertSchema=Ae;exports.roleListSchema=zt;exports.rolePermissionInsertSchema=Se;exports.rolePermissionListSchema=ct;exports.rolePermissionSchema=ue;exports.rolePermissionWithDetailsListSchema=lt;exports.rolePermissionWithDetailsSchema=Ee;exports.roleSchema=Ie;exports.samlpAddon=h;exports.sessionInsertSchema=ne;exports.sessionSchema=Je;exports.signingKeySchema=$e;exports.smsProviderSchema=st;exports.smsSendParamsSchema=at;exports.startSchema=F;exports.stepNodeSchema=L;exports.tenantInsertSchema=M;exports.tenantSchema=G;exports.themeInsertSchema=_e;exports.themeSchema=tt;exports.tokenResponseSchema=et;exports.totalsSchema=Le;exports.userInsertSchema=u;exports.userOrganizationInsertSchema=Re;exports.userOrganizationSchema=gt;exports.userPermissionInsertSchema=he;exports.userPermissionListSchema=_t;exports.userPermissionSchema=be;exports.userPermissionWithDetailsListSchema=pt;exports.userPermissionWithDetailsSchema=fe;exports.userResponseSchema=ye;exports.userSchema=E;exports.verificationMethodsSchema=W;exports.widgetSchema=le;
|
|
@@ -14536,6 +14536,361 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
|
|
|
14536
14536
|
updated_at?: string | undefined;
|
|
14537
14537
|
}>, "many">;
|
|
14538
14538
|
export type RoleList = z.infer<typeof roleListSchema>;
|
|
14539
|
+
export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{
|
|
14540
|
+
logo_url: z.ZodOptional<z.ZodString>;
|
|
14541
|
+
colors: z.ZodOptional<z.ZodObject<{
|
|
14542
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
14543
|
+
page_background: z.ZodOptional<z.ZodString>;
|
|
14544
|
+
}, "strip", z.ZodTypeAny, {
|
|
14545
|
+
primary?: string | undefined;
|
|
14546
|
+
page_background?: string | undefined;
|
|
14547
|
+
}, {
|
|
14548
|
+
primary?: string | undefined;
|
|
14549
|
+
page_background?: string | undefined;
|
|
14550
|
+
}>>;
|
|
14551
|
+
}, "strip", z.ZodTypeAny, {
|
|
14552
|
+
colors?: {
|
|
14553
|
+
primary?: string | undefined;
|
|
14554
|
+
page_background?: string | undefined;
|
|
14555
|
+
} | undefined;
|
|
14556
|
+
logo_url?: string | undefined;
|
|
14557
|
+
}, {
|
|
14558
|
+
colors?: {
|
|
14559
|
+
primary?: string | undefined;
|
|
14560
|
+
page_background?: string | undefined;
|
|
14561
|
+
} | undefined;
|
|
14562
|
+
logo_url?: string | undefined;
|
|
14563
|
+
}>>;
|
|
14564
|
+
export declare const organizationEnabledConnectionSchema: z.ZodObject<{
|
|
14565
|
+
connection_id: z.ZodString;
|
|
14566
|
+
assign_membership_on_login: z.ZodDefault<z.ZodBoolean>;
|
|
14567
|
+
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
14568
|
+
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
14569
|
+
}, "strip", z.ZodTypeAny, {
|
|
14570
|
+
connection_id: string;
|
|
14571
|
+
assign_membership_on_login: boolean;
|
|
14572
|
+
show_as_button: boolean;
|
|
14573
|
+
is_signup_enabled: boolean;
|
|
14574
|
+
}, {
|
|
14575
|
+
connection_id: string;
|
|
14576
|
+
assign_membership_on_login?: boolean | undefined;
|
|
14577
|
+
show_as_button?: boolean | undefined;
|
|
14578
|
+
is_signup_enabled?: boolean | undefined;
|
|
14579
|
+
}>;
|
|
14580
|
+
export declare const organizationTokenQuotaSchema: z.ZodOptional<z.ZodObject<{
|
|
14581
|
+
client_credentials: z.ZodOptional<z.ZodObject<{
|
|
14582
|
+
enforce: z.ZodDefault<z.ZodBoolean>;
|
|
14583
|
+
per_day: z.ZodDefault<z.ZodNumber>;
|
|
14584
|
+
per_hour: z.ZodDefault<z.ZodNumber>;
|
|
14585
|
+
}, "strip", z.ZodTypeAny, {
|
|
14586
|
+
enforce: boolean;
|
|
14587
|
+
per_day: number;
|
|
14588
|
+
per_hour: number;
|
|
14589
|
+
}, {
|
|
14590
|
+
enforce?: boolean | undefined;
|
|
14591
|
+
per_day?: number | undefined;
|
|
14592
|
+
per_hour?: number | undefined;
|
|
14593
|
+
}>>;
|
|
14594
|
+
}, "strip", z.ZodTypeAny, {
|
|
14595
|
+
client_credentials?: {
|
|
14596
|
+
enforce: boolean;
|
|
14597
|
+
per_day: number;
|
|
14598
|
+
per_hour: number;
|
|
14599
|
+
} | undefined;
|
|
14600
|
+
}, {
|
|
14601
|
+
client_credentials?: {
|
|
14602
|
+
enforce?: boolean | undefined;
|
|
14603
|
+
per_day?: number | undefined;
|
|
14604
|
+
per_hour?: number | undefined;
|
|
14605
|
+
} | undefined;
|
|
14606
|
+
}>>;
|
|
14607
|
+
export declare const organizationInsertSchema: z.ZodObject<{
|
|
14608
|
+
id: z.ZodOptional<z.ZodString>;
|
|
14609
|
+
name: z.ZodString;
|
|
14610
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
14611
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
14612
|
+
logo_url: z.ZodOptional<z.ZodString>;
|
|
14613
|
+
colors: z.ZodOptional<z.ZodObject<{
|
|
14614
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
14615
|
+
page_background: z.ZodOptional<z.ZodString>;
|
|
14616
|
+
}, "strip", z.ZodTypeAny, {
|
|
14617
|
+
primary?: string | undefined;
|
|
14618
|
+
page_background?: string | undefined;
|
|
14619
|
+
}, {
|
|
14620
|
+
primary?: string | undefined;
|
|
14621
|
+
page_background?: string | undefined;
|
|
14622
|
+
}>>;
|
|
14623
|
+
}, "strip", z.ZodTypeAny, {
|
|
14624
|
+
colors?: {
|
|
14625
|
+
primary?: string | undefined;
|
|
14626
|
+
page_background?: string | undefined;
|
|
14627
|
+
} | undefined;
|
|
14628
|
+
logo_url?: string | undefined;
|
|
14629
|
+
}, {
|
|
14630
|
+
colors?: {
|
|
14631
|
+
primary?: string | undefined;
|
|
14632
|
+
page_background?: string | undefined;
|
|
14633
|
+
} | undefined;
|
|
14634
|
+
logo_url?: string | undefined;
|
|
14635
|
+
}>>;
|
|
14636
|
+
metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
14637
|
+
enabled_connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14638
|
+
connection_id: z.ZodString;
|
|
14639
|
+
assign_membership_on_login: z.ZodDefault<z.ZodBoolean>;
|
|
14640
|
+
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
14641
|
+
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
14642
|
+
}, "strip", z.ZodTypeAny, {
|
|
14643
|
+
connection_id: string;
|
|
14644
|
+
assign_membership_on_login: boolean;
|
|
14645
|
+
show_as_button: boolean;
|
|
14646
|
+
is_signup_enabled: boolean;
|
|
14647
|
+
}, {
|
|
14648
|
+
connection_id: string;
|
|
14649
|
+
assign_membership_on_login?: boolean | undefined;
|
|
14650
|
+
show_as_button?: boolean | undefined;
|
|
14651
|
+
is_signup_enabled?: boolean | undefined;
|
|
14652
|
+
}>, "many">>>;
|
|
14653
|
+
token_quota: z.ZodOptional<z.ZodObject<{
|
|
14654
|
+
client_credentials: z.ZodOptional<z.ZodObject<{
|
|
14655
|
+
enforce: z.ZodDefault<z.ZodBoolean>;
|
|
14656
|
+
per_day: z.ZodDefault<z.ZodNumber>;
|
|
14657
|
+
per_hour: z.ZodDefault<z.ZodNumber>;
|
|
14658
|
+
}, "strip", z.ZodTypeAny, {
|
|
14659
|
+
enforce: boolean;
|
|
14660
|
+
per_day: number;
|
|
14661
|
+
per_hour: number;
|
|
14662
|
+
}, {
|
|
14663
|
+
enforce?: boolean | undefined;
|
|
14664
|
+
per_day?: number | undefined;
|
|
14665
|
+
per_hour?: number | undefined;
|
|
14666
|
+
}>>;
|
|
14667
|
+
}, "strip", z.ZodTypeAny, {
|
|
14668
|
+
client_credentials?: {
|
|
14669
|
+
enforce: boolean;
|
|
14670
|
+
per_day: number;
|
|
14671
|
+
per_hour: number;
|
|
14672
|
+
} | undefined;
|
|
14673
|
+
}, {
|
|
14674
|
+
client_credentials?: {
|
|
14675
|
+
enforce?: boolean | undefined;
|
|
14676
|
+
per_day?: number | undefined;
|
|
14677
|
+
per_hour?: number | undefined;
|
|
14678
|
+
} | undefined;
|
|
14679
|
+
}>>;
|
|
14680
|
+
}, "strip", z.ZodTypeAny, {
|
|
14681
|
+
name: string;
|
|
14682
|
+
id?: string | undefined;
|
|
14683
|
+
display_name?: string | undefined;
|
|
14684
|
+
branding?: {
|
|
14685
|
+
colors?: {
|
|
14686
|
+
primary?: string | undefined;
|
|
14687
|
+
page_background?: string | undefined;
|
|
14688
|
+
} | undefined;
|
|
14689
|
+
logo_url?: string | undefined;
|
|
14690
|
+
} | undefined;
|
|
14691
|
+
metadata?: Record<string, any> | undefined;
|
|
14692
|
+
enabled_connections?: {
|
|
14693
|
+
connection_id: string;
|
|
14694
|
+
assign_membership_on_login: boolean;
|
|
14695
|
+
show_as_button: boolean;
|
|
14696
|
+
is_signup_enabled: boolean;
|
|
14697
|
+
}[] | undefined;
|
|
14698
|
+
token_quota?: {
|
|
14699
|
+
client_credentials?: {
|
|
14700
|
+
enforce: boolean;
|
|
14701
|
+
per_day: number;
|
|
14702
|
+
per_hour: number;
|
|
14703
|
+
} | undefined;
|
|
14704
|
+
} | undefined;
|
|
14705
|
+
}, {
|
|
14706
|
+
name: string;
|
|
14707
|
+
id?: string | undefined;
|
|
14708
|
+
display_name?: string | undefined;
|
|
14709
|
+
branding?: {
|
|
14710
|
+
colors?: {
|
|
14711
|
+
primary?: string | undefined;
|
|
14712
|
+
page_background?: string | undefined;
|
|
14713
|
+
} | undefined;
|
|
14714
|
+
logo_url?: string | undefined;
|
|
14715
|
+
} | undefined;
|
|
14716
|
+
metadata?: Record<string, any> | undefined;
|
|
14717
|
+
enabled_connections?: {
|
|
14718
|
+
connection_id: string;
|
|
14719
|
+
assign_membership_on_login?: boolean | undefined;
|
|
14720
|
+
show_as_button?: boolean | undefined;
|
|
14721
|
+
is_signup_enabled?: boolean | undefined;
|
|
14722
|
+
}[] | undefined;
|
|
14723
|
+
token_quota?: {
|
|
14724
|
+
client_credentials?: {
|
|
14725
|
+
enforce?: boolean | undefined;
|
|
14726
|
+
per_day?: number | undefined;
|
|
14727
|
+
per_hour?: number | undefined;
|
|
14728
|
+
} | undefined;
|
|
14729
|
+
} | undefined;
|
|
14730
|
+
}>;
|
|
14731
|
+
export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
|
|
14732
|
+
export declare const organizationSchema: z.ZodObject<{
|
|
14733
|
+
id: z.ZodString;
|
|
14734
|
+
created_at: z.ZodString;
|
|
14735
|
+
updated_at: z.ZodString;
|
|
14736
|
+
name: z.ZodString;
|
|
14737
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
14738
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
14739
|
+
logo_url: z.ZodOptional<z.ZodString>;
|
|
14740
|
+
colors: z.ZodOptional<z.ZodObject<{
|
|
14741
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
14742
|
+
page_background: z.ZodOptional<z.ZodString>;
|
|
14743
|
+
}, "strip", z.ZodTypeAny, {
|
|
14744
|
+
primary?: string | undefined;
|
|
14745
|
+
page_background?: string | undefined;
|
|
14746
|
+
}, {
|
|
14747
|
+
primary?: string | undefined;
|
|
14748
|
+
page_background?: string | undefined;
|
|
14749
|
+
}>>;
|
|
14750
|
+
}, "strip", z.ZodTypeAny, {
|
|
14751
|
+
colors?: {
|
|
14752
|
+
primary?: string | undefined;
|
|
14753
|
+
page_background?: string | undefined;
|
|
14754
|
+
} | undefined;
|
|
14755
|
+
logo_url?: string | undefined;
|
|
14756
|
+
}, {
|
|
14757
|
+
colors?: {
|
|
14758
|
+
primary?: string | undefined;
|
|
14759
|
+
page_background?: string | undefined;
|
|
14760
|
+
} | undefined;
|
|
14761
|
+
logo_url?: string | undefined;
|
|
14762
|
+
}>>;
|
|
14763
|
+
metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
14764
|
+
enabled_connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
14765
|
+
connection_id: z.ZodString;
|
|
14766
|
+
assign_membership_on_login: z.ZodDefault<z.ZodBoolean>;
|
|
14767
|
+
show_as_button: z.ZodDefault<z.ZodBoolean>;
|
|
14768
|
+
is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
14769
|
+
}, "strip", z.ZodTypeAny, {
|
|
14770
|
+
connection_id: string;
|
|
14771
|
+
assign_membership_on_login: boolean;
|
|
14772
|
+
show_as_button: boolean;
|
|
14773
|
+
is_signup_enabled: boolean;
|
|
14774
|
+
}, {
|
|
14775
|
+
connection_id: string;
|
|
14776
|
+
assign_membership_on_login?: boolean | undefined;
|
|
14777
|
+
show_as_button?: boolean | undefined;
|
|
14778
|
+
is_signup_enabled?: boolean | undefined;
|
|
14779
|
+
}>, "many">>>;
|
|
14780
|
+
token_quota: z.ZodOptional<z.ZodObject<{
|
|
14781
|
+
client_credentials: z.ZodOptional<z.ZodObject<{
|
|
14782
|
+
enforce: z.ZodDefault<z.ZodBoolean>;
|
|
14783
|
+
per_day: z.ZodDefault<z.ZodNumber>;
|
|
14784
|
+
per_hour: z.ZodDefault<z.ZodNumber>;
|
|
14785
|
+
}, "strip", z.ZodTypeAny, {
|
|
14786
|
+
enforce: boolean;
|
|
14787
|
+
per_day: number;
|
|
14788
|
+
per_hour: number;
|
|
14789
|
+
}, {
|
|
14790
|
+
enforce?: boolean | undefined;
|
|
14791
|
+
per_day?: number | undefined;
|
|
14792
|
+
per_hour?: number | undefined;
|
|
14793
|
+
}>>;
|
|
14794
|
+
}, "strip", z.ZodTypeAny, {
|
|
14795
|
+
client_credentials?: {
|
|
14796
|
+
enforce: boolean;
|
|
14797
|
+
per_day: number;
|
|
14798
|
+
per_hour: number;
|
|
14799
|
+
} | undefined;
|
|
14800
|
+
}, {
|
|
14801
|
+
client_credentials?: {
|
|
14802
|
+
enforce?: boolean | undefined;
|
|
14803
|
+
per_day?: number | undefined;
|
|
14804
|
+
per_hour?: number | undefined;
|
|
14805
|
+
} | undefined;
|
|
14806
|
+
}>>;
|
|
14807
|
+
}, "strip", z.ZodTypeAny, {
|
|
14808
|
+
created_at: string;
|
|
14809
|
+
updated_at: string;
|
|
14810
|
+
name: string;
|
|
14811
|
+
id: string;
|
|
14812
|
+
display_name?: string | undefined;
|
|
14813
|
+
branding?: {
|
|
14814
|
+
colors?: {
|
|
14815
|
+
primary?: string | undefined;
|
|
14816
|
+
page_background?: string | undefined;
|
|
14817
|
+
} | undefined;
|
|
14818
|
+
logo_url?: string | undefined;
|
|
14819
|
+
} | undefined;
|
|
14820
|
+
metadata?: Record<string, any> | undefined;
|
|
14821
|
+
enabled_connections?: {
|
|
14822
|
+
connection_id: string;
|
|
14823
|
+
assign_membership_on_login: boolean;
|
|
14824
|
+
show_as_button: boolean;
|
|
14825
|
+
is_signup_enabled: boolean;
|
|
14826
|
+
}[] | undefined;
|
|
14827
|
+
token_quota?: {
|
|
14828
|
+
client_credentials?: {
|
|
14829
|
+
enforce: boolean;
|
|
14830
|
+
per_day: number;
|
|
14831
|
+
per_hour: number;
|
|
14832
|
+
} | undefined;
|
|
14833
|
+
} | undefined;
|
|
14834
|
+
}, {
|
|
14835
|
+
created_at: string;
|
|
14836
|
+
updated_at: string;
|
|
14837
|
+
name: string;
|
|
14838
|
+
id: string;
|
|
14839
|
+
display_name?: string | undefined;
|
|
14840
|
+
branding?: {
|
|
14841
|
+
colors?: {
|
|
14842
|
+
primary?: string | undefined;
|
|
14843
|
+
page_background?: string | undefined;
|
|
14844
|
+
} | undefined;
|
|
14845
|
+
logo_url?: string | undefined;
|
|
14846
|
+
} | undefined;
|
|
14847
|
+
metadata?: Record<string, any> | undefined;
|
|
14848
|
+
enabled_connections?: {
|
|
14849
|
+
connection_id: string;
|
|
14850
|
+
assign_membership_on_login?: boolean | undefined;
|
|
14851
|
+
show_as_button?: boolean | undefined;
|
|
14852
|
+
is_signup_enabled?: boolean | undefined;
|
|
14853
|
+
}[] | undefined;
|
|
14854
|
+
token_quota?: {
|
|
14855
|
+
client_credentials?: {
|
|
14856
|
+
enforce?: boolean | undefined;
|
|
14857
|
+
per_day?: number | undefined;
|
|
14858
|
+
per_hour?: number | undefined;
|
|
14859
|
+
} | undefined;
|
|
14860
|
+
} | undefined;
|
|
14861
|
+
}>;
|
|
14862
|
+
export type Organization = z.infer<typeof organizationSchema>;
|
|
14863
|
+
export declare const userOrganizationInsertSchema: z.ZodObject<{
|
|
14864
|
+
user_id: z.ZodString;
|
|
14865
|
+
organization_id: z.ZodString;
|
|
14866
|
+
}, "strip", z.ZodTypeAny, {
|
|
14867
|
+
user_id: string;
|
|
14868
|
+
organization_id: string;
|
|
14869
|
+
}, {
|
|
14870
|
+
user_id: string;
|
|
14871
|
+
organization_id: string;
|
|
14872
|
+
}>;
|
|
14873
|
+
export type UserOrganizationInsert = z.infer<typeof userOrganizationInsertSchema>;
|
|
14874
|
+
export declare const userOrganizationSchema: z.ZodObject<{
|
|
14875
|
+
id: z.ZodString;
|
|
14876
|
+
created_at: z.ZodString;
|
|
14877
|
+
updated_at: z.ZodString;
|
|
14878
|
+
user_id: z.ZodString;
|
|
14879
|
+
organization_id: z.ZodString;
|
|
14880
|
+
}, "strip", z.ZodTypeAny, {
|
|
14881
|
+
created_at: string;
|
|
14882
|
+
updated_at: string;
|
|
14883
|
+
user_id: string;
|
|
14884
|
+
id: string;
|
|
14885
|
+
organization_id: string;
|
|
14886
|
+
}, {
|
|
14887
|
+
created_at: string;
|
|
14888
|
+
updated_at: string;
|
|
14889
|
+
user_id: string;
|
|
14890
|
+
id: string;
|
|
14891
|
+
organization_id: string;
|
|
14892
|
+
}>;
|
|
14893
|
+
export type UserOrganization = z.infer<typeof userOrganizationSchema>;
|
|
14539
14894
|
export declare function parseUserId(user_id: string): {
|
|
14540
14895
|
connection: string;
|
|
14541
14896
|
id: string;
|
|
@@ -14765,6 +15120,32 @@ export interface UserRolesAdapter {
|
|
|
14765
15120
|
assign(tenantId: string, userId: string, roles: string[]): Promise<boolean>;
|
|
14766
15121
|
remove(tenantId: string, userId: string, roles: string[]): Promise<boolean>;
|
|
14767
15122
|
}
|
|
15123
|
+
export interface ListOrganizationsResponse extends Totals {
|
|
15124
|
+
organizations: Organization[];
|
|
15125
|
+
}
|
|
15126
|
+
export interface OrganizationsAdapter {
|
|
15127
|
+
create(tenant_id: string, params: OrganizationInsert): Promise<Organization>;
|
|
15128
|
+
get(tenant_id: string, id: string): Promise<Organization | null>;
|
|
15129
|
+
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
15130
|
+
list(tenant_id: string, params?: ListParams): Promise<ListOrganizationsResponse>;
|
|
15131
|
+
update(tenant_id: string, id: string, params: Partial<OrganizationInsert>): Promise<boolean>;
|
|
15132
|
+
}
|
|
15133
|
+
export interface UserOrganizationsAdapter {
|
|
15134
|
+
create(tenantId: string, params: UserOrganizationInsert): Promise<UserOrganization>;
|
|
15135
|
+
get(tenantId: string, id: string): Promise<UserOrganization | null>;
|
|
15136
|
+
remove(tenantId: string, id: string): Promise<boolean>;
|
|
15137
|
+
/**
|
|
15138
|
+
* List user-organization relationships
|
|
15139
|
+
* @param tenantId - The tenant ID
|
|
15140
|
+
* @param params - List parameters including query options:
|
|
15141
|
+
* - q: "user_id:{userId}" to get organizations for a specific user
|
|
15142
|
+
* - q: "organization_id:{organizationId}" to get members of a specific organization
|
|
15143
|
+
*/
|
|
15144
|
+
list(tenantId: string, params?: ListParams): Promise<{
|
|
15145
|
+
userOrganizations: UserOrganization[];
|
|
15146
|
+
} & Totals>;
|
|
15147
|
+
update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
|
|
15148
|
+
}
|
|
14768
15149
|
export interface DataAdapters {
|
|
14769
15150
|
applications: ApplicationsAdapter;
|
|
14770
15151
|
branding: BrandingAdapter;
|
|
@@ -14791,6 +15172,8 @@ export interface DataAdapters {
|
|
|
14791
15172
|
themes: ThemesAdapter;
|
|
14792
15173
|
users: UserDataAdapter;
|
|
14793
15174
|
userRoles: UserRolesAdapter;
|
|
15175
|
+
organizations: OrganizationsAdapter;
|
|
15176
|
+
userOrganizations: UserOrganizationsAdapter;
|
|
14794
15177
|
}
|
|
14795
15178
|
|
|
14796
15179
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z as e } from "@hono/zod-openapi";
|
|
2
|
-
const
|
|
2
|
+
const ve = e.object({
|
|
3
3
|
start: e.number(),
|
|
4
4
|
limit: e.number(),
|
|
5
5
|
length: e.number()
|
|
6
|
-
}),
|
|
6
|
+
}), o = e.object({
|
|
7
7
|
created_at: e.string(),
|
|
8
8
|
updated_at: e.string()
|
|
9
9
|
}), h = e.object({
|
|
@@ -15,7 +15,7 @@ const Fe = e.object({
|
|
|
15
15
|
phone_number: e.string().optional(),
|
|
16
16
|
phone_verified: e.boolean().optional(),
|
|
17
17
|
family_name: e.string().optional()
|
|
18
|
-
}).catchall(e.any()),
|
|
18
|
+
}).catchall(e.any()), b = e.object({
|
|
19
19
|
connection: e.string(),
|
|
20
20
|
user_id: e.string(),
|
|
21
21
|
provider: e.string(),
|
|
@@ -39,7 +39,7 @@ const Fe = e.object({
|
|
|
39
39
|
user_id: e.string().optional(),
|
|
40
40
|
app_metadata: e.any().default({}).optional(),
|
|
41
41
|
user_metadata: e.any().default({}).optional()
|
|
42
|
-
}),
|
|
42
|
+
}), A = l.extend({
|
|
43
43
|
email_verified: e.boolean().default(!1),
|
|
44
44
|
verify_email: e.boolean().optional(),
|
|
45
45
|
last_ip: e.string().optional(),
|
|
@@ -48,26 +48,26 @@ const Fe = e.object({
|
|
|
48
48
|
provider: e.string().default("email"),
|
|
49
49
|
connection: e.string().default("email"),
|
|
50
50
|
is_social: e.boolean().optional()
|
|
51
|
-
}),
|
|
52
|
-
...
|
|
53
|
-
...
|
|
51
|
+
}), f = e.object({
|
|
52
|
+
...A.shape,
|
|
53
|
+
...o.shape,
|
|
54
54
|
user_id: e.string(),
|
|
55
55
|
is_social: e.boolean(),
|
|
56
56
|
email: e.string().optional(),
|
|
57
57
|
login_count: e.number().default(0),
|
|
58
|
-
identities: e.array(
|
|
59
|
-
}),
|
|
58
|
+
identities: e.array(b).optional()
|
|
59
|
+
}), He = f, Me = l.extend({
|
|
60
60
|
login_count: e.number(),
|
|
61
61
|
multifactor: e.array(e.string()).optional(),
|
|
62
62
|
last_ip: e.string().optional(),
|
|
63
63
|
last_login: e.string().optional(),
|
|
64
64
|
user_id: e.string()
|
|
65
|
-
}).catchall(e.any()),
|
|
66
|
-
let
|
|
67
|
-
let
|
|
65
|
+
}).catchall(e.any()), C = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
66
|
+
let I = (t = 21) => {
|
|
67
|
+
let i = "", s = crypto.getRandomValues(new Uint8Array(t));
|
|
68
68
|
for (; t--; )
|
|
69
|
-
|
|
70
|
-
return
|
|
69
|
+
i += C[s[t] & 63];
|
|
70
|
+
return i;
|
|
71
71
|
};
|
|
72
72
|
const O = e.object({
|
|
73
73
|
audience: e.string().optional(),
|
|
@@ -112,7 +112,7 @@ const O = e.object({
|
|
|
112
112
|
email_validation: e.enum(["enabled", "disabled", "enforced"]).default("enforced").optional().openapi({
|
|
113
113
|
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"
|
|
114
114
|
}),
|
|
115
|
-
client_secret: e.string().default(() =>
|
|
115
|
+
client_secret: e.string().default(() => I()).optional(),
|
|
116
116
|
disable_sign_ups: e.boolean().optional().default(!1).openapi({
|
|
117
117
|
description: "Prevents users from signing up using the hosted login page. This is not available in auth0"
|
|
118
118
|
}),
|
|
@@ -121,7 +121,7 @@ const O = e.object({
|
|
|
121
121
|
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
122
122
|
updated_at: e.string().transform((t) => t === null ? "" : t),
|
|
123
123
|
...T.shape
|
|
124
|
-
}),
|
|
124
|
+
}), a = e.object({
|
|
125
125
|
x: e.number(),
|
|
126
126
|
y: e.number()
|
|
127
127
|
});
|
|
@@ -249,7 +249,7 @@ const k = e.object({
|
|
|
249
249
|
"STEP"
|
|
250
250
|
/* STEP */
|
|
251
251
|
),
|
|
252
|
-
coordinates:
|
|
252
|
+
coordinates: a,
|
|
253
253
|
alias: e.string().optional(),
|
|
254
254
|
config: e.object({
|
|
255
255
|
components: e.array(F),
|
|
@@ -261,7 +261,7 @@ const k = e.object({
|
|
|
261
261
|
"FLOW"
|
|
262
262
|
/* FLOW */
|
|
263
263
|
),
|
|
264
|
-
coordinates:
|
|
264
|
+
coordinates: a,
|
|
265
265
|
alias: e.string().optional(),
|
|
266
266
|
config: e.object({
|
|
267
267
|
flow_id: e.string(),
|
|
@@ -270,17 +270,17 @@ const k = e.object({
|
|
|
270
270
|
}), P = e.object({
|
|
271
271
|
id: e.string(),
|
|
272
272
|
type: e.string(),
|
|
273
|
-
coordinates:
|
|
273
|
+
coordinates: a
|
|
274
274
|
}).passthrough(), v = e.union([
|
|
275
275
|
k,
|
|
276
276
|
w,
|
|
277
277
|
P
|
|
278
278
|
]), H = e.object({
|
|
279
279
|
next_node: e.string(),
|
|
280
|
-
coordinates:
|
|
280
|
+
coordinates: a
|
|
281
281
|
}).passthrough(), M = e.object({
|
|
282
282
|
resume_flow: e.boolean().optional(),
|
|
283
|
-
coordinates:
|
|
283
|
+
coordinates: a
|
|
284
284
|
}).passthrough(), G = e.object({
|
|
285
285
|
id: e.string(),
|
|
286
286
|
name: e.string(),
|
|
@@ -296,7 +296,7 @@ const k = e.object({
|
|
|
296
296
|
sdkSrc: e.string().optional(),
|
|
297
297
|
sdk_src: e.string().optional()
|
|
298
298
|
}).passthrough()
|
|
299
|
-
}).passthrough(),
|
|
299
|
+
}).passthrough(), Ge = G.omit({
|
|
300
300
|
id: !0,
|
|
301
301
|
created_at: !0,
|
|
302
302
|
updated_at: !0
|
|
@@ -320,7 +320,7 @@ const x = e.object({
|
|
|
320
320
|
ui_locales: e.string().optional(),
|
|
321
321
|
// The following fields are not available in Auth0
|
|
322
322
|
vendor_id: e.string().optional()
|
|
323
|
-
}),
|
|
323
|
+
}), xe = e.object({
|
|
324
324
|
colors: e.object({
|
|
325
325
|
primary: e.string(),
|
|
326
326
|
page_background: e.object({
|
|
@@ -388,14 +388,14 @@ e.object({
|
|
|
388
388
|
tenant: V,
|
|
389
389
|
connections: e.array(X)
|
|
390
390
|
});
|
|
391
|
-
const
|
|
391
|
+
const z = e.enum([
|
|
392
392
|
"password_reset",
|
|
393
393
|
"email_verification",
|
|
394
394
|
"otp",
|
|
395
395
|
"authorization_code",
|
|
396
396
|
"oauth2_state",
|
|
397
397
|
"ticket"
|
|
398
|
-
]),
|
|
398
|
+
]), Y = e.object({
|
|
399
399
|
code_id: e.string().openapi({
|
|
400
400
|
description: "The code that will be used in for instance an email verification flow"
|
|
401
401
|
}),
|
|
@@ -405,7 +405,7 @@ const Y = e.enum([
|
|
|
405
405
|
connection_id: e.string().optional().openapi({
|
|
406
406
|
description: "The connection that the code is connected to"
|
|
407
407
|
}),
|
|
408
|
-
code_type:
|
|
408
|
+
code_type: z,
|
|
409
409
|
code_verifier: e.string().optional().openapi({
|
|
410
410
|
description: "The code verifier used in PKCE in outbound flows"
|
|
411
411
|
}),
|
|
@@ -427,10 +427,10 @@ const Y = e.enum([
|
|
|
427
427
|
expires_at: e.string(),
|
|
428
428
|
used_at: e.string().optional(),
|
|
429
429
|
user_id: e.string().optional()
|
|
430
|
-
}),
|
|
431
|
-
...
|
|
430
|
+
}), Ke = e.object({
|
|
431
|
+
...Y.shape,
|
|
432
432
|
created_at: e.string()
|
|
433
|
-
}),
|
|
433
|
+
}), q = e.object({
|
|
434
434
|
domain: e.string(),
|
|
435
435
|
custom_domain_id: e.string().optional(),
|
|
436
436
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -449,7 +449,7 @@ const Y = e.enum([
|
|
|
449
449
|
record: e.string(),
|
|
450
450
|
domain: e.string()
|
|
451
451
|
}), Z = e.object({
|
|
452
|
-
...
|
|
452
|
+
...q.shape,
|
|
453
453
|
custom_domain_id: e.string(),
|
|
454
454
|
primary: e.boolean(),
|
|
455
455
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
@@ -458,9 +458,9 @@ const Y = e.enum([
|
|
|
458
458
|
methods: e.array(Q)
|
|
459
459
|
}).optional(),
|
|
460
460
|
tls_policy: e.string().optional()
|
|
461
|
-
}),
|
|
461
|
+
}), Be = Z.extend({
|
|
462
462
|
tenant_id: e.string()
|
|
463
|
-
}),
|
|
463
|
+
}), Xe = e.object({
|
|
464
464
|
id: e.string(),
|
|
465
465
|
type: e.literal("submit"),
|
|
466
466
|
label: e.string(),
|
|
@@ -586,8 +586,8 @@ const Y = e.enum([
|
|
|
586
586
|
style: e.object({ css: e.string().optional() }).optional()
|
|
587
587
|
}).openapi({
|
|
588
588
|
description: "Schema for flow-based forms (matches new JSON structure)"
|
|
589
|
-
}),
|
|
590
|
-
...
|
|
589
|
+
}), We = e.object({
|
|
590
|
+
...o.shape,
|
|
591
591
|
...$.shape,
|
|
592
592
|
id: e.string()
|
|
593
593
|
}), u = e.enum([
|
|
@@ -595,7 +595,7 @@ const Y = e.enum([
|
|
|
595
595
|
"post-user-registration",
|
|
596
596
|
"post-user-login"
|
|
597
597
|
// Potentially other triggers specific to webhooks in the future
|
|
598
|
-
]),
|
|
598
|
+
]), m = e.enum([
|
|
599
599
|
"pre-user-signup",
|
|
600
600
|
"post-user-registration",
|
|
601
601
|
"post-user-login"
|
|
@@ -610,24 +610,24 @@ const Y = e.enum([
|
|
|
610
610
|
url: e.string()
|
|
611
611
|
}), te = e.object({
|
|
612
612
|
..._,
|
|
613
|
-
trigger_id:
|
|
613
|
+
trigger_id: m,
|
|
614
614
|
form_id: e.string()
|
|
615
|
-
}),
|
|
615
|
+
}), Ve = e.union([
|
|
616
616
|
ee,
|
|
617
617
|
te
|
|
618
618
|
]), ne = e.object({
|
|
619
619
|
..._,
|
|
620
620
|
trigger_id: u,
|
|
621
|
-
...
|
|
621
|
+
...o.shape,
|
|
622
622
|
hook_id: e.string(),
|
|
623
623
|
url: e.string()
|
|
624
624
|
}), oe = e.object({
|
|
625
625
|
..._,
|
|
626
|
-
trigger_id:
|
|
627
|
-
...
|
|
626
|
+
trigger_id: m,
|
|
627
|
+
...o.shape,
|
|
628
628
|
hook_id: e.string(),
|
|
629
629
|
form_id: e.string()
|
|
630
|
-
}),
|
|
630
|
+
}), ze = e.union([ne, oe]), ie = e.object({
|
|
631
631
|
alg: e.enum([
|
|
632
632
|
"RS256",
|
|
633
633
|
"RS384",
|
|
@@ -646,9 +646,9 @@ const Y = e.enum([
|
|
|
646
646
|
x5t: e.string().optional(),
|
|
647
647
|
x5c: e.array(e.string()).optional(),
|
|
648
648
|
use: e.enum(["sig", "enc"]).optional()
|
|
649
|
-
}),
|
|
649
|
+
}), Ye = e.object({
|
|
650
650
|
keys: e.array(ie)
|
|
651
|
-
}),
|
|
651
|
+
}), qe = e.object({
|
|
652
652
|
issuer: e.string(),
|
|
653
653
|
authorization_endpoint: e.string(),
|
|
654
654
|
token_endpoint: e.string(),
|
|
@@ -669,7 +669,7 @@ const Y = e.enum([
|
|
|
669
669
|
request_uri_parameter_supported: e.boolean(),
|
|
670
670
|
request_parameter_supported: e.boolean(),
|
|
671
671
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
672
|
-
}),
|
|
672
|
+
}), ae = e.object({
|
|
673
673
|
csrf_token: e.string(),
|
|
674
674
|
auth0Client: e.string().optional(),
|
|
675
675
|
authParams: x,
|
|
@@ -682,14 +682,14 @@ const Y = e.enum([
|
|
|
682
682
|
login_completed: e.boolean().optional().default(!1)
|
|
683
683
|
}).openapi({
|
|
684
684
|
description: "This represents a login sesion"
|
|
685
|
-
}),
|
|
686
|
-
...
|
|
685
|
+
}), Qe = e.object({
|
|
686
|
+
...ae.shape,
|
|
687
687
|
id: e.string().openapi({
|
|
688
688
|
description: "This is is used as the state in the universal login"
|
|
689
689
|
}),
|
|
690
690
|
created_at: e.string(),
|
|
691
691
|
updated_at: e.string()
|
|
692
|
-
}),
|
|
692
|
+
}), se = {
|
|
693
693
|
// Network & System
|
|
694
694
|
ACLS_SUMMARY: "acls_summary",
|
|
695
695
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -857,7 +857,7 @@ const Y = e.enum([
|
|
|
857
857
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
858
858
|
WARNING_USER_MANAGEMENT: "wum"
|
|
859
859
|
}, re = e.string().refine(
|
|
860
|
-
(t) => Object.values(
|
|
860
|
+
(t) => Object.values(se).includes(t),
|
|
861
861
|
{ message: "Invalid log type" }
|
|
862
862
|
), _e = e.object({
|
|
863
863
|
name: e.string(),
|
|
@@ -865,7 +865,7 @@ const Y = e.enum([
|
|
|
865
865
|
env: e.object({
|
|
866
866
|
node: e.string().optional()
|
|
867
867
|
}).optional()
|
|
868
|
-
}),
|
|
868
|
+
}), Ze = e.object({
|
|
869
869
|
type: re,
|
|
870
870
|
date: e.string(),
|
|
871
871
|
description: e.string().optional(),
|
|
@@ -892,11 +892,11 @@ const Y = e.enum([
|
|
|
892
892
|
user_id: e.string(),
|
|
893
893
|
password: e.string(),
|
|
894
894
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id")
|
|
895
|
-
}),
|
|
895
|
+
}), Je = e.object({
|
|
896
896
|
...le.shape,
|
|
897
897
|
created_at: e.string(),
|
|
898
898
|
updated_at: e.string()
|
|
899
|
-
}),
|
|
899
|
+
}), S = e.object({
|
|
900
900
|
initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
|
|
901
901
|
initial_ip: e.string().describe("First IP address associated with this session"),
|
|
902
902
|
initial_asn: e.string().describe("First autonomous system number associated with this session"),
|
|
@@ -911,17 +911,17 @@ const Y = e.enum([
|
|
|
911
911
|
expires_at: e.string().optional(),
|
|
912
912
|
login_session_id: e.string(),
|
|
913
913
|
idle_expires_at: e.string().optional(),
|
|
914
|
-
device:
|
|
914
|
+
device: S.describe(
|
|
915
915
|
"Metadata related to the device used in the session"
|
|
916
916
|
),
|
|
917
917
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
918
|
-
}),
|
|
918
|
+
}), $e = e.object({
|
|
919
919
|
created_at: e.string(),
|
|
920
920
|
updated_at: e.string(),
|
|
921
921
|
authenticated_at: e.string(),
|
|
922
922
|
last_interaction_at: e.string(),
|
|
923
923
|
...ce.shape
|
|
924
|
-
}),
|
|
924
|
+
}), et = e.object({
|
|
925
925
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
926
926
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
927
927
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -948,7 +948,7 @@ const Y = e.enum([
|
|
|
948
948
|
})
|
|
949
949
|
});
|
|
950
950
|
var pe = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(pe || {});
|
|
951
|
-
const
|
|
951
|
+
const tt = e.object({
|
|
952
952
|
access_token: e.string(),
|
|
953
953
|
id_token: e.string().optional(),
|
|
954
954
|
scope: e.string().optional(),
|
|
@@ -1008,27 +1008,27 @@ const de = e.object({
|
|
|
1008
1008
|
background_color: e.string(),
|
|
1009
1009
|
background_image_url: e.string(),
|
|
1010
1010
|
page_layout: e.enum(["center", "left", "right"])
|
|
1011
|
-
}),
|
|
1011
|
+
}), me = e.object({
|
|
1012
1012
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
1013
1013
|
logo_height: e.number(),
|
|
1014
1014
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
1015
1015
|
logo_url: e.string(),
|
|
1016
1016
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
1017
|
-
}),
|
|
1017
|
+
}), Se = e.object({
|
|
1018
1018
|
borders: de,
|
|
1019
1019
|
colors: ge,
|
|
1020
1020
|
displayName: e.string(),
|
|
1021
1021
|
fonts: Ee,
|
|
1022
1022
|
page_background: ue,
|
|
1023
|
-
widget:
|
|
1024
|
-
}),
|
|
1023
|
+
widget: me
|
|
1024
|
+
}), nt = Se.extend({
|
|
1025
1025
|
themeId: e.string()
|
|
1026
|
-
}),
|
|
1026
|
+
}), ot = e.object({
|
|
1027
1027
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
1028
1028
|
identifier_first: e.boolean().default(!0),
|
|
1029
1029
|
password_first: e.boolean().default(!1),
|
|
1030
1030
|
webauthn_platform_first_factor: e.boolean()
|
|
1031
|
-
}),
|
|
1031
|
+
}), it = e.object({
|
|
1032
1032
|
name: e.string(),
|
|
1033
1033
|
enabled: e.boolean().optional().default(!0),
|
|
1034
1034
|
default_from_address: e.string().optional(),
|
|
@@ -1071,7 +1071,7 @@ const de = e.object({
|
|
|
1071
1071
|
idle_expires_at: e.string().optional(),
|
|
1072
1072
|
// When the token was last used.
|
|
1073
1073
|
last_exchanged_at: e.string().optional(),
|
|
1074
|
-
device:
|
|
1074
|
+
device: S,
|
|
1075
1075
|
resource_servers: e.array(
|
|
1076
1076
|
e.object({
|
|
1077
1077
|
audience: e.string(),
|
|
@@ -1079,21 +1079,21 @@ const de = e.object({
|
|
|
1079
1079
|
})
|
|
1080
1080
|
),
|
|
1081
1081
|
rotating: e.boolean()
|
|
1082
|
-
}),
|
|
1082
|
+
}), at = e.object({
|
|
1083
1083
|
// When the refresh token record was created.
|
|
1084
1084
|
created_at: e.string(),
|
|
1085
1085
|
// Spread in the rest of the refresh token properties.
|
|
1086
1086
|
...he.shape
|
|
1087
|
-
}),
|
|
1087
|
+
}), st = e.object({
|
|
1088
1088
|
to: e.string(),
|
|
1089
1089
|
message: e.string()
|
|
1090
|
-
}),
|
|
1090
|
+
}), rt = e.object({
|
|
1091
1091
|
name: e.string(),
|
|
1092
1092
|
options: e.object({})
|
|
1093
|
-
}),
|
|
1093
|
+
}), be = e.object({
|
|
1094
1094
|
value: e.string(),
|
|
1095
1095
|
description: e.string().optional()
|
|
1096
|
-
}),
|
|
1096
|
+
}), Ae = e.object({
|
|
1097
1097
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
1098
1098
|
enforce_policies: e.boolean().optional(),
|
|
1099
1099
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -1103,10 +1103,10 @@ const de = e.object({
|
|
|
1103
1103
|
mtls: e.object({
|
|
1104
1104
|
bound_access_tokens: e.boolean().optional()
|
|
1105
1105
|
}).optional()
|
|
1106
|
-
}),
|
|
1106
|
+
}), fe = e.object({
|
|
1107
1107
|
name: e.string(),
|
|
1108
1108
|
identifier: e.string(),
|
|
1109
|
-
scopes: e.array(
|
|
1109
|
+
scopes: e.array(be).optional(),
|
|
1110
1110
|
signing_alg: e.string().optional(),
|
|
1111
1111
|
signing_secret: e.string().optional(),
|
|
1112
1112
|
token_lifetime: e.number().optional(),
|
|
@@ -1114,28 +1114,28 @@ const de = e.object({
|
|
|
1114
1114
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
1115
1115
|
allow_offline_access: e.boolean().optional(),
|
|
1116
1116
|
verificationKey: e.string().optional(),
|
|
1117
|
-
options:
|
|
1118
|
-
}),
|
|
1117
|
+
options: Ae.optional()
|
|
1118
|
+
}), Ce = e.object({
|
|
1119
1119
|
id: e.string().optional(),
|
|
1120
|
-
...
|
|
1120
|
+
...fe.shape,
|
|
1121
1121
|
created_at: e.string().optional(),
|
|
1122
1122
|
updated_at: e.string().optional()
|
|
1123
|
-
}),
|
|
1123
|
+
}), _t = e.array(Ce), Ie = e.object({
|
|
1124
1124
|
role_id: e.string(),
|
|
1125
1125
|
resource_server_identifier: e.string(),
|
|
1126
1126
|
permission_name: e.string()
|
|
1127
1127
|
}), Oe = e.object({
|
|
1128
|
-
...
|
|
1128
|
+
...Ie.shape,
|
|
1129
1129
|
tenant_id: e.string(),
|
|
1130
1130
|
created_at: e.string().optional()
|
|
1131
|
-
}),
|
|
1131
|
+
}), lt = e.array(Oe), Te = e.object({
|
|
1132
1132
|
role_id: e.string(),
|
|
1133
1133
|
resource_server_identifier: e.string(),
|
|
1134
1134
|
resource_server_name: e.string(),
|
|
1135
1135
|
permission_name: e.string(),
|
|
1136
1136
|
description: e.string().nullable().optional(),
|
|
1137
1137
|
created_at: e.string().optional()
|
|
1138
|
-
}),
|
|
1138
|
+
}), ct = e.array(
|
|
1139
1139
|
Te
|
|
1140
1140
|
), Ne = e.object({
|
|
1141
1141
|
user_id: e.string(),
|
|
@@ -1145,14 +1145,14 @@ const de = e.object({
|
|
|
1145
1145
|
...Ne.shape,
|
|
1146
1146
|
tenant_id: e.string(),
|
|
1147
1147
|
created_at: e.string().optional()
|
|
1148
|
-
}),
|
|
1148
|
+
}), pt = e.array(Re), Le = e.object({
|
|
1149
1149
|
user_id: e.string(),
|
|
1150
1150
|
resource_server_identifier: e.string(),
|
|
1151
1151
|
resource_server_name: e.string(),
|
|
1152
1152
|
permission_name: e.string(),
|
|
1153
1153
|
description: e.string().nullable().optional(),
|
|
1154
1154
|
created_at: e.string().optional()
|
|
1155
|
-
}),
|
|
1155
|
+
}), dt = e.array(
|
|
1156
1156
|
Le
|
|
1157
1157
|
), De = e.object({
|
|
1158
1158
|
name: e.string().min(1).max(50).openapi({
|
|
@@ -1168,12 +1168,80 @@ const de = e.object({
|
|
|
1168
1168
|
...De.shape,
|
|
1169
1169
|
created_at: e.string().optional(),
|
|
1170
1170
|
updated_at: e.string().optional()
|
|
1171
|
-
}),
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1171
|
+
}), gt = e.array(ye), Ue = e.object({
|
|
1172
|
+
logo_url: e.string().optional().openapi({
|
|
1173
|
+
description: "URL of the organization's logo"
|
|
1174
|
+
}),
|
|
1175
|
+
colors: e.object({
|
|
1176
|
+
primary: e.string().optional().openapi({
|
|
1177
|
+
description: "Primary color in hex format (e.g., #FF0000)"
|
|
1178
|
+
}),
|
|
1179
|
+
page_background: e.string().optional().openapi({
|
|
1180
|
+
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
1181
|
+
})
|
|
1182
|
+
}).optional()
|
|
1183
|
+
}).optional(), Fe = e.object({
|
|
1184
|
+
connection_id: e.string().openapi({
|
|
1185
|
+
description: "ID of the connection"
|
|
1186
|
+
}),
|
|
1187
|
+
assign_membership_on_login: e.boolean().default(!1).openapi({
|
|
1188
|
+
description: "Whether to assign membership to the organization on login"
|
|
1189
|
+
}),
|
|
1190
|
+
show_as_button: e.boolean().default(!0).openapi({
|
|
1191
|
+
description: "Whether to show this connection as a button in the login screen"
|
|
1192
|
+
}),
|
|
1193
|
+
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
1194
|
+
description: "Whether signup is enabled for this connection"
|
|
1195
|
+
})
|
|
1196
|
+
}), je = e.object({
|
|
1197
|
+
client_credentials: e.object({
|
|
1198
|
+
enforce: e.boolean().default(!1).openapi({
|
|
1199
|
+
description: "Whether to enforce token quota limits"
|
|
1200
|
+
}),
|
|
1201
|
+
per_day: e.number().min(0).default(0).openapi({
|
|
1202
|
+
description: "Maximum tokens per day (0 = unlimited)"
|
|
1203
|
+
}),
|
|
1204
|
+
per_hour: e.number().min(0).default(0).openapi({
|
|
1205
|
+
description: "Maximum tokens per hour (0 = unlimited)"
|
|
1206
|
+
})
|
|
1207
|
+
}).optional()
|
|
1208
|
+
}).optional(), ke = e.object({
|
|
1209
|
+
id: e.string().optional(),
|
|
1210
|
+
name: e.string().min(1).openapi({
|
|
1211
|
+
description: "The name of the organization"
|
|
1212
|
+
}),
|
|
1213
|
+
display_name: e.string().optional().openapi({
|
|
1214
|
+
description: "The display name of the organization"
|
|
1215
|
+
}),
|
|
1216
|
+
branding: Ue,
|
|
1217
|
+
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
1218
|
+
description: "Custom metadata for the organization"
|
|
1219
|
+
}),
|
|
1220
|
+
enabled_connections: e.array(Fe).default([]).optional().openapi({
|
|
1221
|
+
description: "List of enabled connections for the organization"
|
|
1222
|
+
}),
|
|
1223
|
+
token_quota: je
|
|
1224
|
+
}), Et = e.object({
|
|
1225
|
+
...ke.shape,
|
|
1226
|
+
...o.shape,
|
|
1227
|
+
id: e.string()
|
|
1228
|
+
}), we = e.object({
|
|
1229
|
+
user_id: e.string().openapi({
|
|
1230
|
+
description: "ID of the user"
|
|
1231
|
+
}),
|
|
1232
|
+
organization_id: e.string().openapi({
|
|
1233
|
+
description: "ID of the organization"
|
|
1234
|
+
})
|
|
1235
|
+
}), ut = e.object({
|
|
1236
|
+
...we.shape,
|
|
1237
|
+
...o.shape,
|
|
1238
|
+
id: e.string()
|
|
1239
|
+
});
|
|
1240
|
+
function mt(t) {
|
|
1241
|
+
const [i, s] = t.split("|");
|
|
1242
|
+
if (!i || !s)
|
|
1175
1243
|
throw new Error(`Invalid user_id: ${t}`);
|
|
1176
|
-
return { connection:
|
|
1244
|
+
return { connection: i, id: s };
|
|
1177
1245
|
}
|
|
1178
1246
|
export {
|
|
1179
1247
|
_e as Auth0Client,
|
|
@@ -1183,97 +1251,104 @@ export {
|
|
|
1183
1251
|
p as ComponentCategory,
|
|
1184
1252
|
c as ComponentType,
|
|
1185
1253
|
pe as GrantType,
|
|
1186
|
-
|
|
1254
|
+
se as LogTypes,
|
|
1187
1255
|
j as NodeType,
|
|
1188
1256
|
T as applicationInsertSchema,
|
|
1189
1257
|
N as applicationSchema,
|
|
1190
|
-
|
|
1258
|
+
Ge as auth0FlowInsertSchema,
|
|
1191
1259
|
G as auth0FlowSchema,
|
|
1192
|
-
|
|
1260
|
+
He as auth0UserResponseSchema,
|
|
1193
1261
|
x as authParamsSchema,
|
|
1194
1262
|
l as baseUserSchema,
|
|
1195
1263
|
de as bordersSchema,
|
|
1196
|
-
|
|
1264
|
+
xe as brandingSchema,
|
|
1197
1265
|
L as buttonComponentSchema,
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1266
|
+
Y as codeInsertSchema,
|
|
1267
|
+
Ke as codeSchema,
|
|
1268
|
+
z as codeTypeSchema,
|
|
1201
1269
|
ge as colorsSchema,
|
|
1202
1270
|
F as componentSchema,
|
|
1203
1271
|
B as connectionInsertSchema,
|
|
1204
1272
|
K as connectionOptionsSchema,
|
|
1205
1273
|
X as connectionSchema,
|
|
1206
|
-
|
|
1207
|
-
|
|
1274
|
+
a as coordinatesSchema,
|
|
1275
|
+
q as customDomainInsertSchema,
|
|
1208
1276
|
Z as customDomainSchema,
|
|
1209
|
-
|
|
1210
|
-
|
|
1277
|
+
Be as customDomainWithTenantIdSchema,
|
|
1278
|
+
it as emailProviderSchema,
|
|
1211
1279
|
M as endingSchema,
|
|
1212
1280
|
y as fieldComponentSchema,
|
|
1213
1281
|
w as flowNodeSchema,
|
|
1214
1282
|
n as fontDetailsSchema,
|
|
1215
1283
|
Ee as fontsSchema,
|
|
1216
|
-
|
|
1284
|
+
Xe as formControlSchema,
|
|
1217
1285
|
$ as formInsertSchema,
|
|
1218
1286
|
J as formNodeComponentDefinition,
|
|
1219
|
-
|
|
1287
|
+
We as formSchema,
|
|
1220
1288
|
U as genericComponentSchema,
|
|
1221
1289
|
P as genericNodeSchema,
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1290
|
+
Ve as hookInsertSchema,
|
|
1291
|
+
ze as hookSchema,
|
|
1292
|
+
b as identitySchema,
|
|
1293
|
+
Ye as jwksKeySchema,
|
|
1226
1294
|
ie as jwksSchema,
|
|
1227
1295
|
D as legalComponentSchema,
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1296
|
+
Ze as logSchema,
|
|
1297
|
+
ae as loginSessionInsertSchema,
|
|
1298
|
+
Qe as loginSessionSchema,
|
|
1231
1299
|
v as nodeSchema,
|
|
1232
|
-
|
|
1300
|
+
qe as openIDConfigurationSchema,
|
|
1301
|
+
Ue as organizationBrandingSchema,
|
|
1302
|
+
Fe as organizationEnabledConnectionSchema,
|
|
1303
|
+
ke as organizationInsertSchema,
|
|
1304
|
+
Et as organizationSchema,
|
|
1305
|
+
je as organizationTokenQuotaSchema,
|
|
1233
1306
|
ue as pageBackgroundSchema,
|
|
1234
|
-
|
|
1307
|
+
mt as parseUserId,
|
|
1235
1308
|
le as passwordInsertSchema,
|
|
1236
|
-
|
|
1309
|
+
Je as passwordSchema,
|
|
1237
1310
|
h as profileDataSchema,
|
|
1238
|
-
|
|
1311
|
+
ot as promptSettingSchema,
|
|
1239
1312
|
he as refreshTokenInsertSchema,
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1313
|
+
at as refreshTokenSchema,
|
|
1314
|
+
fe as resourceServerInsertSchema,
|
|
1315
|
+
_t as resourceServerListSchema,
|
|
1316
|
+
Ae as resourceServerOptionsSchema,
|
|
1317
|
+
Ce as resourceServerSchema,
|
|
1318
|
+
be as resourceServerScopeSchema,
|
|
1246
1319
|
R as richTextComponentSchema,
|
|
1247
1320
|
De as roleInsertSchema,
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1321
|
+
gt as roleListSchema,
|
|
1322
|
+
Ie as rolePermissionInsertSchema,
|
|
1323
|
+
lt as rolePermissionListSchema,
|
|
1251
1324
|
Oe as rolePermissionSchema,
|
|
1252
|
-
|
|
1325
|
+
ct as rolePermissionWithDetailsListSchema,
|
|
1253
1326
|
Te as rolePermissionWithDetailsSchema,
|
|
1254
1327
|
ye as roleSchema,
|
|
1255
1328
|
O as samlpAddon,
|
|
1256
1329
|
ce as sessionInsertSchema,
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1330
|
+
$e as sessionSchema,
|
|
1331
|
+
et as signingKeySchema,
|
|
1332
|
+
rt as smsProviderSchema,
|
|
1333
|
+
st as smsSendParamsSchema,
|
|
1261
1334
|
H as startSchema,
|
|
1262
1335
|
k as stepNodeSchema,
|
|
1263
1336
|
W as tenantInsertSchema,
|
|
1264
1337
|
V as tenantSchema,
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1338
|
+
Se as themeInsertSchema,
|
|
1339
|
+
nt as themeSchema,
|
|
1340
|
+
tt as tokenResponseSchema,
|
|
1341
|
+
ve as totalsSchema,
|
|
1342
|
+
A as userInsertSchema,
|
|
1343
|
+
we as userOrganizationInsertSchema,
|
|
1344
|
+
ut as userOrganizationSchema,
|
|
1270
1345
|
Ne as userPermissionInsertSchema,
|
|
1271
|
-
|
|
1346
|
+
pt as userPermissionListSchema,
|
|
1272
1347
|
Re as userPermissionSchema,
|
|
1273
|
-
|
|
1348
|
+
dt as userPermissionWithDetailsListSchema,
|
|
1274
1349
|
Le as userPermissionWithDetailsSchema,
|
|
1275
|
-
|
|
1276
|
-
|
|
1350
|
+
Me as userResponseSchema,
|
|
1351
|
+
f as userSchema,
|
|
1277
1352
|
Q as verificationMethodsSchema,
|
|
1278
|
-
|
|
1353
|
+
me as widgetSchema
|
|
1279
1354
|
};
|