@onlive.ai/flow-client 0.1.239 → 0.1.271
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/client.service.cjs +2 -2
- package/client/client.service.d.cts +7 -0
- package/client/client.service.d.ts +7 -0
- package/client/client.service.js +2 -2
- package/client/client.service.spec.cjs +2 -2
- package/client/client.types.cjs +2 -2
- package/client/client.types.d.cts +734 -153
- package/client/client.types.d.ts +734 -153
- package/client/client.types.js +2 -2
- package/flow.types.cjs +1 -1
- package/flow.types.js +1 -1
- package/index.cjs +2 -2
- package/index.d.cts +1 -1
- package/index.d.ts +1 -1
- package/index.iife.js +2 -0
- package/index.js +2 -2
- package/package.json +8 -7
- package/schema-generator.cjs +1 -1
- package/schema-generator.js +1 -1
- package/tracking/tracking.service.cjs +2 -2
- package/tracking/tracking.service.d.cts +9 -0
- package/tracking/tracking.service.d.ts +9 -0
- package/tracking/tracking.service.js +2 -2
- package/tracking/tracking.types.cjs +1 -1
- package/tracking/tracking.types.d.cts +64 -0
- package/tracking/tracking.types.d.ts +64 -0
- package/tracking/tracking.types.js +1 -1
package/schema-generator.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @onlive.ai/flow-client v0.1.
|
|
1
|
+
/*! @onlive.ai/flow-client v0.1.271 | © 2026 Onlive.ai */
|
|
2
2
|
"use strict";var he=require("fs");var M=Symbol("Let zodToJsonSchema decide on which parser to use");var E={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},R=e=>typeof e=="string"?{...E,name:e}:{...E,...e};var $=e=>{let t=R(e),r=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([n,o])=>[o._def,{def:o._def,path:[...t.basePath,t.definitionPath,n],jsonSchema:void 0}]))}};function O(e,t,r,n){n?.errorMessages&&r&&(e.errorMessage={...e.errorMessage,[t]:r})}function u(e,t,r,n,o){e[t]=r,O(e,t,n,o)}var P=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")};var c=require("zod/v3");function d(e){if(e.target!=="openAi")return{};let t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:e.$refStrategy==="relative"?P(t,e.currentPath):t.join("/")}}var L=require("zod/v3");function C(e,t){let r={type:"array"};return e.type?._def&&e.type?._def?.typeName!==L.ZodFirstPartyTypeKind.ZodAny&&(r.items=i(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&u(r,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&u(r,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(u(r,"minItems",e.exactLength.value,e.exactLength.message,t),u(r,"maxItems",e.exactLength.value,e.exactLength.message,t)),r}function I(e,t){let r={type:"integer",format:"int64"};if(!e.checks)return r;for(let n of e.checks)switch(n.kind){case"min":t.target==="jsonSchema7"?n.inclusive?u(r,"minimum",n.value,n.message,t):u(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),u(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?u(r,"maximum",n.value,n.message,t):u(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),u(r,"maximum",n.value,n.message,t));break;case"multipleOf":u(r,"multipleOf",n.value,n.message,t);break}return r}function z(){return{type:"boolean"}}function k(e,t){return i(e.type._def,t)}var B=(e,t)=>i(e.innerType._def,t);function Z(e,t,r){let n=r??t.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((o,s)=>Z(e,t,o))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return ge(e,t)}}var ge=(e,t)=>{let r={type:"integer",format:"unix-time"};if(t.target==="openApi3")return r;for(let n of e.checks)switch(n.kind){case"min":u(r,"minimum",n.value,n.message,t);break;case"max":u(r,"maximum",n.value,n.message,t);break}return r};function q(e,t){return{...i(e.innerType._def,t),default:e.defaultValue()}}function U(e,t){return t.effectStrategy==="input"?i(e.schema._def,t):d(t)}function V(e){return{type:"string",enum:Array.from(e.values)}}var ye=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function W(e,t){let r=[i(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),i(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(s=>!!s),n=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,o=[];return r.forEach(s=>{if(ye(s))o.push(...s.allOf),s.unevaluatedProperties===void 0&&(n=void 0);else{let l=s;if("additionalProperties"in s&&s.additionalProperties===!1){let{additionalProperties:m,...p}=s;l=p}else n=void 0;o.push(l)}}),o.length?{allOf:o,...n}:void 0}function J(e,t){let r=typeof e.value;return r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:r==="bigint"?"integer":r,enum:[e.value]}:{type:r==="bigint"?"integer":r,const:e.value}}var v=require("zod/v3");var w,g={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(w===void 0&&(w=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),w),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function S(e,t){let r={type:"string"};if(e.checks)for(let n of e.checks)switch(n.kind){case"min":u(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t);break;case"max":u(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"email":switch(t.emailStrategy){case"format:email":y(r,"email",n.message,t);break;case"format:idn-email":y(r,"idn-email",n.message,t);break;case"pattern:zod":f(r,g.email,n.message,t);break}break;case"url":y(r,"uri",n.message,t);break;case"uuid":y(r,"uuid",n.message,t);break;case"regex":f(r,n.regex,n.message,t);break;case"cuid":f(r,g.cuid,n.message,t);break;case"cuid2":f(r,g.cuid2,n.message,t);break;case"startsWith":f(r,RegExp(`^${T(n.value,t)}`),n.message,t);break;case"endsWith":f(r,RegExp(`${T(n.value,t)}$`),n.message,t);break;case"datetime":y(r,"date-time",n.message,t);break;case"date":y(r,"date",n.message,t);break;case"time":y(r,"time",n.message,t);break;case"duration":y(r,"duration",n.message,t);break;case"length":u(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t),u(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"includes":{f(r,RegExp(T(n.value,t)),n.message,t);break}case"ip":{n.version!=="v6"&&y(r,"ipv4",n.message,t),n.version!=="v4"&&y(r,"ipv6",n.message,t);break}case"base64url":f(r,g.base64url,n.message,t);break;case"jwt":f(r,g.jwt,n.message,t);break;case"cidr":{n.version!=="v6"&&f(r,g.ipv4Cidr,n.message,t),n.version!=="v4"&&f(r,g.ipv6Cidr,n.message,t);break}case"emoji":f(r,g.emoji(),n.message,t);break;case"ulid":{f(r,g.ulid,n.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{y(r,"binary",n.message,t);break}case"contentEncoding:base64":{u(r,"contentEncoding","base64",n.message,t);break}case"pattern:zod":{f(r,g.base64,n.message,t);break}}break}case"nanoid":f(r,g.nanoid,n.message,t);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return r}function T(e,t){return t.patternStrategy==="escape"?ve(e):e}var be=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function ve(e){let t="";for(let r=0;r<e.length;r++)be.has(e[r])||(t+="\\"),t+=e[r];return t}function y(e,t,r,n){e.format||e.anyOf?.some(o=>o.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&n.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):u(e,"format",t,r,n)}function f(e,t,r,n){e.pattern||e.allOf?.some(o=>o.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&n.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:K(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):u(e,"pattern",K(t,n),r,n)}function K(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let r={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},n=r.i?e.source.toLowerCase():e.source,o="",s=!1,l=!1,m=!1;for(let p=0;p<n.length;p++){if(s){o+=n[p],s=!1;continue}if(r.i){if(l){if(n[p].match(/[a-z]/)){m?(o+=n[p],o+=`${n[p-2]}-${n[p]}`.toUpperCase(),m=!1):n[p+1]==="-"&&n[p+2]?.match(/[a-z]/)?(o+=n[p],m=!0):o+=`${n[p]}${n[p].toUpperCase()}`;continue}}else if(n[p].match(/[a-z]/)){o+=`[${n[p]}${n[p].toUpperCase()}]`;continue}}if(r.m){if(n[p]==="^"){o+=`(^|(?<=[\r
|
|
3
3
|
]))`;continue}else if(n[p]==="$"){o+=`($|(?=[\r
|
|
4
4
|
]))`;continue}}if(r.s&&n[p]==="."){o+=l?`${n[p]}\r
|
package/schema-generator.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @onlive.ai/flow-client v0.1.
|
|
1
|
+
/*! @onlive.ai/flow-client v0.1.271 | © 2026 Onlive.ai */
|
|
2
2
|
import{writeFileSync as Ie}from"fs";var M=Symbol("Let zodToJsonSchema decide on which parser to use");var E={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},R=e=>typeof e=="string"?{...E,name:e}:{...E,...e};var $=e=>{let t=R(e),r=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([n,o])=>[o._def,{def:o._def,path:[...t.basePath,t.definitionPath,n],jsonSchema:void 0}]))}};function O(e,t,r,n){n?.errorMessages&&r&&(e.errorMessage={...e.errorMessage,[t]:r})}function u(e,t,r,n,o){e[t]=r,O(e,t,n,o)}var P=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")};import{ZodFirstPartyTypeKind as c}from"zod/v3";function d(e){if(e.target!=="openAi")return{};let t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:e.$refStrategy==="relative"?P(t,e.currentPath):t.join("/")}}import{ZodFirstPartyTypeKind as fe}from"zod/v3";function L(e,t){let r={type:"array"};return e.type?._def&&e.type?._def?.typeName!==fe.ZodAny&&(r.items=i(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&u(r,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&u(r,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(u(r,"minItems",e.exactLength.value,e.exactLength.message,t),u(r,"maxItems",e.exactLength.value,e.exactLength.message,t)),r}function C(e,t){let r={type:"integer",format:"int64"};if(!e.checks)return r;for(let n of e.checks)switch(n.kind){case"min":t.target==="jsonSchema7"?n.inclusive?u(r,"minimum",n.value,n.message,t):u(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),u(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?u(r,"maximum",n.value,n.message,t):u(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),u(r,"maximum",n.value,n.message,t));break;case"multipleOf":u(r,"multipleOf",n.value,n.message,t);break}return r}function I(){return{type:"boolean"}}function k(e,t){return i(e.type._def,t)}var z=(e,t)=>i(e.innerType._def,t);function Z(e,t,r){let n=r??t.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((o,s)=>Z(e,t,o))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return he(e,t)}}var he=(e,t)=>{let r={type:"integer",format:"unix-time"};if(t.target==="openApi3")return r;for(let n of e.checks)switch(n.kind){case"min":u(r,"minimum",n.value,n.message,t);break;case"max":u(r,"maximum",n.value,n.message,t);break}return r};function B(e,t){return{...i(e.innerType._def,t),default:e.defaultValue()}}function q(e,t){return t.effectStrategy==="input"?i(e.schema._def,t):d(t)}function U(e){return{type:"string",enum:Array.from(e.values)}}var ge=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function V(e,t){let r=[i(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),i(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(s=>!!s),n=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,o=[];return r.forEach(s=>{if(ge(s))o.push(...s.allOf),s.unevaluatedProperties===void 0&&(n=void 0);else{let l=s;if("additionalProperties"in s&&s.additionalProperties===!1){let{additionalProperties:m,...p}=s;l=p}else n=void 0;o.push(l)}}),o.length?{allOf:o,...n}:void 0}function W(e,t){let r=typeof e.value;return r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:r==="bigint"?"integer":r,enum:[e.value]}:{type:r==="bigint"?"integer":r,const:e.value}}import{ZodFirstPartyTypeKind as x}from"zod/v3";var w,g={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(w===void 0&&(w=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),w),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function S(e,t){let r={type:"string"};if(e.checks)for(let n of e.checks)switch(n.kind){case"min":u(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t);break;case"max":u(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"email":switch(t.emailStrategy){case"format:email":y(r,"email",n.message,t);break;case"format:idn-email":y(r,"idn-email",n.message,t);break;case"pattern:zod":f(r,g.email,n.message,t);break}break;case"url":y(r,"uri",n.message,t);break;case"uuid":y(r,"uuid",n.message,t);break;case"regex":f(r,n.regex,n.message,t);break;case"cuid":f(r,g.cuid,n.message,t);break;case"cuid2":f(r,g.cuid2,n.message,t);break;case"startsWith":f(r,RegExp(`^${T(n.value,t)}`),n.message,t);break;case"endsWith":f(r,RegExp(`${T(n.value,t)}$`),n.message,t);break;case"datetime":y(r,"date-time",n.message,t);break;case"date":y(r,"date",n.message,t);break;case"time":y(r,"time",n.message,t);break;case"duration":y(r,"duration",n.message,t);break;case"length":u(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t),u(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"includes":{f(r,RegExp(T(n.value,t)),n.message,t);break}case"ip":{n.version!=="v6"&&y(r,"ipv4",n.message,t),n.version!=="v4"&&y(r,"ipv6",n.message,t);break}case"base64url":f(r,g.base64url,n.message,t);break;case"jwt":f(r,g.jwt,n.message,t);break;case"cidr":{n.version!=="v6"&&f(r,g.ipv4Cidr,n.message,t),n.version!=="v4"&&f(r,g.ipv6Cidr,n.message,t);break}case"emoji":f(r,g.emoji(),n.message,t);break;case"ulid":{f(r,g.ulid,n.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{y(r,"binary",n.message,t);break}case"contentEncoding:base64":{u(r,"contentEncoding","base64",n.message,t);break}case"pattern:zod":{f(r,g.base64,n.message,t);break}}break}case"nanoid":f(r,g.nanoid,n.message,t);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return r}function T(e,t){return t.patternStrategy==="escape"?be(e):e}var ye=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function be(e){let t="";for(let r=0;r<e.length;r++)ye.has(e[r])||(t+="\\"),t+=e[r];return t}function y(e,t,r,n){e.format||e.anyOf?.some(o=>o.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&n.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):u(e,"format",t,r,n)}function f(e,t,r,n){e.pattern||e.allOf?.some(o=>o.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&n.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:J(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):u(e,"pattern",J(t,n),r,n)}function J(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let r={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},n=r.i?e.source.toLowerCase():e.source,o="",s=!1,l=!1,m=!1;for(let p=0;p<n.length;p++){if(s){o+=n[p],s=!1;continue}if(r.i){if(l){if(n[p].match(/[a-z]/)){m?(o+=n[p],o+=`${n[p-2]}-${n[p]}`.toUpperCase(),m=!1):n[p+1]==="-"&&n[p+2]?.match(/[a-z]/)?(o+=n[p],m=!0):o+=`${n[p]}${n[p].toUpperCase()}`;continue}}else if(n[p].match(/[a-z]/)){o+=`[${n[p]}${n[p].toUpperCase()}]`;continue}}if(r.m){if(n[p]==="^"){o+=`(^|(?<=[\r
|
|
3
3
|
]))`;continue}else if(n[p]==="$"){o+=`($|(?=[\r
|
|
4
4
|
]))`;continue}}if(r.s&&n[p]==="."){o+=l?`${n[p]}\r
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/flow-client v0.1.
|
|
2
|
-
"use strict";var
|
|
1
|
+
/*! @onlive.ai/flow-client v0.1.271 | © 2026 Onlive.ai */
|
|
2
|
+
"use strict";var k=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var y=(s,t)=>{for(var e in t)k(s,e,{get:t[e],enumerable:!0})},N=(s,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of h(t))!T.call(s,i)&&i!==e&&k(s,i,{get:()=>t[i],enumerable:!(a=E(t,i))||a.enumerable});return s};var O=s=>N(k({},"__esModule",{value:!0}),s);var S={};y(S,{TrackingService:()=>m,default:()=>b});module.exports=O(S);var g=require("@onlive.ai/common-121/utils/browser-preferences.js"),f=require("@onlive.ai/common-121/utils/merge.js"),p=require("@onlive.ai/tracker/session"),_=require("@onlive.ai/tracker/tracker");var n=require("zod"),d="flow_form",l="onlive-analytics-event",v=n.z.object({enabled:n.z.boolean().default(!1).optional(),conditions:n.z.custom().optional(),data:n.z.custom().optional(),removeExtraneousValues:n.z.boolean().default(!0).optional(),allowBotTraffic:n.z.boolean().default(!1).optional(),adapters:n.z.array(n.z.string()).default([]).optional(),apiUrl:n.z.string().url().optional(),emitters:n.z.object({windowEvent:n.z.boolean().optional(),dataLayer:n.z.boolean().optional(),windowPostMessage:n.z.boolean().optional()}).optional()});var m=class s{static DEFAULT_TRACK_SEND_OPTIONS={keepalive:!0};taskSuccessMappers={create_i_event_registration:t=>({task_name:"ievent_registration",task_data:this.getRecord(t.fields)})};options;tracker;eventListeners=[];constructor(t,e,a,i){this.options=v.parse(a),this.tracker=new _.Tracker({apiUrl:this.options.apiUrl||"",conditions:this.options.conditions,removeExtraneousValues:this.options.removeExtraneousValues,allowBotTraffic:this.options.allowBotTraffic,adapters:this.options.adapters,dryRun:i}),this.tracker.setBase((0,f.merge)({},{organization_id:t,page_url:window.location.href,page_referrer:document.referrer,origin_medium:"web",guest_id:p.Session.id,interaction_id:p.Session.interactionId,extra:{flow_id:e}},this.options.data)),window.addEventListener(l,({detail:r})=>r?.event&&r?.data&&this.emit(r.event,r.data))}getTracker(){return this.tracker}preferences(){return{...(0,g.browserPreferences)(),interactionId:p.Session.interactionId,guestId:p.Session.id}}analyzeRequest(t,e){"currentStepId"in t&&(t.actionId&&this.track("element_click",{element_label:t.actionId,element_type:"button",form_name:Object.keys(e.fields||{}).length?d:void 0}),e.fields&&Object.keys(e.fields).length&&this.track("form_submit",{form_name:d,form_data:e.fields}))}analyzeResponse(t,e){let a=this.getTrackingEntries(e.step.result?.tracking),i={};a.forEach(r=>{let{trackingAction:o,...c}=r;(!o||o==="SET_BASE_DATA")&&(delete c.eventName,delete c.eventData,Object.assign(i,c))}),this.tracker.setBase({form_name:d,step_name:e.step.id,step_number:e.step.number,step_initial:!("currentStepId"in t)||void 0,step_final:e.step.isFinal,...i}),"currentStepId"in t&&(e.step.result?.pipelines&&e.step.result.pipelines.forEach(r=>{let o=this.mapTaskSuccessPipeline({name:r.name,data:this.getRecord(r.data)});this.track("task_success",{task_name:o.task_name,task_data:o.task_data})}),e.step.error&&this.track("form_error",{form_error:e.step.error.code})),a.forEach(r=>{let{trackingAction:o,eventName:c,eventData:u}=r;o==="EMIT_EVENT"&&typeof c=="string"&&c&&this.send(c,this.getRecord(u))}),this.track("impression",{impression_type:"step"})}track(t,e){this.tracker.send(t,e,s.DEFAULT_TRACK_SEND_OPTIONS)}send(t,e){this.track(t,e)}setData(t){this.tracker.setBase(t)}onEvent(t){this.eventListeners.push(t)}emit(t,e){this.eventListeners.forEach(a=>a({event:t,data:e}))}mapTaskSuccessPipeline(t){let e=this.taskSuccessMappers[t.name];if(!e)return{task_name:this.normalizeTaskName(t.name),task_data:t.data};let a=e(t.data);return{...a,task_name:this.normalizeTaskName(a.task_name)}}normalizeTaskName(t){return t.replace(/_v4$/,"")}getRecord(t){return!t||typeof t!="object"||Array.isArray(t)?{}:t}getTrackingEntries(t){if(Array.isArray(t))return t.map(a=>this.getRecord(a)).filter(a=>Object.keys(a).length>0);let e=this.getRecord(t);return Object.keys(e).length>0?[e]:[]}},b=m;0&&(module.exports={TrackingService});
|
|
@@ -10,6 +10,11 @@ import 'zod';
|
|
|
10
10
|
* for user interactions in the application flow
|
|
11
11
|
*/
|
|
12
12
|
declare class TrackingService {
|
|
13
|
+
/**
|
|
14
|
+
* Default options used for outbound tracker events.
|
|
15
|
+
* keepalive helps prevent event loss during navigation/unload.
|
|
16
|
+
*/
|
|
17
|
+
private static readonly DEFAULT_TRACK_SEND_OPTIONS;
|
|
13
18
|
/**
|
|
14
19
|
* Mapping functions used to transform pipeline payloads before sending `task_success` events.
|
|
15
20
|
*
|
|
@@ -70,6 +75,10 @@ declare class TrackingService {
|
|
|
70
75
|
analyzeResponse(trigger: GetStepTrigger | {
|
|
71
76
|
stepId?: string;
|
|
72
77
|
}, flowContext: FlowContext): void;
|
|
78
|
+
/**
|
|
79
|
+
* Sends an event using default transport options for improved delivery reliability.
|
|
80
|
+
*/
|
|
81
|
+
private track;
|
|
73
82
|
/**
|
|
74
83
|
* Sends an event to the tracker.
|
|
75
84
|
*
|
|
@@ -10,6 +10,11 @@ import 'zod';
|
|
|
10
10
|
* for user interactions in the application flow
|
|
11
11
|
*/
|
|
12
12
|
declare class TrackingService {
|
|
13
|
+
/**
|
|
14
|
+
* Default options used for outbound tracker events.
|
|
15
|
+
* keepalive helps prevent event loss during navigation/unload.
|
|
16
|
+
*/
|
|
17
|
+
private static readonly DEFAULT_TRACK_SEND_OPTIONS;
|
|
13
18
|
/**
|
|
14
19
|
* Mapping functions used to transform pipeline payloads before sending `task_success` events.
|
|
15
20
|
*
|
|
@@ -70,6 +75,10 @@ declare class TrackingService {
|
|
|
70
75
|
analyzeResponse(trigger: GetStepTrigger | {
|
|
71
76
|
stepId?: string;
|
|
72
77
|
}, flowContext: FlowContext): void;
|
|
78
|
+
/**
|
|
79
|
+
* Sends an event using default transport options for improved delivery reliability.
|
|
80
|
+
*/
|
|
81
|
+
private track;
|
|
73
82
|
/**
|
|
74
83
|
* Sends an event to the tracker.
|
|
75
84
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/flow-client v0.1.
|
|
2
|
-
|
|
1
|
+
/*! @onlive.ai/flow-client v0.1.271 | © 2026 Onlive.ai */
|
|
2
|
+
import{browserPreferences as g}from"@onlive.ai/common-121/utils/browser-preferences.js";import{merge as f}from"@onlive.ai/common-121/utils/merge.js";import{Session as p}from"@onlive.ai/tracker/session";import{Tracker as _}from"@onlive.ai/tracker/tracker";import{z as n}from"zod";var c="flow_form",m="onlive-analytics-event",k=n.object({enabled:n.boolean().default(!1).optional(),conditions:n.custom().optional(),data:n.custom().optional(),removeExtraneousValues:n.boolean().default(!0).optional(),allowBotTraffic:n.boolean().default(!1).optional(),adapters:n.array(n.string()).default([]).optional(),apiUrl:n.string().url().optional(),emitters:n.object({windowEvent:n.boolean().optional(),dataLayer:n.boolean().optional(),windowPostMessage:n.boolean().optional()}).optional()});var d=class l{static DEFAULT_TRACK_SEND_OPTIONS={keepalive:!0};taskSuccessMappers={create_i_event_registration:t=>({task_name:"ievent_registration",task_data:this.getRecord(t.fields)})};options;tracker;eventListeners=[];constructor(t,e,a,o){this.options=k.parse(a),this.tracker=new _({apiUrl:this.options.apiUrl||"",conditions:this.options.conditions,removeExtraneousValues:this.options.removeExtraneousValues,allowBotTraffic:this.options.allowBotTraffic,adapters:this.options.adapters,dryRun:o}),this.tracker.setBase(f({},{organization_id:t,page_url:window.location.href,page_referrer:document.referrer,origin_medium:"web",guest_id:p.id,interaction_id:p.interactionId,extra:{flow_id:e}},this.options.data)),window.addEventListener(m,({detail:r})=>r?.event&&r?.data&&this.emit(r.event,r.data))}getTracker(){return this.tracker}preferences(){return{...g(),interactionId:p.interactionId,guestId:p.id}}analyzeRequest(t,e){"currentStepId"in t&&(t.actionId&&this.track("element_click",{element_label:t.actionId,element_type:"button",form_name:Object.keys(e.fields||{}).length?c:void 0}),e.fields&&Object.keys(e.fields).length&&this.track("form_submit",{form_name:c,form_data:e.fields}))}analyzeResponse(t,e){let a=this.getTrackingEntries(e.step.result?.tracking),o={};a.forEach(r=>{let{trackingAction:i,...s}=r;(!i||i==="SET_BASE_DATA")&&(delete s.eventName,delete s.eventData,Object.assign(o,s))}),this.tracker.setBase({form_name:c,step_name:e.step.id,step_number:e.step.number,step_initial:!("currentStepId"in t)||void 0,step_final:e.step.isFinal,...o}),"currentStepId"in t&&(e.step.result?.pipelines&&e.step.result.pipelines.forEach(r=>{let i=this.mapTaskSuccessPipeline({name:r.name,data:this.getRecord(r.data)});this.track("task_success",{task_name:i.task_name,task_data:i.task_data})}),e.step.error&&this.track("form_error",{form_error:e.step.error.code})),a.forEach(r=>{let{trackingAction:i,eventName:s,eventData:v}=r;i==="EMIT_EVENT"&&typeof s=="string"&&s&&this.send(s,this.getRecord(v))}),this.track("impression",{impression_type:"step"})}track(t,e){this.tracker.send(t,e,l.DEFAULT_TRACK_SEND_OPTIONS)}send(t,e){this.track(t,e)}setData(t){this.tracker.setBase(t)}onEvent(t){this.eventListeners.push(t)}emit(t,e){this.eventListeners.forEach(a=>a({event:t,data:e}))}mapTaskSuccessPipeline(t){let e=this.taskSuccessMappers[t.name];if(!e)return{task_name:this.normalizeTaskName(t.name),task_data:t.data};let a=e(t.data);return{...a,task_name:this.normalizeTaskName(a.task_name)}}normalizeTaskName(t){return t.replace(/_v4$/,"")}getRecord(t){return!t||typeof t!="object"||Array.isArray(t)?{}:t}getTrackingEntries(t){if(Array.isArray(t))return t.map(a=>this.getRecord(a)).filter(a=>Object.keys(a).length>0);let e=this.getRecord(t);return Object.keys(e).length>0?[e]:[]}},b=d;export{d as TrackingService,b as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/flow-client v0.1.
|
|
1
|
+
/*! @onlive.ai/flow-client v0.1.271 | © 2026 Onlive.ai */
|
|
2
2
|
"use strict";var i=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var c=(a,t)=>{for(var n in t)i(a,n,{get:t[n],enumerable:!0})},m=(a,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of p(t))!s.call(a,e)&&e!==n&&i(a,e,{get:()=>t[e],enumerable:!(r=l(t,e))||r.enumerable});return a};var f=a=>m(i({},"__esModule",{value:!0}),a);var u={};c(u,{ONLIVE_ANALYTICS_EVENT:()=>v,ONLIVE_FLOW_FORM_NAME:()=>d,TrackingOptionsSchema:()=>E});module.exports=f(u);var o=require("zod"),d="flow_form",v="onlive-analytics-event",E=o.z.object({enabled:o.z.boolean().default(!1).optional(),conditions:o.z.custom().optional(),data:o.z.custom().optional(),removeExtraneousValues:o.z.boolean().default(!0).optional(),allowBotTraffic:o.z.boolean().default(!1).optional(),adapters:o.z.array(o.z.string()).default([]).optional(),apiUrl:o.z.string().url().optional(),emitters:o.z.object({windowEvent:o.z.boolean().optional(),dataLayer:o.z.boolean().optional(),windowPostMessage:o.z.boolean().optional()}).optional()});0&&(module.exports={ONLIVE_ANALYTICS_EVENT,ONLIVE_FLOW_FORM_NAME,TrackingOptionsSchema});
|
|
@@ -68,6 +68,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
68
68
|
agent_id?: string | undefined;
|
|
69
69
|
agent_nature?: "real" | "ai" | undefined;
|
|
70
70
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
71
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
72
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
71
73
|
agent_email?: string | undefined;
|
|
72
74
|
agent_phone?: string | undefined;
|
|
73
75
|
agent_name?: string | undefined;
|
|
@@ -133,6 +135,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
133
135
|
agent_id?: string | undefined;
|
|
134
136
|
agent_nature?: "real" | "ai" | undefined;
|
|
135
137
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
138
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
139
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
136
140
|
agent_email?: string | undefined;
|
|
137
141
|
agent_phone?: string | undefined;
|
|
138
142
|
agent_name?: string | undefined;
|
|
@@ -196,6 +200,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
196
200
|
agent_id?: string | undefined;
|
|
197
201
|
agent_nature?: "real" | "ai" | undefined;
|
|
198
202
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
203
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
204
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
199
205
|
agent_email?: string | undefined;
|
|
200
206
|
agent_phone?: string | undefined;
|
|
201
207
|
agent_name?: string | undefined;
|
|
@@ -257,6 +263,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
257
263
|
agent_id?: string | undefined;
|
|
258
264
|
agent_nature?: "real" | "ai" | undefined;
|
|
259
265
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
266
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
267
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
260
268
|
agent_email?: string | undefined;
|
|
261
269
|
agent_phone?: string | undefined;
|
|
262
270
|
agent_name?: string | undefined;
|
|
@@ -317,6 +325,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
317
325
|
agent_id?: string | undefined;
|
|
318
326
|
agent_nature?: "real" | "ai" | undefined;
|
|
319
327
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
328
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
329
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
320
330
|
agent_email?: string | undefined;
|
|
321
331
|
agent_phone?: string | undefined;
|
|
322
332
|
agent_name?: string | undefined;
|
|
@@ -377,6 +387,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
377
387
|
agent_id?: string | undefined;
|
|
378
388
|
agent_nature?: "real" | "ai" | undefined;
|
|
379
389
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
390
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
391
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
380
392
|
agent_email?: string | undefined;
|
|
381
393
|
agent_phone?: string | undefined;
|
|
382
394
|
agent_name?: string | undefined;
|
|
@@ -435,6 +447,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
435
447
|
agent_id?: string | undefined;
|
|
436
448
|
agent_nature?: "real" | "ai" | undefined;
|
|
437
449
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
450
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
451
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
438
452
|
agent_email?: string | undefined;
|
|
439
453
|
agent_phone?: string | undefined;
|
|
440
454
|
agent_name?: string | undefined;
|
|
@@ -499,6 +513,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
499
513
|
agent_id?: string | undefined;
|
|
500
514
|
agent_nature?: "real" | "ai" | undefined;
|
|
501
515
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
516
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
517
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
502
518
|
agent_email?: string | undefined;
|
|
503
519
|
agent_phone?: string | undefined;
|
|
504
520
|
agent_name?: string | undefined;
|
|
@@ -559,6 +575,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
559
575
|
agent_id?: string | undefined;
|
|
560
576
|
agent_nature?: "real" | "ai" | undefined;
|
|
561
577
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
578
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
579
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
562
580
|
agent_email?: string | undefined;
|
|
563
581
|
agent_phone?: string | undefined;
|
|
564
582
|
agent_name?: string | undefined;
|
|
@@ -624,6 +642,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
624
642
|
agent_id?: string | undefined;
|
|
625
643
|
agent_nature?: "real" | "ai" | undefined;
|
|
626
644
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
645
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
646
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
627
647
|
agent_email?: string | undefined;
|
|
628
648
|
agent_phone?: string | undefined;
|
|
629
649
|
agent_name?: string | undefined;
|
|
@@ -687,6 +707,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
687
707
|
agent_id?: string | undefined;
|
|
688
708
|
agent_nature?: "real" | "ai" | undefined;
|
|
689
709
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
710
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
711
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
690
712
|
agent_email?: string | undefined;
|
|
691
713
|
agent_phone?: string | undefined;
|
|
692
714
|
agent_name?: string | undefined;
|
|
@@ -748,6 +770,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
748
770
|
agent_id?: string | undefined;
|
|
749
771
|
agent_nature?: "real" | "ai" | undefined;
|
|
750
772
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
773
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
774
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
751
775
|
agent_email?: string | undefined;
|
|
752
776
|
agent_phone?: string | undefined;
|
|
753
777
|
agent_name?: string | undefined;
|
|
@@ -808,6 +832,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
808
832
|
agent_id?: string | undefined;
|
|
809
833
|
agent_nature?: "real" | "ai" | undefined;
|
|
810
834
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
835
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
836
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
811
837
|
agent_email?: string | undefined;
|
|
812
838
|
agent_phone?: string | undefined;
|
|
813
839
|
agent_name?: string | undefined;
|
|
@@ -868,6 +894,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
868
894
|
agent_id?: string | undefined;
|
|
869
895
|
agent_nature?: "real" | "ai" | undefined;
|
|
870
896
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
897
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
898
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
871
899
|
agent_email?: string | undefined;
|
|
872
900
|
agent_phone?: string | undefined;
|
|
873
901
|
agent_name?: string | undefined;
|
|
@@ -926,6 +954,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
926
954
|
agent_id?: string | undefined;
|
|
927
955
|
agent_nature?: "real" | "ai" | undefined;
|
|
928
956
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
957
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
958
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
929
959
|
agent_email?: string | undefined;
|
|
930
960
|
agent_phone?: string | undefined;
|
|
931
961
|
agent_name?: string | undefined;
|
|
@@ -990,6 +1020,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
990
1020
|
agent_id?: string | undefined;
|
|
991
1021
|
agent_nature?: "real" | "ai" | undefined;
|
|
992
1022
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1023
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1024
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
993
1025
|
agent_email?: string | undefined;
|
|
994
1026
|
agent_phone?: string | undefined;
|
|
995
1027
|
agent_name?: string | undefined;
|
|
@@ -1071,6 +1103,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1071
1103
|
agent_id?: string | undefined;
|
|
1072
1104
|
agent_nature?: "real" | "ai" | undefined;
|
|
1073
1105
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1106
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1107
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1074
1108
|
agent_email?: string | undefined;
|
|
1075
1109
|
agent_phone?: string | undefined;
|
|
1076
1110
|
agent_name?: string | undefined;
|
|
@@ -1136,6 +1170,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1136
1170
|
agent_id?: string | undefined;
|
|
1137
1171
|
agent_nature?: "real" | "ai" | undefined;
|
|
1138
1172
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1173
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1174
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1139
1175
|
agent_email?: string | undefined;
|
|
1140
1176
|
agent_phone?: string | undefined;
|
|
1141
1177
|
agent_name?: string | undefined;
|
|
@@ -1199,6 +1235,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1199
1235
|
agent_id?: string | undefined;
|
|
1200
1236
|
agent_nature?: "real" | "ai" | undefined;
|
|
1201
1237
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1238
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1239
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1202
1240
|
agent_email?: string | undefined;
|
|
1203
1241
|
agent_phone?: string | undefined;
|
|
1204
1242
|
agent_name?: string | undefined;
|
|
@@ -1260,6 +1298,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1260
1298
|
agent_id?: string | undefined;
|
|
1261
1299
|
agent_nature?: "real" | "ai" | undefined;
|
|
1262
1300
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1301
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1302
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1263
1303
|
agent_email?: string | undefined;
|
|
1264
1304
|
agent_phone?: string | undefined;
|
|
1265
1305
|
agent_name?: string | undefined;
|
|
@@ -1320,6 +1360,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1320
1360
|
agent_id?: string | undefined;
|
|
1321
1361
|
agent_nature?: "real" | "ai" | undefined;
|
|
1322
1362
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1363
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1364
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1323
1365
|
agent_email?: string | undefined;
|
|
1324
1366
|
agent_phone?: string | undefined;
|
|
1325
1367
|
agent_name?: string | undefined;
|
|
@@ -1380,6 +1422,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1380
1422
|
agent_id?: string | undefined;
|
|
1381
1423
|
agent_nature?: "real" | "ai" | undefined;
|
|
1382
1424
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1425
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1426
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1383
1427
|
agent_email?: string | undefined;
|
|
1384
1428
|
agent_phone?: string | undefined;
|
|
1385
1429
|
agent_name?: string | undefined;
|
|
@@ -1438,6 +1482,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1438
1482
|
agent_id?: string | undefined;
|
|
1439
1483
|
agent_nature?: "real" | "ai" | undefined;
|
|
1440
1484
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1485
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1486
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1441
1487
|
agent_email?: string | undefined;
|
|
1442
1488
|
agent_phone?: string | undefined;
|
|
1443
1489
|
agent_name?: string | undefined;
|
|
@@ -1502,6 +1548,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1502
1548
|
agent_id?: string | undefined;
|
|
1503
1549
|
agent_nature?: "real" | "ai" | undefined;
|
|
1504
1550
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1551
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1552
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1505
1553
|
agent_email?: string | undefined;
|
|
1506
1554
|
agent_phone?: string | undefined;
|
|
1507
1555
|
agent_name?: string | undefined;
|
|
@@ -1575,6 +1623,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1575
1623
|
agent_id?: string | undefined;
|
|
1576
1624
|
agent_nature?: "real" | "ai" | undefined;
|
|
1577
1625
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1626
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1627
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1578
1628
|
agent_email?: string | undefined;
|
|
1579
1629
|
agent_phone?: string | undefined;
|
|
1580
1630
|
agent_name?: string | undefined;
|
|
@@ -1640,6 +1690,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1640
1690
|
agent_id?: string | undefined;
|
|
1641
1691
|
agent_nature?: "real" | "ai" | undefined;
|
|
1642
1692
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1693
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1694
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1643
1695
|
agent_email?: string | undefined;
|
|
1644
1696
|
agent_phone?: string | undefined;
|
|
1645
1697
|
agent_name?: string | undefined;
|
|
@@ -1703,6 +1755,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1703
1755
|
agent_id?: string | undefined;
|
|
1704
1756
|
agent_nature?: "real" | "ai" | undefined;
|
|
1705
1757
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1758
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1759
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1706
1760
|
agent_email?: string | undefined;
|
|
1707
1761
|
agent_phone?: string | undefined;
|
|
1708
1762
|
agent_name?: string | undefined;
|
|
@@ -1764,6 +1818,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1764
1818
|
agent_id?: string | undefined;
|
|
1765
1819
|
agent_nature?: "real" | "ai" | undefined;
|
|
1766
1820
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1821
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1822
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1767
1823
|
agent_email?: string | undefined;
|
|
1768
1824
|
agent_phone?: string | undefined;
|
|
1769
1825
|
agent_name?: string | undefined;
|
|
@@ -1824,6 +1880,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1824
1880
|
agent_id?: string | undefined;
|
|
1825
1881
|
agent_nature?: "real" | "ai" | undefined;
|
|
1826
1882
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1883
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1884
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1827
1885
|
agent_email?: string | undefined;
|
|
1828
1886
|
agent_phone?: string | undefined;
|
|
1829
1887
|
agent_name?: string | undefined;
|
|
@@ -1884,6 +1942,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1884
1942
|
agent_id?: string | undefined;
|
|
1885
1943
|
agent_nature?: "real" | "ai" | undefined;
|
|
1886
1944
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1945
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1946
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1887
1947
|
agent_email?: string | undefined;
|
|
1888
1948
|
agent_phone?: string | undefined;
|
|
1889
1949
|
agent_name?: string | undefined;
|
|
@@ -1942,6 +2002,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
1942
2002
|
agent_id?: string | undefined;
|
|
1943
2003
|
agent_nature?: "real" | "ai" | undefined;
|
|
1944
2004
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
2005
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
2006
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
1945
2007
|
agent_email?: string | undefined;
|
|
1946
2008
|
agent_phone?: string | undefined;
|
|
1947
2009
|
agent_name?: string | undefined;
|
|
@@ -2006,6 +2068,8 @@ declare const TrackingOptionsSchema: z.ZodObject<{
|
|
|
2006
2068
|
agent_id?: string | undefined;
|
|
2007
2069
|
agent_nature?: "real" | "ai" | undefined;
|
|
2008
2070
|
agent_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
2071
|
+
agent_initial_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
2072
|
+
agent_active_modalities?: ("video" | "text" | "voice")[] | undefined;
|
|
2009
2073
|
agent_email?: string | undefined;
|
|
2010
2074
|
agent_phone?: string | undefined;
|
|
2011
2075
|
agent_name?: string | undefined;
|