export type Signal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "resultSignal"; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "actionRequest"; action: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "requireInput"; inputRequest?: ({ sentByActorId: string; required?: boolean | undefined; messageToUser: string; name: string; } & ({ type: "text"; allowMultipleValues?: boolean | undefined; options?: string[] | undefined; default?: (string | undefined) | (string[] | undefined); } | { type: "fileUrl"; } | { type: "goAhead"; })) | undefined; checkbackAt?: Date | undefined; suggestedResponse?: ({ isDefaultResponse?: boolean | undefined; } & ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; })) | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processUpdateRequestSignal"; receivedSignalIds: string[]; }; export type GoAheadDecisionSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; }; export type ProcessInitiationSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; }; export type RedoRequestSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; }; export type ReceivedInputSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; }; export type RequireInputSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "requireInput"; inputRequest?: ({ sentByActorId: string; required?: boolean | undefined; messageToUser: string; name: string; } & ({ type: "text"; allowMultipleValues?: boolean | undefined; options?: string[] | undefined; default?: (string | undefined) | (string[] | undefined); } | { type: "fileUrl"; } | { type: "goAhead"; })) | undefined; checkbackAt?: Date | undefined; suggestedResponse?: ({ isDefaultResponse?: boolean | undefined; } & ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; })) | undefined; }; export type ActionRequestSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "actionRequest"; action: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }; }; export type SignalBase = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; }; export type ResultSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "resultSignal"; }; export type ProcessUpdateRequestSignal = { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processUpdateRequestSignal"; receivedSignalIds: string[]; }; export type SignalHandlerResult = { responseSignal?: ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "resultSignal"; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "actionRequest"; action: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "requireInput"; inputRequest?: ({ sentByActorId: string; required?: boolean | undefined; messageToUser: string; name: string; } & ({ type: "text"; allowMultipleValues?: boolean | undefined; options?: string[] | undefined; default?: (string | undefined) | (string[] | undefined); } | { type: "fileUrl"; } | { type: "goAhead"; })) | undefined; checkbackAt?: Date | undefined; suggestedResponse?: ({ isDefaultResponse?: boolean | undefined; } & ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; })) | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processUpdateRequestSignal"; receivedSignalIds: string[]; }) | undefined; completedActions?: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }[] | undefined; plannedActions?: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }[] | undefined; errors?: { code: string; messageToUser: string; processId: string; isTransient?: boolean | undefined; data?: any | undefined; }[] | undefined; processState?: { id?: string | undefined; processId?: string | undefined; processSpec?: ({ schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; } | undefined) | undefined; sourceSystemProcess?: { idInSourceSystem: string; sourceSystemId: string; } | undefined; owner?: ({ idInSourceSystem: string; sourceSystemId: string; } & { accountIdInSourceSystem?: string | undefined; }) | undefined; order?: number | undefined; signals?: ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "resultSignal"; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "actionRequest"; action: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "requireInput"; inputRequest?: ({ sentByActorId: string; required?: boolean | undefined; messageToUser: string; name: string; } & ({ type: "text"; allowMultipleValues?: boolean | undefined; options?: string[] | undefined; default?: (string | undefined) | (string[] | undefined); } | { type: "fileUrl"; } | { type: "goAhead"; })) | undefined; checkbackAt?: Date | undefined; suggestedResponse?: ({ isDefaultResponse?: boolean | undefined; } & ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; })) | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processUpdateRequestSignal"; receivedSignalIds: string[]; })[] | undefined; plannedActions?: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }[] | undefined; completedActions?: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }[] | undefined; channel?: (("email" | "sms" | "teams" | "slack") | undefined) | undefined; } | undefined; }; export type Status = "pending" | "inProgress" | "done"; export type ActionType = "getInput" | "getGoAhead" | "generateProcessSpec" | "generateResult" | "checkResult" | "sendMessage" | "stopProcess" | "callApi" | "reportError" | "findKnowledge" | "useSkill"; export type ProcessState = { id: string; processId: string; processSpec?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; } | undefined; sourceSystemProcess: { idInSourceSystem: string; sourceSystemId: string; }; owner: { idInSourceSystem: string; sourceSystemId: string; } & { accountIdInSourceSystem?: string | undefined; }; order: number; signals: ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "resultSignal"; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "actionRequest"; action: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "requireInput"; inputRequest?: ({ sentByActorId: string; required?: boolean | undefined; messageToUser: string; name: string; } & ({ type: "text"; allowMultipleValues?: boolean | undefined; options?: string[] | undefined; default?: (string | undefined) | (string[] | undefined); } | { type: "fileUrl"; } | { type: "goAhead"; })) | undefined; checkbackAt?: Date | undefined; suggestedResponse?: ({ isDefaultResponse?: boolean | undefined; } & ({ id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processInitiationRequest"; processSpecId?: string | undefined; parentProcessId?: string | undefined; allowSpecGeneration?: boolean | undefined; skipGoAhead?: boolean | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; willPollForUpdates?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "goAheadDecision"; goAhead: boolean; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "receivedInput"; allowSpecGeneration?: boolean | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId: string; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "redoRequest"; redoInstructions: string; })) | undefined; } | { id?: string | undefined; owner: { idInSourceSystem: string; sourceSystemId: string; }; processId: string | ""; actionId?: string | undefined; responseToSignalId?: string | undefined; sentAt?: string | undefined; repeatable?: boolean | undefined; redoable?: boolean | undefined; data?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; encryptedContext?: string | undefined; callbackUrl?: string | undefined; estimatedPercentageCompleted?: number | undefined; terminatesProcess?: boolean | undefined; contextAccessToken?: string | undefined; responseSpec?: { channel: "email" | "sms" | "teams" | "slack"; to: string | string[]; } | undefined; type: "processUpdateRequestSignal"; receivedSignalIds: string[]; })[]; plannedActions: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }[]; completedActions: { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }[]; channel?: ("email" | "sms" | "teams" | "slack") | undefined; }; export type KnowledgeType = "text" | "fileUrl"; export type KnowledgeSchemaBase = { id?: string | undefined; sentByActorId?: string | undefined; userDefined?: boolean | undefined; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; }; export type FileKnowledge = { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }; export type TextKnowledge = { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; }; export type Knowledge = { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }; export type ProcessSpecBase = { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; }; export type ProcessSpecVersion = { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }; export type ProcessSpec = { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }; export type ActionSpecBase = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; }; export type ApiEndpoint = { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; export type ApiEndpointDescriptor = { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; } & { name: string; purpose?: string | undefined; refreshToken?: string | undefined; clientId?: string | undefined; clientSecret?: string | undefined; }; export type IdentityInfo = { idInSourceSystem: string; sourceSystemId: string; }; export type Actor = { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }; export type Context = { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; }; export type ProcessSpecChange = { change: "added" | "updated" | "deleted"; spec: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }; }; export type AIPrompt = { role: "system" | "user"; content: string; }; export type ErrorReport = { code: string; messageToUser: string; processId: string; isTransient?: boolean | undefined; data?: any | undefined; }; export type Config = { port: number; wsPort: number; url: string; dbUrl: string; hashSalt: string; nodeEnv: "dev" | "staging" | "production" | "test"; externalizeProcessState?: boolean | undefined; processStateLog?: boolean | undefined; jwtSecret: string; adminAccessToken: string; instanceId: string; adminId: string; blockedCallers?: { idInSourceSystem: string; sourceSystemId: string; }[] | undefined; botsDomain: string; popplerPath: string; maxAIInputWords: number; rootDataDir: string; ocrConfidenceMinimum: number; debugMode: boolean; sendGridApiKey: string; adminConsoleClientId: string; aiConnections: { defaultLLMUri: any; defaultEmbeddingsUri: any; defaultOCRUri: any; defaultTranscriptionUri: any; providers: { azure: { endpoint?: string | undefined; apiKey?: string | undefined; }; openAI: { apiKey?: string | undefined; }; anthropic: { apiKey?: string | undefined; }; bedrock: { region?: string | undefined; accessKeyId?: string | undefined; secretAccessKey?: string | undefined; }; }; }; inputWordsPerWorkload: number; outputWordsPerWorkload: number; extractImageContent?: boolean | undefined; defaultTimezone: string; defaultBillingAccountId: string; noReplyEmail: string; maxPagesToInspect: number; databaseEncryptionKey: string; aiThrottlingInterval: number; deleteProcessStateAfter: number; usageReportWhitelist: { idInSourceSystem: string; sourceSystemId: string; }[]; }; export type Visibility = "public" | "account" | "private"; export type Action = { id: string; spec: { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); actorId: string; }; export type SoughtKnowledge = { sentByActorId: string; required?: boolean | undefined; messageToUser: string; name: string; } & ({ type: "text"; allowMultipleValues?: boolean | undefined; options?: string[] | undefined; default?: (string | undefined) | (string[] | undefined); } | { type: "fileUrl"; } | { type: "goAhead"; }); export type AccessTokenRequest = { owner: { idInSourceSystem: string; sourceSystemId: string; }; }; export type DesignRequestSchema_v0 = { outline: string; oldOutline?: string | undefined; oldActions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; processSpecName?: string | undefined; backgroundInfo?: string | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; apiEndPoints?: ({ id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; } & { name: string; purpose?: string | undefined; refreshToken?: string | undefined; clientId?: string | undefined; clientSecret?: string | undefined; })[] | undefined; forceUpdate?: boolean | undefined; }; export type DesignRequestSchema_v1 = { schemaCompatibilityVersion?: 1 | undefined; outline: string; oldOutline?: string | undefined; oldActions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; processSpecName?: string | undefined; backgroundInfo?: string | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; apiEndPoints?: ({ id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; } & { name: string; purpose?: string | undefined; refreshToken?: string | undefined; clientId?: string | undefined; clientSecret?: string | undefined; })[] | undefined; forceUpdate?: boolean | undefined; }; export type DesignRequest = { schemaCompatibilityVersion?: 1 | undefined; outline: string; oldOutline?: string | undefined; oldActions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; processSpecName?: string | undefined; backgroundInfo?: string | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; apiEndPoints?: ({ id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; } & { name: string; purpose?: string | undefined; refreshToken?: string | undefined; clientId?: string | undefined; clientSecret?: string | undefined; })[] | undefined; forceUpdate?: boolean | undefined; }; export type DesignResponse = { schemaCompatibilityVersion: 1; suggestedName: string; actions: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[]; }; export type HttpVerb = "GET" | "POST" | "PUT" | "DELETE" | "PATCH"; export type TranscriptionRequest = { fileUrl: string; accessToken?: string | undefined; designRequest?: { schemaCompatibilityVersion?: 1 | undefined; outline: string; oldOutline?: string | undefined; oldActions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; processSpecName?: string | undefined; backgroundInfo?: string | undefined; context?: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; } | undefined; apiEndPoints?: ({ id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; } & { name: string; purpose?: string | undefined; refreshToken?: string | undefined; clientId?: string | undefined; clientSecret?: string | undefined; })[] | undefined; forceUpdate?: boolean | undefined; } | undefined; }; export type TranscriptionResult = { text: string; suggestedName: string; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; }; export type MessageType = "email" | "sms"; export type MessageBase = { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; }; export type EmailMessage = { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; }; export type SmsMessage = { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; export type Message = { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; export type Channel = "email" | "sms" | "teams" | "slack"; export type ProcessCheckRequest = { processSpec: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }; context: { idInfo: { idInSourceSystem: string; sourceSystemId: string; }; name?: string | undefined; knowledge?: ({ id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "text"; content: string; isError?: boolean | undefined; errorType?: ("permanent" | "transient") | undefined; format?: ("text/plain" | "text/html" | "application/json" | "text/xml") | undefined; attachments?: { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; }[] | undefined; } | { id?: string | undefined; sentByActorId?: string | undefined; userDefined: boolean; displayToUser?: boolean | undefined; name?: string | undefined; channel?: ("email" | "sms" | "teams" | "slack") | undefined; inferredFrom?: string | undefined; searchable?: boolean | undefined; summary?: string | undefined; keywords?: string[] | undefined; isProcessNote?: boolean | undefined; type: "fileUrl"; isFileCollection?: boolean | undefined; format: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; fileName: string; fileUrl: string; thumbnailUrl?: string | undefined; accessToken?: string | undefined; content?: string | undefined; })[] | undefined; actors?: { id: string; name: string; description?: string | undefined; email: string; allowAnonymousCallers?: boolean | undefined; isAnonymousUser?: boolean | undefined; accountId?: string | undefined; isBot: boolean; processSpecs?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versions?: { schemaCompatibilityVersion?: 1 | undefined; id: string; name: string; description?: string | undefined; outline?: string | undefined; actions?: ({ id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }))[] | undefined; apiEndpoints?: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }[] | undefined; actorId: string; onProcessStopRecommendation?: ("stop" | "continue") | undefined; autoRunIntervalMinutes?: number | undefined; botAccessToken?: string | undefined; botAuthorizedByUserId?: string | undefined; versionId: string; userName: string; versionName?: string | undefined; createdAt: Date | string; }[] | undefined; }[] | undefined; }[] | undefined; cloudStorageContext?: { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; } | undefined; }; apiEndPoints?: ({ id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; } & { name: string; purpose?: string | undefined; refreshToken?: string | undefined; clientId?: string | undefined; clientSecret?: string | undefined; })[] | undefined; }; export type ProcessSpecIssueType = "ambiguity" | "missingInput" | "clarity" | "sequence"; export type ProcessSpecIssue = { actionId: string; message: string; type: "ambiguity" | "missingInput" | "clarity" | "sequence"; property?: ("runIf" | "outline" | "generationPrompt" | "resultName") | undefined; suggestedResolution?: string | undefined; severity?: ("high" | "medium" | "low") | undefined; issueType?: ("missingData" | "misleading" | "overlyComplex" | "other") | undefined; missingData?: string[] | undefined; }; export type ProcessCheckResponse = { issues: { actionId: string; message: string; type: "ambiguity" | "missingInput" | "clarity" | "sequence"; property?: ("runIf" | "outline" | "generationPrompt" | "resultName") | undefined; suggestedResolution?: string | undefined; severity?: ("high" | "medium" | "low") | undefined; issueType?: ("missingData" | "misleading" | "overlyComplex" | "other") | undefined; missingData?: string[] | undefined; }[]; userPrompt?: string | undefined; }; export type AIUsageInfo = { billTo: { idInSourceSystem: string; sourceSystemId: string; } & { accountIdInSourceSystem?: string | undefined; }; processId?: string | undefined; promptWords: number; totalWords: number; promptTokens: number; totalTokens: number; model: any; }; export type UsageQuery = { owner?: ({ idInSourceSystem?: string | undefined; sourceSystemId?: string | undefined; } & { accountIdInSourceSystem?: string | undefined; }) | undefined; processId?: string | undefined; from?: string | undefined; to?: string | undefined; includeUsageRecords?: boolean | undefined; }; export type UsageReportUsages = { id: string; billingEntityId: string; unitType: string; unitsUsed: number; processId: string | null; details: { model: any; processId?: string | undefined; promptWords: number; promptTokens: number; totalWords: number; totalTokens: number; workloads: number; }; createdAt: string; serviceType?: string | undefined; }[]; export type UsageReport = { emailRecipients?: string[] | undefined; reportData: { dates?: { from?: string | undefined; to?: string | undefined; } | undefined; data: { sourceSystemId: string; totalUsage: { workloads: number; totalWords: number; promptWords: number; outputWords: number; totalTokens: number; totalProcesses: number; promptTokens: number; outputTokens: number; averageWorkloadsPerDay: number; averageWorkloadsPerProcess: number; averagePromptTokensPerProcess: number; averageOutputTokensPerProcess: number; }; usages: { id: string; billingEntityId: string; serviceTypeId: string; unitType: string; unitsUsed: number; processId: string | null; details: { model: any; processId?: string | undefined; promptWords: number; promptTokens: number; totalWords: number; totalTokens: number; workloads: number; }; createdAt: string; billingEntity: { idInSourceSystem: string; sourceSystemId: string; }; serviceType: { name: string; }; }[]; users: { id: string; email: string; }[]; }[]; }; }; export type UsageItem = { id: string; billingEntityId: string; serviceTypeId: string; unitType: string; unitsUsed: number; processId: string | null; details: { model: any; processId?: string | undefined; promptWords: number; promptTokens: number; totalWords: number; totalTokens: number; workloads: number; }; createdAt: Date; billingEntity: { idInSourceSystem: string; sourceSystemId: string; }; serviceType: { name: string; }; }; export type UsageTotals = { workloads: number; totalWords: number; promptWords: number; outputWords: number; totalTokens: number; totalProcesses: number; promptTokens: number; outputTokens: number; averageWorkloadsPerDay: number; averageWorkloadsPerProcess: number; averagePromptTokensPerProcess: number; averageOutputTokensPerProcess: number; }; export type UsageResponse = { sourceSystemId: string; totalUsage: { workloads: number; totalWords: number; promptWords: number; outputWords: number; totalTokens: number; totalProcesses: number; promptTokens: number; outputTokens: number; averageWorkloadsPerDay: number; averageWorkloadsPerProcess: number; averagePromptTokensPerProcess: number; averageOutputTokensPerProcess: number; }; usages: { id: string; billingEntityId: string; serviceTypeId: string; unitType: string; unitsUsed: number; processId: string | null; details: { model: any; processId?: string | undefined; promptWords: number; promptTokens: number; totalWords: number; totalTokens: number; workloads: number; }; createdAt: Date; billingEntity: { idInSourceSystem: string; sourceSystemId: string; }; serviceType: { name: string; }; }[]; }[]; export type ExtensionInfo = { name: string; displayName: string; description: string; dataSpecification?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; displayResultToUser?: boolean | undefined; }; export type MimeTypeEnum = "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; export type ActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; } & ({ type: "unknown"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "findKnowledge"; query: { value: any | undefined; isAIPrompt?: boolean | undefined; }; keywordFilters?: { value: any | undefined; isAIPrompt?: boolean | undefined; }[] | undefined; } | { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }); export type CallApiActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "callApi"; apiEndpoint: { id: string; url: string; method: ("GET" | "POST" | "PUT" | "DELETE" | "PATCH") | "EXT"; body?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; bodySample?: string | undefined; bodyFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; resultFormat?: ("image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown") | undefined; accessToken?: string | undefined; headers?: { [x: string]: string; } | undefined; resultMask?: string | undefined; pollingInterval?: number | undefined; maxPollCount?: number | undefined; }; }; export type CheckResultActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "checkResult"; aiPrompt: string; }; export type GenerateProcessSpecActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateProcessSpec"; }; export type GenerateResultActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "generateResult"; generationFormat: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; generationPrompt: string; generationSample?: string | undefined; isKeyResult?: boolean | undefined; }; export type GetGoAheadActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getGoAhead"; messageToUser: string; suggestedProcessName?: string | undefined; }; export type InputActionSpecSchema_V0 = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; messageToUser?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; }; export type InputActionSpecSchema_v1 = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; }; export type InputActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "getInput"; inputType: "text" | "fileUrl"; inputPrompt: { value: any | undefined; isAIPrompt?: boolean | undefined; }; message?: ({ to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }) | undefined; options?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; defaultResult?: { value: any | undefined; isAIPrompt?: boolean | undefined; } | undefined; soughtValueType?: ("discreteValue" | "freeText" | "documentContent") | undefined; soughtValueCharacteristics?: string | undefined; }; export type ReportErrorActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "reportError"; error: string; }; export type SendMessageActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "sendMessage"; message: { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; replyTo?: (string | string) | undefined; subject?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; html?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; categories?: string[] | undefined; inReplyTo?: (string | { value: any | undefined; isAIPrompt?: boolean | undefined; }) | undefined; type: "email"; } | { to: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; text: string | { value: any | undefined; isAIPrompt?: boolean | undefined; }; type: "sms"; }; }; export type StopActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "stopProcess"; }; export type UnknownActionSpec = { type: "unknown"; }; export type UseSkillActionSpec = { id: string; name: string; locked?: boolean | undefined; runIf?: string | undefined; allowAutoRun?: boolean | undefined; aiModel?: string | undefined; optional?: boolean | undefined; resultName?: string | undefined; requiredInputs?: string[] | undefined; usePreviousResults?: string[] | undefined; useContextKnowledge?: string[] | undefined; warnings?: string[] | undefined; outline?: string | undefined; repeatForEachOf?: string | undefined; expectResponse?: boolean | undefined; type: "useSkill"; processSpecId: string; skillName: string; }; export type SoughtValueType = "discreteValue" | "freeText" | "documentContent"; export type EmbeddingsModelDetails = { name: string; tokenSize: number; vectorSize: number; }; export type EmbeddingsRequest = { fileUrl: string; accessToken: string; contentType: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; requestType: "operationRequest" | "updateRequest"; }; export type EmbeddingsResponse = { modelName: string; summary?: string | undefined; keywords?: string[] | undefined; embeddings: { startOffset: number; endOffset: number; content: string; values: number[]; }[]; }; export type FileMetadata = { mimeType: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; path: string; fileId?: string | undefined; name: string; size: number; modifiedTime: string; extension: string; }; export type FolderMetadata = { name: string; path: string; metadata?: ({ [x: string]: string; } | undefined) | null; }; export type FileData = { content: any; metadata: { mimeType: "image/jpeg" | "image/png" | "image/gif" | "image/bmp" | "video/mp4" | "audio/mpeg" | "application/json" | "text/xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.oracle.resource+json" | "application/vnd.geo+json" | "application/vnd.ms-outlook" | "text/plain" | "text/html" | "text/csv" | "text/markdown" | "application/zip" | "application/json" | "application/xml" | "unknown"; path: string; fileId?: string | undefined; name: string; size: number; modifiedTime: string; extension: string; }; }; export type CreateFileRequest = { name: string; parentFolderPath?: string | undefined; content: any; modifiedTime: string; }; export type CreateFolderRequest = { folderPath: string; metadata: { [x: string]: string; }; }; export type CloudStorageProviderEnum = "gDrive" | "oneDrive" | "sharePoint"; export type StorageProviderEnum = ("gDrive" | "oneDrive" | "sharePoint") | "file-system"; export type CloudStorageContext = { provider: "gDrive" | "oneDrive" | "sharePoint"; driveUri: string; }; export type GoogleServiceAccountConnectionDetails = { key: string; keyId: string; email: string; clientId: string; }; export type MicrosoftAccountConnectionDetails = { sourceSystemId: string; clientId: string; tenantId: string; clientSecret: string; accountInfo?: any | undefined; tokenCache?: string | undefined; }; export type CloudStorageAccountConnection = { provider: "gDrive" | "oneDrive" | "sharePoint"; sourceSystemId: string; isActive: boolean; connectionDetails: { key: string; keyId: string; email: string; clientId: string; } | { sourceSystemId: string; clientId: string; tenantId: string; clientSecret: string; accountInfo?: any | undefined; tokenCache?: string | undefined; }; clientInstructions: string; }; export type SyncFilesRequest = { targetDirectory?: string | undefined; }; export type CloudStorageAccountConnectionCreateRequest = { owner?: ({ idInSourceSystem?: string | undefined; sourceSystemId?: string | undefined; } & { accountIdInSourceSystem?: string | undefined; }) | undefined; processId?: string | undefined; sourceSystemId?: string | undefined; isActive?: boolean | undefined; provider?: ("gDrive" | "oneDrive" | "sharePoint") | undefined; connectionDetails?: any | undefined; clientInstructions?: string | undefined; }; export type CloudStorageAccountConnectionValidationRequest = { driveUri: string; provider: "gDrive" | "oneDrive" | "sharePoint"; }; export type CloudStorageAccountConnectionRequest = { sourceSystemId: string; }; export type AzureEmbeddingsVersion = "2023-05-15"; export type AIModelUri = any;