@onlive.ai/flow-client 0.1.80 → 0.1.209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- /*! @onlive.ai/flow-client v0.1.80 | © 2025 Onlive.ai */
2
- import{GetAvailabilityFilters as b,GetAvailabilityOptions as g}from"@onlive.ai/calendar";import{z as o}from"zod";import{z as t}from"zod";var s=t.object({enabled:t.boolean().default(!1).optional(),data:t.custom().optional(),removeExtraneousValues:t.boolean().default(!0).optional(),allowBotTraffic:t.boolean().default(!1).optional(),adapters:t.array(t.string()).default([]).optional(),apiUrl:t.string().url().optional(),emitters:t.object({windowEvent:t.boolean().optional(),dataLayer:t.boolean().optional(),windowPostMessage:t.boolean().optional()}).optional()});var P={tracking:{removeExtraneousValues:!0,apiUrl:"https://srvless.onlive.site/tracking",data:{widget_type:"OnliveAppFlow"}}},w=o.string().nonempty(),z=o.object({baseUrl:o.string().url().nonempty(),flowId:o.string().length(24).nonempty(),organizationId:o.string().uuid().nonempty(),lang:o.string().length(2).nonempty(),tracking:s.optional(),devMode:o.boolean().default(!1).optional()}),S=o.object({state:o.record(o.string(),o.any()).optional(),fields:o.record(o.string(),o.any()).optional()}),R=o.object({currentStepId:o.string().nonempty(),actionId:o.string().nonempty()}),m=o.enum(["text","boolean","number","email","phone","mobile_phone","date","time","datetime","password","url","color","object","void","location","availability"]),u=o.object({name:o.string(),value:o.string().optional(),icon:o.string().optional(),type:o.enum(["url","email","phone"]).optional()}),d=o.object({lat:o.number().min(-90).max(90),lng:o.number().min(-180).max(180),meta:o.record(o.string(),o.any()).optional(),properties:o.record(o.string(),u).optional()}),y=o.object({datetime:o.string().datetime(),meta:o.record(o.string(),o.any()).optional()}),a=o.union([o.string(),o.number(),o.boolean(),d,y]),e=o.object({content:o.object({icon:o.string().optional(),url:o.string().url().optional(),width:o.string().optional(),height:o.string().optional(),scale:o.number().optional()}).optional(),background:o.string().optional(),glyph:o.object({color:o.string().optional(),url:o.string().url().optional(),icon:o.string().optional()}).optional(),borderColor:o.string().optional(),scale:o.number().optional()}),i=o.custom(r=>/^\d{4}-\d{2}-\d{2}$/.test(r),{message:"Date must be in 'YYYY-MM-DD' format"}),n=o.object({text:o.string().optional(),icon:o.string().optional()}),l=o.object({fieldName:o.string().nonempty(),value:a.optional(),operator:o.enum(["exists","equals","not-equals","contains","not-contains","greater-than","less-than"]).optional()}),f=o.object({and:o.array(l).optional(),or:o.array(l).optional()}),c=o.array(o.union([l,f])),x=o.object({src:o.string().url(),preload:o.boolean().optional(),name:o.string().nonempty(),function:o.string().nonempty(),params:o.record(o.string(),o.any()).optional()}),j=o.object({name:o.enum(["organization_call","close_panel","retry_first_step","retry_next_step"]),params:o.record(o.string(),o.any()).optional()}),p=o.object({id:o.string().nonempty(),type:o.enum(["submit","navigate","link","back","dispatcher","script"]),label:o.string().nonempty(),variant:o.enum(["primary","secondary","success","danger","warning","info"]),position:o.enum(["top","bottom"]).optional(),url:o.string().url().optional(),loadingBehavior:o.enum(["none","spinner","disabled"]).optional(),prefix:n.optional(),suffix:n.optional(),scripts:x.array().optional(),events:j.array().optional()}),v=o.object({message:o.string().optional(),icon:o.string().optional(),position:o.enum(["top","bottom"]).optional(),kind:o.enum(["initial-loading","step-loading","step-validation","field-loading"]).optional(),actions:o.array(p).optional()}),O=o.object({name:o.string().nonempty(),label:o.string().optional(),value:o.union([a,o.array(a)]).optional(),type:m,component:o.enum(["input","textarea","select","radio","checkbox","switch","rating","carousel","grid","button","label","map","calendar"]).optional(),disabled:o.boolean().optional(),readonly:o.boolean().optional(),multiple:o.boolean().optional(),placeholder:o.string().optional(),options:o.array(o.object({id:o.string().optional(),label:o.string().nonempty(),value:a.optional(),image:o.string().url().optional(),description:o.string().optional(),disabled:o.boolean().optional(),attributes:o.record(o.string(),o.any()).optional(),actions:o.array(p).optional(),dependsOn:c.optional()})).optional(),required:o.boolean().optional(),configuration:o.object({generic:o.object({error:o.object({loading:v.optional(),validation:o.object({icon:o.string().optional(),showOn:o.enum(["input","blur"]).optional()}).optional()})}).optional(),input:o.object({min:o.number().optional(),max:o.number().optional(),step:o.number().optional(),pattern:o.string().refine(r=>{try{return new RegExp(r),!0}catch{return!1}},"Invalid regex pattern").optional(),minLength:o.number().optional(),maxLength:o.number().optional(),exactLength:o.number().optional(),prefix:o.object({default:n.optional(),success:n.optional(),error:n.optional()}).optional(),suffix:o.object({default:n.optional(),success:n.optional(),error:n.optional()}).optional(),clearable:o.boolean().optional(),floatingLabel:o.boolean().optional()}).optional(),textarea:o.object({minLength:o.number().optional(),maxLength:o.number().optional(),exactLength:o.number().optional(),rows:o.number().optional()}).optional(),checkbox:o.object({layout:o.enum(["horizontal","vertical"])}).optional(),rating:o.object({icons:o.array(o.string()).optional(),color:o.string().optional(),precision:o.number().optional()}).optional(),carousel:o.object({loop:o.boolean().optional(),mouseDragging:o.boolean().optional(),itemsPerPage:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),itemsPerMove:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),showArrows:o.boolean().optional(),showDots:o.boolean().optional(),autoplay:o.boolean().optional(),autoplaySpeed:o.number().optional(),clickableItems:o.object({actionId:o.string()}).optional()}).optional(),grid:o.object({search:o.object({enabled:o.boolean().optional(),value:o.string().optional(),button:o.object({label:o.string().optional()}).optional(),placeholder:o.string().optional(),noResultsText:o.string().optional(),clearable:o.boolean().optional()}).optional(),itemsPerRow:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),itemsPerPage:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),clickableItems:o.object({actionId:o.string()}).optional()}).optional(),map:o.object({apiKey:o.string().optional(),region:o.string().length(2).optional(),center:o.object({lat:o.number().min(-90).max(90),lng:o.number().min(-180).max(180)}).optional(),showMap:o.enum(["always","on-search","never"]).optional(),zoom:o.object({initial:o.number().optional(),focus:o.number().optional(),max:o.number().optional(),min:o.number().optional()}).optional(),controls:o.object({fullscreen:o.boolean().optional(),mapType:o.boolean().optional(),zoom:o.boolean().optional(),rotate:o.boolean().optional(),scale:o.boolean().optional(),streetView:o.boolean().optional()}).optional(),initialLocations:o.number().optional(),maxLocations:o.number().optional(),distanceUnit:o.enum(["km","mi"]).optional(),distanceFormat:o.enum(["short","long"]).optional(),options:o.object({show:o.enum(["always","on-search","never"]).optional(),component:o.enum(["list-button","list-radio","carousel"]).optional(),searchLabel:o.string().optional(),detailsLabel:o.string().optional()}).optional(),search:o.object({enabled:o.boolean().optional(),value:o.string().optional(),button:o.object({label:o.string().optional(),position:o.enum(["inside","outside"]).optional()}).optional(),placeholder:o.string().optional(),noResultsText:o.string().optional(),autocomplete:o.boolean().optional(),clearable:o.boolean().optional(),mode:o.enum(["address","postcode"]).default("postcode").optional(),locationButton:o.object({icon:o.string().optional(),position:o.enum(["left","right"]).optional()}).optional(),prefix:o.object({default:n.optional()}).optional(),suffix:o.object({default:n.optional()}).optional()}).optional(),distanceRange:o.object({initial:o.number().optional(),min:o.number().optional(),max:o.number().optional(),step:o.number().optional()}).optional(),mapRegion:o.object({strokeColor:o.string().optional(),fillColor:o.string().optional(),fillOpacity:o.number().optional()}).optional(),locationPin:e.optional(),markerPin:o.object({default:e.optional(),hover:e.optional(),selected:e.optional()}).optional(),infoWindow:o.object({button:o.object({label:o.string(),action:o.string()}).optional()}).optional(),ordering:o.object({orderBy:o.enum(["distance","title","id"]).optional(),orderDir:o.enum(["asc","desc"]).optional(),preferences:o.array(o.object({ids:o.string().array(),filters:o.object({postcodes:o.string().array().optional()}).optional()}))}).optional(),clickableItems:o.object({actionId:o.string()}).optional(),forcePolyfills:o.boolean().optional()}).optional(),calendar:o.object({current:o.object({month:o.number().min(0).max(11).optional(),year:o.number().optional()}).optional(),range:o.object({min:i.optional(),max:i.optional(),enabled:o.array(i).optional(),disabled:o.array(i).optional()}).optional(),time:o.object({label:o.string().optional(),format:o.enum(["12h","24h"]).optional(),component:o.enum(["carousel","list"]).optional()}).optional(),api:o.object({url:o.string().url().nonempty(),organizationId:o.string().nonempty(),availability:o.object({filters:b,options:g.optional()}).optional()}).optional()}).optional()}).optional(),dependsOn:c.optional(),dependentBehavior:o.enum(["hidden","disabled"]).optional(),customError:o.object({required:o.string().optional(),invalid:o.string().optional(),minLength:o.string().optional(),maxLength:o.string().optional(),minValue:o.string().optional(),maxValue:o.string().optional(),mismatch:o.string().optional()}).optional()}),A=o.enum(["INVALID_DATA","INVALID_ACTION","STEP_NOT_FOUND","UNKNOWN_ERROR","APPOINTMENT_INVALID_DATA","APPOINTMENT_BUSY_SLOT","APPOINTMENT_OUT_OF_DATE","APPOINTMENT_UNKNOWN_ERROR","LEAD_INVALID_DATA","LEAD_UNKNOWN_ERROR","CONTENT_INVALID_DATA","CONTENT_UNKNOWN_ERROR","CONTACT_INVALID_DATA","CONTACT_UNKNOWN_ERROR","LOST_OPPORTUNITY_INVALID_DATA","LOST_OPPORTUNITY_UNKNOWN_ERROR"]),N=o.object({type:o.enum(["redirect"]),params:o.record(o.string(),o.any()).optional()}),T=o.object({id:o.string().nonempty(),title:o.string().optional(),description:o.string().optional(),stageId:o.string().optional(),state:o.record(o.string(),o.any()).optional(),fields:o.array(O).optional(),actions:o.array(p).optional(),result:o.object({postActions:o.array(N).optional(),pipelines:o.array(o.object({name:o.string(),data:o.object({})})).optional(),tracking:o.record(o.string(),o.any()).optional()}).optional(),error:o.object({code:A,message:o.string().optional(),icon:o.string().optional(),position:o.enum(["top","bottom"]).optional(),fields:o.array(o.object({name:o.string(),type:m,value:o.any(),error:o.string()})).optional()}).optional(),isFinal:o.boolean().optional()}),h=o.object({id:o.string().length(24).nonempty(),organizationId:o.string().uuid().nonempty(),updatedAt:o.string().datetime().nonempty(),stages:o.array(o.object({id:o.string().nonempty(),name:o.string().nonempty()}))}),C=o.object({status:o.enum(["ok","error"]),step:T,flow:h}),F=o.enum(["track"]);export{p as Action,j as ActionEvent,x as ActionScript,z as ClientOptions,P as DEFAULT_CLIENT_OPTIONS,A as ErrorCode,v as ErrorData,F as EventType,O as Field,h as Flow,C as FlowContext,S as GetStepOptions,R as GetStepTrigger,N as PostAction,T as Step,w as StepId};
1
+ /*! @onlive.ai/flow-client v0.1.209 | © 2026 Onlive.ai */
2
+ import{GetAvailabilityFilters as g,GetAvailabilityOptions as d}from"@onlive.ai/calendar";import{GetSlotFilters as y,GetSlotOptions as f}from"@onlive.ai/calendar/client/client.types.js";import{z as o}from"zod";import{z as t}from"zod";var c=t.object({enabled:t.boolean().default(!1).optional(),data:t.custom().optional(),removeExtraneousValues:t.boolean().default(!0).optional(),allowBotTraffic:t.boolean().default(!1).optional(),adapters:t.array(t.string()).default([]).optional(),apiUrl:t.string().url().optional(),emitters:t.object({windowEvent:t.boolean().optional(),dataLayer:t.boolean().optional(),windowPostMessage:t.boolean().optional()}).optional()});var k="bf585082a22fad962b4cbc08",u=(l=>(l.DARK="DARK",l.FOLLOW_SYSTEM="FOLLOW_SYSTEM",l.LIGHT="LIGHT",l))(u||{}),R={tracking:{removeExtraneousValues:!0,apiUrl:"https://srvless.onlive.site/tracking",data:{widget_type:"OnliveAppFlow"}}},C=o.string().nonempty(),M=o.object({baseUrl:o.string().url().nonempty(),flowId:o.string().length(24).nonempty(),organizationId:o.string().uuid().nonempty(),lang:o.string().length(2).nonempty(),tracking:c.optional(),devMode:o.boolean().default(!1).optional()}),V=o.object({state:o.record(o.string(),o.any()).optional(),fields:o.record(o.string(),o.any()).optional()}),U=o.object({currentStepId:o.string().nonempty(),actionId:o.string().nonempty()}),b=o.enum(["text","boolean","number","first_name","last_name","name","email","phone","mobile_phone","date","time","datetime","password","url","color","object","void","location","availability"]),x=o.object({name:o.string().optional(),value:o.string().optional(),icon:o.string().optional(),type:o.enum(["url","email","phone"]).optional()}),j=o.object({lat:o.number().min(-90).max(90),lng:o.number().min(-180).max(180),meta:o.record(o.string(),o.any()).optional(),properties:o.record(o.string(),x).optional()}),T=o.object({datetime:o.string().datetime(),meta:o.record(o.string(),o.any()).optional()}),r=o.union([o.string(),o.number(),o.boolean(),j,T]),i=o.object({content:o.object({icon:o.string().optional(),url:o.string().url().optional(),width:o.string().optional(),height:o.string().optional(),scale:o.number().optional()}).optional(),background:o.string().optional(),glyph:o.object({color:o.string().optional(),url:o.string().url().optional(),icon:o.string().optional()}).optional(),borderColor:o.string().optional(),scale:o.number().optional()}),a=o.custom(e=>typeof e=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(e),{message:"Date must be in 'YYYY-MM-DD' format"}),n=o.object({text:o.string().optional(),icon:o.string().optional()}),p=o.object({fieldName:o.string().nonempty(),value:r.optional(),operator:o.enum(["exists","equals","not-equals","contains","not-contains","greater-than","less-than"]).optional()}),O=o.object({and:o.array(p).optional(),or:o.array(p).optional()}),m=o.array(o.union([p,O])),h=o.object({src:o.string().url(),preload:o.boolean().optional(),name:o.string().nonempty(),function:o.string().nonempty(),params:o.array(o.record(o.string(),o.any())).optional()}),v=o.object({name:o.enum(["organization_call","close_panel","retry_first_step","retry_next_step","organization_chat"]),params:o.record(o.string(),o.any()).optional()}),s=o.object({id:o.string().nonempty(),type:o.enum(["submit","navigate","link","back","dispatcher","script"]),label:o.string().nonempty(),variant:o.enum(["primary","secondary","success","danger","warning","info"]),position:o.enum(["top","bottom"]).optional(),url:o.string().url().optional(),target:o.enum(["_self","_blank","_parent","_top"]).optional(),loadingBehavior:o.enum(["none","spinner","disabled"]).optional(),prefix:n.optional(),suffix:n.optional(),scripts:h.array().optional(),events:v.array().optional()}),A=o.object({message:o.string().optional(),icon:o.string().optional(),position:o.enum(["top","bottom"]).optional(),kind:o.enum(["initial-loading","step-loading","step-validation","field-loading"]).optional(),actions:o.array(s).optional()}),_=o.object({name:o.string().nonempty(),label:o.string().optional(),value:o.union([r,o.array(r)]).optional(),type:b,component:o.enum(["input","phone_input","textarea","select","radio","checkbox","switch","rating","carousel","grid","button","label","map","calendar","stripe_payment"]).optional(),disabled:o.boolean().optional(),readonly:o.boolean().optional(),multiple:o.boolean().optional(),placeholder:o.string().optional(),options:o.array(o.object({id:o.string().optional(),label:o.string().nonempty(),value:r.optional(),image:o.string().url().optional(),description:o.string().optional(),disabled:o.boolean().optional(),attributes:o.record(o.string(),o.any()).optional(),actions:o.array(s).optional(),dependsOn:m.optional()})).optional(),required:o.boolean().optional(),configuration:o.object({generic:o.object({error:o.object({loading:A.optional(),validation:o.object({icon:o.string().optional(),showOn:o.enum(["input","blur"]).optional()}).optional()})}).optional(),input:o.object({min:o.number().optional(),max:o.number().optional(),step:o.number().optional(),pattern:o.string().refine(e=>{try{return new RegExp(e),!0}catch{return!1}},"Invalid regex pattern").optional(),minLength:o.number().optional(),maxLength:o.number().optional(),exactLength:o.number().optional(),prefix:o.object({default:n.optional(),success:n.optional(),error:n.optional()}).optional(),suffix:o.object({default:n.optional(),success:n.optional(),error:n.optional()}).optional(),clearable:o.boolean().optional(),floatingLabel:o.boolean().optional()}).optional(),phoneInput:o.object({includePrefixValue:o.boolean().optional(),showFlag:o.boolean().optional(),showCode:o.boolean().optional(),prefixLabel:o.string().optional(),lockedPrefix:o.boolean().optional(),countries:o.array(o.string()).optional(),defaultPrefix:o.string().optional(),autoDetectCountry:o.boolean().optional()}).optional(),textarea:o.object({minLength:o.number().optional(),maxLength:o.number().optional(),exactLength:o.number().optional(),rows:o.number().optional()}).optional(),checkbox:o.object({layout:o.enum(["horizontal","vertical"])}).optional(),rating:o.object({icons:o.array(o.string()).optional(),color:o.string().optional(),precision:o.number().optional()}).optional(),carousel:o.object({loop:o.boolean().optional(),mouseDragging:o.boolean().optional(),itemsPerPage:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),itemsPerMove:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),showArrows:o.boolean().optional(),showDots:o.boolean().optional(),autoplay:o.boolean().optional(),autoplaySpeed:o.number().optional(),clickableItems:o.object({actionId:o.string()}).optional()}).optional(),grid:o.object({search:o.object({enabled:o.boolean().optional(),value:o.string().optional(),button:o.object({label:o.string().optional()}).optional(),placeholder:o.string().optional(),noResultsText:o.string().optional(),clearable:o.boolean().optional()}).optional(),itemsPerRow:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),itemsPerPage:o.object({small:o.number(),medium:o.number().optional(),large:o.number().optional()}).optional(),clickableItems:o.object({actionId:o.string()}).optional()}).optional(),map:o.object({apiKey:o.string().optional(),mapId:o.string().optional(),region:o.string().length(2).optional(),colorScheme:o.nativeEnum(u).optional(),center:o.object({lat:o.number().min(-90).max(90),lng:o.number().min(-180).max(180)}).optional(),showMap:o.enum(["always","on-search","never"]).optional(),zoom:o.object({initial:o.number().optional(),focus:o.number().optional(),max:o.number().optional(),min:o.number().optional()}).optional(),controls:o.object({fullscreen:o.boolean().optional(),mapType:o.boolean().optional(),zoom:o.boolean().optional(),rotate:o.boolean().optional(),scale:o.boolean().optional(),streetView:o.boolean().optional()}).optional(),initialLocations:o.number().optional(),maxLocations:o.number().optional(),distanceUnit:o.enum(["km","mi"]).optional(),distanceFormat:o.enum(["short","long"]).optional(),distanceDecimals:o.number().optional(),options:o.object({show:o.enum(["always","on-search","never"]).optional(),component:o.enum(["list-button","list-radio","carousel"]).optional(),searchLabel:o.string().optional(),detailsLabel:o.string().optional()}).optional(),search:o.object({enabled:o.boolean().optional(),value:o.string().optional(),button:o.object({label:o.string().optional(),position:o.enum(["inside","outside"]).optional()}).optional(),placeholder:o.string().optional(),noResultsText:o.string().optional(),autocomplete:o.boolean().optional(),clearable:o.boolean().optional(),mode:o.enum(["address","postcode"]).default("postcode").optional(),locationButton:o.object({icon:o.string().optional(),position:o.enum(["left","right"]).optional()}).optional(),prefix:o.object({default:n.optional()}).optional(),suffix:o.object({default:n.optional()}).optional()}).optional(),distanceRange:o.object({initial:o.number().optional(),min:o.number().optional(),max:o.number().optional(),step:o.number().optional()}).optional(),mapRegion:o.object({strokeColor:o.string().optional(),fillColor:o.string().optional(),fillOpacity:o.number().optional()}).optional(),locationPin:i.optional(),markerPin:o.object({default:i.optional(),hover:i.optional(),selected:i.optional()}).optional(),infoWindow:o.object({button:o.object({label:o.string(),action:o.string()}).optional()}).optional(),ordering:o.object({orderBy:o.enum(["distance","title","id"]).optional(),orderDir:o.enum(["asc","desc"]).optional(),preferences:o.array(o.object({ids:o.string().array(),filters:o.object({postcodes:o.string().array().optional()}).optional()}))}).optional(),clickableItems:o.object({actionId:o.string()}).optional(),forcePolyfills:o.boolean().optional()}).optional(),calendar:o.object({current:o.object({month:o.number().min(0).max(11).optional(),year:o.number().optional()}).optional(),range:o.object({min:a.optional(),max:a.optional(),enabled:o.array(a).optional(),disabled:o.array(a).optional()}).optional(),time:o.object({label:o.string().optional(),format:o.enum(["12h","24h"]).optional(),component:o.enum(["carousel","list"]).optional()}).optional(),api:o.object({version:o.string().optional(),url:o.string().url().nonempty(),organizationId:o.string().nonempty(),availability:o.object({filters:g,options:d.optional()}).optional(),slots:o.object({filters:y,options:f.optional()}).optional()}).optional()}).optional(),stripe:o.object({publishableKey:o.string().nonempty(),mode:o.enum(["payment","setup"]).default("payment").optional(),createPaymentIntentEndpoint:o.string().url().optional(),createSetupIntentEndpoint:o.string().url().optional(),clientSecret:o.string().optional(),paymentIntentId:o.string().optional(),setupIntentId:o.string().optional(),amount:o.number().optional(),currency:o.string().default("usd").optional(),connectedAccountId:o.string().optional(),returnUrl:o.string().url().optional(),headers:o.record(o.string(),o.string()).optional(),paymentIntentParams:o.record(o.string(),o.unknown()).optional(),appearance:o.object({theme:o.enum(["stripe","night","flat"]).optional(),variables:o.record(o.string(),o.string()).optional(),rules:o.record(o.string(),o.record(o.string(),o.string())).optional()}).optional(),layout:o.enum(["tabs","accordion","auto"]).optional(),elementOptions:o.record(o.string(),o.unknown()).optional(),terms:o.object({card:o.enum(["auto","always","never"]).optional()}).optional(),customTermsText:o.string().optional(),openDialogButtonText:o.string().optional(),confirmButtonText:o.string().optional(),cancelButtonText:o.string().optional(),authorizedText:o.string().optional(),successMessage:o.string().optional(),setupSuccessMessage:o.string().optional(),infoText:o.string().optional(),amountLabel:o.string().optional(),loadingElementText:o.string().optional(),showAmount:o.boolean().optional(),dialogTitle:o.string().optional(),autoOpenDialog:o.boolean().optional(),actionId:o.string().optional()}).optional()}).optional(),dependsOn:m.optional(),dependentBehavior:o.enum(["hidden","disabled"]).optional(),customError:o.object({required:o.string().optional(),invalid:o.string().optional(),minLength:o.string().optional(),maxLength:o.string().optional(),minValue:o.string().optional(),maxValue:o.string().optional(),mismatch:o.string().optional()}).optional()}),E=o.enum(["INVALID_DATA","INVALID_ACTION","STEP_NOT_FOUND","UNKNOWN_ERROR","APPOINTMENT_INVALID_DATA","APPOINTMENT_BUSY_SLOT","APPOINTMENT_OUT_OF_DATE","APPOINTMENT_UNKNOWN_ERROR","LEAD_INVALID_DATA","LEAD_UNKNOWN_ERROR","CONTENT_INVALID_DATA","CONTENT_UNKNOWN_ERROR","CONTACT_INVALID_DATA","CONTACT_UNKNOWN_ERROR","LOST_OPPORTUNITY_INVALID_DATA","LOST_OPPORTUNITY_UNKNOWN_ERROR"]),D=o.object({type:o.enum(["redirect"]),params:o.record(o.string(),o.any()).optional()}),I=o.object({id:o.string().nonempty(),number:o.number().optional(),title:o.string().optional(),description:o.string().optional(),stageId:o.string().optional(),state:o.record(o.string(),o.any()).optional(),fields:o.array(_).optional(),actions:o.array(s).optional(),result:o.object({postActions:o.array(D).optional(),pipelines:o.array(o.object({name:o.string(),data:o.object({})})).optional(),tracking:o.record(o.string(),o.any()).optional()}).optional(),error:o.object({code:E,message:o.string().optional(),icon:o.string().optional(),position:o.enum(["top","bottom"]).optional(),fields:o.array(o.object({name:o.string(),type:b,value:o.any(),error:o.string()})).optional()}).optional(),isFinal:o.boolean().optional()}),N=o.object({id:o.string().length(24).nonempty(),organizationId:o.string().uuid().nonempty(),updatedAt:o.string().datetime().nonempty(),stages:o.array(o.object({id:o.string().nonempty(),name:o.string().nonempty()}))}),G=o.object({status:o.enum(["ok","error"]),step:I,flow:N}),K=o.enum(["track"]);export{s as Action,v as ActionEvent,h as ActionScript,M as ClientOptions,u as ColorScheme,R as DEFAULT_CLIENT_OPTIONS,k as DEFAULT_MAP_ID,E as ErrorCode,A as ErrorData,K as EventType,_ as Field,N as Flow,G as FlowContext,V as GetStepOptions,U as GetStepTrigger,D as PostAction,I as Step,C as StepId};
package/flow.types.cjs CHANGED
@@ -1,2 +1,2 @@
1
- /*! @onlive.ai/flow-client v0.1.80 | © 2025 Onlive.ai */
2
- "use strict";var d=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var E=Object.prototype.hasOwnProperty;var T=(i,t)=>{for(var s in t)d(i,s,{get:t[s],enumerable:!0})},P=(i,t,s,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of F(t))!E.call(i,n)&&n!==s&&d(i,n,{get:()=>t[n],enumerable:!(p=B(t,n))||p.enumerable});return i};var R=i=>P(d({},"__esModule",{value:!0}),i);var L={};T(L,{ActionDtoSchema:()=>C,ActionPipelineDtoSchema:()=>A,ActionTypeEnumSchema:()=>j,ActionVariantEnumSchema:()=>x,ConditionalGroupOperatorDtoSchema:()=>a,ConditionalOperatorDtoSchema:()=>r,DataProviderDtoSchema:()=>c,DataProviderSourceTypeSchema:()=>v,DataTransformerDtoSchema:()=>y,DataTransformerTypeSchema:()=>g,FailFlowSchema:()=>k,FieldComponentEnumSchema:()=>b,FieldDependentBehaviorEnumSchema:()=>h,FieldDtoSchema:()=>D,FieldItemDtoSchema:()=>m,FieldSelectionModeSchema:()=>u,FieldTypeEnumSchema:()=>f,FlowDtoSchema:()=>I,NodeDtoSchema:()=>l,NodeListDtoSchema:()=>O,PipelineFunctionTypeSchema:()=>w,RoutingDtoSchema:()=>q,ScriptsDtoSchema:()=>S});module.exports=R(L);var e=require("zod"),o=e.z.record(e.z.string(),e.z.any()).describe("Represents a plain literal object."),f=e.z.enum(["text","boolean","number","email","phone","mobile_phone","date","time","datetime","password","url","void","location","availability"]).describe("Enum for field types."),b=e.z.enum(["input","textarea","select","radio","checkbox","switch","carousel","button","label","calendar","map"]).describe("Enum for field components."),u=e.z.enum(["simple","multiple"]).describe("Enum for field selection modes."),h=e.z.enum(["hidden","disabled"]).describe("Enum for field dependent behaviors."),m=e.z.object({label:e.z.union([e.z.string(),o]).optional().describe("Label for the field item."),value:o.optional().describe("Value of the field item."),description:e.z.union([e.z.string(),o]).optional().describe("Description for the field item."),image:e.z.string().url().optional().describe("URL of an image for the field item."),nextNodeId:e.z.boolean().optional().describe("ID of the next node.")}).describe("Data transfer object for a field item."),v=e.z.enum(["property","httpRequest","mqRequest","function"]).describe("Enum for data provider source types."),r=e.z.object({exists:e.z.object({valueA:e.z.unknown(),valueB:e.z.boolean()}).optional().describe("Checks if a value exists."),equal:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if two values are equal."),notEqual:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if two values are not equal."),equalOrGreater:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is equal to or greater than valueB."),equalOrLess:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is equal to or less than valueB."),greater:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is greater than valueB."),less:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is less than valueB."),startsWith:e.z.object({valueA:e.z.string(),valueB:e.z.string()}).optional().describe("Checks if valueA starts with valueB."),contains:e.z.object({valueA:e.z.string(),valueB:e.z.string()}).optional().describe("Checks if valueA contains valueB."),includes:e.z.object({valueA:e.z.array(e.z.unknown()),valueB:e.z.unknown()}).optional().describe("Checks if valueA includes valueB.")}).describe("Data transfer object for conditional operators."),a=e.z.object({or:e.z.array(r).optional().describe("Array of OR conditions."),and:e.z.array(r).optional().describe("Array of AND conditions.")}).describe("Data transfer object for conditional group operators."),g=e.z.enum(["map","concat","filter","reduce","unique","join","flat","flatmap","sort","delete"]).describe("Enum for data transformer types."),y=e.z.object({type:g.describe("Type of the data transformer."),params:e.z.record(e.z.string(),e.z.any()).optional().describe("Parameters for the data transformer."),conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the data transformer."),require:e.z.array(e.z.string()).optional().describe("Required fields for the data transformer.")}).describe("Data transfer object for data transformers."),c=e.z.object({type:v.describe("Type of the data provider source."),name:e.z.string().optional().describe("Name of the data provider."),params:e.z.union([e.z.record(e.z.string(),e.z.unknown()),e.z.string()]).optional().describe("Parameters for the data provider."),persist:e.z.boolean().optional().describe("Whether to persist the data."),conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the data provider."),transformers:e.z.array(y).optional().describe("Transformers for the data provider."),require:e.z.array(e.z.string()).optional().describe("Required fields for the data provider.")}).describe("Data transfer object for data providers."),D=e.z.object({name:e.z.string().describe("Name of the field."),type:f.describe("Type of the field."),label:e.z.union([e.z.string(),o]).optional().describe("Label for the field."),value:e.z.any().optional().describe("Value of the field."),component:b.optional().describe("Component for the field."),selectionMode:u.optional().describe("Selection mode for the field."),required:e.z.boolean().optional().describe("Whether the field is required."),placeholder:e.z.union([e.z.string(),o]).optional().describe("Placeholder for the field."),options:e.z.array(m).optional().describe("Options for the field."),optionsProvider:c.optional().describe("Data provider for the field options."),configuration:o.optional().describe("Configuration for the field."),dependsOn:e.z.array(o).optional().describe("Fields that this field depends on."),dependentBehavior:h.optional().describe("Behavior of the field when its dependencies are not met."),conditions:e.z.array(o).optional().describe("Conditions for the field."),customError:o.optional().describe("Custom error message for the field.")}).describe("Data transfer object for a field."),j=e.z.enum(["submit","link","forward","script"]).describe("Enum for action types."),x=e.z.enum(["primary","secondary","success","warning","info","danger"]).describe("Enum for action variants."),S=e.z.object({src:e.z.string().url().describe("Source URL of the script."),preload:e.z.boolean().optional().describe("Whether to preload the script."),name:e.z.string().describe("Name of the script."),function:e.z.string().describe("Function to execute from the script."),params:e.z.record(e.z.string(),e.z.any()).optional().describe("Parameters for the script function.")}).describe("Data transfer object for scripts."),w=e.z.string().describe("Enum for pipeline function types. TODO: Replace z.string() with z.enum([...]) with actual pipeline function types."),k=o.describe("Data transfer object for fail flow. TODO: Define the actual structure for FailFlowSchema if it's not a plain literal object."),A=e.z.object({function:w.describe("Function type for the pipeline."),params:o.optional().describe("Parameters for the pipeline function."),conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the pipeline."),require:e.z.array(e.z.string()).optional().describe("Required fields for the pipeline."),onFail:k.optional().describe("Fail flow configuration.")}).describe("Data transfer object for an action pipeline."),C=e.z.object({id:e.z.string().describe("ID of the action."),label:e.z.union([e.z.string(),o]).optional().describe("Label for the action."),type:j.describe("Type of the action."),variant:x.optional().describe("Variant of the action."),url:e.z.string().optional().describe("URL for link-type actions."),pipeline:e.z.array(A).optional().describe("Pipeline for the action."),conditions:e.z.array(o).optional().describe("Conditions for the action."),nextStepId:e.z.string().optional().describe("ID of the next step."),scripts:e.z.array(S).optional().describe("Scripts associated with the action.")}).describe("Data transfer object for an action."),q=e.z.object({conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the routing rule."),nextStepId:e.z.string().describe("ID of the next step if conditions are met.")}).describe("Data transfer object for routing."),l=e.z.object({id:e.z.string().describe("ID of the node."),initialNode:e.z.boolean().optional().describe("Whether this is the initial node."),finalNode:e.z.boolean().optional().describe("Whether this is a final node."),title:e.z.union([e.z.string(),o]).optional().describe("Title of the node."),description:e.z.string().optional().describe("Description of the node."),fields:e.z.array(D).optional().describe("Fields in the node."),actions:e.z.array(C).optional().describe("Actions available in the node."),routing:e.z.array(q).optional().describe("Routing rules for the node."),stateProviders:e.z.array(c).optional().describe("Data providers for state management."),trackingProviders:e.z.array(c).optional().describe("Data providers for tracking."),stageId:e.z.string().optional().describe("ID of the stage this node belongs to."),translations:o.optional().describe("Translations for the node.")}).describe("Data transfer object for a node."),O=e.z.array(l).describe("List of nodes."),I=e.z.object({nodes:e.z.array(l).describe("List of nodes.")});0&&(module.exports={ActionDtoSchema,ActionPipelineDtoSchema,ActionTypeEnumSchema,ActionVariantEnumSchema,ConditionalGroupOperatorDtoSchema,ConditionalOperatorDtoSchema,DataProviderDtoSchema,DataProviderSourceTypeSchema,DataTransformerDtoSchema,DataTransformerTypeSchema,FailFlowSchema,FieldComponentEnumSchema,FieldDependentBehaviorEnumSchema,FieldDtoSchema,FieldItemDtoSchema,FieldSelectionModeSchema,FieldTypeEnumSchema,FlowDtoSchema,NodeDtoSchema,NodeListDtoSchema,PipelineFunctionTypeSchema,RoutingDtoSchema,ScriptsDtoSchema});
1
+ /*! @onlive.ai/flow-client v0.1.209 | © 2026 Onlive.ai */
2
+ "use strict";var d=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var E=Object.prototype.hasOwnProperty;var T=(i,t)=>{for(var s in t)d(i,s,{get:t[s],enumerable:!0})},P=(i,t,s,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of F(t))!E.call(i,n)&&n!==s&&d(i,n,{get:()=>t[n],enumerable:!(p=B(t,n))||p.enumerable});return i};var R=i=>P(d({},"__esModule",{value:!0}),i);var L={};T(L,{ActionDtoSchema:()=>C,ActionPipelineDtoSchema:()=>A,ActionTypeEnumSchema:()=>j,ActionVariantEnumSchema:()=>x,ConditionalGroupOperatorDtoSchema:()=>a,ConditionalOperatorDtoSchema:()=>r,DataProviderDtoSchema:()=>c,DataProviderSourceTypeSchema:()=>v,DataTransformerDtoSchema:()=>y,DataTransformerTypeSchema:()=>g,FailFlowSchema:()=>k,FieldComponentEnumSchema:()=>b,FieldDependentBehaviorEnumSchema:()=>h,FieldDtoSchema:()=>D,FieldItemDtoSchema:()=>m,FieldSelectionModeSchema:()=>u,FieldTypeEnumSchema:()=>f,FlowDtoSchema:()=>I,NodeDtoSchema:()=>l,NodeListDtoSchema:()=>O,PipelineFunctionTypeSchema:()=>w,RoutingDtoSchema:()=>q,ScriptsDtoSchema:()=>S});module.exports=R(L);var e=require("zod"),o=e.z.record(e.z.string(),e.z.any()).describe("Represents a plain literal object."),f=e.z.enum(["text","boolean","number","email","phone","mobile_phone","date","time","datetime","password","url","void","location","availability"]).describe("Enum for field types."),b=e.z.enum(["input","textarea","select","radio","checkbox","switch","carousel","button","label","calendar","map","grid","rating","phone_input","stripe_payment"]).describe("Enum for field components."),u=e.z.enum(["simple","multiple"]).describe("Enum for field selection modes."),h=e.z.enum(["hidden","disabled"]).describe("Enum for field dependent behaviors."),m=e.z.object({label:e.z.union([e.z.string(),o]).optional().describe("Label for the field item."),value:o.optional().describe("Value of the field item."),description:e.z.union([e.z.string(),o]).optional().describe("Description for the field item."),image:e.z.string().url().optional().describe("URL of an image for the field item."),nextNodeId:e.z.boolean().optional().describe("ID of the next node.")}).describe("Data transfer object for a field item."),v=e.z.enum(["property","httpRequest","mqRequest","function"]).describe("Enum for data provider source types."),r=e.z.object({exists:e.z.object({valueA:e.z.unknown(),valueB:e.z.boolean()}).optional().describe("Checks if a value exists."),equal:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if two values are equal."),notEqual:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if two values are not equal."),equalOrGreater:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is equal to or greater than valueB."),equalOrLess:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is equal to or less than valueB."),greater:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is greater than valueB."),less:e.z.object({valueA:e.z.unknown(),valueB:e.z.unknown()}).optional().describe("Checks if valueA is less than valueB."),startsWith:e.z.object({valueA:e.z.string(),valueB:e.z.string()}).optional().describe("Checks if valueA starts with valueB."),contains:e.z.object({valueA:e.z.string(),valueB:e.z.string()}).optional().describe("Checks if valueA contains valueB."),includes:e.z.object({valueA:e.z.array(e.z.unknown()),valueB:e.z.unknown()}).optional().describe("Checks if valueA includes valueB.")}).describe("Data transfer object for conditional operators."),a=e.z.object({or:e.z.array(r).optional().describe("Array of OR conditions."),and:e.z.array(r).optional().describe("Array of AND conditions.")}).describe("Data transfer object for conditional group operators."),g=e.z.enum(["map","concat","filter","reduce","unique","join","flat","flatmap","sort","delete"]).describe("Enum for data transformer types."),y=e.z.object({type:g.describe("Type of the data transformer."),params:e.z.record(e.z.string(),e.z.any()).optional().describe("Parameters for the data transformer."),conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the data transformer."),require:e.z.array(e.z.string()).optional().describe("Required fields for the data transformer.")}).describe("Data transfer object for data transformers."),c=e.z.object({type:v.describe("Type of the data provider source."),name:e.z.string().optional().describe("Name of the data provider."),params:e.z.union([e.z.record(e.z.string(),e.z.unknown()),e.z.string()]).optional().describe("Parameters for the data provider."),persist:e.z.boolean().optional().describe("Whether to persist the data."),conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the data provider."),transformers:e.z.array(y).optional().describe("Transformers for the data provider."),require:e.z.array(e.z.string()).optional().describe("Required fields for the data provider.")}).describe("Data transfer object for data providers."),D=e.z.object({name:e.z.string().describe("Name of the field."),type:f.describe("Type of the field."),label:e.z.union([e.z.string(),o]).optional().describe("Label for the field."),value:e.z.any().optional().describe("Value of the field."),component:b.optional().describe("Component for the field."),selectionMode:u.optional().describe("Selection mode for the field."),required:e.z.boolean().optional().describe("Whether the field is required."),placeholder:e.z.union([e.z.string(),o]).optional().describe("Placeholder for the field."),options:e.z.array(m).optional().describe("Options for the field."),optionsProvider:c.optional().describe("Data provider for the field options."),configuration:o.optional().describe("Configuration for the field."),dependsOn:e.z.array(o).optional().describe("Fields that this field depends on."),dependentBehavior:h.optional().describe("Behavior of the field when its dependencies are not met."),conditions:e.z.array(o).optional().describe("Conditions for the field."),customError:o.optional().describe("Custom error message for the field.")}).describe("Data transfer object for a field."),j=e.z.enum(["submit","link","forward","script"]).describe("Enum for action types."),x=e.z.enum(["primary","secondary","success","warning","info","danger"]).describe("Enum for action variants."),S=e.z.object({src:e.z.string().url().describe("Source URL of the script."),preload:e.z.boolean().optional().describe("Whether to preload the script."),name:e.z.string().describe("Name of the script."),function:e.z.string().describe("Function to execute from the script."),params:e.z.record(e.z.string(),e.z.any()).optional().describe("Parameters for the script function.")}).describe("Data transfer object for scripts."),w=e.z.string().describe("Enum for pipeline function types. TODO: Replace z.string() with z.enum([...]) with actual pipeline function types."),k=o.describe("Data transfer object for fail flow. TODO: Define the actual structure for FailFlowSchema if it's not a plain literal object."),A=e.z.object({function:w.describe("Function type for the pipeline."),params:o.optional().describe("Parameters for the pipeline function."),conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the pipeline."),require:e.z.array(e.z.string()).optional().describe("Required fields for the pipeline."),onFail:k.optional().describe("Fail flow configuration.")}).describe("Data transfer object for an action pipeline."),C=e.z.object({id:e.z.string().describe("ID of the action."),label:e.z.union([e.z.string(),o]).optional().describe("Label for the action."),type:j.describe("Type of the action."),variant:x.optional().describe("Variant of the action."),url:e.z.string().optional().describe("URL for link-type actions."),pipeline:e.z.array(A).optional().describe("Pipeline for the action."),conditions:e.z.array(o).optional().describe("Conditions for the action."),nextStepId:e.z.string().optional().describe("ID of the next step."),scripts:e.z.array(S).optional().describe("Scripts associated with the action.")}).describe("Data transfer object for an action."),q=e.z.object({conditions:e.z.array(e.z.union([r,a])).optional().describe("Conditions for the routing rule."),nextStepId:e.z.string().describe("ID of the next step if conditions are met.")}).describe("Data transfer object for routing."),l=e.z.object({id:e.z.string().describe("ID of the node."),initialNode:e.z.boolean().optional().describe("Whether this is the initial node."),finalNode:e.z.boolean().optional().describe("Whether this is a final node."),title:e.z.union([e.z.string(),o]).optional().describe("Title of the node."),description:e.z.string().optional().describe("Description of the node."),fields:e.z.array(D).optional().describe("Fields in the node."),actions:e.z.array(C).optional().describe("Actions available in the node."),routing:e.z.array(q).optional().describe("Routing rules for the node."),stateProviders:e.z.array(c).optional().describe("Data providers for state management."),trackingProviders:e.z.array(c).optional().describe("Data providers for tracking."),stageId:e.z.string().optional().describe("ID of the stage this node belongs to."),translations:o.optional().describe("Translations for the node.")}).describe("Data transfer object for a node."),O=e.z.array(l).describe("List of nodes."),I=e.z.object({nodes:e.z.array(l).describe("List of nodes.")});0&&(module.exports={ActionDtoSchema,ActionPipelineDtoSchema,ActionTypeEnumSchema,ActionVariantEnumSchema,ConditionalGroupOperatorDtoSchema,ConditionalOperatorDtoSchema,DataProviderDtoSchema,DataProviderSourceTypeSchema,DataTransformerDtoSchema,DataTransformerTypeSchema,FailFlowSchema,FieldComponentEnumSchema,FieldDependentBehaviorEnumSchema,FieldDtoSchema,FieldItemDtoSchema,FieldSelectionModeSchema,FieldTypeEnumSchema,FlowDtoSchema,NodeDtoSchema,NodeListDtoSchema,PipelineFunctionTypeSchema,RoutingDtoSchema,ScriptsDtoSchema});
package/flow.types.d.cts CHANGED
@@ -7,7 +7,7 @@ declare const FieldTypeEnumSchema: z.ZodEnum<["text", "boolean", "number", "emai
7
7
  /**
8
8
  * Enum for field components.
9
9
  */
10
- declare const FieldComponentEnumSchema: z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>;
10
+ declare const FieldComponentEnumSchema: z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>;
11
11
  /**
12
12
  * Enum for field selection modes.
13
13
  */
@@ -4183,7 +4183,7 @@ declare const FieldDtoSchema: z.ZodObject<{
4183
4183
  /** Value of the field. */
4184
4184
  value: z.ZodOptional<z.ZodAny>;
4185
4185
  /** Component for the field. */
4186
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
4186
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
4187
4187
  /** Selection mode for the field. */
4188
4188
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
4189
4189
  /** Whether the field is required. */
@@ -6564,7 +6564,7 @@ declare const FieldDtoSchema: z.ZodObject<{
6564
6564
  }[] | undefined;
6565
6565
  label?: string | Record<string, any> | undefined;
6566
6566
  conditions?: Record<string, any>[] | undefined;
6567
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
6567
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
6568
6568
  selectionMode?: "simple" | "multiple" | undefined;
6569
6569
  required?: boolean | undefined;
6570
6570
  placeholder?: string | Record<string, any> | undefined;
@@ -6851,7 +6851,7 @@ declare const FieldDtoSchema: z.ZodObject<{
6851
6851
  }[] | undefined;
6852
6852
  label?: string | Record<string, any> | undefined;
6853
6853
  conditions?: Record<string, any>[] | undefined;
6854
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
6854
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
6855
6855
  selectionMode?: "simple" | "multiple" | undefined;
6856
6856
  required?: boolean | undefined;
6857
6857
  placeholder?: string | Record<string, any> | undefined;
@@ -10621,7 +10621,7 @@ declare const NodeDtoSchema: z.ZodObject<{
10621
10621
  /** Value of the field. */
10622
10622
  value: z.ZodOptional<z.ZodAny>;
10623
10623
  /** Component for the field. */
10624
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
10624
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
10625
10625
  /** Selection mode for the field. */
10626
10626
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
10627
10627
  /** Whether the field is required. */
@@ -13002,7 +13002,7 @@ declare const NodeDtoSchema: z.ZodObject<{
13002
13002
  }[] | undefined;
13003
13003
  label?: string | Record<string, any> | undefined;
13004
13004
  conditions?: Record<string, any>[] | undefined;
13005
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
13005
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
13006
13006
  selectionMode?: "simple" | "multiple" | undefined;
13007
13007
  required?: boolean | undefined;
13008
13008
  placeholder?: string | Record<string, any> | undefined;
@@ -13289,7 +13289,7 @@ declare const NodeDtoSchema: z.ZodObject<{
13289
13289
  }[] | undefined;
13290
13290
  label?: string | Record<string, any> | undefined;
13291
13291
  conditions?: Record<string, any>[] | undefined;
13292
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
13292
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
13293
13293
  selectionMode?: "simple" | "multiple" | undefined;
13294
13294
  required?: boolean | undefined;
13295
13295
  placeholder?: string | Record<string, any> | undefined;
@@ -20627,7 +20627,7 @@ declare const NodeDtoSchema: z.ZodObject<{
20627
20627
  }[] | undefined;
20628
20628
  label?: string | Record<string, any> | undefined;
20629
20629
  conditions?: Record<string, any>[] | undefined;
20630
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
20630
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
20631
20631
  selectionMode?: "simple" | "multiple" | undefined;
20632
20632
  required?: boolean | undefined;
20633
20633
  placeholder?: string | Record<string, any> | undefined;
@@ -21734,7 +21734,7 @@ declare const NodeDtoSchema: z.ZodObject<{
21734
21734
  }[] | undefined;
21735
21735
  label?: string | Record<string, any> | undefined;
21736
21736
  conditions?: Record<string, any>[] | undefined;
21737
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
21737
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
21738
21738
  selectionMode?: "simple" | "multiple" | undefined;
21739
21739
  required?: boolean | undefined;
21740
21740
  placeholder?: string | Record<string, any> | undefined;
@@ -22848,7 +22848,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
22848
22848
  /** Value of the field. */
22849
22849
  value: z.ZodOptional<z.ZodAny>;
22850
22850
  /** Component for the field. */
22851
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
22851
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
22852
22852
  /** Selection mode for the field. */
22853
22853
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
22854
22854
  /** Whether the field is required. */
@@ -25229,7 +25229,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
25229
25229
  }[] | undefined;
25230
25230
  label?: string | Record<string, any> | undefined;
25231
25231
  conditions?: Record<string, any>[] | undefined;
25232
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
25232
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
25233
25233
  selectionMode?: "simple" | "multiple" | undefined;
25234
25234
  required?: boolean | undefined;
25235
25235
  placeholder?: string | Record<string, any> | undefined;
@@ -25516,7 +25516,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
25516
25516
  }[] | undefined;
25517
25517
  label?: string | Record<string, any> | undefined;
25518
25518
  conditions?: Record<string, any>[] | undefined;
25519
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
25519
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
25520
25520
  selectionMode?: "simple" | "multiple" | undefined;
25521
25521
  required?: boolean | undefined;
25522
25522
  placeholder?: string | Record<string, any> | undefined;
@@ -32854,7 +32854,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
32854
32854
  }[] | undefined;
32855
32855
  label?: string | Record<string, any> | undefined;
32856
32856
  conditions?: Record<string, any>[] | undefined;
32857
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
32857
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
32858
32858
  selectionMode?: "simple" | "multiple" | undefined;
32859
32859
  required?: boolean | undefined;
32860
32860
  placeholder?: string | Record<string, any> | undefined;
@@ -33961,7 +33961,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
33961
33961
  }[] | undefined;
33962
33962
  label?: string | Record<string, any> | undefined;
33963
33963
  conditions?: Record<string, any>[] | undefined;
33964
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
33964
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
33965
33965
  selectionMode?: "simple" | "multiple" | undefined;
33966
33966
  required?: boolean | undefined;
33967
33967
  placeholder?: string | Record<string, any> | undefined;
@@ -35076,7 +35076,7 @@ declare const FlowDtoSchema: z.ZodObject<{
35076
35076
  /** Value of the field. */
35077
35077
  value: z.ZodOptional<z.ZodAny>;
35078
35078
  /** Component for the field. */
35079
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
35079
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
35080
35080
  /** Selection mode for the field. */
35081
35081
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
35082
35082
  /** Whether the field is required. */
@@ -37457,7 +37457,7 @@ declare const FlowDtoSchema: z.ZodObject<{
37457
37457
  }[] | undefined;
37458
37458
  label?: string | Record<string, any> | undefined;
37459
37459
  conditions?: Record<string, any>[] | undefined;
37460
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
37460
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
37461
37461
  selectionMode?: "simple" | "multiple" | undefined;
37462
37462
  required?: boolean | undefined;
37463
37463
  placeholder?: string | Record<string, any> | undefined;
@@ -37744,7 +37744,7 @@ declare const FlowDtoSchema: z.ZodObject<{
37744
37744
  }[] | undefined;
37745
37745
  label?: string | Record<string, any> | undefined;
37746
37746
  conditions?: Record<string, any>[] | undefined;
37747
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
37747
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
37748
37748
  selectionMode?: "simple" | "multiple" | undefined;
37749
37749
  required?: boolean | undefined;
37750
37750
  placeholder?: string | Record<string, any> | undefined;
@@ -45082,7 +45082,7 @@ declare const FlowDtoSchema: z.ZodObject<{
45082
45082
  }[] | undefined;
45083
45083
  label?: string | Record<string, any> | undefined;
45084
45084
  conditions?: Record<string, any>[] | undefined;
45085
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
45085
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
45086
45086
  selectionMode?: "simple" | "multiple" | undefined;
45087
45087
  required?: boolean | undefined;
45088
45088
  placeholder?: string | Record<string, any> | undefined;
@@ -46189,7 +46189,7 @@ declare const FlowDtoSchema: z.ZodObject<{
46189
46189
  }[] | undefined;
46190
46190
  label?: string | Record<string, any> | undefined;
46191
46191
  conditions?: Record<string, any>[] | undefined;
46192
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
46192
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
46193
46193
  selectionMode?: "simple" | "multiple" | undefined;
46194
46194
  required?: boolean | undefined;
46195
46195
  placeholder?: string | Record<string, any> | undefined;
@@ -47298,7 +47298,7 @@ declare const FlowDtoSchema: z.ZodObject<{
47298
47298
  }[] | undefined;
47299
47299
  label?: string | Record<string, any> | undefined;
47300
47300
  conditions?: Record<string, any>[] | undefined;
47301
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
47301
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
47302
47302
  selectionMode?: "simple" | "multiple" | undefined;
47303
47303
  required?: boolean | undefined;
47304
47304
  placeholder?: string | Record<string, any> | undefined;
@@ -48407,7 +48407,7 @@ declare const FlowDtoSchema: z.ZodObject<{
48407
48407
  }[] | undefined;
48408
48408
  label?: string | Record<string, any> | undefined;
48409
48409
  conditions?: Record<string, any>[] | undefined;
48410
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
48410
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
48411
48411
  selectionMode?: "simple" | "multiple" | undefined;
48412
48412
  required?: boolean | undefined;
48413
48413
  placeholder?: string | Record<string, any> | undefined;
package/flow.types.d.ts CHANGED
@@ -7,7 +7,7 @@ declare const FieldTypeEnumSchema: z.ZodEnum<["text", "boolean", "number", "emai
7
7
  /**
8
8
  * Enum for field components.
9
9
  */
10
- declare const FieldComponentEnumSchema: z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>;
10
+ declare const FieldComponentEnumSchema: z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>;
11
11
  /**
12
12
  * Enum for field selection modes.
13
13
  */
@@ -4183,7 +4183,7 @@ declare const FieldDtoSchema: z.ZodObject<{
4183
4183
  /** Value of the field. */
4184
4184
  value: z.ZodOptional<z.ZodAny>;
4185
4185
  /** Component for the field. */
4186
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
4186
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
4187
4187
  /** Selection mode for the field. */
4188
4188
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
4189
4189
  /** Whether the field is required. */
@@ -6564,7 +6564,7 @@ declare const FieldDtoSchema: z.ZodObject<{
6564
6564
  }[] | undefined;
6565
6565
  label?: string | Record<string, any> | undefined;
6566
6566
  conditions?: Record<string, any>[] | undefined;
6567
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
6567
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
6568
6568
  selectionMode?: "simple" | "multiple" | undefined;
6569
6569
  required?: boolean | undefined;
6570
6570
  placeholder?: string | Record<string, any> | undefined;
@@ -6851,7 +6851,7 @@ declare const FieldDtoSchema: z.ZodObject<{
6851
6851
  }[] | undefined;
6852
6852
  label?: string | Record<string, any> | undefined;
6853
6853
  conditions?: Record<string, any>[] | undefined;
6854
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
6854
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
6855
6855
  selectionMode?: "simple" | "multiple" | undefined;
6856
6856
  required?: boolean | undefined;
6857
6857
  placeholder?: string | Record<string, any> | undefined;
@@ -10621,7 +10621,7 @@ declare const NodeDtoSchema: z.ZodObject<{
10621
10621
  /** Value of the field. */
10622
10622
  value: z.ZodOptional<z.ZodAny>;
10623
10623
  /** Component for the field. */
10624
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
10624
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
10625
10625
  /** Selection mode for the field. */
10626
10626
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
10627
10627
  /** Whether the field is required. */
@@ -13002,7 +13002,7 @@ declare const NodeDtoSchema: z.ZodObject<{
13002
13002
  }[] | undefined;
13003
13003
  label?: string | Record<string, any> | undefined;
13004
13004
  conditions?: Record<string, any>[] | undefined;
13005
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
13005
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
13006
13006
  selectionMode?: "simple" | "multiple" | undefined;
13007
13007
  required?: boolean | undefined;
13008
13008
  placeholder?: string | Record<string, any> | undefined;
@@ -13289,7 +13289,7 @@ declare const NodeDtoSchema: z.ZodObject<{
13289
13289
  }[] | undefined;
13290
13290
  label?: string | Record<string, any> | undefined;
13291
13291
  conditions?: Record<string, any>[] | undefined;
13292
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
13292
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
13293
13293
  selectionMode?: "simple" | "multiple" | undefined;
13294
13294
  required?: boolean | undefined;
13295
13295
  placeholder?: string | Record<string, any> | undefined;
@@ -20627,7 +20627,7 @@ declare const NodeDtoSchema: z.ZodObject<{
20627
20627
  }[] | undefined;
20628
20628
  label?: string | Record<string, any> | undefined;
20629
20629
  conditions?: Record<string, any>[] | undefined;
20630
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
20630
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
20631
20631
  selectionMode?: "simple" | "multiple" | undefined;
20632
20632
  required?: boolean | undefined;
20633
20633
  placeholder?: string | Record<string, any> | undefined;
@@ -21734,7 +21734,7 @@ declare const NodeDtoSchema: z.ZodObject<{
21734
21734
  }[] | undefined;
21735
21735
  label?: string | Record<string, any> | undefined;
21736
21736
  conditions?: Record<string, any>[] | undefined;
21737
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
21737
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
21738
21738
  selectionMode?: "simple" | "multiple" | undefined;
21739
21739
  required?: boolean | undefined;
21740
21740
  placeholder?: string | Record<string, any> | undefined;
@@ -22848,7 +22848,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
22848
22848
  /** Value of the field. */
22849
22849
  value: z.ZodOptional<z.ZodAny>;
22850
22850
  /** Component for the field. */
22851
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
22851
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
22852
22852
  /** Selection mode for the field. */
22853
22853
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
22854
22854
  /** Whether the field is required. */
@@ -25229,7 +25229,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
25229
25229
  }[] | undefined;
25230
25230
  label?: string | Record<string, any> | undefined;
25231
25231
  conditions?: Record<string, any>[] | undefined;
25232
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
25232
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
25233
25233
  selectionMode?: "simple" | "multiple" | undefined;
25234
25234
  required?: boolean | undefined;
25235
25235
  placeholder?: string | Record<string, any> | undefined;
@@ -25516,7 +25516,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
25516
25516
  }[] | undefined;
25517
25517
  label?: string | Record<string, any> | undefined;
25518
25518
  conditions?: Record<string, any>[] | undefined;
25519
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
25519
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
25520
25520
  selectionMode?: "simple" | "multiple" | undefined;
25521
25521
  required?: boolean | undefined;
25522
25522
  placeholder?: string | Record<string, any> | undefined;
@@ -32854,7 +32854,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
32854
32854
  }[] | undefined;
32855
32855
  label?: string | Record<string, any> | undefined;
32856
32856
  conditions?: Record<string, any>[] | undefined;
32857
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
32857
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
32858
32858
  selectionMode?: "simple" | "multiple" | undefined;
32859
32859
  required?: boolean | undefined;
32860
32860
  placeholder?: string | Record<string, any> | undefined;
@@ -33961,7 +33961,7 @@ declare const NodeListDtoSchema: z.ZodArray<z.ZodObject<{
33961
33961
  }[] | undefined;
33962
33962
  label?: string | Record<string, any> | undefined;
33963
33963
  conditions?: Record<string, any>[] | undefined;
33964
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
33964
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
33965
33965
  selectionMode?: "simple" | "multiple" | undefined;
33966
33966
  required?: boolean | undefined;
33967
33967
  placeholder?: string | Record<string, any> | undefined;
@@ -35076,7 +35076,7 @@ declare const FlowDtoSchema: z.ZodObject<{
35076
35076
  /** Value of the field. */
35077
35077
  value: z.ZodOptional<z.ZodAny>;
35078
35078
  /** Component for the field. */
35079
- component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map"]>>;
35079
+ component: z.ZodOptional<z.ZodEnum<["input", "textarea", "select", "radio", "checkbox", "switch", "carousel", "button", "label", "calendar", "map", "grid", "rating", "phone_input", "stripe_payment"]>>;
35080
35080
  /** Selection mode for the field. */
35081
35081
  selectionMode: z.ZodOptional<z.ZodEnum<["simple", "multiple"]>>;
35082
35082
  /** Whether the field is required. */
@@ -37457,7 +37457,7 @@ declare const FlowDtoSchema: z.ZodObject<{
37457
37457
  }[] | undefined;
37458
37458
  label?: string | Record<string, any> | undefined;
37459
37459
  conditions?: Record<string, any>[] | undefined;
37460
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
37460
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
37461
37461
  selectionMode?: "simple" | "multiple" | undefined;
37462
37462
  required?: boolean | undefined;
37463
37463
  placeholder?: string | Record<string, any> | undefined;
@@ -37744,7 +37744,7 @@ declare const FlowDtoSchema: z.ZodObject<{
37744
37744
  }[] | undefined;
37745
37745
  label?: string | Record<string, any> | undefined;
37746
37746
  conditions?: Record<string, any>[] | undefined;
37747
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
37747
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
37748
37748
  selectionMode?: "simple" | "multiple" | undefined;
37749
37749
  required?: boolean | undefined;
37750
37750
  placeholder?: string | Record<string, any> | undefined;
@@ -45082,7 +45082,7 @@ declare const FlowDtoSchema: z.ZodObject<{
45082
45082
  }[] | undefined;
45083
45083
  label?: string | Record<string, any> | undefined;
45084
45084
  conditions?: Record<string, any>[] | undefined;
45085
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
45085
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
45086
45086
  selectionMode?: "simple" | "multiple" | undefined;
45087
45087
  required?: boolean | undefined;
45088
45088
  placeholder?: string | Record<string, any> | undefined;
@@ -46189,7 +46189,7 @@ declare const FlowDtoSchema: z.ZodObject<{
46189
46189
  }[] | undefined;
46190
46190
  label?: string | Record<string, any> | undefined;
46191
46191
  conditions?: Record<string, any>[] | undefined;
46192
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
46192
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
46193
46193
  selectionMode?: "simple" | "multiple" | undefined;
46194
46194
  required?: boolean | undefined;
46195
46195
  placeholder?: string | Record<string, any> | undefined;
@@ -47298,7 +47298,7 @@ declare const FlowDtoSchema: z.ZodObject<{
47298
47298
  }[] | undefined;
47299
47299
  label?: string | Record<string, any> | undefined;
47300
47300
  conditions?: Record<string, any>[] | undefined;
47301
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
47301
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
47302
47302
  selectionMode?: "simple" | "multiple" | undefined;
47303
47303
  required?: boolean | undefined;
47304
47304
  placeholder?: string | Record<string, any> | undefined;
@@ -48407,7 +48407,7 @@ declare const FlowDtoSchema: z.ZodObject<{
48407
48407
  }[] | undefined;
48408
48408
  label?: string | Record<string, any> | undefined;
48409
48409
  conditions?: Record<string, any>[] | undefined;
48410
- component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | undefined;
48410
+ component?: "map" | "input" | "textarea" | "select" | "radio" | "checkbox" | "switch" | "carousel" | "button" | "label" | "calendar" | "grid" | "rating" | "phone_input" | "stripe_payment" | undefined;
48411
48411
  selectionMode?: "simple" | "multiple" | undefined;
48412
48412
  required?: boolean | undefined;
48413
48413
  placeholder?: string | Record<string, any> | undefined;
package/flow.types.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! @onlive.ai/flow-client v0.1.80 | © 2025 Onlive.ai */
2
- import{z as e}from"zod";var o=e.record(e.string(),e.any()).describe("Represents a plain literal object."),a=e.enum(["text","boolean","number","email","phone","mobile_phone","date","time","datetime","password","url","void","location","availability"]).describe("Enum for field types."),s=e.enum(["input","textarea","select","radio","checkbox","switch","carousel","button","label","calendar","map"]).describe("Enum for field components."),c=e.enum(["simple","multiple"]).describe("Enum for field selection modes."),d=e.enum(["hidden","disabled"]).describe("Enum for field dependent behaviors."),l=e.object({label:e.union([e.string(),o]).optional().describe("Label for the field item."),value:o.optional().describe("Value of the field item."),description:e.union([e.string(),o]).optional().describe("Description for the field item."),image:e.string().url().optional().describe("URL of an image for the field item."),nextNodeId:e.boolean().optional().describe("ID of the next node.")}).describe("Data transfer object for a field item."),p=e.enum(["property","httpRequest","mqRequest","function"]).describe("Enum for data provider source types."),t=e.object({exists:e.object({valueA:e.unknown(),valueB:e.boolean()}).optional().describe("Checks if a value exists."),equal:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if two values are equal."),notEqual:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if two values are not equal."),equalOrGreater:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is equal to or greater than valueB."),equalOrLess:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is equal to or less than valueB."),greater:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is greater than valueB."),less:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is less than valueB."),startsWith:e.object({valueA:e.string(),valueB:e.string()}).optional().describe("Checks if valueA starts with valueB."),contains:e.object({valueA:e.string(),valueB:e.string()}).optional().describe("Checks if valueA contains valueB."),includes:e.object({valueA:e.array(e.unknown()),valueB:e.unknown()}).optional().describe("Checks if valueA includes valueB.")}).describe("Data transfer object for conditional operators."),i=e.object({or:e.array(t).optional().describe("Array of OR conditions."),and:e.array(t).optional().describe("Array of AND conditions.")}).describe("Data transfer object for conditional group operators."),f=e.enum(["map","concat","filter","reduce","unique","join","flat","flatmap","sort","delete"]).describe("Enum for data transformer types."),b=e.object({type:f.describe("Type of the data transformer."),params:e.record(e.string(),e.any()).optional().describe("Parameters for the data transformer."),conditions:e.array(e.union([t,i])).optional().describe("Conditions for the data transformer."),require:e.array(e.string()).optional().describe("Required fields for the data transformer.")}).describe("Data transfer object for data transformers."),r=e.object({type:p.describe("Type of the data provider source."),name:e.string().optional().describe("Name of the data provider."),params:e.union([e.record(e.string(),e.unknown()),e.string()]).optional().describe("Parameters for the data provider."),persist:e.boolean().optional().describe("Whether to persist the data."),conditions:e.array(e.union([t,i])).optional().describe("Conditions for the data provider."),transformers:e.array(b).optional().describe("Transformers for the data provider."),require:e.array(e.string()).optional().describe("Required fields for the data provider.")}).describe("Data transfer object for data providers."),u=e.object({name:e.string().describe("Name of the field."),type:a.describe("Type of the field."),label:e.union([e.string(),o]).optional().describe("Label for the field."),value:e.any().optional().describe("Value of the field."),component:s.optional().describe("Component for the field."),selectionMode:c.optional().describe("Selection mode for the field."),required:e.boolean().optional().describe("Whether the field is required."),placeholder:e.union([e.string(),o]).optional().describe("Placeholder for the field."),options:e.array(l).optional().describe("Options for the field."),optionsProvider:r.optional().describe("Data provider for the field options."),configuration:o.optional().describe("Configuration for the field."),dependsOn:e.array(o).optional().describe("Fields that this field depends on."),dependentBehavior:d.optional().describe("Behavior of the field when its dependencies are not met."),conditions:e.array(o).optional().describe("Conditions for the field."),customError:o.optional().describe("Custom error message for the field.")}).describe("Data transfer object for a field."),h=e.enum(["submit","link","forward","script"]).describe("Enum for action types."),m=e.enum(["primary","secondary","success","warning","info","danger"]).describe("Enum for action variants."),v=e.object({src:e.string().url().describe("Source URL of the script."),preload:e.boolean().optional().describe("Whether to preload the script."),name:e.string().describe("Name of the script."),function:e.string().describe("Function to execute from the script."),params:e.record(e.string(),e.any()).optional().describe("Parameters for the script function.")}).describe("Data transfer object for scripts."),g=e.string().describe("Enum for pipeline function types. TODO: Replace z.string() with z.enum([...]) with actual pipeline function types."),y=o.describe("Data transfer object for fail flow. TODO: Define the actual structure for FailFlowSchema if it's not a plain literal object."),D=e.object({function:g.describe("Function type for the pipeline."),params:o.optional().describe("Parameters for the pipeline function."),conditions:e.array(e.union([t,i])).optional().describe("Conditions for the pipeline."),require:e.array(e.string()).optional().describe("Required fields for the pipeline."),onFail:y.optional().describe("Fail flow configuration.")}).describe("Data transfer object for an action pipeline."),j=e.object({id:e.string().describe("ID of the action."),label:e.union([e.string(),o]).optional().describe("Label for the action."),type:h.describe("Type of the action."),variant:m.optional().describe("Variant of the action."),url:e.string().optional().describe("URL for link-type actions."),pipeline:e.array(D).optional().describe("Pipeline for the action."),conditions:e.array(o).optional().describe("Conditions for the action."),nextStepId:e.string().optional().describe("ID of the next step."),scripts:e.array(v).optional().describe("Scripts associated with the action.")}).describe("Data transfer object for an action."),x=e.object({conditions:e.array(e.union([t,i])).optional().describe("Conditions for the routing rule."),nextStepId:e.string().describe("ID of the next step if conditions are met.")}).describe("Data transfer object for routing."),n=e.object({id:e.string().describe("ID of the node."),initialNode:e.boolean().optional().describe("Whether this is the initial node."),finalNode:e.boolean().optional().describe("Whether this is a final node."),title:e.union([e.string(),o]).optional().describe("Title of the node."),description:e.string().optional().describe("Description of the node."),fields:e.array(u).optional().describe("Fields in the node."),actions:e.array(j).optional().describe("Actions available in the node."),routing:e.array(x).optional().describe("Routing rules for the node."),stateProviders:e.array(r).optional().describe("Data providers for state management."),trackingProviders:e.array(r).optional().describe("Data providers for tracking."),stageId:e.string().optional().describe("ID of the stage this node belongs to."),translations:o.optional().describe("Translations for the node.")}).describe("Data transfer object for a node."),w=e.array(n).describe("List of nodes."),k=e.object({nodes:e.array(n).describe("List of nodes.")});export{j as ActionDtoSchema,D as ActionPipelineDtoSchema,h as ActionTypeEnumSchema,m as ActionVariantEnumSchema,i as ConditionalGroupOperatorDtoSchema,t as ConditionalOperatorDtoSchema,r as DataProviderDtoSchema,p as DataProviderSourceTypeSchema,b as DataTransformerDtoSchema,f as DataTransformerTypeSchema,y as FailFlowSchema,s as FieldComponentEnumSchema,d as FieldDependentBehaviorEnumSchema,u as FieldDtoSchema,l as FieldItemDtoSchema,c as FieldSelectionModeSchema,a as FieldTypeEnumSchema,k as FlowDtoSchema,n as NodeDtoSchema,w as NodeListDtoSchema,g as PipelineFunctionTypeSchema,x as RoutingDtoSchema,v as ScriptsDtoSchema};
1
+ /*! @onlive.ai/flow-client v0.1.209 | © 2026 Onlive.ai */
2
+ import{z as e}from"zod";var o=e.record(e.string(),e.any()).describe("Represents a plain literal object."),a=e.enum(["text","boolean","number","email","phone","mobile_phone","date","time","datetime","password","url","void","location","availability"]).describe("Enum for field types."),s=e.enum(["input","textarea","select","radio","checkbox","switch","carousel","button","label","calendar","map","grid","rating","phone_input","stripe_payment"]).describe("Enum for field components."),c=e.enum(["simple","multiple"]).describe("Enum for field selection modes."),d=e.enum(["hidden","disabled"]).describe("Enum for field dependent behaviors."),l=e.object({label:e.union([e.string(),o]).optional().describe("Label for the field item."),value:o.optional().describe("Value of the field item."),description:e.union([e.string(),o]).optional().describe("Description for the field item."),image:e.string().url().optional().describe("URL of an image for the field item."),nextNodeId:e.boolean().optional().describe("ID of the next node.")}).describe("Data transfer object for a field item."),p=e.enum(["property","httpRequest","mqRequest","function"]).describe("Enum for data provider source types."),t=e.object({exists:e.object({valueA:e.unknown(),valueB:e.boolean()}).optional().describe("Checks if a value exists."),equal:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if two values are equal."),notEqual:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if two values are not equal."),equalOrGreater:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is equal to or greater than valueB."),equalOrLess:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is equal to or less than valueB."),greater:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is greater than valueB."),less:e.object({valueA:e.unknown(),valueB:e.unknown()}).optional().describe("Checks if valueA is less than valueB."),startsWith:e.object({valueA:e.string(),valueB:e.string()}).optional().describe("Checks if valueA starts with valueB."),contains:e.object({valueA:e.string(),valueB:e.string()}).optional().describe("Checks if valueA contains valueB."),includes:e.object({valueA:e.array(e.unknown()),valueB:e.unknown()}).optional().describe("Checks if valueA includes valueB.")}).describe("Data transfer object for conditional operators."),i=e.object({or:e.array(t).optional().describe("Array of OR conditions."),and:e.array(t).optional().describe("Array of AND conditions.")}).describe("Data transfer object for conditional group operators."),f=e.enum(["map","concat","filter","reduce","unique","join","flat","flatmap","sort","delete"]).describe("Enum for data transformer types."),b=e.object({type:f.describe("Type of the data transformer."),params:e.record(e.string(),e.any()).optional().describe("Parameters for the data transformer."),conditions:e.array(e.union([t,i])).optional().describe("Conditions for the data transformer."),require:e.array(e.string()).optional().describe("Required fields for the data transformer.")}).describe("Data transfer object for data transformers."),r=e.object({type:p.describe("Type of the data provider source."),name:e.string().optional().describe("Name of the data provider."),params:e.union([e.record(e.string(),e.unknown()),e.string()]).optional().describe("Parameters for the data provider."),persist:e.boolean().optional().describe("Whether to persist the data."),conditions:e.array(e.union([t,i])).optional().describe("Conditions for the data provider."),transformers:e.array(b).optional().describe("Transformers for the data provider."),require:e.array(e.string()).optional().describe("Required fields for the data provider.")}).describe("Data transfer object for data providers."),u=e.object({name:e.string().describe("Name of the field."),type:a.describe("Type of the field."),label:e.union([e.string(),o]).optional().describe("Label for the field."),value:e.any().optional().describe("Value of the field."),component:s.optional().describe("Component for the field."),selectionMode:c.optional().describe("Selection mode for the field."),required:e.boolean().optional().describe("Whether the field is required."),placeholder:e.union([e.string(),o]).optional().describe("Placeholder for the field."),options:e.array(l).optional().describe("Options for the field."),optionsProvider:r.optional().describe("Data provider for the field options."),configuration:o.optional().describe("Configuration for the field."),dependsOn:e.array(o).optional().describe("Fields that this field depends on."),dependentBehavior:d.optional().describe("Behavior of the field when its dependencies are not met."),conditions:e.array(o).optional().describe("Conditions for the field."),customError:o.optional().describe("Custom error message for the field.")}).describe("Data transfer object for a field."),h=e.enum(["submit","link","forward","script"]).describe("Enum for action types."),m=e.enum(["primary","secondary","success","warning","info","danger"]).describe("Enum for action variants."),v=e.object({src:e.string().url().describe("Source URL of the script."),preload:e.boolean().optional().describe("Whether to preload the script."),name:e.string().describe("Name of the script."),function:e.string().describe("Function to execute from the script."),params:e.record(e.string(),e.any()).optional().describe("Parameters for the script function.")}).describe("Data transfer object for scripts."),g=e.string().describe("Enum for pipeline function types. TODO: Replace z.string() with z.enum([...]) with actual pipeline function types."),y=o.describe("Data transfer object for fail flow. TODO: Define the actual structure for FailFlowSchema if it's not a plain literal object."),D=e.object({function:g.describe("Function type for the pipeline."),params:o.optional().describe("Parameters for the pipeline function."),conditions:e.array(e.union([t,i])).optional().describe("Conditions for the pipeline."),require:e.array(e.string()).optional().describe("Required fields for the pipeline."),onFail:y.optional().describe("Fail flow configuration.")}).describe("Data transfer object for an action pipeline."),j=e.object({id:e.string().describe("ID of the action."),label:e.union([e.string(),o]).optional().describe("Label for the action."),type:h.describe("Type of the action."),variant:m.optional().describe("Variant of the action."),url:e.string().optional().describe("URL for link-type actions."),pipeline:e.array(D).optional().describe("Pipeline for the action."),conditions:e.array(o).optional().describe("Conditions for the action."),nextStepId:e.string().optional().describe("ID of the next step."),scripts:e.array(v).optional().describe("Scripts associated with the action.")}).describe("Data transfer object for an action."),x=e.object({conditions:e.array(e.union([t,i])).optional().describe("Conditions for the routing rule."),nextStepId:e.string().describe("ID of the next step if conditions are met.")}).describe("Data transfer object for routing."),n=e.object({id:e.string().describe("ID of the node."),initialNode:e.boolean().optional().describe("Whether this is the initial node."),finalNode:e.boolean().optional().describe("Whether this is a final node."),title:e.union([e.string(),o]).optional().describe("Title of the node."),description:e.string().optional().describe("Description of the node."),fields:e.array(u).optional().describe("Fields in the node."),actions:e.array(j).optional().describe("Actions available in the node."),routing:e.array(x).optional().describe("Routing rules for the node."),stateProviders:e.array(r).optional().describe("Data providers for state management."),trackingProviders:e.array(r).optional().describe("Data providers for tracking."),stageId:e.string().optional().describe("ID of the stage this node belongs to."),translations:o.optional().describe("Translations for the node.")}).describe("Data transfer object for a node."),w=e.array(n).describe("List of nodes."),k=e.object({nodes:e.array(n).describe("List of nodes.")});export{j as ActionDtoSchema,D as ActionPipelineDtoSchema,h as ActionTypeEnumSchema,m as ActionVariantEnumSchema,i as ConditionalGroupOperatorDtoSchema,t as ConditionalOperatorDtoSchema,r as DataProviderDtoSchema,p as DataProviderSourceTypeSchema,b as DataTransformerDtoSchema,f as DataTransformerTypeSchema,y as FailFlowSchema,s as FieldComponentEnumSchema,d as FieldDependentBehaviorEnumSchema,u as FieldDtoSchema,l as FieldItemDtoSchema,c as FieldSelectionModeSchema,a as FieldTypeEnumSchema,k as FlowDtoSchema,n as NodeDtoSchema,w as NodeListDtoSchema,g as PipelineFunctionTypeSchema,x as RoutingDtoSchema,v as ScriptsDtoSchema};