/** @format */ import { z } from "zod"; import type { VectorModel } from "./../../../bun-server/src/types/index"; import type { EventEmitter } from "stream"; import type { Edge, Node, XYPosition } from "@xyflow/react"; import type { Buffer } from "node:buffer"; import type { VF_RUNTIME_MESSAGE } from "./global_types"; import type { DynamicStructuredTool } from "langchain/dist/tools/dynamic"; export interface ChatMessage { mid?: string; from: string; type: VF_RUNTIME_MESSAGE; item?: T; delay?: number; action?: string; ts?: number; feedback?: boolean; VGPayload?: any; isLoading?: boolean; isAIGenerated?: boolean; mask?: { messageIndex?: number; turnIndex?: number; }; placeholderImage?: string; } export interface TurnProps { sources?: SourceModel[]; session_id?: string; vf_stack?: any; from: "bot" | "human"; messages: ChatMessage[]; langchainMessages?: LLMMessage[]; ts?: number; isAIGenerated?: boolean; } export declare const GLOBAL_ONPREM_CLIENT: { BRAND_NAME: string; DOMAIN_ROOT_URL: string; DOCS_DOMAIN_ROOT_URL: string; LOGO_512_512_URL: string; LOGO_RECTANGLE_LIGHT_URL: string; LOGO_RECTANGLE_DARK_URL: string; BANNER_URL: string; EMAIL_DOMAIN_ROOT: string; BUNNY_CDN_URL: string; BRANCH_NAME: string; LEGAL: { ADDRESS: string; PHONE: string; EMAIL: string; }; SOCIAL: { DISCORD: string; }; FOUNDER: { NAME: string; ROLE: string; IMAGE_URL: string; LINKEDIN: string; TWITTER: string; }; EU: { EDGE_ROOT: string; NODE_JS_ROOT: string; }; NA: { EDGE_ROOT: string; NODE_JS_ROOT: string; }; options: { showLandingPage: boolean; }; firebaseClient: { apiKey: string; authDomain: string; projectId: string; storageBucket: string; messagingSenderId: string; appId: string; measurementId: string; }; }; export declare const ACTIVATE_NEW_ADDONS_PRICING = true; export declare const GLOBAL_PRICING_CONFIG: { DEF_TRIAL_DURATION_DAYS: number; FREE: { MAX_AGENTS: number; MAX_CLIENTS: number; }; DEFAULT_CREDIT_CONSUME: { AGENT_INTERACTION: number; }; DEFAULT_CREDIT_CHARGE_WORTH_USD: number; DEFAULT_CREDIT_CHARGE_THRESHOLD: number; COSTS_USD: { TWILIO_NUMBER_FEE: number; UNLIMITED_AGENTS_FEE_PER_MONTH: number; ADDITIONAL_KB_MILLION_CHARACTERS: number; ADDITIONAL_AGENT: number; ADDITIONAL_CLIENT: number; CREDIT: { numFeatures: number; creditsRange: number[]; price: number; }[]; BASE_FEE_STRIPE_CONNECT: number; }; COSTS_CREDITS: { MINUTE_OF_CALL: number; GEOANALYTICS: number; VG_HOSTING: number; INTERACTION: number; FILE_UPLOADED_PER_MB: number; PER_1024_KB_CHARS: number; TOOL_USE_FEE: number; UI_ENGINE_FEE: number; CUSTOM_CHANNEL_FEE: number; }; }; export declare const eventsHooksUrls: { newAgent: string; newUser: string; newSubscriptionCompleted: string; newSubscriptionIncompleted: string; newAgencySubdomain: string; }; export declare function GET_VG_CLOUDFLARE_API_URL({ region, forceLive, }: { region: "eu" | "na"; forceLive?: boolean; }): string; export declare const backgroundNoiseEnum: z.ZodEnum<["restaurant", "office", "street", "none"]>; export type BackgroundNoise = z.infer; export declare const backgroundNoises: { iconUrl: string; key: string; name: string; }[]; export declare const defaultPunctuationBreaks: string[]; export declare const callConfigSchema: z.ZodObject<{ recordAudio: z.ZodBoolean; backgroundNoise: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>; export type CallConfig = z.infer; export declare const llmMessageSchema: z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "system", "tool"]>; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>; export type LLMMessage = z.infer; export declare const CUSTOM_TOOL_EVENT_ZOD: z.ZodEnum<["END_CALL", "FORWARD_CALL"]>; export type CUSTOM_TOOL_EVENT = z.infer; export declare const toolFieldVariableTypeSchema: z.ZodEnum<["string", "number", "boolean", "system"]>; export type ToolFieldVariableType = z.infer; export declare const toolFieldSchema: z.ZodObject<{ id: z.ZodString; in: z.ZodString; type: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>; export type ToolField = z.infer; export declare const llmsToolSchema: z.ZodObject<{ isDefault: z.ZodOptional; id: z.ZodString; name: z.ZodString; description: z.ZodString; imageUrl: z.ZodOptional; fields: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; userId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; userId?: string | undefined; isDefault?: boolean | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; imageUrl?: string | undefined; }, { name: string; description: string; id: string; userId?: string | undefined; isDefault?: boolean | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; imageUrl?: string | undefined; }>; export type LLMSTool = z.infer; export declare const VG_SUPPORTED_LLM_ZOD: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; export type VG_SUPPORTED_LLM = z.infer; export declare const LLMSProviderKeySchema: z.ZodEnum<["openai", "groq", "anthropic", "google", "meta", "deepseek"]>; export type LLMSProviderKey = z.infer; export declare const VGSupportedModelZod: z.ZodObject<{ label: z.ZodOptional; isBeta: z.ZodOptional; provider: z.ZodEnum<["openai", "groq", "anthropic", "google", "meta", "deepseek"]>; model_id: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; icon: z.ZodOptional; react_icon: z.ZodOptional; streamUrl: z.ZodOptional; envKey: z.ZodOptional; supportTools: z.ZodOptional; pricing: z.ZodObject<{ input: z.ZodObject<{ tokens: z.ZodNumber; providerPriceUsd: z.ZodNumber; priceCredits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokens: number; providerPriceUsd: number; priceCredits: number; }, { tokens: number; providerPriceUsd: number; priceCredits: number; }>; output: z.ZodObject<{ tokens: z.ZodNumber; providerPriceUsd: z.ZodNumber; priceCredits: z.ZodNumber; }, "strip", z.ZodTypeAny, { tokens: number; providerPriceUsd: number; priceCredits: number; }, { tokens: number; providerPriceUsd: number; priceCredits: number; }>; }, "strip", z.ZodTypeAny, { input: { tokens: number; providerPriceUsd: number; priceCredits: number; }; output: { tokens: number; providerPriceUsd: number; priceCredits: number; }; }, { input: { tokens: number; providerPriceUsd: number; priceCredits: number; }; output: { tokens: number; providerPriceUsd: number; priceCredits: number; }; }>; maxContextTokens: z.ZodOptional; isLegacy: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek"; model_id: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; pricing: { input: { tokens: number; providerPriceUsd: number; priceCredits: number; }; output: { tokens: number; providerPriceUsd: number; priceCredits: number; }; }; label?: string | undefined; isBeta?: boolean | undefined; icon?: string | undefined; react_icon?: any; streamUrl?: string | undefined; envKey?: string | undefined; supportTools?: boolean | undefined; maxContextTokens?: number | undefined; isLegacy?: boolean | undefined; }, { provider: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek"; model_id: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; pricing: { input: { tokens: number; providerPriceUsd: number; priceCredits: number; }; output: { tokens: number; providerPriceUsd: number; priceCredits: number; }; }; label?: string | undefined; isBeta?: boolean | undefined; icon?: string | undefined; react_icon?: any; streamUrl?: string | undefined; envKey?: string | undefined; supportTools?: boolean | undefined; maxContextTokens?: number | undefined; isLegacy?: boolean | undefined; }>; export type VGSupportedModel = z.infer; export declare const LLMSProvider: z.ZodObject<{ key: z.ZodEnum<["openai", "groq", "anthropic", "google", "meta", "deepseek"]>; logoUrl: z.ZodString; label: z.ZodString; }, "strip", z.ZodTypeAny, { key: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek"; label: string; logoUrl: string; }, { key: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek"; label: string; logoUrl: string; }>; export type LLMSProvider = z.infer; export declare const SupportedProviders: LLMSProvider[]; export interface OnDropInBetweenFolders { draggedFolderId: string; inBetweenIndex: number; } export interface OnDropToFolder { draggedFolderId: string; newParentFolderId: string; } export declare const llmProvidersName: z.ZodEnum<["openai", "google", "meta", "anthropic", "groq", "deepseek"]>; export type AppLLMProvidersName = z.infer; export declare const speechProvidersName: z.ZodEnum<["elevenlabs", "cartesia", "playht", "azure", "rime-ai", "openai"]>; export type AppSpeechProvidersName = z.infer; export declare const toolCallSchema: z.ZodObject<{ type: z.ZodLiteral<"tool-call">; toolCallId: z.ZodString; toolName: z.ZodString; args: z.ZodAny; }, "strip", z.ZodTypeAny, { type: "tool-call"; toolCallId: string; toolName: string; args?: any; }, { type: "tool-call"; toolCallId: string; toolName: string; args?: any; }>; export type ToolCall = z.infer; export interface OnDropInBetweenFolders { draggedFolderId: string; inBetweenIndex: number; } export interface OnDropToFolder { draggedFolderId: string; newParentFolderId: string; } export declare const transcriberEventName: z.ZodEnum<["transcript", "final_transcript", "close", "error"]>; export type TranscriberEventName = z.infer; export declare const transcriberProvidersName: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; export type AppTranscriberProvidersName = z.infer; export declare const transcriberInfoSchema: z.ZodObject<{ name: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; iconUrl: z.ZodString; providerLandingUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; iconUrl: string; providerLandingUrl?: string | undefined; }, { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; iconUrl: string; providerLandingUrl?: string | undefined; }>; export type AppTranscriberInfo = z.infer; export declare const transcriberProvidersInfo: AppTranscriberInfo[]; export declare const transcriptSchema: z.ZodObject<{ transcript: z.ZodString; isFinal: z.ZodBoolean; provider: z.ZodObject<{ name: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; payload: z.ZodAny; }, "strip", z.ZodTypeAny, { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }, { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }>; }, "strip", z.ZodTypeAny, { provider: { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }; transcript: string; isFinal: boolean; }, { provider: { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }; transcript: string; isFinal: boolean; }>; export type AppTranscriptPayload = z.infer; export declare const interruptionSchema: z.ZodObject<{ transcript: z.ZodString; provider: z.ZodObject<{ name: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; payload: z.ZodAny; }, "strip", z.ZodTypeAny, { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }, { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }>; }, "strip", z.ZodTypeAny, { provider: { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }; transcript: string; }, { provider: { name: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; payload?: any; }; transcript: string; }>; export type AppInterruption = z.infer; export declare const llmServiceChunkSchema: z.ZodObject<{ content: z.ZodString; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; error: z.ZodOptional; tool_input: z.ZodOptional; tool_output: z.ZodOptional; messagesHistory: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; currentNodeId: z.ZodOptional; isPlaceholder: z.ZodOptional; creditsConsumed: z.ZodOptional; inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; modelId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { content: string; tool_call_id?: string | undefined; tool_name?: string | undefined; error?: string | undefined; tool_input?: any; tool_output?: any; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; currentNodeId?: string | undefined; isPlaceholder?: boolean | undefined; creditsConsumed?: number | undefined; inputTokens?: number | undefined; outputTokens?: number | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; }, { content: string; tool_call_id?: string | undefined; tool_name?: string | undefined; error?: string | undefined; tool_input?: any; tool_output?: any; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; currentNodeId?: string | undefined; isPlaceholder?: boolean | undefined; creditsConsumed?: number | undefined; inputTokens?: number | undefined; outputTokens?: number | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; }>; export type LLMChunk = z.infer; export declare const llmServiceToolCallIdSchema: z.ZodObject<{ tool_call_id: z.ZodString; }, "strip", z.ZodTypeAny, { tool_call_id: string; }, { tool_call_id: string; }>; export type LLMChunkToolCallId = z.infer; export declare const speechGenOnAudioChunkSchema: z.ZodObject<{ chunk: z.ZodType; }, "strip", z.ZodTypeAny, { chunk: Buffer; }, { chunk: Buffer; }>; export type SpeechGenOnAudioChunk = z.infer; export declare const speechGenOnInterruptSchema: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; export type SpeechGenOnInterrupt = z.infer; export declare const speechGenInfoSchema: z.ZodObject<{ name: z.ZodEnum<["elevenlabs", "cartesia", "playht", "azure", "rime-ai", "openai"]>; iconUrl: z.ZodString; providerLandingUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; iconUrl: string; providerLandingUrl?: string | undefined; }, { name: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; iconUrl: string; providerLandingUrl?: string | undefined; }>; export type AppSpeechGenInfo = z.infer; export declare const speechGenProvidersInfo: AppSpeechGenInfo[]; export declare const openAiModelIds: z.ZodEnum<["ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "gpt-4o-mini", "gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo"]>; export type AppOpenAIModelIds = z.infer; export declare const OpenAIModels: VG_SUPPORTED_LLM[]; export declare const googleModelIds: z.ZodEnum<["gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219"]>; export type AppGoogleModelIds = z.infer; export declare const GoogleGeminiModels: VG_SUPPORTED_LLM[]; export declare const groqModelIds: z.ZodEnum<["llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama3-8b-8192", "llama3-70b-8192", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "llama-3.3-70b-versatile"]>; export type AppGroqModelIds = z.infer; export declare const GroqModelsOpenSource: VG_SUPPORTED_LLM[]; export declare const anthropicModelIds: z.ZodEnum<["claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-haiku-20241022", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022"]>; export type AppAnthropicModelIds = z.infer; export declare const AnthropicModels: VG_SUPPORTED_LLM[]; export declare const deepseekModelIds: z.ZodEnum<["deepseek-chat"]>; export type AppDeepseekModelIds = z.infer; export declare const DeepseekModels: VG_SUPPORTED_LLM[]; export declare const allModelIdsSchema: z.ZodUnion<[z.ZodEnum<["ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "gpt-4o-mini", "gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo"]>, z.ZodEnum<["gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219"]>, z.ZodEnum<["llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama3-8b-8192", "llama3-70b-8192", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "llama-3.3-70b-versatile"]>, z.ZodEnum<["claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-haiku-20241022", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022"]>, z.ZodEnum<["deepseek-chat"]>]>; export type AppAllModelIds = z.infer; export declare const toolParamType: z.ZodEnum<["string", "number", "boolean", "object", "array", "null"]>; export type ToolParamType = z.infer; export declare const toolSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; variablesIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }>; export type AppTool = z.infer; export declare const appDefaultTools: AppTool[]; export declare const LLMConfigSchema: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; declare const STSOpenaiModelIdsSchema: z.ZodEnum<["gpt-4o-realtime-preview", "gpt-4o-realtime-preview-2024-12-17", "gpt-4o-realtime-preview-2024-10-01", "gpt-4o-mini-realtime-preview", "gpt-4o-mini-realtime-preview-2024-12-17"]>; export type STSOpenaiModelIdsType = z.infer; declare const STSProviderNames: z.ZodEnum<["openai"]>; export type AppSTSProviders = z.infer; declare const realtimeAudioFormatSchema: z.ZodEnum<["pcm16", "g711_ulaw", "g711_alaw"]>; export type RealtimeAudioFormatType = z.infer; declare const realtimeAudioTranscriptionSchema: z.ZodObject<{ model: z.ZodEnum<["whisper-1"]>; }, "strip", z.ZodTypeAny, { model: "whisper-1"; }, { model: "whisper-1"; }>; export type RealtimeAudioTranscriptionType = z.infer; declare const realtimeTurnDetectionServerVadSchema: z.ZodObject<{ type: z.ZodEnum<["server_vad"]>; threshold: z.ZodNumber; prefix_padding_ms: z.ZodNumber; silence_duration_ms: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }>; export type RealtimeTurnDetectionServerVadType = z.infer; declare const realtimeToolDefinitionSchema: z.ZodObject<{ type: z.ZodDefault>; name: z.ZodOptional; description: z.ZodOptional; parameters: z.ZodOptional>; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }, { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }>; export type RealtimeToolDefinitionType = z.infer; declare const realtimeSessionResourceSchema: z.ZodObject<{ model: z.ZodOptional; modalities: z.ZodOptional>; instructions: z.ZodOptional; voice: z.ZodDefault>>; input_audio_format: z.ZodOptional>; output_audio_format: z.ZodOptional>; input_audio_transcription: z.ZodDefault; }, "strip", z.ZodTypeAny, { model: "whisper-1"; }, { model: "whisper-1"; }>, z.ZodNull]>>; turn_detection: z.ZodDefault; threshold: z.ZodNumber; prefix_padding_ms: z.ZodNumber; silence_duration_ms: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }>, z.ZodNull]>>; tools: z.ZodOptional>; name: z.ZodOptional; description: z.ZodOptional; parameters: z.ZodOptional>; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }, { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }>, "many">>; tool_choice: z.ZodDefault, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function"; }, { name: string; type: "function"; }>]>>>; temperature: z.ZodNumber; max_response_output_tokens: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"inf">]>; }, "strip", z.ZodTypeAny, { temperature: number; voice: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse"; input_audio_transcription: { model: "whisper-1"; } | null; turn_detection: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null; tool_choice: "required" | "none" | "auto" | { name: string; type: "function"; }; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; tools?: { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; }, { temperature: number; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; voice?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; input_audio_transcription?: { model: "whisper-1"; } | null | undefined; turn_detection?: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null | undefined; tools?: { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; tool_choice?: "required" | "none" | "auto" | { name: string; type: "function"; } | undefined; }>; export type RealtimeSessionResourceType = z.infer; declare const STSProviderOptionsSchema: z.ZodObject<{ agentId: z.ZodOptional; modelId: z.ZodOptional>; provider: z.ZodOptional>; apiKey: z.ZodOptional; defaultFunctions: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>>; kbSearchFunctionRaw: z.ZodOptional; }, "strip", z.ZodTypeAny, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }>>; metadata: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone_number?: string | undefined; channel?: string | undefined; }, { phone_number?: string | undefined; channel?: string | undefined; }>>; speechConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; language: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; sessionConfig: z.ZodOptional; modalities: z.ZodOptional>; instructions: z.ZodOptional; voice: z.ZodDefault>>; input_audio_format: z.ZodOptional>; output_audio_format: z.ZodOptional>; input_audio_transcription: z.ZodDefault; }, "strip", z.ZodTypeAny, { model: "whisper-1"; }, { model: "whisper-1"; }>, z.ZodNull]>>; turn_detection: z.ZodDefault; threshold: z.ZodNumber; prefix_padding_ms: z.ZodNumber; silence_duration_ms: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }>, z.ZodNull]>>; tools: z.ZodOptional>; name: z.ZodOptional; description: z.ZodOptional; parameters: z.ZodOptional>; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }, { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }>, "many">>; tool_choice: z.ZodDefault, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function"; }, { name: string; type: "function"; }>]>>>; temperature: z.ZodNumber; max_response_output_tokens: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"inf">]>; }, "strip", z.ZodTypeAny, { temperature: number; voice: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse"; input_audio_transcription: { model: "whisper-1"; } | null; turn_detection: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null; tool_choice: "required" | "none" | "auto" | { name: string; type: "function"; }; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; tools?: { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; }, { temperature: number; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; voice?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; input_audio_transcription?: { model: "whisper-1"; } | null | undefined; turn_detection?: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null | undefined; tools?: { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; tool_choice?: "required" | "none" | "auto" | { name: string; type: "function"; } | undefined; }>>; }, "strip", z.ZodTypeAny, { agentId?: string | undefined; provider?: "openai" | undefined; modelId?: "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; sessionConfig?: { temperature: number; voice: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse"; input_audio_transcription: { model: "whisper-1"; } | null; turn_detection: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null; tool_choice: "required" | "none" | "auto" | { name: string; type: "function"; }; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; tools?: { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; } | undefined; }, { agentId?: string | undefined; provider?: "openai" | undefined; modelId?: "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; sessionConfig?: { temperature: number; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; voice?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; input_audio_transcription?: { model: "whisper-1"; } | null | undefined; turn_detection?: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null | undefined; tools?: { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; tool_choice?: "required" | "none" | "auto" | { name: string; type: "function"; } | undefined; } | undefined; }>; export type AppSTSServiceOptions = z.infer; export declare const rerouterConfigSchema: z.ZodObject<{ enabled: z.ZodBoolean; level: z.ZodNumber; }, "strip", z.ZodTypeAny, { enabled: boolean; level: number; }, { enabled: boolean; level: number; }>; export type RerouterConfig = z.infer; export type LLMConfig = z.infer; export declare const LLMRouterSchema: z.ZodObject<{ nodeId: z.ZodString; condition: z.ZodString; }, "strip", z.ZodTypeAny, { nodeId: string; condition: string; }, { nodeId: string; condition: string; }>; export type LLMRouter = z.infer; export declare const SpecialNodeTypesEnums: z.ZodEnum<["start", "end", "default"]>; export declare const LLMNodeRequiredSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; instructions: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; }, { name: string; description: string; id: string; instructions: string; }>; export type LLMNodeRequired = z.infer; export declare const globalVariableCaptureSchema: z.ZodAny; export type GlobalVariableCapture = z.infer; export declare const LLMNodeSchema: z.ZodObject; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>; export type LLMNode = z.infer; export declare const llmProviderBaseSchema: z.ZodObject<{ nodes: z.ZodOptional; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">>; variables: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; tools: z.ZodOptional; serverUrlSecret: z.ZodOptional; variablesIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }, { tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }>; export declare const globalOptionsSchema: z.ZodObject<{ appendBeforePrompt: z.ZodOptional; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; backchannelOnChoosingNodes: z.ZodOptional; }, "strip", z.ZodTypeAny, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }>; export declare const llmProviderOptionsSchema: z.ZodObject<{ globalOptions: z.ZodOptional; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; backchannelOnChoosingNodes: z.ZodOptional; }, "strip", z.ZodTypeAny, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }>>; nodes: z.ZodOptional; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">>; variables: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; tools: z.ZodOptional; serverUrlSecret: z.ZodOptional; variablesIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }>, "many">>; initNode: z.ZodOptional; initGlobalVarsValues: z.ZodOptional; agentId: z.ZodOptional; temperature: z.ZodOptional; maxTokens: z.ZodOptional; topP: z.ZodOptional; frequencyPenalty: z.ZodOptional; presencePenalty: z.ZodOptional; messagesHistory: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; modelId: z.ZodOptional, z.ZodEnum<["gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219"]>, z.ZodEnum<["llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama3-8b-8192", "llama3-70b-8192", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "llama-3.3-70b-versatile"]>, z.ZodEnum<["claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-haiku-20241022", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022"]>, z.ZodEnum<["deepseek-chat"]>]>>; provider: z.ZodOptional>; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { randomOptions?: any; }, { randomOptions?: any; }>>; apiKey: z.ZodOptional; defaultFunctions: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>>; kbSearchFunctionRaw: z.ZodOptional; }, "strip", z.ZodTypeAny, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }>>; metadata: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone_number?: string | undefined; channel?: string | undefined; }, { phone_number?: string | undefined; channel?: string | undefined; }>>; lgTools: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>, "many">>; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; }, "strip", z.ZodTypeAny, { agentId?: string | undefined; provider?: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; internal?: { randomOptions?: any; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; globalOptions?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; initNode?: string | undefined; initGlobalVarsValues?: any; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; lgTools?: DynamicStructuredTool>[] | undefined; }, { agentId?: string | undefined; provider?: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; internal?: { randomOptions?: any; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; globalOptions?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; initNode?: string | undefined; initGlobalVarsValues?: any; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; lgTools?: DynamicStructuredTool>[] | undefined; }>; export type AppLLMServiceOptions = z.infer; export declare const speechProviderOptionsSchema: z.ZodObject<{ baseOptions: z.ZodOptional; }, "strip", z.ZodTypeAny, { backChannelling?: boolean | undefined; }, { backChannelling?: boolean | undefined; }>>; voiceId: z.ZodString; provider: z.ZodEnum<["elevenlabs", "cartesia", "playht", "azure", "rime-ai", "openai"]>; randomOptions: z.ZodOptional; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; apiKey: string; voiceId: string; randomOptions?: any; baseOptions?: { backChannelling?: boolean | undefined; } | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; apiKey: string; voiceId: string; randomOptions?: any; baseOptions?: { backChannelling?: boolean | undefined; } | undefined; }>; export type AppSpeechServiceOptions = z.infer; declare const SpeechGenVoiceIdsStruct: z.ZodArray, "many">; export type SpeechGenVoiceIdsStructType = z.infer; export declare const speechmaticsModelIds: z.ZodEnum<["whisper"]>; export type AppSpeechmaticsModelIds = z.infer; export declare const speechmaticsModelLanguages: z.ZodObject<{ whisper: z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { whisper: Partial>; }, { whisper: Partial>; }>; export type AppSpeechmaticsModelLanguages = z.infer; export declare const deepgramModelIds: z.ZodEnum<["nova-2", "nova-2-general", "nova-2-meeting", "nova-2-phonecall", "nova-2-voicemail", "nova-2-finance", "nova-2-conversationalai", "nova-2-video", "nova-2-medical", "nova-2-drivethru", "nova-2-automotive", "nova-2-atc", "nova", "nova-general", "nova-phonecall", "enhanced", "enhanced-general", "enhanced-meeting", "enhanced-phonecall", "enhanced-finance", "base", "base-general", "base-meeting", "base-phonecall", "base-voicemail", "base-finance", "base-conversationalai", "base-video", "whisper", "whisper-tiny", "whisper-base", "whisper-small", "whisper-medium", "whisper-large"]>; export type AppDeepgramModelIds = z.infer; export declare const deepgramModelLanguages: z.ZodObject<{ "nova-2": z.ZodRecord, z.ZodString>; "nova-2-general": z.ZodRecord, z.ZodString>; "nova-2-meeting": z.ZodRecord, z.ZodString>; "nova-2-phonecall": z.ZodRecord, z.ZodString>; "nova-2-finance": z.ZodRecord, z.ZodString>; "nova-2-conversationalai": z.ZodRecord, z.ZodString>; "nova-2-voicemail": z.ZodRecord, z.ZodString>; "nova-2-video": z.ZodRecord, z.ZodString>; "nova-2-medical": z.ZodRecord, z.ZodString>; "nova-2-drivethru": z.ZodRecord, z.ZodString>; "nova-2-automotive": z.ZodRecord, z.ZodString>; "nova-2-atc": z.ZodRecord, z.ZodString>; enhanced: z.ZodRecord, z.ZodString>; "enhanced-general": z.ZodRecord, z.ZodString>; "enhanced-meeting": z.ZodRecord, z.ZodString>; "enhanced-phonecall": z.ZodRecord, z.ZodString>; "enhanced-finance": z.ZodRecord, z.ZodString>; base: z.ZodRecord, z.ZodString>; "base-general": z.ZodRecord, z.ZodString>; "base-meeting": z.ZodRecord, z.ZodString>; "base-phonecall": z.ZodRecord, z.ZodString>; "base-voicemail": z.ZodRecord, z.ZodString>; "base-finance": z.ZodRecord, z.ZodString>; "base-conversationalai": z.ZodRecord, z.ZodString>; "base-video": z.ZodRecord, z.ZodString>; whisper: z.ZodRecord, z.ZodString>; "whisper-tiny": z.ZodRecord, z.ZodString>; "whisper-base": z.ZodRecord, z.ZodString>; "whisper-small": z.ZodRecord, z.ZodString>; "whisper-medium": z.ZodRecord, z.ZodString>; "whisper-large": z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }, { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }>; export type AppDeepgramModelLanguages = z.infer; export declare const assemblyAiModelIds: z.ZodEnum<["nano", "best"]>; export type AppAssemblyAiModelIds = z.infer; export declare const assemblyAiModelLanguages: z.ZodObject<{ nano: z.ZodRecord, z.ZodString>; base: z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { base: Partial>; nano: Partial>; }, { base: Partial>; nano: Partial>; }>; export type AppAssemblyAiModelLanguages = z.infer; export declare const openaiSTTModelIds: z.ZodEnum<["whisper"]>; export type AppOpenaiSTTModelIds = z.infer; export declare const openaiSTTModelLanguages: z.ZodObject<{ "whisper-1": z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { "whisper-1": Partial>; }, { "whisper-1": Partial>; }>; export type AppOpenaiSTTModelLanguages = z.infer; export declare const allSTTModelIds: z.ZodUnion<[z.ZodEnum<["nova-2", "nova-2-general", "nova-2-meeting", "nova-2-phonecall", "nova-2-voicemail", "nova-2-finance", "nova-2-conversationalai", "nova-2-video", "nova-2-medical", "nova-2-drivethru", "nova-2-automotive", "nova-2-atc", "nova", "nova-general", "nova-phonecall", "enhanced", "enhanced-general", "enhanced-meeting", "enhanced-phonecall", "enhanced-finance", "base", "base-general", "base-meeting", "base-phonecall", "base-voicemail", "base-finance", "base-conversationalai", "base-video", "whisper", "whisper-tiny", "whisper-base", "whisper-small", "whisper-medium", "whisper-large"]>, z.ZodEnum<["whisper"]>, z.ZodEnum<["nano", "best"]>]>; export type AppAllSTTModelIds = z.infer; export declare const GladiaModelIds: z.ZodEnum<["whisper", "base"]>; export type AppGladiaModelIds = z.infer; export declare const GladiaModelLanguages: z.ZodObject<{ whisper: z.ZodRecord, z.ZodString>; base: z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { whisper: Partial>; base: Partial>; }, { whisper: Partial>; base: Partial>; }>; export type AppGladiaModelLanguages = z.infer; export declare const allSTTProviders: z.ZodObject<{ deepgram: z.ZodObject<{ languages: z.ZodObject<{ "nova-2": z.ZodRecord, z.ZodString>; "nova-2-general": z.ZodRecord, z.ZodString>; "nova-2-meeting": z.ZodRecord, z.ZodString>; "nova-2-phonecall": z.ZodRecord, z.ZodString>; "nova-2-finance": z.ZodRecord, z.ZodString>; "nova-2-conversationalai": z.ZodRecord, z.ZodString>; "nova-2-voicemail": z.ZodRecord, z.ZodString>; "nova-2-video": z.ZodRecord, z.ZodString>; "nova-2-medical": z.ZodRecord, z.ZodString>; "nova-2-drivethru": z.ZodRecord, z.ZodString>; "nova-2-automotive": z.ZodRecord, z.ZodString>; "nova-2-atc": z.ZodRecord, z.ZodString>; enhanced: z.ZodRecord, z.ZodString>; "enhanced-general": z.ZodRecord, z.ZodString>; "enhanced-meeting": z.ZodRecord, z.ZodString>; "enhanced-phonecall": z.ZodRecord, z.ZodString>; "enhanced-finance": z.ZodRecord, z.ZodString>; base: z.ZodRecord, z.ZodString>; "base-general": z.ZodRecord, z.ZodString>; "base-meeting": z.ZodRecord, z.ZodString>; "base-phonecall": z.ZodRecord, z.ZodString>; "base-voicemail": z.ZodRecord, z.ZodString>; "base-finance": z.ZodRecord, z.ZodString>; "base-conversationalai": z.ZodRecord, z.ZodString>; "base-video": z.ZodRecord, z.ZodString>; whisper: z.ZodRecord, z.ZodString>; "whisper-tiny": z.ZodRecord, z.ZodString>; "whisper-base": z.ZodRecord, z.ZodString>; "whisper-small": z.ZodRecord, z.ZodString>; "whisper-medium": z.ZodRecord, z.ZodString>; "whisper-large": z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }, { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }>; }, "strip", z.ZodTypeAny, { languages: { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }; }, { languages: { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }; }>; assemblyai: z.ZodObject<{ languages: z.ZodObject<{ nano: z.ZodRecord, z.ZodString>; base: z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { base: Partial>; nano: Partial>; }, { base: Partial>; nano: Partial>; }>; }, "strip", z.ZodTypeAny, { languages: { base: Partial>; nano: Partial>; }; }, { languages: { base: Partial>; nano: Partial>; }; }>; openai: z.ZodObject<{ languages: z.ZodObject<{ "whisper-1": z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { "whisper-1": Partial>; }, { "whisper-1": Partial>; }>; }, "strip", z.ZodTypeAny, { languages: { "whisper-1": Partial>; }; }, { languages: { "whisper-1": Partial>; }; }>; gladia: z.ZodObject<{ languages: z.ZodObject<{ whisper: z.ZodRecord, z.ZodString>; base: z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { whisper: Partial>; base: Partial>; }, { whisper: Partial>; base: Partial>; }>; }, "strip", z.ZodTypeAny, { languages: { whisper: Partial>; base: Partial>; }; }, { languages: { whisper: Partial>; base: Partial>; }; }>; speechmatics: z.ZodObject<{ languages: z.ZodObject<{ "whisper-1": z.ZodRecord, z.ZodString>; }, "strip", z.ZodTypeAny, { "whisper-1": Partial>; }, { "whisper-1": Partial>; }>; }, "strip", z.ZodTypeAny, { languages: { "whisper-1": Partial>; }; }, { languages: { "whisper-1": Partial>; }; }>; }, "strip", z.ZodTypeAny, { deepgram: { languages: { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }; }; openai: { languages: { "whisper-1": Partial>; }; }; gladia: { languages: { whisper: Partial>; base: Partial>; }; }; assemblyai: { languages: { base: Partial>; nano: Partial>; }; }; speechmatics: { languages: { "whisper-1": Partial>; }; }; }, { deepgram: { languages: { "nova-2-phonecall": Partial>; whisper: Partial>; "nova-2": Partial>; "nova-2-general": Partial>; "nova-2-meeting": Partial>; "nova-2-finance": Partial>; "nova-2-conversationalai": Partial>; "nova-2-voicemail": Partial>; "nova-2-video": Partial>; "nova-2-medical": Partial>; "nova-2-drivethru": Partial>; "nova-2-automotive": Partial>; "nova-2-atc": Partial>; enhanced: Partial>; "enhanced-general": Partial>; "enhanced-meeting": Partial>; "enhanced-phonecall": Partial>; "enhanced-finance": Partial>; base: Partial>; "base-general": Partial>; "base-meeting": Partial>; "base-phonecall": Partial>; "base-voicemail": Partial>; "base-finance": Partial>; "base-conversationalai": Partial>; "base-video": Partial>; "whisper-tiny": Partial>; "whisper-base": Partial>; "whisper-small": Partial>; "whisper-medium": Partial>; "whisper-large": Partial>; }; }; openai: { languages: { "whisper-1": Partial>; }; }; gladia: { languages: { whisper: Partial>; base: Partial>; }; }; assemblyai: { languages: { base: Partial>; nano: Partial>; }; }; speechmatics: { languages: { "whisper-1": Partial>; }; }; }>; export type AllSTTProvidersType = z.infer; export declare const allSTTProvidersType: AllSTTProvidersType; export declare const DeepgramPlatformSpecificOptionsSchema: z.ZodObject<{ modelId: z.ZodEnum<["nova-2", "nova-2-general", "nova-2-meeting", "nova-2-phonecall", "nova-2-voicemail", "nova-2-finance", "nova-2-conversationalai", "nova-2-video", "nova-2-medical", "nova-2-drivethru", "nova-2-automotive", "nova-2-atc", "nova", "nova-general", "nova-phonecall", "enhanced", "enhanced-general", "enhanced-meeting", "enhanced-phonecall", "enhanced-finance", "base", "base-general", "base-meeting", "base-phonecall", "base-voicemail", "base-finance", "base-conversationalai", "base-video", "whisper", "whisper-tiny", "whisper-base", "whisper-small", "whisper-medium", "whisper-large"]>; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>; export declare const AssemblyaiPlatformSpecificOptionsSchema: z.ZodObject<{ modelId: z.ZodString; }, "strip", z.ZodTypeAny, { modelId: string; }, { modelId: string; }>; export declare const transcriberProviderOptionsSchema: z.ZodObject<{ speechConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: z.ZodOptional; patienceFactor: z.ZodOptional; language: z.ZodOptional; provider: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: z.ZodOptional; platformSpecific: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>>; assemblyai: z.ZodOptional>; }, "strip", z.ZodTypeAny, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }>>; utteranceThreshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }>; export type AppTranscriberServiceOptions = z.infer; export declare const VGAgentToolSchema: z.ZodObject<{ isDefault: z.ZodOptional; method: z.ZodOptional>; id: z.ZodString; name: z.ZodString; description: z.ZodString; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; disabled: z.ZodOptional; isVapiTool: z.ZodOptional; vapiId: z.ZodOptional; isGlobal: z.ZodOptional; variablesIds: z.ZodOptional>; agentId: z.ZodOptional; userId: z.ZodOptional; backchannellingPhrases: z.ZodOptional>; fields: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }>; export type VGAgentTool = z.infer; export declare const agentToolSchemaAPI: z.ZodObject<{ id: z.ZodString; isDefault: z.ZodOptional; method: z.ZodOptional>; name: z.ZodString; description: z.ZodString; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; disabled: z.ZodOptional; isVapiTool: z.ZodOptional; vapiId: z.ZodOptional; isGlobal: z.ZodOptional; variablesIds: z.ZodOptional>; agentId: z.ZodOptional; userId: z.ZodOptional; backchannellingPhrases: z.ZodOptional>; fields: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }>; export type AgentToolSchemaAPI = z.infer; export declare const regionSchema: z.ZodEnum<["eu", "na"]>; export declare const buttonsLayoutSchema: z.ZodEnum<["horizontal", "vertical", "in-footer"]>; export declare const ElevenLabsPlatformSpecificOptionsSchema: z.ZodObject<{ stability: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>; export declare const PlayhtPlatformSpecificOptionsSchema: z.ZodObject<{ voiceId: z.ZodString; }, "strip", z.ZodTypeAny, { voiceId: string; }, { voiceId: string; }>; export declare const APISpeechGenOptionsSchema: z.ZodObject<{ provider: z.ZodEnum<["elevenlabs", "cartesia", "playht", "azure", "rime-ai", "openai"]>; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>; export type APISpeechGenOptions = z.infer; export declare const audioFormatConfigSchema: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; export type AudioFormatConfig = z.infer; export declare const InternalSpeechGenOptionsSchema: z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>; export type InternalSpeechGenOptions = z.infer; export declare const speechGenProviderOptionsSchema: z.ZodIntersection; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>, z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>>; export type AppSpeechGenServiceOptions = z.infer; export declare const AgentRootSchema: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; ownerID: z.ZodOptional; theme: z.ZodOptional; voiceConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: z.ZodOptional; patienceFactor: z.ZodOptional; language: z.ZodOptional; provider: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: z.ZodOptional; platformSpecific: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>>; assemblyai: z.ZodOptional>; }, "strip", z.ZodTypeAny, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }>>; utteranceThreshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }>>; speechGen: z.ZodOptional; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>, z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>>>; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { description?: string | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; }, { description?: string | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; }>; export declare const AgentSchema: z.ZodObject; description: z.ZodOptional; ownerID: z.ZodOptional; theme: z.ZodOptional; voiceConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: z.ZodOptional; patienceFactor: z.ZodOptional; language: z.ZodOptional; provider: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: z.ZodOptional; platformSpecific: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>>; assemblyai: z.ZodOptional>; }, "strip", z.ZodTypeAny, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }>>; utteranceThreshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }>>; speechGen: z.ZodOptional; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>, z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>>>; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }>>; }, { disabled: z.ZodOptional; vectorDb: z.ZodAny; withRefresh: z.ZodOptional; agentPlatform: z.ZodAny; ID: z.ZodOptional; storageID: z.ZodOptional; VF_DIALOGUE_API_KEY: z.ZodOptional; VF_PROJECT_API_KEY: z.ZodOptional; VF_PROJECT_ID: z.ZodOptional; VF_KB_API_KEY: z.ZodOptional; roundedImageURL: z.ZodOptional; rectangeImageURL: z.ZodOptional; messageDelayMS: z.ZodOptional; scrollAnimation: z.ZodOptional; proactiveMessage: z.ZodOptional; acceptFileUpload: z.ZodOptional; recordChatHistory: z.ZodOptional; chatBgURL: z.ZodOptional; disableSmoothScroll: z.ZodOptional; isDeployed: z.ZodOptional; tokensUsage: z.ZodOptional; maxTokensUsage: z.ZodOptional; lastModified: z.ZodOptional; fontFamily: z.ZodOptional; branding: z.ZodOptional; customThemeJSONString: z.ZodOptional; autoStartWidget: z.ZodOptional; allTimeTriggers: z.ZodOptional; syncBrowser: z.ZodOptional; delayBeforeSubmit: z.ZodOptional; region: z.ZodOptional>; listenForUrlChanges: z.ZodOptional; chatForget: z.ZodOptional; lang: z.ZodOptional; enableAudioSupport: z.ZodOptional; AITranslateTo: z.ZodOptional; enableAITranslate: z.ZodOptional; disableNoReplyListener: z.ZodOptional; disableHumanHandoff: z.ZodOptional; alwaysShowHandoff: z.ZodOptional; manualControl: z.ZodOptional; enableVGHandoff: z.ZodOptional; enableGeoAnalytics: z.ZodOptional; fixedHandoffPopup: z.ZodOptional; buttonsLayout: z.ZodOptional>; ADVANCED_customCSS: z.ZodOptional; messagesLimit: z.ZodOptional; whatsappToken: z.ZodOptional; whatsappNumberId: z.ZodOptional; whatsappBusniessId: z.ZodOptional; waTestNumber: z.ZodOptional; waVerifyPassed: z.ZodOptional; waTestPassed: z.ZodOptional; webhookUrl: z.ZodOptional; gcloudPrivateKey: z.ZodOptional; gcloudClientEmail: z.ZodOptional; smartInit: z.ZodOptional; UIhandoffTitle: z.ZodOptional; UIhandoffSubtitle: z.ZodOptional; igVerified: z.ZodOptional; igAccessToken: z.ZodOptional; showHandoffEvenIfOffline: z.ZodOptional; customButtonJSON_STRING: z.ZodOptional; vg_initPrompt: z.ZodOptional; vg_prompt: z.ZodOptional; vg_initMessages: z.ZodOptional>; vg_systemPrompt: z.ZodOptional; vg_temperature: z.ZodOptional; vg_defaultModel: z.ZodOptional>; vg_maxTokens: z.ZodOptional; vg_kbDefaultDimension: z.ZodOptional; vg_kbTopChunks: z.ZodOptional; SECRET_API_KEY: z.ZodOptional; vg_kbCharCount: z.ZodOptional; vg_kbDocsNum: z.ZodOptional; vg_enableUIEngine: z.ZodOptional; vg_enableAboutContext: z.ZodOptional; vg_kb_llm: z.ZodOptional, z.ZodLiteral<"simple">]>>; searchPrompt: z.ZodOptional; modelId: z.ZodOptional>; temprature: z.ZodOptional; maxTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; }, { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; }>>; vg_max_messages_history: z.ZodOptional; ifKnowsThreshold: z.ZodOptional; avatarImageUrl: z.ZodOptional; headerImageUrl: z.ZodOptional; bannerImageUrl: z.ZodOptional; soundEffectUrl: z.ZodOptional; soundEffectEnabled: z.ZodOptional; enableQuickFileUpload: z.ZodOptional; instagramOptions: z.ZodOptional; accessToken: z.ZodOptional; }, "strip", z.ZodTypeAny, { pageId?: string | undefined; accessToken?: string | undefined; }, { pageId?: string | undefined; accessToken?: string | undefined; }>>; translateUserResponse: z.ZodOptional; starred: z.ZodOptional; flowise: z.ZodOptional; webhookSecret: z.ZodOptional; }, "strip", z.ZodTypeAny, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }>>; vfSettings: z.ZodOptional; }, "strip", z.ZodTypeAny, { enableIgnoreUrlPaths?: boolean | undefined; }, { enableIgnoreUrlPaths?: boolean | undefined; }>>; vapi: z.ZodOptional; vapiConfig: z.ZodOptional; PUBLIC_API_KEY: z.ZodOptional; PRIVATE_API_KEY: z.ZodOptional; enableVapiOnWeb: z.ZodOptional; overrideWithVG: z.ZodOptional; promptOnWeb: z.ZodOptional; maxCostMonthly: z.ZodOptional; maxMinutesMonthly: z.ZodOptional; useVfProject: z.ZodOptional; syncTools: z.ZodOptional; }, "strip", z.ZodTypeAny, { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; }, { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; }>>; vgOptions: z.ZodOptional; showSources: z.ZodOptional; lightUiEngine: z.ZodOptional; legacyKb: z.ZodOptional; maxChunkSize: z.ZodOptional; handoffTimeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; }, { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; }>>; ui: z.ZodOptional; widgetType: z.ZodOptional, z.ZodLiteral<"tabs">]>>; enableFixedFeedbackBtns: z.ZodOptional; voice: z.ZodOptional>; }, "strip", z.ZodTypeAny, { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; }, { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; }>>; assignedToolsIds: z.ZodOptional>; tools: z.ZodOptional; method: z.ZodOptional>; id: z.ZodString; name: z.ZodString; description: z.ZodString; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; disabled: z.ZodOptional; isVapiTool: z.ZodOptional; vapiId: z.ZodOptional; isGlobal: z.ZodOptional; variablesIds: z.ZodOptional>; agentId: z.ZodOptional; userId: z.ZodOptional; backchannellingPhrases: z.ZodOptional>; fields: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }>, "many">>; internal: z.ZodOptional>; websocketServer: z.ZodOptional, z.ZodLiteral<"nodejs">]>>; setOnResponse: z.ZodOptional; enableSetOnLoad: z.ZodOptional; }, "strip", z.ZodTypeAny, { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; }, { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; }>>; disableAutoTranscribeAudio: z.ZodOptional; instaAgentUsername: z.ZodOptional; convoTags: z.ZodOptional>; vfConfig: z.ZodOptional; }, "strip", z.ZodTypeAny, { alwaysEnableCardButtons?: boolean | undefined; }, { alwaysEnableCardButtons?: boolean | undefined; }>>; discord: z.ZodOptional>; webhookUrls: z.ZodOptional>; }, "strip", z.ZodTypeAny, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }>>; limits: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxInteractionsPerUserId?: number | undefined; }, { maxInteractionsPerUserId?: number | undefined; }>>; tabs: z.ZodOptional>; kbTags: z.ZodOptional>; kbTagsDataMap: z.ZodOptional>; nodes: z.ZodOptional; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">>; enableNodes: z.ZodOptional; advanced: z.ZodOptional; serverUrlSecret: z.ZodOptional; }, "strip", z.ZodTypeAny, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }>>; nodesSettings: z.ZodOptional; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; backchannelOnChoosingNodes: z.ZodOptional; }, "strip", z.ZodTypeAny, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }>>; id: z.ZodOptional; }>, "strip", z.ZodTypeAny, { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; }, { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; }>; export type ChatRuntime = z.infer; export declare const genericResponsesArray: string[]; export declare const AppIceServers: RTCIceServer[]; export declare const GladiaStreamingConfigSchema: z.ZodObject<{ endpointing: z.ZodNumber; maximum_duration_without_endpointing: z.ZodNumber; encoding: z.ZodEnum<["wav/pcm", "wav/alaw", "wav/ulaw"]>; bit_depth: z.ZodNumber; sample_rate: z.ZodNumber; channels: z.ZodNumber; language_config: z.ZodOptional>; code_switching: z.ZodOptional; }, "strip", z.ZodTypeAny, { languages?: string[] | undefined; code_switching?: boolean | undefined; }, { languages?: string[] | undefined; code_switching?: boolean | undefined; }>>; pre_processing: z.ZodOptional; }, "strip", z.ZodTypeAny, { audio_enhancer?: boolean | undefined; }, { audio_enhancer?: boolean | undefined; }>>; realtime_processing: z.ZodOptional; sentiment_analysis: z.ZodOptional; }, "strip", z.ZodTypeAny, { words_accurate_timestamps?: boolean | undefined; sentiment_analysis?: boolean | undefined; }, { words_accurate_timestamps?: boolean | undefined; sentiment_analysis?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { channels: number; endpointing: number; maximum_duration_without_endpointing: number; encoding: "wav/pcm" | "wav/alaw" | "wav/ulaw"; bit_depth: number; sample_rate: number; language_config?: { languages?: string[] | undefined; code_switching?: boolean | undefined; } | undefined; pre_processing?: { audio_enhancer?: boolean | undefined; } | undefined; realtime_processing?: { words_accurate_timestamps?: boolean | undefined; sentiment_analysis?: boolean | undefined; } | undefined; }, { channels: number; endpointing: number; maximum_duration_without_endpointing: number; encoding: "wav/pcm" | "wav/alaw" | "wav/ulaw"; bit_depth: number; sample_rate: number; language_config?: { languages?: string[] | undefined; code_switching?: boolean | undefined; } | undefined; pre_processing?: { audio_enhancer?: boolean | undefined; } | undefined; realtime_processing?: { words_accurate_timestamps?: boolean | undefined; sentiment_analysis?: boolean | undefined; } | undefined; }>; export type GladiaStreamingConfig = z.infer; export declare const NodesTemplateSchema: z.ZodObject<{ name: z.ZodString; nodes: z.ZodArray; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">; }, "strip", z.ZodTypeAny, { name: string; nodes: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[]; }, { name: string; nodes: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[]; }>; export type NodesTemplate = z.infer; export declare function llMNodesToReactFlowNodes(nodes: LLMNode[] | undefined, config?: { position: { x: number; y: number; }; }): Node[]; export declare const createRfNodeProps: (input?: { id?: string; type?: string; position?: XYPosition; data?: any; }) => Node; export declare function createRfNodeOptions(options?: Node): Node; export declare const StartNodeExample: LLMNode; export declare function llMNodeToReactFlowNode(node: LLMNode, config?: { position: { x: number; y: number; }; }): Node; export declare const defaultLlmNodeConfig: LLMConfig; export declare const defaultRerouterConfig: RerouterConfig; export declare const defaultLlmNodePosition: { position: { x: number; y: number; }; data: { label: string; }; }; export declare const createDefaultLlmNode: (options?: LLMNodeRequired | LLMNode) => LLMNode; export declare const convertInputJsonToToolFinalBody: (input: { tool_metadata: { tool_id: string; tool_name: string; }; tool_payload: any; }) => { tool_metadata: { tool_id: string; }; tool_payload: any; }; export declare function reactFlowNodesToLLMNodes(nodes: Node[], edges: Edge[]): LLMNode[]; export declare const createRfNode: (id: string, options: Node) => Node; export declare function createLLMNode(type: "start" | "end" | "default", id: string, position: { x: number; y: number; }): LLMNode; export declare function llMNodeToReactFlowEdges(node: LLMNode): Edge[]; export declare function llmNodesToReactFlowEdges(nodes: LLMNode[] | undefined): Edge[]; export declare const startTemplate: NodesTemplate; export declare const V2GetStripeCustomPlan: z.ZodObject<{ id: z.ZodString; ID: z.ZodOptional; USDToPay: z.ZodOptional; createdAt: z.ZodOptional; status: z.ZodEnum<["active", "cancelled", "trialing", "past_due", "unpaid", "pending"]>; ts: z.ZodOptional; stripe: z.ZodObject<{ sessionId: z.ZodOptional; customerId: z.ZodOptional; subscriptionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId?: string | undefined; customerId?: string | undefined; subscriptionId?: string | undefined; }, { sessionId?: string | undefined; customerId?: string | undefined; subscriptionId?: string | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; status: "active" | "cancelled" | "trialing" | "past_due" | "unpaid" | "pending"; stripe: { sessionId?: string | undefined; customerId?: string | undefined; subscriptionId?: string | undefined; }; createdAt?: string | undefined; ID?: string | undefined; USDToPay?: number | undefined; ts?: number | undefined; }, { id: string; status: "active" | "cancelled" | "trialing" | "past_due" | "unpaid" | "pending"; stripe: { sessionId?: string | undefined; customerId?: string | undefined; subscriptionId?: string | undefined; }; createdAt?: string | undefined; ID?: string | undefined; USDToPay?: number | undefined; ts?: number | undefined; }>; export type V2GetStripeCustomPlanModel = z.infer; export declare function generateRandomId(length?: number): string; export type REGION_VALUE = "eu" | "na"; export type BUCKET_VALUE = "voiceglow-eu" | "(default)"; export type SessionModel = TurnProps[]; export type SesssionsModel = TurnProps[][]; export declare function GET_VF_API_EP(): string; export declare function GET_QDRANT_ENDPOINT({ region }: { region: "eu" | "na"; }): string; export declare function GET_BUN_SERVER_ENDPOINT({ region }: { region: "eu" | "na"; }): string; export declare function GET_HEAVY_WS_URL({ region }: { region: "eu" | "na"; }): string; export declare function GET_VG_WS_URL({ region }: { region: "eu" | "na"; }): string; export declare function GET_VG_ORIGIN_URL({ region }: { region: "eu" | "na"; }): string; export declare function GET_NODE_WS_SERVER({ region }: { region: "eu" | "na"; }): string; export declare function GET_VG_API_URL({ region, forceLive, pinggy, }: { region: "eu" | "na"; forceLive?: boolean; pinggy?: boolean; }): string; export declare function WITH_PROXY_URL(url: string): string; export declare function GET_VG_EDGE_API_URL({ region, live, }: { region: "eu" | "na"; live?: boolean; }): string; export interface V2AgentModel extends ChatRuntime { } export interface KbTagMapModel { id: string; key: string; index: number; label?: string; description?: string; queryable?: boolean; } export declare const DEFAULT_WIDGET_TABS: WidgetTabModel[]; export type ToolFieldIn = "query" | "body" | "header"; export type VGAgentToolType = "string" | "number" | "boolean" | "object"; export declare const vgPromptVarSchema: z.ZodObject<{ key: z.ZodUnion<[z.ZodLiteral<"timestamb">, z.ZodString]>; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; value?: string | undefined; }, { key: string; value?: string | undefined; }>; export type VG_PROMPT_VAR = z.infer; export declare const DEFAULT_VG_PROMPT_VARS: VG_PROMPT_VAR[]; export declare const getToolsTemplate: ({ region, toolName, workspaceData, }: { region: "eu" | "na"; toolName: string; workspaceData?: WorkspaceModel; }) => VGAgentTool[]; export declare const ToolExamples: VGAgentTool[]; export type REFRESH_RATE_KEY = "1h" | "6h" | "12h" | "24h" | "7d" | "never"; export declare const DEFAULT_VARIABLE_TYPE: { label: string; key: ToolFieldVariableType; }[]; export declare const DEFAULT_REFRESH_RATES: { label: string; key: REFRESH_RATE_KEY; }[]; export interface AgentKBDoc { withRefresh?: boolean; refreshRate?: REFRESH_RATE_KEY; url?: string; ID?: string; name?: string; ts?: number; userId?: string; agentId?: string; workspaceId?: string; content?: string; contentURL?: string; agencyId?: string; tags?: string[]; dimensions?: number; sourceType?: "doc" | "url"; status?: "ERROR" | "SUCCESS" | "PENDING" | "INITIALIZED"; chunksIds_JSON_STRING?: string; charCount?: number; metadata?: { description?: string; }; createdAt?: number; refreshMetadata?: { lastRefreshTS?: number; }; } export interface AgentKbDocV2 extends AgentKBDoc { dimensions?: number; content?: string; contentURL?: string; chunksIds_JSON_STRING?: string; vapiFileId?: string; charCount?: number; userId?: string; ts?: number; url?: string; refreshRate?: "1h" | "6h" | "12h" | "24h"; } export interface WidgetModel extends ChatRuntime { ownerID?: string; ownerEmail?: string; } export interface WorkspaceLimitsModel { maxAgents?: number | "infinity"; maxClients?: number; maxKbDocsCharCount?: number; } export interface WorkspaceModel extends UserModel { promotionalCode?: any; automaticBilling?: boolean; workspaceName?: string; workspaceEmails?: string[]; ts?: number; ownerId?: string; usersPerms_JSON_STRING?: string; usersPerms?: WorkspaceMemberModel[]; workspacePhotoURL?: string; workspaceSecret?: string; vapiConfig?: { orgId?: string; PUBLIC_API_KEY?: string; PRIVATE_API_KEY?: string; SERVER_URL?: string; SERVER_URL_SECRET?: string; }; secrets?: { OPENAI_SECRET?: string; ANTHROPIC_SECRET?: string; GROQ_SECRET?: string; GOOGLE_GENAI_SECRET?: string; GITHUB_PERONAL_ACCESS_TOKEN?: string; GITHUB_USERNAME?: string; ELEVENLABS_API_KEY?: string; DEEPGRAM_API_KEY?: string; PLAYHT_API_KEY?: string; PLAYHT_X_USER_ID?: string; TWILIO_API_KEY?: string; TWILIO_SECRET_TOKEN?: string; CARTESIA_API_KEY?: string; GLADIA_API_KEY?: string; AZURE_API_KEY?: string; TWILIO_ACCOUNT_SID?: string; TWILIO_AUTH_TOKEN?: string; }; v2StripeConfig?: { subscriptionId?: string; features?: FeatureModel[]; limits?: WorkspaceLimitsModel; startBillingDate?: number; nextBillingDate?: number; status: "active" | "cancelled" | "trialing" | "past_due" | "unpaid"; }; internal?: { joinedAtConfig?: null | "v2"; customPlanId?: string; customPlan?: any; autochargeCreditThreshold?: number; autochargeCreditAmount?: number; cardDeclined?: boolean; useNewPricing?: boolean; howDidYouFindUs?: string; isReseller?: boolean; countryCode?: string; OGUSER?: boolean; }; meta?: { userAccessToken?: string; }; provider?: "google" | "email" | "meta"; showOnboarding?: boolean; viaUsername?: string; betaProgram?: boolean; stripeConnect?: { email?: string; accountId?: string; isConnected?: boolean; payouts_enabled?: boolean; USDPerToken?: any; }; promotionalCode100OffMonthForPro?: string; promotionalCodeForPro?: string; promotionalCodeForAgency?: string; } export interface UserModel { uid?: string; displayName?: string; email?: string; joinedAt?: number; photoURL?: string; widgets?: [] | "loading"; pass?: boolean; origin?: "google" | "email"; location?: "voiceglow-eu" | "(default)"; loadTokens?: number; hasEverPaid?: boolean; freeLTsTS?: number; referredFrom?: string; stripeCustomerId?: string; stripeSubscriptionId?: string; stripeSubscriptionTs?: number; stripePlanId?: string; } export interface UserLNSModel extends UserModel { password?: string; username?: string; LNS_ID?: string; } export interface LNSClientModel { LNS_ID?: string; VF_KB_KEY?: string; owner_password?: string; owner_username?: string; client_fullname?: string; client_photoURL?: string; instagram_username?: string; instagram_email?: string; instagram_password?: string; instagram_photo?: string; instagram_reply_bot_status?: boolean; instagram_dm_bot_status?: boolean; instagram_search_bot_status?: boolean; } export interface LNSContactModel { internalID?: string; profile_link?: string; username?: string; displayName?: string; photoURL?: string; website?: string; description?: string; origin?: `instagram` | `linkedin` | `facebook` | `whatsapp`; ts?: number; last_interaction?: number; is_manual?: boolean; metadata?: any; index?: number; messages?: number; last_message_by?: any; last_message_ts?: number; } export interface LNSMessageModel { from?: "human" | "ai"; content?: string; index?: number; ts?: number; } export interface BotModel { origin: "instagram"; email?: string; password?: string; type?: "dm"; intervalMS?: number; daysTracker?: number; progress?: number; batchSize?: number; index?: number; } export interface BotsController { for: "instagram"; botType: "dm"; dailyBatchSize: number; numberOfBots: number; } export interface WidgetThemeModel { ID?: string; themeName?: string; themeType?: "dark" | "light"; primary?: string; nineColorPallet?: number[][]; ownerID?: string; ts?: number; } export interface OTPModel { code?: string; emailAssoc?: string; expiry: number; ts?: number; } export interface VGChannelResponse { origin?: string; type?: string; data?: any; } export interface VGAPIChannelProps { function: "VG_PushMessage" | "VG_GetRuntimeData"; payload: string; } export interface OrderModel { ID?: string; userId?: string; email?: string; tokensToCharge?: number; USDToPay?: number; fulfilled?: boolean; ts?: number; paypalOrderID?: string; referredFrom?: string; referredFulfilled?: boolean; planId?: string; } export interface InvoiceModel { id: string; userId: string; creditsToCharge?: number; upgradePlan?: V2GetStripeCustomPlanModel; USDToPay?: number; createdAt?: number; referredFrom?: string; status?: "pending" | "paid" | "failed"; stripeAccount?: string; } export interface AgencyModel { lastModified?: number; ID?: string; userId?: string; agencyId?: string; name?: string; squarePhotoURL?: string; darkModeSquarePhotourl?: string; brandingText?: string; customDomain?: string; VGsubDomain?: string; ts?: number; customThemeJSONString?: string; isVerifiedSubDomain?: boolean; isVerifiedCustomDomain?: boolean; withVGBranding?: boolean; themeVariant?: "default" | "bordered" | "flat" | "faded"; themeColorUsage?: "gradient" | "colorful" | "plain"; googleFont?: string; clientsJSONSTRING?: string; customDomainConfig?: string; mainWebsite?: string; supportEmail?: string; tosPage?: string; privacyPolicypPage?: string; secret?: string; OPENAI_API_KEY?: string; ANTHROPIC_API_KEY?: string; OPENAI_DEFAULT_MODEL?: "gpt-3.5-turbo" | "gpt-4-1106-preview"; resendEmailDomain?: string; resendEmailDomainId?: string; resendEmailDomainStatus?: "not_started" | "pending" | "verified" | "failure" | "temporary_failure"; resendEmailDomainRecords_JSON_STRING?: string; address?: string; customCSS?: string; enableHumanHandoff?: boolean; customTabs?: CustomTab[]; settings?: { disablePasswordLogin?: boolean; }; } export interface CustomTab { label: string; href: string; iconUrl: string; cssContent?: string; htmlContent?: string; jsContent?: string; iframeUrl?: string; pageType?: "html" | "iframe"; alwaysVisible?: boolean; } export interface HeavyAgentDataModel { prompt?: ChatRuntime; agentDataLoading?: boolean; error?: any; isSynced?: boolean; } export declare const GLOBAL_OPENAI_MODELS_ARRAY: string[]; export type ClientDashboardTab = "/convos" | "/kb" | "/analytics" | "/theme" | "/settings" | "/prompt"; export interface WorkspaceMemberModel { userId?: string; permissions?: string[]; } export interface OrgClientModel extends ClientModel { ID?: string; adminIDs?: string[]; supportIDs?: string[]; ts?: number; name?: string; squarePhotoURL?: string; userId?: string; lastModified?: number; type?: "client" | "org"; canSelfEdit?: boolean; orgUsers?: ClientModel[]; disallowAnyTags?: boolean; workspaceId?: string; dashboardLayout?: `vertical` | "horizontal"; convoTags?: string[]; enableHumanHandoff?: boolean; settings?: { disableHandoffMessages?: boolean; smartHandoff?: boolean; maxAssigneesPerUser?: number; enableCannedResponses?: boolean; continousSessionUI?: boolean; disableClientAccess?: boolean; disableClientAccessMessage?: string; }; disableHandoff?: boolean; allowBilling?: boolean; loadTokens?: number; threshold?: number; autocharge?: boolean; autochargeAmount?: number; stripeCustomerId?: string; } export interface ClientModel { ID?: string; agencyId?: string; ownerID?: string; name?: string; email?: string; squarePhotoURL?: string; widgets?: WidgetModel[]; widgetIDs?: string[]; dashboardUsername?: string; dashboardPassword?: string; ts?: number; canAccess?: string[]; magicCode?: string; index?: number; isAdmin?: boolean; usedSecret?: string; orgId?: string; type?: "client" | "org"; isOrgAdmin?: boolean; status?: "online" | "offline"; predefinedTags?: string[]; FB_PUSH_TOKEN?: string; notificationsSettings?: { notifyThrough: "email" | "push" | "all" | "none"; notifyIf: "all" | "requestsOnly" | "none"; }; handoff?: { maxAssignees?: number; }; lastEmailSentTS?: number; preferredLanguage?: string; internal?: { hasChangedPassword?: boolean; }; lastInvitationTs?: number; cannedResponses?: CannedResponseModel[]; stripeCustomerId?: string; } export interface CannedResponseModel { key?: string; content?: string; } export interface CustomButtonInterfaceV2 { label?: string; type: "default" | "intent" | "link" | "hidden"; viewValue?: ""; iconLink?: ""; payload?: any; } export interface AgentAnalyticsDoc { loads_JSON_STRING?: string; convos_JSON_STRING?: string; loads?: AnalyticLoadModel[]; convos?: AnalyticLoadModel[]; usage?: { inputTokens: number; outputTokens: number; totalTokens: number; logs: TokensUsageLogModel[]; }; } export interface ClientPageModel { label?: string; desc?: any; href?: string; icon?: any; isDisabled?: boolean; index?: number; } export type WidgetConvoModelState = "requested_chat" | "human-chatting" | "ai-chatting" | "ended_chat"; export interface WidgetConvoModel { ID?: string; userID?: string; userName?: string; userEmail?: string; userImage?: string; userPhone?: string; userAddress?: string; socialHandle?: string; isFollowingBusiness?: boolean; socialVerified?: boolean; userOs?: string; userBrowser?: string; userProfilePic?: string; origin?: MessageOriginTypeFromEnum; messagesNum?: number; interactionsNum?: number; ts?: number; tags?: string[]; convoTimeSeconds?: number; firstMessageTS?: number; lastMessageTS?: number; userPlatform?: string; state?: WidgetConvoModelState; chatAssignedTo?: string; lastModified?: number; sessionsNum?: number; lang?: string; vapi?: { cost?: number; callDuration?: number; recordingUrl?: string; callerPhoneNumber?: string; calleePhoneNumber?: string; callStatus?: "starting" | "ongoing" | "ended" | "error"; callError?: string; }; ratingFrom5?: number; totalUserInteractions?: number; isBlocked?: boolean; nodesInfo?: { currentNode?: string; }; capturedVariables?: any; } export interface ConvoJSONDocument { convoTurns_JSON_STRING?: string; convoTurns?: TurnProps[]; } export interface VFTextMessage { type: "text"; payload: { message?: string; }; } export interface AnalyticLoadModel { ID?: string; firebaseCollection?: "voiceglow/{id}/loads"; ipAddress?: string; countryCode?: string; langCode?: string; browser?: string; platform?: string; origin?: MessageOriginType; ts?: number; interactionsNum?: number; userID?: string; firstMessageTS?: number; lastMessageTS?: number; channel?: MessageOriginTypeFromEnum; callDuration?: number; vapi?: { cost: number; costBreakdown: any; }; } export interface VFPayloadModel { type?: string; payload?: any; } export interface API_RESPONSE_BASE { success?: boolean; message?: string; content?: t; data?: t; error?: any; } export interface DiscordChannelDocInterface { ID?: string; channelId?: string; webhookUrl?: string; voiceflowApiKey?: string; isBlockedByAction?: boolean; actions?: object[]; agentID?: string; } export type DiscordMessageType = "Text" | "FileUpload" | "End"; export interface VoiceFlowInteractBodyInputInterface { action: { type: string; payload?: object | string; }; } export type MessageOriginType = "web-chat" | "whatsapp" | "instagram" | "telegram" | "discord" | "gb-chat" | "vapi" | "messenger"; export declare const supportedMessageOrigins: readonly ["web-chat", "whatsapp", "instagram", "telegram", "discord", "gb-chat", "vapi", "messenger", "voice"]; export declare const supportedMessageOriginsEnum: z.ZodEnum<["web-chat", "whatsapp", "instagram", "telegram", "discord", "gb-chat", "vapi", "messenger", "voice"]>; export type MessageOriginTypeFromEnum = z.infer; export type themes = "purple" | "blue"; export declare const DEFAULT_FREE_LTS_NUM = 750; export type AgencyThemeVariants = "flat" | "bordered" | "solid" | "faded"; export declare const FB_ALL_BUCKETS_ARRAY: string[]; export declare namespace VG_API { interface VG_API_CHANNEL { function: "VG_PushMessage" | "VG_GetRuntimeData"; payload: string; } } export declare namespace GCLOUD_REGIONS { type STORAGE_TYPE = any; type REGION_VALUE = "eu" | "na"; interface GCLOUD_REGION { firebaseDb: BUCKET_VALUE; storageBucket: STORAGE_TYPE; regionCode: REGION_VALUE; description: string; } } export type NotificationLevel = 1 | 2; export interface NotificationRefModel { ID?: string; userId?: string; orgId?: string; notificationLevel?: NotificationLevel; seen?: boolean; ts?: number; title?: string; body?: string; convoId?: string; urlPathname?: string; icon?: `message` | "other"; seenList?: string[]; notifyOnly?: string[]; } export declare const GCLOUD_REGIONS: GCLOUD_REGIONS.GCLOUD_REGION[]; export interface EWSInteractModel { actionMetadata?: { mid?: string; }; isLLMStudio?: boolean; sessionId?: string; agentId: string; convoId: string; bucket: BUCKET_VALUE; prompt?: string; disableUiEngine?: boolean; disableRecordHistory?: boolean; agentData?: ChatRuntime; turnsHistory?: TurnProps[]; workspaceData?: WorkspaceModel; lightConvoData?: WidgetConvoModel; v2?: boolean; isTest?: boolean; kbPreview?: boolean; } export interface LLMStudioConfig { model_id?: VG_SUPPORTED_LLM; temperature?: number; max_tokens?: number; } export interface LLMStudioInteract { sessionId: string; bucket: BUCKET_VALUE; message?: LLMStudioMessage; config?: LLMStudioConfig; } export declare const VG_SUPPORTED_LLMS: VGSupportedModel[]; export interface V2_API_GETAgentKBDoc { vgKbDoc?: AgentKBDoc; data?: { documentID?: string; data?: { type?: string; name?: string; description?: string; }; updatedAt?: number; status?: { type: "ERROR" | "SUCCESS" | "PENDING" | "INITIALIZED"; data: any; }; tags?: string[]; }; chunks?: { chunkID?: string; content?: string; }[]; } export interface V2_API_GETAgentKBStats { charCount?: number; docsCount?: number; } export interface AgentTemplateModel { name: string; description?: string; systemPrompt?: string; initPrompt?: string; initMessages?: string[]; temperature?: number; kbChunks?: number; llmId?: VG_SUPPORTED_LLM; } export declare const AgentTemplates: AgentTemplateModel[]; export interface KBLogRecordModel { ts: number; agentId: string; docId: string; charCount: number; } export interface VGFunctionArgModel { name?: string; description?: string; required?: boolean; type?: "string" | "number" | "boolean" | "object" | "array"; } export interface VGFunctionModel { ID?: string; userId?: string; agencyId?: string; name?: string; description?: string; arguments: VGFunctionArgModel[]; awaitExec?: boolean; callbackMessage?: string; } export interface GAuthUser { displayName?: string; photoURL?: string; email?: string; uid?: string; } export interface EWSChunkMetadataModel { sources?: VectorModel[]; turns?: TurnProps[]; inputTokens?: number; outputTokens?: number; llmUsed?: VG_SUPPORTED_LLM; } export interface EWSChunkModel { type: "chunk" | "metadata" | "debug" | "action" | "sync_chat_history"; chunk?: string; chunkIndex?: number; ui_engine?: boolean; metadata?: EWSChunkMetadataModel; action?: { type: "request_handoff" | "tool_call"; payload?: string; toolMetadata?: { toolName?: string; input?: any; output?: any; }; }; turns?: TurnProps[]; isV2?: boolean; } export interface LLMStudioMetadata { config?: LLMStudioConfig; usage?: { inputTokens: number; outputTokens: number; }; } export interface SourceModel extends VectorModel { } export interface TokensUsageLogModel { agentId: string; convoId: string; inputTokens: number; outputTokens: number; totalTokens: number; ts: number; } export interface GETPublicAgentUsageResponse { shouldContinue: boolean; monthlyTokensLimit: number; monthlyInteractionsLimit: number; monthlyInteractions: number; monthlyTokens: number; usage: { inputTokens: number; outputTokens: number; totalTokens: number; }; } export interface V2ChatMessage { type: VF_RUNTIME_MESSAGE; payload: any; ts: string; } export interface V2TurnProps { from: "bot" | "human"; messages: V2ChatMessage[]; } export interface GETExportConversationsItem { metadata: WidgetConvoModel; turns: V2TurnProps[]; } export interface VFExtension { name: string; render: ({ trace, element }: { trace: any; element: any; }) => void; match: ({ trace }: { trace: any; }) => boolean; } export interface EWSFlowiseInteract { agentId: string; convoId: string; bucket: BUCKET_VALUE; prompt?: string; disableUiEngine?: boolean; disableRecordHistory?: boolean; agentData?: ChatRuntime; turnsHistory?: TurnProps[]; flowisePayload: object; } export interface WSFlowiseResponse { type: "chunk" | "metadata"; payload: { chunk: string; }; } export interface REQ_CreateStripeSession { user: WorkspaceModel; flat_price_id: string; flat_quantity?: number; usage_price_id: string; planId: "pro" | "agency"; planMonthlyQuota: number; billingCycle: "monthly" | "yearly"; referredFrom?: string; USDToPay?: number; couponId?: string; } export interface StripeOrderModel extends OrderModel { ID: string; userId: string; email: string; fullName: string; planId: "pro" | "agency"; planMonthlyQuota: number; billingCycle: "monthly" | "yearly"; stripeCustomerId: string; stripeSessionId: string; stripeCustomerDetails: any; ts: number; lastModified?: number; status?: "pending" | "success" | "failed" | "cancelled"; referredFrom?: string; startSubscriptionTs?: number; yearlyMonthlyCounter?: number; USDToPay?: number; } export interface StripePlanModel { id: string; name: string; description: string; icon: any; points: any[]; monthlyQuota: number; monthly: { price?: number; flat_price_id: string; flat_quantity?: number; usage_price_id: string; }; yearly: { price?: number; flat_price_id: string; flat_quantity?: number; usage_price_id: string; }; } export interface REQ_POSTAgentRawInteract { channel: "web-chat" | "whatsapp" | "instagram" | "telegram" | "discord" | "gb-chat"; metadata: any; agentData: ChatRuntime; turns: TurnProps[]; } export interface V2_API_REQ_AGENT_SEARCH_KB_DOC_BODY { agent_id?: number; query?: string; ds?: number; chunks?: number; withLLM?: boolean; } export interface REQ_POSTWSToNormal { wsUrl: string; wsPayload: any; } export interface VFConfigInterface { divId?: string; ID?: string; stylesheets?: string[]; render?: "popup" | "full-width" | "bottom-right" | "bottom-left"; region?: "eu" | "na"; userID?: string; autostart?: boolean; pushMessage?: (message: string) => void; getRuntimeData?: () => any; user?: { name?: string; email?: string; photoUrl?: string; phone?: string; }; variables?: ChatRuntime; vf_variables?: any; extensions?: VFExtension[]; channel?: "text" | "voice" | "omni"; } export interface POSTAgentPostKbInsertBody { agentData: ChatRuntime; workspaceData: WorkspaceModel; kbDoc: AgentKbDocV2; } export interface POSTAgentKBJobBody { urls: string[]; maxPages?: number; scrapeType: "urls" | "scraper"; agentData: ChatRuntime; kbDoc: AgentKBDoc; } export interface POSTAgentKBScrapeRequestsBody { scrapeType: "urls" | "scraper"; urls: string[]; maxPages?: number; } export interface ScraperResponse { text: string; meta: { url: string; fetchedUrl: string; fetchedUrlStatusCode: number; meta: { title: string; description: Record; }; }; status: string; } export interface API_WEB_RUNTIME_VFInteractRequest { vg_id: string; action?: { type: VF_RUNTIME_MESSAGE; payload: any; }; runtime?: any; appendTurns?: TurnProps[]; appendMessages?: ChatMessage[]; appendAtStart?: boolean; inititalTurns?: TurnProps[]; transcriptMetadata?: WidgetConvoModel; variables?: any; isTest?: boolean; } export interface POSTUtilsScrapeUrlREQ { url?: string; deep?: boolean; page?: any; } export interface ScrapeResult { err?: any; metadata: { title: string; description: string; ogImage: string; favicon?: string; }; urlScraped: string; urlsDiscovered: string[]; markdown: string; html: string; } export interface HeavyScrapeResult { urlScraped: string; urlHash: string; scrapeResponse: ScrapeResult; } export interface ScrapedPage { id: string; url: string; urlHash: string; title: string; description: string; scrapedAt: number; imageUrl: string; userId: string; mdCharCount: number; htmlCharCount: number; } export interface ScrapeJob extends POSTUtilsScrapeUrlREQ { id?: string; urls?: string[]; isParent?: boolean; result?: ScrapeResult; userId?: string; docId?: string; createdAt?: string; done?: boolean; ts?: number; options?: { skipElements?: string[]; }; bucket?: BUCKET_VALUE; crawl?: boolean; crawlOptions?: { parentJobId?: string; maxPages?: number; urlMatchers?: string[]; unMatchers?: string[]; sitemapMode?: boolean; refreshCrawlRate?: REFRESH_RATE_KEY; withRefresh?: boolean; lastRefreshTs?: number; }; currentPageIndex?: number | any; scrapedUrls?: string[]; scrapedHashes?: string[]; message?: string; scrapedPagesNum?: number; toAgentId?: string; toAgentIds?: string[]; refreshRate?: REFRESH_RATE_KEY; tags?: string[]; isCancelled?: boolean; uiInit?: boolean; } export interface LLMStudioMessage { role: "user" | "system" | "assistant"; type: "text" | "image"; payload: string; } export declare const RESELL_DOMAINS: string[]; export interface BrandingModel { name: string; domains: string[]; logo_light: string; logo_dark: string; metadata?: { description: string; bannerUrl: string; }; config?: { showPricing: boolean; }; } export declare const BRANDING: BrandingModel[]; export interface POSTWSGetDeleteThing { crawlIds?: string[]; } export interface POSTWSGetExportThing { toFiles?: boolean; agentId?: string; workspaceData: WorkspaceModel; collectionPaths: string[]; tags?: string[]; refreshRate?: REFRESH_RATE_KEY; } export interface DebugMessage { type: "debug"; content: string; } export declare const freeAccountLimits: { allTime: { maxAgents: number; maxClients: number; maxKbChars: number; }; monthly: { credits: number; }; }; export declare const featuresKeysZod: z.ZodEnum<["tools", "custom-branding", "ui-engine", "api-accesss", "crawler", "v2v", "handoff", "channels"]>; export type TabKey = "home" | "convos" | "faq"; export interface WidgetHomeTabButtonModel { key?: string; label?: string; iconUrl?: string; show?: boolean; iceBreakers?: string[]; } export interface WidgetTabModel { key: TabKey; label: string; icon?: any; iconUrl?: string; iframeUrl?: string; iframeHeight?: number; homeSpecific?: { buttons: WidgetHomeTabButtonModel[]; iceBreakers?: string[]; showLiveCall?: boolean; showRecentConvo?: boolean; showDirectHandoff?: boolean; headerHeight?: number; headerTitle?: string; headerDescription?: string; }; hide?: boolean; } export type FeatureKey = z.infer; export declare const featureModelSchema: z.ZodObject<{ label: z.ZodString; description: z.ZodOptional; key: z.ZodEnum<["tools", "custom-branding", "ui-engine", "api-accesss", "crawler", "v2v", "handoff", "channels"]>; freeTier: z.ZodObject<{ enabled: z.ZodEnum<["always", "only-trial", "never"]>; policy: z.ZodOptional; monthly: z.ZodOptional; }, "strip", z.ZodTypeAny, { allTime?: any; monthly?: any; }, { allTime?: any; monthly?: any; }>>; }, "strip", z.ZodTypeAny, { enabled: "never" | "always" | "only-trial"; policy?: { allTime?: any; monthly?: any; } | undefined; }, { enabled: "never" | "always" | "only-trial"; policy?: { allTime?: any; monthly?: any; } | undefined; }>; monthlyPriceUSD: z.ZodNumber; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: "tools" | "channels" | "custom-branding" | "ui-engine" | "api-accesss" | "crawler" | "v2v" | "handoff"; label: string; freeTier: { enabled: "never" | "always" | "only-trial"; policy?: { allTime?: any; monthly?: any; } | undefined; }; monthlyPriceUSD: number; description?: string | undefined; icon?: string | undefined; }, { key: "tools" | "channels" | "custom-branding" | "ui-engine" | "api-accesss" | "crawler" | "v2v" | "handoff"; label: string; freeTier: { enabled: "never" | "always" | "only-trial"; policy?: { allTime?: any; monthly?: any; } | undefined; }; monthlyPriceUSD: number; description?: string | undefined; icon?: string | undefined; }>; export type FeatureModel = z.infer; export declare const featuresList: FeatureModel[]; export declare function formatNumToMini(num: number): string; export declare const DEFAULT_QDRANT_MAX_CHUNKS = 3; export declare const DEFAULT_QDRANT_DIMENSIONS = 1536; export declare const STRIPE_PUBLIC_KEY = "pk_test_51PBuMEI62q3idEK7GXQJ5tqB2B4TZHalkCZoDSOM71ZWdXQM7vWhNmgqkruir6bzKVOfbHG2u7CHYX73YWErQqAl00hNN07fwJ"; export interface MetaDeviceAuth { tempAccessToken?: string; longAccessToken?: string; email?: string; photoUrl?: string; displayName?: string; } export interface TelegramDbReference { botToken: string; bucket?: string; agentId: string; botId: string; } export interface ChannelsMetadata { mid?: string; chat_id?: string; metaPageRefData?: MetaPageDbReference; telegramRefData?: TelegramDbReference; } export interface MetaPage { id?: string; name?: string; photoUrl?: string; accessToken?: string; connectedIgPageId?: string; connectedIgPage?: IGPage; } export interface IGPage { id: string; name: string; photoUrl: string; username: string; accessToken?: string; connectedPageId: string; } export interface MetaPageDbReference { pageName?: string; pagePhotoUrl?: string; igPageName?: string; agentId: string; pageId: string; pageAccessToken: string; igPageId: string; } export interface WANumber { agentId?: string; longAccessToken?: string; wabaId?: string; phoneId?: string; createdAt?: string; phoneNumber?: string; } export declare const DEFAULT_VG_AGENTS_TOOLS: VGAgentTool[]; export interface CacheResponse { agentId: string; finalResult: string; toolSourcesString: string; debugChatHistory: any; timestamp: number; chunkIndex?: number; prev?: TurnProps; } export declare const defaultStartNode: LLMNode; export declare function turnsToLangchainMessages(turns: TurnProps[]): { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; export declare function langchainMessagesToTurns(messages: LLMMessage[]): TurnProps[]; export declare const twilioNumberSchema: z.ZodObject<{ sid: z.ZodString; phoneNumber: z.ZodString; workspaceId: z.ZodString; agentId: z.ZodOptional; ts: z.ZodNumber; id: z.ZodString; createdAtUNIX: z.ZodNumber; updatedAtUNIX: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; ts: number; sid: string; phoneNumber: string; workspaceId: string; createdAtUNIX: number; updatedAtUNIX: number; agentId?: string | undefined; }, { id: string; ts: number; sid: string; phoneNumber: string; workspaceId: string; createdAtUNIX: number; updatedAtUNIX: number; agentId?: string | undefined; }>; export type TwilioNumber = z.infer; export declare const callEndedSchema: z.ZodObject<{ sessionId: z.ZodString; convoId: z.ZodString; recordingUrl: z.ZodString; cost: z.ZodOptional; duration: z.ZodOptional; messagesHistory: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; }, "strip", z.ZodTypeAny, { sessionId: string; convoId: string; recordingUrl: string; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; duration?: number | undefined; cost?: number | undefined; }, { sessionId: string; convoId: string; recordingUrl: string; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; duration?: number | undefined; cost?: number | undefined; }>; export type CallEnded = z.infer; export declare const CallHandlerSpeechToSpeechOptionsSchema: z.ZodObject<{ agentId: z.ZodOptional; convoId: z.ZodOptional; sessionId: z.ZodOptional; baseCallAudioPath: z.ZodOptional; inputAudioStream: z.ZodAny; audioGenOutputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioOutputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioInputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioBackgroundNoiseConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; metadata: z.ZodRecord; outputFormat: z.ZodOptional; sampleRate: z.ZodOptional; channels: z.ZodOptional; bufferDuration: z.ZodOptional; debugSocket: z.ZodOptional; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { metadata: Record; audioGenOutputConfig: { format: string; sampleRate: number; channels: number; }; audioOutputConfig: { format: string; sampleRate: number; channels: number; }; audioInputConfig: { format: string; sampleRate: number; channels: number; }; audioBackgroundNoiseConfig: { format: string; sampleRate: number; channels: number; }; agentId?: string | undefined; sampleRate?: number | undefined; inputAudioStream?: any; channels?: number | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; sessionId?: string | undefined; convoId?: string | undefined; baseCallAudioPath?: string | undefined; outputFormat?: string | undefined; bufferDuration?: number | undefined; debugSocket?: any; }, { metadata: Record; audioGenOutputConfig: { format: string; sampleRate: number; channels: number; }; audioOutputConfig: { format: string; sampleRate: number; channels: number; }; audioInputConfig: { format: string; sampleRate: number; channels: number; }; audioBackgroundNoiseConfig: { format: string; sampleRate: number; channels: number; }; agentId?: string | undefined; sampleRate?: number | undefined; inputAudioStream?: any; channels?: number | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; sessionId?: string | undefined; convoId?: string | undefined; baseCallAudioPath?: string | undefined; outputFormat?: string | undefined; bufferDuration?: number | undefined; debugSocket?: any; }>; export type CallHandlerSpeechToSpeechOptions = z.infer; export declare const CallHandlerOptionsSchema: z.ZodObject; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; backchannelOnChoosingNodes: z.ZodOptional; }, "strip", z.ZodTypeAny, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }>>; nodes: z.ZodOptional; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">>; variables: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; tools: z.ZodOptional; serverUrlSecret: z.ZodOptional; variablesIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }, { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }>, "many">>; initNode: z.ZodOptional; initGlobalVarsValues: z.ZodOptional; agentId: z.ZodOptional; temperature: z.ZodOptional; maxTokens: z.ZodOptional; topP: z.ZodOptional; frequencyPenalty: z.ZodOptional; presencePenalty: z.ZodOptional; messagesHistory: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; modelId: z.ZodOptional, z.ZodEnum<["gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219"]>, z.ZodEnum<["llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama3-8b-8192", "llama3-70b-8192", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "llama-3.3-70b-versatile"]>, z.ZodEnum<["claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-haiku-20241022", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022"]>, z.ZodEnum<["deepseek-chat"]>]>>; provider: z.ZodOptional>; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { randomOptions?: any; }, { randomOptions?: any; }>>; apiKey: z.ZodOptional; defaultFunctions: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>>; kbSearchFunctionRaw: z.ZodOptional; }, "strip", z.ZodTypeAny, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }>>; metadata: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone_number?: string | undefined; channel?: string | undefined; }, { phone_number?: string | undefined; channel?: string | undefined; }>>; lgTools: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>, "many">>; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; }, "strip", z.ZodTypeAny, { agentId?: string | undefined; provider?: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; internal?: { randomOptions?: any; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; globalOptions?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; initNode?: string | undefined; initGlobalVarsValues?: any; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; lgTools?: DynamicStructuredTool>[] | undefined; }, { agentId?: string | undefined; provider?: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; internal?: { randomOptions?: any; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; globalOptions?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; initNode?: string | undefined; initGlobalVarsValues?: any; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; lgTools?: DynamicStructuredTool>[] | undefined; }>; speechServiceOptions: z.ZodIntersection; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>, z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>>; transcriberServiceOptions: z.ZodObject<{ speechConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: z.ZodOptional; patienceFactor: z.ZodOptional; language: z.ZodOptional; provider: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: z.ZodOptional; platformSpecific: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>>; assemblyai: z.ZodOptional>; }, "strip", z.ZodTypeAny, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }>>; utteranceThreshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }>; }, { agentId: z.ZodOptional; convoId: z.ZodOptional; sessionId: z.ZodOptional; baseCallAudioPath: z.ZodOptional; inputAudioStream: z.ZodAny; audioGenOutputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioOutputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioInputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioBackgroundNoiseConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; metadata: z.ZodRecord; outputFormat: z.ZodOptional; sampleRate: z.ZodOptional; channels: z.ZodOptional; bufferDuration: z.ZodOptional; debugSocket: z.ZodOptional; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { metadata: Record; audioGenOutputConfig: { format: string; sampleRate: number; channels: number; }; audioOutputConfig: { format: string; sampleRate: number; channels: number; }; audioInputConfig: { format: string; sampleRate: number; channels: number; }; audioBackgroundNoiseConfig: { format: string; sampleRate: number; channels: number; }; llmServiceOptions: { agentId?: string | undefined; provider?: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; internal?: { randomOptions?: any; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; globalOptions?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; initNode?: string | undefined; initGlobalVarsValues?: any; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; lgTools?: DynamicStructuredTool>[] | undefined; }; speechServiceOptions: { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }; transcriberServiceOptions: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }; agentId?: string | undefined; sampleRate?: number | undefined; inputAudioStream?: any; channels?: number | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; sessionId?: string | undefined; convoId?: string | undefined; baseCallAudioPath?: string | undefined; outputFormat?: string | undefined; bufferDuration?: number | undefined; debugSocket?: any; }, { metadata: Record; audioGenOutputConfig: { format: string; sampleRate: number; channels: number; }; audioOutputConfig: { format: string; sampleRate: number; channels: number; }; audioInputConfig: { format: string; sampleRate: number; channels: number; }; audioBackgroundNoiseConfig: { format: string; sampleRate: number; channels: number; }; llmServiceOptions: { agentId?: string | undefined; provider?: "google" | "openai" | "groq" | "anthropic" | "meta" | "deepseek" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; temperature?: number | undefined; maxTokens?: number | undefined; tools?: { name: string; description: string; id: string; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; variablesIds?: string[] | undefined; }[] | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; internal?: { randomOptions?: any; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; globalOptions?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; initNode?: string | undefined; initGlobalVarsValues?: any; topP?: number | undefined; frequencyPenalty?: number | undefined; presencePenalty?: number | undefined; lgTools?: DynamicStructuredTool>[] | undefined; }; speechServiceOptions: { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }; transcriberServiceOptions: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }; agentId?: string | undefined; sampleRate?: number | undefined; inputAudioStream?: any; channels?: number | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; sessionId?: string | undefined; convoId?: string | undefined; baseCallAudioPath?: string | undefined; outputFormat?: string | undefined; bufferDuration?: number | undefined; debugSocket?: any; }>; export type CallHandlerOptions = z.infer; export interface CallHandlerEvents extends EventEmitter { transcript: (data: { transcript: string; }) => void; finalTranscript: (data: { transcript: string; }) => void; } export declare const CallHandlerSTSOptionsSchema: z.ZodObject; modelId: z.ZodOptional>; provider: z.ZodOptional>; apiKey: z.ZodOptional; defaultFunctions: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>>; kbSearchFunctionRaw: z.ZodOptional; }, "strip", z.ZodTypeAny, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }, { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; }>>; metadata: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone_number?: string | undefined; channel?: string | undefined; }, { phone_number?: string | undefined; channel?: string | undefined; }>>; speechConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; language: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; sessionConfig: z.ZodOptional; modalities: z.ZodOptional>; instructions: z.ZodOptional; voice: z.ZodDefault>>; input_audio_format: z.ZodOptional>; output_audio_format: z.ZodOptional>; input_audio_transcription: z.ZodDefault; }, "strip", z.ZodTypeAny, { model: "whisper-1"; }, { model: "whisper-1"; }>, z.ZodNull]>>; turn_detection: z.ZodDefault; threshold: z.ZodNumber; prefix_padding_ms: z.ZodNumber; silence_duration_ms: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }, { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; }>, z.ZodNull]>>; tools: z.ZodOptional>; name: z.ZodOptional; description: z.ZodOptional; parameters: z.ZodOptional>; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }, { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }>, "many">>; tool_choice: z.ZodDefault, z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function"; }, { name: string; type: "function"; }>]>>>; temperature: z.ZodNumber; max_response_output_tokens: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"inf">]>; }, "strip", z.ZodTypeAny, { temperature: number; voice: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse"; input_audio_transcription: { model: "whisper-1"; } | null; turn_detection: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null; tool_choice: "required" | "none" | "auto" | { name: string; type: "function"; }; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; tools?: { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; }, { temperature: number; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; voice?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; input_audio_transcription?: { model: "whisper-1"; } | null | undefined; turn_detection?: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null | undefined; tools?: { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; tool_choice?: "required" | "none" | "auto" | { name: string; type: "function"; } | undefined; }>>; }, "strip", z.ZodTypeAny, { agentId?: string | undefined; provider?: "openai" | undefined; modelId?: "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; sessionConfig?: { temperature: number; voice: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse"; input_audio_transcription: { model: "whisper-1"; } | null; turn_detection: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null; tool_choice: "required" | "none" | "auto" | { name: string; type: "function"; }; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; tools?: { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; } | undefined; }, { agentId?: string | undefined; provider?: "openai" | undefined; modelId?: "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; sessionConfig?: { temperature: number; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; voice?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; input_audio_transcription?: { model: "whisper-1"; } | null | undefined; turn_detection?: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null | undefined; tools?: { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; tool_choice?: "required" | "none" | "auto" | { name: string; type: "function"; } | undefined; } | undefined; }>; }, { agentId: z.ZodOptional; convoId: z.ZodOptional; sessionId: z.ZodOptional; baseCallAudioPath: z.ZodOptional; inputAudioStream: z.ZodAny; audioGenOutputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioOutputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioInputConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; audioBackgroundNoiseConfig: z.ZodObject<{ format: z.ZodString; sampleRate: z.ZodNumber; channels: z.ZodNumber; }, "strip", z.ZodTypeAny, { format: string; sampleRate: number; channels: number; }, { format: string; sampleRate: number; channels: number; }>; metadata: z.ZodRecord; outputFormat: z.ZodOptional; sampleRate: z.ZodOptional; channels: z.ZodOptional; bufferDuration: z.ZodOptional; debugSocket: z.ZodOptional; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { metadata: Record; audioGenOutputConfig: { format: string; sampleRate: number; channels: number; }; audioOutputConfig: { format: string; sampleRate: number; channels: number; }; audioInputConfig: { format: string; sampleRate: number; channels: number; }; audioBackgroundNoiseConfig: { format: string; sampleRate: number; channels: number; }; speechToSpeechServiceOptions: { agentId?: string | undefined; provider?: "openai" | undefined; modelId?: "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; sessionConfig?: { temperature: number; voice: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse"; input_audio_transcription: { model: "whisper-1"; } | null; turn_detection: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null; tool_choice: "required" | "none" | "auto" | { name: string; type: "function"; }; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; tools?: { type: "function"; name?: string | undefined; description?: string | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; } | undefined; }; agentId?: string | undefined; sampleRate?: number | undefined; inputAudioStream?: any; channels?: number | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; sessionId?: string | undefined; convoId?: string | undefined; baseCallAudioPath?: string | undefined; outputFormat?: string | undefined; bufferDuration?: number | undefined; debugSocket?: any; }, { metadata: Record; audioGenOutputConfig: { format: string; sampleRate: number; channels: number; }; audioOutputConfig: { format: string; sampleRate: number; channels: number; }; audioInputConfig: { format: string; sampleRate: number; channels: number; }; audioBackgroundNoiseConfig: { format: string; sampleRate: number; channels: number; }; speechToSpeechServiceOptions: { agentId?: string | undefined; provider?: "openai" | undefined; modelId?: "gpt-4o-realtime-preview" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-realtime-preview" | "gpt-4o-mini-realtime-preview-2024-12-17" | undefined; apiKey?: string | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; kbSearchFunctionRaw?: any; } | undefined; metadata?: { phone_number?: string | undefined; channel?: string | undefined; } | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; sessionConfig?: { temperature: number; max_response_output_tokens: number | "inf"; model?: string | undefined; modalities?: string[] | undefined; instructions?: string | undefined; voice?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" | undefined; input_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; output_audio_format?: "pcm16" | "g711_ulaw" | "g711_alaw" | undefined; input_audio_transcription?: { model: "whisper-1"; } | null | undefined; turn_detection?: { type: "server_vad"; threshold: number; prefix_padding_ms: number; silence_duration_ms: number; } | null | undefined; tools?: { name?: string | undefined; description?: string | undefined; type?: "function" | undefined; parameters?: Record | undefined; handler?: any; }[] | undefined; tool_choice?: "required" | "none" | "auto" | { name: string; type: "function"; } | undefined; } | undefined; }; agentId?: string | undefined; sampleRate?: number | undefined; inputAudioStream?: any; channels?: number | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; sessionId?: string | undefined; convoId?: string | undefined; baseCallAudioPath?: string | undefined; outputFormat?: string | undefined; bufferDuration?: number | undefined; debugSocket?: any; }>; export type CallHandlerSTSOptions = z.infer; export declare const baseDefaultCallServiceOptions: Partial; export declare const defaultTwilioEndpoint: (region: REGION_VALUE) => string; export declare const defaultTwilioFallbackEndpoint: (region: REGION_VALUE) => string; export declare const defaultTwilioOutgoingEndpoint: (region: REGION_VALUE) => string; export declare const defaultTwilioOutgoingFallbackEndpoint: (region: REGION_VALUE) => string; export declare const supportedChannels: readonly ["voice", "web"]; export declare const baseAgentCallServiceHandlerConfigSchema: z.ZodObject<{ agentId: z.ZodString; convoId: z.ZodString; sessionId: z.ZodString; agentData: z.ZodOptional; description: z.ZodOptional; ownerID: z.ZodOptional; theme: z.ZodOptional; voiceConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: z.ZodOptional; patienceFactor: z.ZodOptional; language: z.ZodOptional; provider: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: z.ZodOptional; platformSpecific: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>>; assemblyai: z.ZodOptional>; }, "strip", z.ZodTypeAny, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }>>; utteranceThreshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }>>; speechGen: z.ZodOptional; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>, z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>>>; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }>>; }, { disabled: z.ZodOptional; vectorDb: z.ZodAny; withRefresh: z.ZodOptional; agentPlatform: z.ZodAny; ID: z.ZodOptional; storageID: z.ZodOptional; VF_DIALOGUE_API_KEY: z.ZodOptional; VF_PROJECT_API_KEY: z.ZodOptional; VF_PROJECT_ID: z.ZodOptional; VF_KB_API_KEY: z.ZodOptional; roundedImageURL: z.ZodOptional; rectangeImageURL: z.ZodOptional; messageDelayMS: z.ZodOptional; scrollAnimation: z.ZodOptional; proactiveMessage: z.ZodOptional; acceptFileUpload: z.ZodOptional; recordChatHistory: z.ZodOptional; chatBgURL: z.ZodOptional; disableSmoothScroll: z.ZodOptional; isDeployed: z.ZodOptional; tokensUsage: z.ZodOptional; maxTokensUsage: z.ZodOptional; lastModified: z.ZodOptional; fontFamily: z.ZodOptional; branding: z.ZodOptional; customThemeJSONString: z.ZodOptional; autoStartWidget: z.ZodOptional; allTimeTriggers: z.ZodOptional; syncBrowser: z.ZodOptional; delayBeforeSubmit: z.ZodOptional; region: z.ZodOptional>; listenForUrlChanges: z.ZodOptional; chatForget: z.ZodOptional; lang: z.ZodOptional; enableAudioSupport: z.ZodOptional; AITranslateTo: z.ZodOptional; enableAITranslate: z.ZodOptional; disableNoReplyListener: z.ZodOptional; disableHumanHandoff: z.ZodOptional; alwaysShowHandoff: z.ZodOptional; manualControl: z.ZodOptional; enableVGHandoff: z.ZodOptional; enableGeoAnalytics: z.ZodOptional; fixedHandoffPopup: z.ZodOptional; buttonsLayout: z.ZodOptional>; ADVANCED_customCSS: z.ZodOptional; messagesLimit: z.ZodOptional; whatsappToken: z.ZodOptional; whatsappNumberId: z.ZodOptional; whatsappBusniessId: z.ZodOptional; waTestNumber: z.ZodOptional; waVerifyPassed: z.ZodOptional; waTestPassed: z.ZodOptional; webhookUrl: z.ZodOptional; gcloudPrivateKey: z.ZodOptional; gcloudClientEmail: z.ZodOptional; smartInit: z.ZodOptional; UIhandoffTitle: z.ZodOptional; UIhandoffSubtitle: z.ZodOptional; igVerified: z.ZodOptional; igAccessToken: z.ZodOptional; showHandoffEvenIfOffline: z.ZodOptional; customButtonJSON_STRING: z.ZodOptional; vg_initPrompt: z.ZodOptional; vg_prompt: z.ZodOptional; vg_initMessages: z.ZodOptional>; vg_systemPrompt: z.ZodOptional; vg_temperature: z.ZodOptional; vg_defaultModel: z.ZodOptional>; vg_maxTokens: z.ZodOptional; vg_kbDefaultDimension: z.ZodOptional; vg_kbTopChunks: z.ZodOptional; SECRET_API_KEY: z.ZodOptional; vg_kbCharCount: z.ZodOptional; vg_kbDocsNum: z.ZodOptional; vg_enableUIEngine: z.ZodOptional; vg_enableAboutContext: z.ZodOptional; vg_kb_llm: z.ZodOptional, z.ZodLiteral<"simple">]>>; searchPrompt: z.ZodOptional; modelId: z.ZodOptional>; temprature: z.ZodOptional; maxTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; }, { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; }>>; vg_max_messages_history: z.ZodOptional; ifKnowsThreshold: z.ZodOptional; avatarImageUrl: z.ZodOptional; headerImageUrl: z.ZodOptional; bannerImageUrl: z.ZodOptional; soundEffectUrl: z.ZodOptional; soundEffectEnabled: z.ZodOptional; enableQuickFileUpload: z.ZodOptional; instagramOptions: z.ZodOptional; accessToken: z.ZodOptional; }, "strip", z.ZodTypeAny, { pageId?: string | undefined; accessToken?: string | undefined; }, { pageId?: string | undefined; accessToken?: string | undefined; }>>; translateUserResponse: z.ZodOptional; starred: z.ZodOptional; flowise: z.ZodOptional; webhookSecret: z.ZodOptional; }, "strip", z.ZodTypeAny, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }>>; vfSettings: z.ZodOptional; }, "strip", z.ZodTypeAny, { enableIgnoreUrlPaths?: boolean | undefined; }, { enableIgnoreUrlPaths?: boolean | undefined; }>>; vapi: z.ZodOptional; vapiConfig: z.ZodOptional; PUBLIC_API_KEY: z.ZodOptional; PRIVATE_API_KEY: z.ZodOptional; enableVapiOnWeb: z.ZodOptional; overrideWithVG: z.ZodOptional; promptOnWeb: z.ZodOptional; maxCostMonthly: z.ZodOptional; maxMinutesMonthly: z.ZodOptional; useVfProject: z.ZodOptional; syncTools: z.ZodOptional; }, "strip", z.ZodTypeAny, { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; }, { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; }>>; vgOptions: z.ZodOptional; showSources: z.ZodOptional; lightUiEngine: z.ZodOptional; legacyKb: z.ZodOptional; maxChunkSize: z.ZodOptional; handoffTimeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; }, { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; }>>; ui: z.ZodOptional; widgetType: z.ZodOptional, z.ZodLiteral<"tabs">]>>; enableFixedFeedbackBtns: z.ZodOptional; voice: z.ZodOptional>; }, "strip", z.ZodTypeAny, { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; }, { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; }>>; assignedToolsIds: z.ZodOptional>; tools: z.ZodOptional; method: z.ZodOptional>; id: z.ZodString; name: z.ZodString; description: z.ZodString; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; disabled: z.ZodOptional; isVapiTool: z.ZodOptional; vapiId: z.ZodOptional; isGlobal: z.ZodOptional; variablesIds: z.ZodOptional>; agentId: z.ZodOptional; userId: z.ZodOptional; backchannellingPhrases: z.ZodOptional>; fields: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }>, "many">>; internal: z.ZodOptional>; websocketServer: z.ZodOptional, z.ZodLiteral<"nodejs">]>>; setOnResponse: z.ZodOptional; enableSetOnLoad: z.ZodOptional; }, "strip", z.ZodTypeAny, { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; }, { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; }>>; disableAutoTranscribeAudio: z.ZodOptional; instaAgentUsername: z.ZodOptional; convoTags: z.ZodOptional>; vfConfig: z.ZodOptional; }, "strip", z.ZodTypeAny, { alwaysEnableCardButtons?: boolean | undefined; }, { alwaysEnableCardButtons?: boolean | undefined; }>>; discord: z.ZodOptional>; webhookUrls: z.ZodOptional>; }, "strip", z.ZodTypeAny, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }>>; limits: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxInteractionsPerUserId?: number | undefined; }, { maxInteractionsPerUserId?: number | undefined; }>>; tabs: z.ZodOptional>; kbTags: z.ZodOptional>; kbTagsDataMap: z.ZodOptional>; nodes: z.ZodOptional; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">>; enableNodes: z.ZodOptional; advanced: z.ZodOptional; serverUrlSecret: z.ZodOptional; }, "strip", z.ZodTypeAny, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }>>; nodesSettings: z.ZodOptional; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; backchannelOnChoosingNodes: z.ZodOptional; }, "strip", z.ZodTypeAny, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }>>; id: z.ZodOptional; }>, "strip", z.ZodTypeAny, { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; }, { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; }>>; workspaceData: z.ZodOptional>; callId: z.ZodString; region: z.ZodEnum<["eu", "na"]>; debugSocket: z.ZodOptional; tools: z.ZodOptional, "many">>; variables: z.ZodOptional, "many">>; nodes: z.ZodOptional, "many">>; channel: z.ZodEnum<["web-chat", "whatsapp", "instagram", "telegram", "discord", "gb-chat", "vapi", "messenger", "voice"]>; phone_number: z.ZodOptional; defaultFunctions: z.ZodOptional>, z.ZodTypeDef, DynamicStructuredTool>>>; }, "strip", z.ZodTypeAny, { kbSearchFunction?: DynamicStructuredTool> | undefined; }, { kbSearchFunction?: DynamicStructuredTool> | undefined; }>>; newUserInput: z.ZodOptional; currentNodeId: z.ZodOptional; isTwilio: z.ZodOptional; shouldStopCall: z.ZodOptional; shouldStopCallReason: z.ZodOptional; options: z.ZodOptional; }, "strip", z.ZodTypeAny, { skipMarkdownFormatting?: boolean | undefined; }, { skipMarkdownFormatting?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { channel: "instagram" | "whatsapp" | "web-chat" | "telegram" | "discord" | "voice" | "vapi" | "gb-chat" | "messenger"; agentId: string; region: "eu" | "na"; sessionId: string; convoId: string; callId: string; phone_number?: string | undefined; options?: { skipMarkdownFormatting?: boolean | undefined; } | undefined; currentNodeId?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; workspaceData?: WorkspaceModel | undefined; debugSocket?: any; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; newUserInput?: string | undefined; isTwilio?: boolean | undefined; shouldStopCall?: boolean | undefined; shouldStopCallReason?: string | undefined; }, { channel: "instagram" | "whatsapp" | "web-chat" | "telegram" | "discord" | "voice" | "vapi" | "gb-chat" | "messenger"; agentId: string; region: "eu" | "na"; sessionId: string; convoId: string; callId: string; phone_number?: string | undefined; options?: { skipMarkdownFormatting?: boolean | undefined; } | undefined; currentNodeId?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; defaultFunctions?: { kbSearchFunction?: DynamicStructuredTool> | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; workspaceData?: WorkspaceModel | undefined; debugSocket?: any; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; newUserInput?: string | undefined; isTwilio?: boolean | undefined; shouldStopCall?: boolean | undefined; shouldStopCallReason?: string | undefined; }>; export type BaseAgentCallServiceHandlerConfig = z.infer; export declare const onConversationUpdatedSchema: z.ZodObject<{ messagesHistory: z.ZodArray; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">; creditsConsumed: z.ZodNumber; inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { messagesHistory: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; creditsConsumed: number; inputTokens?: number | undefined; outputTokens?: number | undefined; }, { messagesHistory: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; creditsConsumed: number; inputTokens?: number | undefined; outputTokens?: number | undefined; }>; export type OnConversationUpdated = z.infer; export declare const onConversationUpdatedEventHookBodySchema: z.ZodObject<{ event_type: z.ZodEnum<["conversation_updated", "call_ended"]>; agentId: z.ZodString; convoId: z.ZodString; sessionId: z.ZodString; messagesHistory: z.ZodArray; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">; cost: z.ZodOptional>; }, "strip", z.ZodTypeAny, { agentId: string; messagesHistory: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; sessionId: string; convoId: string; event_type: "conversation_updated" | "call_ended"; cost?: { totalCreditsConsumed: number; speechGenCost: number; transcriberCost: number; twilioCost: number; llmCost: number; } | undefined; }, { agentId: string; messagesHistory: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; sessionId: string; convoId: string; event_type: "conversation_updated" | "call_ended"; cost?: { totalCreditsConsumed: number; speechGenCost: number; transcriberCost: number; twilioCost: number; llmCost: number; } | undefined; }>; export type OnConversationUpdatedEventHookBody = z.infer; export declare const speechGenProviderPricingConfigSchema: z.ZodObject<{ provider: z.ZodEnum<["elevenlabs", "cartesia", "playht", "azure", "rime-ai", "openai"]>; modelId: z.ZodString; costPerToken: z.ZodNumber; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; modelId: string; costPerToken: number; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; modelId: string; costPerToken: number; }>; export type SpeechGenProviderPricingConfig = z.infer; export declare const initWebRtcCallSchema: z.ZodObject<{ agentData: z.ZodOptional; description: z.ZodOptional; ownerID: z.ZodOptional; theme: z.ZodOptional; voiceConfig: z.ZodOptional; sampleRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: z.ZodOptional; patienceFactor: z.ZodOptional; language: z.ZodOptional; provider: z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: z.ZodOptional; internal: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: z.ZodOptional; platformSpecific: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }, { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; }>>; assemblyai: z.ZodOptional>; }, "strip", z.ZodTypeAny, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }, { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; }>>; utteranceThreshold: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }, { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; }>>; speechGen: z.ZodOptional; modelId: z.ZodOptional; voiceId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; platformSpecific: z.ZodOptional; similarityBoost: z.ZodOptional; style: z.ZodOptional; useSpeakerBoost: z.ZodOptional; }, "strip", z.ZodTypeAny, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }, { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; }>>; playht: z.ZodOptional>; }, "strip", z.ZodTypeAny, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }, { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; }>>; backChannelling: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; }>, z.ZodObject<{ internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }, { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }>>>; config: z.ZodOptional>; enableWebCalling: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }, { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; }>>; }, { disabled: z.ZodOptional; vectorDb: z.ZodAny; withRefresh: z.ZodOptional; agentPlatform: z.ZodAny; ID: z.ZodOptional; storageID: z.ZodOptional; VF_DIALOGUE_API_KEY: z.ZodOptional; VF_PROJECT_API_KEY: z.ZodOptional; VF_PROJECT_ID: z.ZodOptional; VF_KB_API_KEY: z.ZodOptional; roundedImageURL: z.ZodOptional; rectangeImageURL: z.ZodOptional; messageDelayMS: z.ZodOptional; scrollAnimation: z.ZodOptional; proactiveMessage: z.ZodOptional; acceptFileUpload: z.ZodOptional; recordChatHistory: z.ZodOptional; chatBgURL: z.ZodOptional; disableSmoothScroll: z.ZodOptional; isDeployed: z.ZodOptional; tokensUsage: z.ZodOptional; maxTokensUsage: z.ZodOptional; lastModified: z.ZodOptional; fontFamily: z.ZodOptional; branding: z.ZodOptional; customThemeJSONString: z.ZodOptional; autoStartWidget: z.ZodOptional; allTimeTriggers: z.ZodOptional; syncBrowser: z.ZodOptional; delayBeforeSubmit: z.ZodOptional; region: z.ZodOptional>; listenForUrlChanges: z.ZodOptional; chatForget: z.ZodOptional; lang: z.ZodOptional; enableAudioSupport: z.ZodOptional; AITranslateTo: z.ZodOptional; enableAITranslate: z.ZodOptional; disableNoReplyListener: z.ZodOptional; disableHumanHandoff: z.ZodOptional; alwaysShowHandoff: z.ZodOptional; manualControl: z.ZodOptional; enableVGHandoff: z.ZodOptional; enableGeoAnalytics: z.ZodOptional; fixedHandoffPopup: z.ZodOptional; buttonsLayout: z.ZodOptional>; ADVANCED_customCSS: z.ZodOptional; messagesLimit: z.ZodOptional; whatsappToken: z.ZodOptional; whatsappNumberId: z.ZodOptional; whatsappBusniessId: z.ZodOptional; waTestNumber: z.ZodOptional; waVerifyPassed: z.ZodOptional; waTestPassed: z.ZodOptional; webhookUrl: z.ZodOptional; gcloudPrivateKey: z.ZodOptional; gcloudClientEmail: z.ZodOptional; smartInit: z.ZodOptional; UIhandoffTitle: z.ZodOptional; UIhandoffSubtitle: z.ZodOptional; igVerified: z.ZodOptional; igAccessToken: z.ZodOptional; showHandoffEvenIfOffline: z.ZodOptional; customButtonJSON_STRING: z.ZodOptional; vg_initPrompt: z.ZodOptional; vg_prompt: z.ZodOptional; vg_initMessages: z.ZodOptional>; vg_systemPrompt: z.ZodOptional; vg_temperature: z.ZodOptional; vg_defaultModel: z.ZodOptional>; vg_maxTokens: z.ZodOptional; vg_kbDefaultDimension: z.ZodOptional; vg_kbTopChunks: z.ZodOptional; SECRET_API_KEY: z.ZodOptional; vg_kbCharCount: z.ZodOptional; vg_kbDocsNum: z.ZodOptional; vg_enableUIEngine: z.ZodOptional; vg_enableAboutContext: z.ZodOptional; vg_kb_llm: z.ZodOptional, z.ZodLiteral<"simple">]>>; searchPrompt: z.ZodOptional; modelId: z.ZodOptional>; temprature: z.ZodOptional; maxTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; }, { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; }>>; vg_max_messages_history: z.ZodOptional; ifKnowsThreshold: z.ZodOptional; avatarImageUrl: z.ZodOptional; headerImageUrl: z.ZodOptional; bannerImageUrl: z.ZodOptional; soundEffectUrl: z.ZodOptional; soundEffectEnabled: z.ZodOptional; enableQuickFileUpload: z.ZodOptional; instagramOptions: z.ZodOptional; accessToken: z.ZodOptional; }, "strip", z.ZodTypeAny, { pageId?: string | undefined; accessToken?: string | undefined; }, { pageId?: string | undefined; accessToken?: string | undefined; }>>; translateUserResponse: z.ZodOptional; starred: z.ZodOptional; flowise: z.ZodOptional; webhookSecret: z.ZodOptional; }, "strip", z.ZodTypeAny, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }>>; vfSettings: z.ZodOptional; }, "strip", z.ZodTypeAny, { enableIgnoreUrlPaths?: boolean | undefined; }, { enableIgnoreUrlPaths?: boolean | undefined; }>>; vapi: z.ZodOptional; vapiConfig: z.ZodOptional; PUBLIC_API_KEY: z.ZodOptional; PRIVATE_API_KEY: z.ZodOptional; enableVapiOnWeb: z.ZodOptional; overrideWithVG: z.ZodOptional; promptOnWeb: z.ZodOptional; maxCostMonthly: z.ZodOptional; maxMinutesMonthly: z.ZodOptional; useVfProject: z.ZodOptional; syncTools: z.ZodOptional; }, "strip", z.ZodTypeAny, { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; }, { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; }>>; vgOptions: z.ZodOptional; showSources: z.ZodOptional; lightUiEngine: z.ZodOptional; legacyKb: z.ZodOptional; maxChunkSize: z.ZodOptional; handoffTimeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; }, { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; }>>; ui: z.ZodOptional; widgetType: z.ZodOptional, z.ZodLiteral<"tabs">]>>; enableFixedFeedbackBtns: z.ZodOptional; voice: z.ZodOptional>; }, "strip", z.ZodTypeAny, { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; }, { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; }>>; assignedToolsIds: z.ZodOptional>; tools: z.ZodOptional; method: z.ZodOptional>; id: z.ZodString; name: z.ZodString; description: z.ZodString; serverUrl: z.ZodOptional; serverUrlSecret: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; disabled: z.ZodOptional; isVapiTool: z.ZodOptional; vapiId: z.ZodOptional; isGlobal: z.ZodOptional; variablesIds: z.ZodOptional>; agentId: z.ZodOptional; userId: z.ZodOptional; backchannellingPhrases: z.ZodOptional>; fields: z.ZodOptional>; value: z.ZodOptional; defaultValue: z.ZodOptional; key: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional; reusable: z.ZodOptional; isEnv: z.ZodOptional; isSystem: z.ZodOptional; isGlobal: z.ZodOptional; agentId: z.ZodOptional; userId: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }, { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }, { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }>, "many">>; internal: z.ZodOptional>; websocketServer: z.ZodOptional, z.ZodLiteral<"nodejs">]>>; setOnResponse: z.ZodOptional; enableSetOnLoad: z.ZodOptional; }, "strip", z.ZodTypeAny, { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; }, { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; }>>; disableAutoTranscribeAudio: z.ZodOptional; instaAgentUsername: z.ZodOptional; convoTags: z.ZodOptional>; vfConfig: z.ZodOptional; }, "strip", z.ZodTypeAny, { alwaysEnableCardButtons?: boolean | undefined; }, { alwaysEnableCardButtons?: boolean | undefined; }>>; discord: z.ZodOptional>; webhookUrls: z.ZodOptional>; }, "strip", z.ZodTypeAny, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }>>; limits: z.ZodOptional; }, "strip", z.ZodTypeAny, { maxInteractionsPerUserId?: number | undefined; }, { maxInteractionsPerUserId?: number | undefined; }>>; tabs: z.ZodOptional>; kbTags: z.ZodOptional>; kbTagsDataMap: z.ZodOptional>; nodes: z.ZodOptional; toolsIds: z.ZodOptional>; childrenNodes: z.ZodOptional, "many">>; llmConfig: z.ZodObject<{ modelId: z.ZodEnum<["gpt-3.5-turbo-0125", "gpt-4-1106-preview", "gpt-4o", "gpt-4o-mini", "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv", "llama3-8b-8192", "llama3-70b-8192", "llama-3.1-8b-instant", "llama-3.1-70b-versatile", "llama-3.2-90b-text-preview", "llama-3.2-11b-text-preview", "llama-3.3-70b-versatile", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "gemini-1.5-pro", "gemini-1.5-flash", "gemini-1.0-pro", "gemini-2.0-flash-exp", "gemini-2.0-flash-thinking-exp-1219", "gpt-4-32k", "gpt-4", "gpt-3.5-turbo-16k", "gpt-3.5-turbo", "deepseek-chat"]>; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>; routerLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; toolUseBias: z.ZodOptional; autoRerouter: z.ZodOptional>; type: z.ZodOptional>; rf: z.ZodOptional; kb: z.ZodOptional>; smartSearch: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", z.ZodTypeAny, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }, { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }>, "many">>; enableNodes: z.ZodOptional; advanced: z.ZodOptional; serverUrlSecret: z.ZodOptional; }, "strip", z.ZodTypeAny, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }>>; nodesSettings: z.ZodOptional; defaultLLmOptions: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; backchannelOnChoosingNodes: z.ZodOptional; }, "strip", z.ZodTypeAny, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }, { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; }>>; id: z.ZodOptional; }>, "strip", z.ZodTypeAny, { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; }, { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; }>>; agentId: z.ZodOptional; region: z.ZodEnum<["eu", "na"]>; convoId: z.ZodOptional; sessionId: z.ZodOptional; type: z.ZodLiteral<"init">; }, "strip", z.ZodTypeAny, { type: "init"; region: "eu" | "na"; agentId?: string | undefined; sessionId?: string | undefined; convoId?: string | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }, { type: "init"; region: "eu" | "na"; agentId?: string | undefined; sessionId?: string | undefined; convoId?: string | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }>; export type InitWebRtcCall = z.infer; export declare const WebRtcCallEventsKeysSchema: z.ZodEnum<["conversation-update", "error", "call-start", "call-end"]>; export type WebRtcCallEventsKeys = z.infer; export declare const defaultNewVariable: Partial; export declare const agentTemplateSchema: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional; nodes: z.ZodOptional, "many">>; tools: z.ZodOptional, "many">>; variables: z.ZodOptional, "many">>; agentData: z.ZodOptional>; workspaceId: z.ZodString; }, "strip", z.ZodTypeAny, { workspaceId: string; name?: string | undefined; description?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }, { workspaceId: string; name?: string | undefined; description?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }>; export type AgentTemplate = z.infer; export declare const heavyConvoDataSchema: z.ZodObject<{ convoTurns_JSON_STRING: z.ZodString; lgMessages: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; }, "strip", z.ZodTypeAny, { convoTurns_JSON_STRING: string; lgMessages?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; }, { convoTurns_JSON_STRING: string; lgMessages?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; }>; export type HeavyConvoData = z.infer; export declare const voiceProvidersCostsSchema: z.ZodObject<{ provider: z.ZodUnion<[z.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>, z.ZodEnum<["elevenlabs", "cartesia", "playht", "azure", "rime-ai", "openai"]>, z.ZodLiteral<"twilio">]>; costPerMinute: z.ZodNumber; }, "strip", z.ZodTypeAny, { provider: "deepgram" | "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai" | "gladia" | "assemblyai" | "speechmatics" | "twilio"; costPerMinute: number; }, { provider: "deepgram" | "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai" | "gladia" | "assemblyai" | "speechmatics" | "twilio"; costPerMinute: number; }>; export type ProviderCost = z.infer; export declare const voiceProvidersCosts: ProviderCost[]; export declare const leadDataSchema: z.ZodObject<{ email: z.ZodNullable; name: z.ZodNullable; phone: z.ZodNullable; metaData: z.ZodObject<{ address: z.ZodOptional; company: z.ZodOptional; notes: z.ZodOptional; source: z.ZodDefault; }, "strip", z.ZodTypeAny, { source: string; address?: string | undefined; company?: string | undefined; notes?: string | undefined; }, { source?: string | undefined; address?: string | undefined; company?: string | undefined; notes?: string | undefined; }>; convoId: z.ZodOptional>; ts: z.ZodOptional>; user_id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; agentId: z.ZodUnion<[z.ZodString, z.ZodNumber]>; created_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string | null; name: string | null; agentId: string | number; phone: string | null; metaData: { source: string; address?: string | undefined; company?: string | undefined; notes?: string | undefined; }; user_id: string | number; ts?: string | number | undefined; convoId?: string | number | undefined; created_at?: string | undefined; }, { email: string | null; name: string | null; agentId: string | number; phone: string | null; metaData: { source?: string | undefined; address?: string | undefined; company?: string | undefined; notes?: string | undefined; }; user_id: string | number; ts?: string | number | undefined; convoId?: string | number | undefined; created_at?: string | undefined; }>; export type LeadDataModelSupabase = z.infer; export declare function oldSystemPromptAgentToNewNodes(input: { agent: ChatRuntime; }): void; export declare const builtInTemplateSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; key: z.ZodString; template: z.ZodType<{ workspaceId: string; name?: string | undefined; description?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }, z.ZodTypeDef, { workspaceId: string; name?: string | undefined; description?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; key: string; template: { workspaceId: string; name?: string | undefined; description?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }; icon?: string | undefined; }, { name: string; description: string; key: string; template: { workspaceId: string; name?: string | undefined; description?: string | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; variables?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; agentData?: { discord?: { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; } | undefined; description?: string | undefined; id?: string | undefined; disabled?: boolean | undefined; region?: "eu" | "na" | undefined; tools?: { name: string; description: string; id: string; isGlobal?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; isDefault?: boolean | undefined; method?: "GET" | "POST" | "PUT" | "PATCH" | undefined; serverUrl?: string | undefined; serverUrlSecret?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; disabled?: boolean | undefined; isVapiTool?: boolean | undefined; vapiId?: string | undefined; variablesIds?: string[] | undefined; backchannellingPhrases?: string[] | undefined; fields?: { id: string; in: string; isGlobal?: boolean | undefined; description?: string | undefined; defaultValue?: any; type?: "string" | "number" | "boolean" | "system" | undefined; value?: any; key?: string | undefined; required?: boolean | undefined; reusable?: boolean | undefined; isEnv?: boolean | undefined; isSystem?: boolean | undefined; agentId?: string | undefined; userId?: string | undefined; }[] | undefined; }[] | undefined; internal?: { accountCreationConfig?: "v2" | undefined; websocketServer?: "edge" | "nodejs" | undefined; setOnResponse?: boolean | undefined; enableSetOnLoad?: boolean | undefined; } | undefined; nodes?: { name: string; description: string; id: string; instructions: string; llmConfig: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }; kb?: { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; } | undefined; isGlobal?: boolean | undefined; type?: "end" | "default" | "start" | undefined; toolsIds?: string[] | undefined; childrenNodes?: { nodeId: string; condition: string; }[] | undefined; routerLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; toolUseBias?: number | undefined; autoRerouter?: { enabled: boolean; level: number; } | undefined; rf?: any; }[] | undefined; title?: string | undefined; ownerID?: string | undefined; theme?: string | undefined; voiceConfig?: { transcriber?: { provider: "deepgram" | "gladia" | "assemblyai" | "speechmatics"; modelId?: string | undefined; apiKey?: string | undefined; speechConfig?: { format?: string | undefined; sampleRate?: number | undefined; } | undefined; language?: string | undefined; internal?: { debug?: boolean | undefined; inputAudioStream?: any; } | undefined; randomOptions?: any; patienceFactor?: number | undefined; platformSpecific?: { deepgram?: { modelId: "nova-2-phonecall" | "whisper" | "nova-2" | "nova-2-general" | "nova-2-meeting" | "nova-2-finance" | "nova-2-conversationalai" | "nova-2-voicemail" | "nova-2-video" | "nova-2-medical" | "nova-2-drivethru" | "nova-2-automotive" | "nova-2-atc" | "enhanced" | "enhanced-general" | "enhanced-meeting" | "enhanced-phonecall" | "enhanced-finance" | "base" | "base-general" | "base-meeting" | "base-phonecall" | "base-voicemail" | "base-finance" | "base-conversationalai" | "base-video" | "whisper-tiny" | "whisper-base" | "whisper-small" | "whisper-medium" | "whisper-large" | "nova" | "nova-general" | "nova-phonecall"; } | undefined; assemblyai?: { modelId: string; } | undefined; } | undefined; utteranceThreshold?: number | undefined; } | undefined; speechGen?: ({ provider: "openai" | "elevenlabs" | "cartesia" | "playht" | "azure" | "rime-ai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; backChannelling?: boolean | undefined; voiceId?: string | undefined; platformSpecific?: { playht?: { voiceId: string; } | undefined; elevenLabs?: { stability?: number | undefined; similarityBoost?: number | undefined; style?: number | undefined; useSpeakerBoost?: boolean | undefined; } | undefined; } | undefined; punctuationBreaks?: string[] | undefined; } & { internal?: { inputTextStream?: any; audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; }) | undefined; config?: { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; } | undefined; } | undefined; vectorDb?: any; withRefresh?: boolean | undefined; agentPlatform?: any; ID?: string | undefined; storageID?: string | undefined; VF_DIALOGUE_API_KEY?: string | undefined; VF_PROJECT_API_KEY?: string | undefined; VF_PROJECT_ID?: string | undefined; VF_KB_API_KEY?: string | undefined; roundedImageURL?: string | undefined; rectangeImageURL?: string | undefined; messageDelayMS?: number | undefined; scrollAnimation?: boolean | undefined; proactiveMessage?: string | undefined; acceptFileUpload?: boolean | undefined; recordChatHistory?: boolean | undefined; chatBgURL?: string | undefined; disableSmoothScroll?: boolean | undefined; isDeployed?: boolean | undefined; tokensUsage?: any; maxTokensUsage?: any; lastModified?: number | undefined; fontFamily?: string | undefined; branding?: string | undefined; customThemeJSONString?: string | undefined; autoStartWidget?: boolean | undefined; allTimeTriggers?: number | undefined; syncBrowser?: boolean | undefined; delayBeforeSubmit?: number | undefined; listenForUrlChanges?: boolean | undefined; chatForget?: boolean | undefined; lang?: string | undefined; enableAudioSupport?: boolean | undefined; AITranslateTo?: string | undefined; enableAITranslate?: boolean | undefined; disableNoReplyListener?: boolean | undefined; disableHumanHandoff?: boolean | undefined; alwaysShowHandoff?: boolean | undefined; manualControl?: boolean | undefined; enableVGHandoff?: boolean | undefined; enableGeoAnalytics?: boolean | undefined; fixedHandoffPopup?: boolean | undefined; buttonsLayout?: "horizontal" | "vertical" | "in-footer" | undefined; ADVANCED_customCSS?: string | undefined; messagesLimit?: number | undefined; whatsappToken?: string | undefined; whatsappNumberId?: string | undefined; whatsappBusniessId?: string | undefined; waTestNumber?: string | undefined; waVerifyPassed?: boolean | undefined; waTestPassed?: boolean | undefined; webhookUrl?: string | undefined; gcloudPrivateKey?: string | undefined; gcloudClientEmail?: string | undefined; smartInit?: boolean | undefined; UIhandoffTitle?: string | undefined; UIhandoffSubtitle?: string | undefined; igVerified?: boolean | undefined; igAccessToken?: string | undefined; showHandoffEvenIfOffline?: boolean | undefined; customButtonJSON_STRING?: string | undefined; vg_initPrompt?: string | undefined; vg_prompt?: string | undefined; vg_initMessages?: string[] | undefined; vg_systemPrompt?: string | undefined; vg_temperature?: number | undefined; vg_defaultModel?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; vg_maxTokens?: number | undefined; vg_kbDefaultDimension?: number | undefined; vg_kbTopChunks?: number | undefined; SECRET_API_KEY?: string | undefined; vg_kbCharCount?: number | undefined; vg_kbDocsNum?: number | undefined; vg_enableUIEngine?: boolean | undefined; vg_enableAboutContext?: boolean | undefined; vg_kb_llm?: { modelId?: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat" | undefined; maxTokens?: number | undefined; searchMethod?: "smart" | "simple" | undefined; searchPrompt?: string | undefined; temprature?: number | undefined; } | undefined; vg_max_messages_history?: number | undefined; ifKnowsThreshold?: number | undefined; avatarImageUrl?: string | undefined; headerImageUrl?: string | undefined; bannerImageUrl?: string | undefined; soundEffectUrl?: string | undefined; soundEffectEnabled?: boolean | undefined; enableQuickFileUpload?: boolean | undefined; instagramOptions?: { pageId?: string | undefined; accessToken?: string | undefined; } | undefined; translateUserResponse?: boolean | undefined; starred?: boolean | undefined; flowise?: { webhookUrl?: string | undefined; webhookSecret?: string | undefined; } | undefined; vfSettings?: { enableIgnoreUrlPaths?: boolean | undefined; } | undefined; vapi?: any; vapiConfig?: { syncKbOnSave?: boolean | undefined; PUBLIC_API_KEY?: string | undefined; PRIVATE_API_KEY?: string | undefined; enableVapiOnWeb?: boolean | undefined; overrideWithVG?: boolean | undefined; promptOnWeb?: boolean | undefined; maxCostMonthly?: number | undefined; maxMinutesMonthly?: number | undefined; useVfProject?: boolean | undefined; syncTools?: boolean | undefined; } | undefined; vgOptions?: { isLlmStudio?: boolean | undefined; showSources?: boolean | undefined; lightUiEngine?: boolean | undefined; legacyKb?: boolean | undefined; maxChunkSize?: number | undefined; handoffTimeout?: number | undefined; } | undefined; tabs?: any[] | undefined; ui?: { voice?: { question: string; continueBtnLabel: string; dismissBtnLabel: string; } | undefined; bgImageVisible?: boolean | undefined; widgetType?: "direct-chat" | "tabs" | undefined; enableFixedFeedbackBtns?: boolean | undefined; } | undefined; assignedToolsIds?: string[] | undefined; disableAutoTranscribeAudio?: boolean | undefined; instaAgentUsername?: string | undefined; convoTags?: string[] | undefined; vfConfig?: { alwaysEnableCardButtons?: boolean | undefined; } | undefined; limits?: { maxInteractionsPerUserId?: number | undefined; } | undefined; kbTags?: string[] | undefined; kbTagsDataMap?: any[] | undefined; enableNodes?: boolean | undefined; advanced?: { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; } | undefined; nodesSettings?: { appendBeforePrompt?: string | undefined; defaultLLmOptions?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; backchannelOnChoosingNodes?: boolean | undefined; } | undefined; } | undefined; }; icon?: string | undefined; }>; export type BuiltInTemplateSchema = z.infer; export declare const builtInTemplates: BuiltInTemplateSchema[]; export declare const createVGBaseAgentData: (input: { overrides: Partial; }) => ChatRuntime; export declare function migrateCanvasMarkdownToNewAgent(input: { text: string; llmConfig: LLMConfig; }): void; export declare const DEFAULT_PG_VECTOR_DB_DIMENSIONS = 1536; export declare function costUsdToCredits(input: { cost: number; customPlan: any; }): { credits: number; USDPerCreditToUse: number; }; export declare const DEFAULT_TRANSCRIBER_CONFIG: AppTranscriberServiceOptions; export declare const DEFAULT_SPEECH_GEN_CONFIG: AppSpeechGenServiceOptions; export declare function agentConfigToPricingAnalysis(input: { agent: ChatRuntime; isTwilio: boolean; customPlan: any; }): { voiceCost: { credits: number; usd: number; }; transcriberCost: { credits: number; usd: number; }; twilioCost: { credits: number; usd: number; }; tixaeCost: { credits: number; usd: number; }; totalCostPerMinute: number; totalCredits: number; }; declare const filtersSchema: z.ZodObject<{ accents: z.ZodArray; genders: z.ZodArray; useCases: z.ZodArray; languages: z.ZodArray; }, "strip", z.ZodTypeAny, { languages: string[]; accents: string[]; genders: string[]; useCases: string[]; }, { languages: string[]; accents: string[]; genders: string[]; useCases: string[]; }>; export type FiltersSchemaType = z.infer; export type FilterSchemaType = z.infer; declare const audioLibrarySchema: z.ZodArray; gender: z.ZodOptional; useCase: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }, { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }>; }, "strip", z.ZodTypeAny, { name: string; voiceId: string; previewUrl: string; filters: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; }, { name: string; voiceId: string; previewUrl: string; filters: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; }>, "many">; export type AudioLibrarySchemaType = z.infer; declare const filterStateSchema: z.ZodObject<{ filter: z.ZodObject<{ accent: z.ZodOptional; gender: z.ZodOptional; useCase: z.ZodOptional; language: z.ZodOptional; }, "strip", z.ZodTypeAny, { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }, { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }>; filteredData: z.ZodType<{ name: string; voiceId: string; previewUrl: string; filters: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; }[], z.ZodTypeDef, { name: string; voiceId: string; previewUrl: string; filters: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; }[]>; filters: z.ZodObject<{ accents: z.ZodArray; genders: z.ZodArray; useCases: z.ZodArray; languages: z.ZodArray; }, "strip", z.ZodTypeAny, { languages: string[]; accents: string[]; genders: string[]; useCases: string[]; }, { languages: string[]; accents: string[]; genders: string[]; useCases: string[]; }>; }, "strip", z.ZodTypeAny, { filter: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; filters: { languages: string[]; accents: string[]; genders: string[]; useCases: string[]; }; filteredData: { name: string; voiceId: string; previewUrl: string; filters: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; }[]; }, { filter: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; filters: { languages: string[]; accents: string[]; genders: string[]; useCases: string[]; }; filteredData: { name: string; voiceId: string; previewUrl: string; filters: { language?: string | undefined; accent?: string | undefined; gender?: string | undefined; useCase?: string | undefined; }; }[]; }>; export type FilterStateSchema = z.infer; export declare const realtimeProvidersName: z.ZodEnum<["openai"]>; export type AppRealtimeProvidersName = z.infer; declare const appRealtimeServiceOptionsSchema: z.ZodObject<{ provider: z.ZodEnum<["openai"]>; modelId: z.ZodOptional; apiKey: z.ZodOptional; region: z.ZodOptional; messagesHistory: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; backgroundNoise: z.ZodOptional>; punctuationBreaks: z.ZodOptional>; backChannelling: z.ZodOptional; language: z.ZodOptional; internal: z.ZodOptional>; emitOnComplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }, { audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { provider: "openai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; internal?: { audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; backChannelling?: boolean | undefined; punctuationBreaks?: string[] | undefined; }, { provider: "openai"; region?: string | undefined; backgroundNoise?: "restaurant" | "office" | "street" | "park" | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; modelId?: string | undefined; apiKey?: string | undefined; language?: string | undefined; internal?: { audioConfig?: { format: string; sampleRate: number; channels: number; } | undefined; emitOnComplete?: boolean | undefined; } | undefined; backChannelling?: boolean | undefined; punctuationBreaks?: string[] | undefined; }>; export type AppRealtimeServiceOptions = z.infer; declare const openaiRealtimeToolObjectSchema: z.ZodObject<{ type: z.ZodString; name: z.ZodString; description: z.ZodString; parameters: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; }, { type?: string | undefined; }>>; required: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; properties: Record; required?: string[] | undefined; }, { type: string; properties: Record; required?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; description: string; type: string; parameters?: { type: string; properties: Record; required?: string[] | undefined; } | undefined; }, { name: string; description: string; type: string; parameters?: { type: string; properties: Record; required?: string[] | undefined; } | undefined; }>; export type OpenaiRealtimeToolObject = z.infer; declare const openaiRealtimeSessionObjectSchema: z.ZodObject<{ modalities: z.ZodOptional; instructions: z.ZodOptional; voice: z.ZodOptional; input_audio_format: z.ZodOptional; output_audio_format: z.ZodOptional; input_audio_transcription: z.ZodOptional; }, "strip", z.ZodTypeAny, { model: "whisper-1"; }, { model: "whisper-1"; }>>; turn_detection: z.ZodOptional; threshold: z.ZodOptional; prefix_padding_ms: z.ZodOptional; silence_duration_ms: z.ZodOptional; create_response: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; threshold?: number | undefined; prefix_padding_ms?: number | undefined; silence_duration_ms?: number | undefined; create_response?: boolean | undefined; }, { type?: string | undefined; threshold?: number | undefined; prefix_padding_ms?: number | undefined; silence_duration_ms?: number | undefined; create_response?: boolean | undefined; }>>; tools: z.ZodArray; }, "strip", z.ZodTypeAny, { type?: string | undefined; }, { type?: string | undefined; }>>; required: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; properties: Record; required?: string[] | undefined; }, { type: string; properties: Record; required?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; description: string; type: string; parameters?: { type: string; properties: Record; required?: string[] | undefined; } | undefined; }, { name: string; description: string; type: string; parameters?: { type: string; properties: Record; required?: string[] | undefined; } | undefined; }>, "many">; tool_choice: z.ZodOptional; temperature: z.ZodOptional; max_response_output_tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { tools: { name: string; description: string; type: string; parameters?: { type: string; properties: Record; required?: string[] | undefined; } | undefined; }[]; temperature?: number | undefined; modalities?: string | undefined; instructions?: string | undefined; voice?: string | undefined; input_audio_format?: string | undefined; output_audio_format?: string | undefined; input_audio_transcription?: { model: "whisper-1"; } | undefined; turn_detection?: { type?: string | undefined; threshold?: number | undefined; prefix_padding_ms?: number | undefined; silence_duration_ms?: number | undefined; create_response?: boolean | undefined; } | undefined; tool_choice?: string | undefined; max_response_output_tokens?: string | undefined; }, { tools: { name: string; description: string; type: string; parameters?: { type: string; properties: Record; required?: string[] | undefined; } | undefined; }[]; temperature?: number | undefined; modalities?: string | undefined; instructions?: string | undefined; voice?: string | undefined; input_audio_format?: string | undefined; output_audio_format?: string | undefined; input_audio_transcription?: { model: "whisper-1"; } | undefined; turn_detection?: { type?: string | undefined; threshold?: number | undefined; prefix_padding_ms?: number | undefined; silence_duration_ms?: number | undefined; create_response?: boolean | undefined; } | undefined; tool_choice?: string | undefined; max_response_output_tokens?: string | undefined; }>; export type OpenaiSessionObject = z.infer; export declare function variablesIdsToJsonSchema(variablesIds: string[], llmConfig: AppLLMServiceOptions): any; /** * Convert app level text with mentions to variables/tools to final text for the ai to make sense of what was exactly mentioned. */ export declare function appMarkdownToFinalText(input: { rawText: string; llmConfig: AppLLMServiceOptions; isEnv?: boolean; }): string; export declare function formatNodeTool(tool: VGAgentTool, llmConfig: AppLLMServiceOptions): VGAgentTool; export declare const DEFAULT_LLM_CONFIG: LLMConfig; export declare const postUtteranceEndSchema: z.ZodObject<{ content: z.ZodString; messagesHistory: z.ZodArray; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">; currentNodeId: z.ZodString; modelId: z.ZodString; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; creditsConsumed: z.ZodNumber; }, "strip", z.ZodTypeAny, { content: string; messagesHistory: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; currentNodeId: string; creditsConsumed: number; inputTokens: number; outputTokens: number; modelId: string; }, { content: string; messagesHistory: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[]; currentNodeId: string; creditsConsumed: number; inputTokens: number; outputTokens: number; modelId: string; }>; export type PostUtteranceEndSchemaType = z.infer; export declare function GET_CALL_SERVICE_API_URL(input?: { region: REGION_VALUE; withHttp: boolean; pinggy?: boolean; }): string; export declare function baseDataCleaner(input: any): any; export declare function cleanWorkspaceData(input: WorkspaceModel): WorkspaceModel; export declare const whatsAppTemplateCategory: z.ZodEnum<["AUTHENTICATION", "UTILITY", "MARKETING"]>; export type WhatsAppTemplateCategory = z.infer; export declare const languageCodesEnum: z.ZodEnum<["en", "es", "pt", "fr", "de", "it", "ja", "ko", "zh", "hi", "ar", "tr", "ru", "pt-BR", "zh-CN", "zh-HK", "zh-TW", "zh-HK", "zh-TW", "zh-HK", "zh-TW"]>; export type LanguageCodesEnum = z.infer; export declare const whatsAppTemplateSchema: z.ZodObject<{ name: z.ZodString; category: z.ZodEnum<["AUTHENTICATION", "UTILITY", "MARKETING"]>; language: z.ZodEnum<["en", "es", "pt", "fr", "de", "it", "ja", "ko", "zh", "hi", "ar", "tr", "ru", "pt-BR", "zh-CN", "zh-HK", "zh-TW", "zh-HK", "zh-TW", "zh-HK", "zh-TW"]>; bodyText: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; language: "en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "zh" | "hi" | "ja" | "ko" | "ru" | "tr" | "zh-CN" | "zh-TW" | "zh-HK" | "pt-BR"; category: "AUTHENTICATION" | "UTILITY" | "MARKETING"; bodyText: string; }, { name: string; language: "en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "zh" | "hi" | "ja" | "ko" | "ru" | "tr" | "zh-CN" | "zh-TW" | "zh-HK" | "pt-BR"; category: "AUTHENTICATION" | "UTILITY" | "MARKETING"; bodyText: string; }>; export type WhatsAppTemplateSchema = z.infer; declare const realtimeEventsSchema: z.ZodEnum<["conversation.item.created", "conversation.item.truncated", "conversation.item.deleted", "conversation.item.input_audio_transcription.completed", "input_audio_buffer.speech_started", "input_audio_buffer.speech_stopped", "response.created", "response.output_item.added", "response.output_item.done", "response.content_part.added", "response.audio_transcript.delta", "response.audio.delta", "response.text.delta", "response.function_call_arguments.delta"]>; export type RealtimeEventsType = z.infer; declare const realtimeEventDataShema: z.ZodIntersection; }, "strip", z.ZodTypeAny, { type: "conversation.item.created" | "conversation.item.truncated" | "conversation.item.deleted" | "conversation.item.input_audio_transcription.completed" | "input_audio_buffer.speech_started" | "input_audio_buffer.speech_stopped" | "response.created" | "response.output_item.added" | "response.output_item.done" | "response.content_part.added" | "response.audio_transcript.delta" | "response.audio.delta" | "response.text.delta" | "response.function_call_arguments.delta"; }, { type: "conversation.item.created" | "conversation.item.truncated" | "conversation.item.deleted" | "conversation.item.input_audio_transcription.completed" | "input_audio_buffer.speech_started" | "input_audio_buffer.speech_stopped" | "response.created" | "response.output_item.added" | "response.output_item.done" | "response.content_part.added" | "response.audio_transcript.delta" | "response.audio.delta" | "response.text.delta" | "response.function_call_arguments.delta"; }>, z.ZodRecord>; export type RealtimeEventDataType = z.infer; declare const realtimeItemStatusSchema: z.ZodEnum<["in_progress", "completed", "incomplete"]>; export type RealtimeItemStatusType = z.infer; declare const realtimeInputTextContentSchema: z.ZodObject<{ type: z.ZodLiteral<"input_text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>; export type RealtimeInputTextContentType = z.infer; declare const realtimeInputAudioContentSchema: z.ZodObject<{ type: z.ZodOptional>; audio: z.ZodOptional; transcript: z.ZodUnion<[z.ZodString, z.ZodNull]>; }, "strip", z.ZodTypeAny, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }>; export type RealtimeInputAudioContentType = z.infer; declare const realtimeTextContentSchema: z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "text"; }, { text: string; type: "text"; }>; export type RealtimeTextContentType = z.infer; declare const realtimeAudioContentSchema: z.ZodObject<{ type: z.ZodLiteral<"audio">; audio: z.ZodOptional; transcript: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }>; export type RealtimeAudioContentType = z.infer; declare const realtimeSystemItemSchema: z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"system">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }>; export type RealtimeSystemItemType = z.infer; declare const realtimeUserItemSchema: z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"user">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, z.ZodObject<{ type: z.ZodOptional>; audio: z.ZodOptional; transcript: z.ZodUnion<[z.ZodString, z.ZodNull]>; }, "strip", z.ZodTypeAny, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>; export type RealtimeUserItemType = z.infer; declare const realtimeAssistantItemSchema: z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "text"; }, { text: string; type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"audio">; audio: z.ZodOptional; transcript: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>; export type RealtimeAssistantItemType = z.infer; declare const realtimeFunctionCallItemSchema: z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }>; export type RealtimeFunctionCallItemType = z.infer; declare const realtimeFunctionCallOutputItemSchema: z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }>; export type RealtimeFunctionCallOutputItemType = z.infer; declare const realtimeFormattedToolSchema: z.ZodObject<{ type: z.ZodLiteral<"function">; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>; export type RealtimeFormattedToolType = z.infer; declare const realtimeFormattedPropertySchema: z.ZodObject<{ audio: z.ZodType, z.ZodTypeDef, Int16Array>; text: z.ZodString; transcript: z.ZodString; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; output: z.ZodOptional; file: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }>; export type RealtimeFormattedPropertyType = z.infer; declare const realtimeFormattedItemSchema: z.ZodObject<{ id: z.ZodString; object: z.ZodString; role: z.ZodOptional>; formatted: z.ZodObject<{ audio: z.ZodType, z.ZodTypeDef, Int16Array>; text: z.ZodString; transcript: z.ZodString; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; output: z.ZodOptional; file: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }>; }, "strip", z.ZodTypeAny, { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; }, { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; }>; export type RealtimeFormattedItemType = z.infer; declare const realtimeBaseItemSchema: z.ZodUnion<[z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"system">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"user">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, z.ZodObject<{ type: z.ZodOptional>; audio: z.ZodOptional; transcript: z.ZodUnion<[z.ZodString, z.ZodNull]>; }, "strip", z.ZodTypeAny, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "text"; }, { text: string; type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"audio">; audio: z.ZodOptional; transcript: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }>]>; export type RealtimeBaseItemType = z.infer; declare const realtimeItemSchema: z.ZodUnion<[z.ZodObject<{ id: z.ZodString; object: z.ZodString; role: z.ZodOptional>; formatted: z.ZodObject<{ audio: z.ZodType, z.ZodTypeDef, Int16Array>; text: z.ZodString; transcript: z.ZodString; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; output: z.ZodOptional; file: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }>; }, "strip", z.ZodTypeAny, { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; }, { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; }>, z.ZodUnion<[z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"system">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"user">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, z.ZodObject<{ type: z.ZodOptional>; audio: z.ZodOptional; transcript: z.ZodUnion<[z.ZodString, z.ZodNull]>; }, "strip", z.ZodTypeAny, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "text"; }, { text: string; type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"audio">; audio: z.ZodOptional; transcript: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }>]>]>; export type RealtimeItemType = z.infer; declare const realtimeIncompleteResponseStatusSchema: z.ZodObject<{ type: z.ZodLiteral<"incomplete">; reoson: z.ZodEnum<["interruption", "max_output_tokens", "content_filter"]>; }, "strip", z.ZodTypeAny, { type: "incomplete"; reoson: "interruption" | "max_output_tokens" | "content_filter"; }, { type: "incomplete"; reoson: "interruption" | "max_output_tokens" | "content_filter"; }>; export type RealtimeIncompleteResponseStatusType = z.infer; declare const realtimeFailedResponseStatusSchema: z.ZodObject<{ type: z.ZodLiteral<"failed">; error: z.ZodUnion<[z.ZodObject<{ code: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; message: string; }, { code: string; message: string; }>, z.ZodNull]>; }, "strip", z.ZodTypeAny, { type: "failed"; error: { code: string; message: string; } | null; }, { type: "failed"; error: { code: string; message: string; } | null; }>; export type RealtimeFailedResponseStatusType = z.infer; declare const realtimeUsageSchema: z.ZodObject<{ total_tokens: z.ZodNumber; input_tokens: z.ZodNumber; output_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; }, { total_tokens: number; input_tokens: number; output_tokens: number; }>; export type RealtimeUsageType = z.infer; declare const realtimeResponseResourceSchema: z.ZodObject<{ status: z.ZodEnum<["in_progress", "completed", "incomplete", "cancelled", "failed"]>; status_details: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral<"incomplete">; reoson: z.ZodEnum<["interruption", "max_output_tokens", "content_filter"]>; }, "strip", z.ZodTypeAny, { type: "incomplete"; reoson: "interruption" | "max_output_tokens" | "content_filter"; }, { type: "incomplete"; reoson: "interruption" | "max_output_tokens" | "content_filter"; }>, z.ZodObject<{ type: z.ZodLiteral<"failed">; error: z.ZodUnion<[z.ZodObject<{ code: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; message: string; }, { code: string; message: string; }>, z.ZodNull]>; }, "strip", z.ZodTypeAny, { type: "failed"; error: { code: string; message: string; } | null; }, { type: "failed"; error: { code: string; message: string; } | null; }>]>, z.ZodNull]>; output: z.ZodArray>; formatted: z.ZodObject<{ audio: z.ZodType, z.ZodTypeDef, Int16Array>; text: z.ZodString; transcript: z.ZodString; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; output: z.ZodOptional; file: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }, { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }>; }, "strip", z.ZodTypeAny, { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; }, { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; }>, z.ZodUnion<[z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"system">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"user">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "input_text"; }, { text: string; type: "input_text"; }>, z.ZodObject<{ type: z.ZodOptional>; audio: z.ZodOptional; transcript: z.ZodUnion<[z.ZodString, z.ZodNull]>; }, "strip", z.ZodTypeAny, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }, { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"message">; role: z.ZodLiteral<"assistant">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; content: z.ZodArray; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; type: "text"; }, { text: string; type: "text"; }>, z.ZodObject<{ type: z.ZodLiteral<"audio">; audio: z.ZodOptional; transcript: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }, { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }, { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call">; status: z.ZodEnum<["in_progress", "completed", "incomplete"]>; call_id: z.ZodString; name: z.ZodString; arguments: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }, { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; }>, z.ZodObject<{ previous_item_id: z.ZodOptional>; type: z.ZodLiteral<"function_call_output">; call_id: z.ZodString; output: z.ZodString; }, "strip", z.ZodTypeAny, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }, { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; }>]>]>, "many">; usage: z.ZodUnion<[z.ZodObject<{ total_tokens: z.ZodNumber; input_tokens: z.ZodNumber; output_tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { total_tokens: number; input_tokens: number; output_tokens: number; }, { total_tokens: number; input_tokens: number; output_tokens: number; }>, z.ZodNull]>; }, "strip", z.ZodTypeAny, { status: "cancelled" | "failed" | "in_progress" | "completed" | "incomplete"; output: ({ type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; } | { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; } | { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; } | { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; } | { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; } | { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; })[]; status_details: { type: "incomplete"; reoson: "interruption" | "max_output_tokens" | "content_filter"; } | { type: "failed"; error: { code: string; message: string; } | null; } | null; usage: { total_tokens: number; input_tokens: number; output_tokens: number; } | null; }, { status: "cancelled" | "failed" | "in_progress" | "completed" | "incomplete"; output: ({ type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "system"; content: { text: string; type: "input_text"; }[]; previous_item_id?: string | null | undefined; } | { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "user"; content: ({ text: string; type: "input_text"; } | { transcript: string | null; type?: "input_audio" | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; } | { type: "message"; status: "in_progress" | "completed" | "incomplete"; role: "assistant"; content: ({ text: string; type: "text"; } | { type: "audio"; transcript?: string | null | undefined; audio?: string | undefined; })[]; previous_item_id?: string | null | undefined; } | { name: string; type: "function_call"; status: "in_progress" | "completed" | "incomplete"; call_id: string; arguments: string; previous_item_id?: string | null | undefined; } | { type: "function_call_output"; output: string; call_id: string; previous_item_id?: string | null | undefined; } | { object: string; id: string; formatted: { text: string; transcript: string; audio: Int16Array; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; output?: string | undefined; file?: any; }; role?: "system" | "user" | "assistant" | undefined; })[]; status_details: { type: "incomplete"; reoson: "interruption" | "max_output_tokens" | "content_filter"; } | { type: "failed"; error: { code: string; message: string; } | null; } | null; usage: { total_tokens: number; input_tokens: number; output_tokens: number; } | null; }>; export type RealtimeResponseResourceType = z.infer; declare const realtimeContentDataSchema: z.ZodObject<{ type: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional; transcript: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }>; export type RealtimeContentDataType = z.infer; declare const realtimeFormattedItemDataSchema: z.ZodObject<{ type: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional, z.ZodTypeDef, Int16Array>>; transcript: z.ZodOptional; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }>; export type RealtimeFormattedItemDataType = z.infer; declare const realtimeItemsDataSchema: z.ZodObject<{ id: z.ZodOptional; arguments: z.ZodOptional; type: z.ZodOptional>; status: z.ZodOptional>; role: z.ZodOptional>; content: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional; transcript: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }>, "many">>; formatted: z.ZodObject<{ type: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional, z.ZodTypeDef, Int16Array>>; transcript: z.ZodOptional; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }>; }, "strip", z.ZodTypeAny, { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }, { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }>; export type RealtimeItemsDataType = z.infer; declare const realtimeCreatedResponseDataSchema: z.ZodObject<{ id: z.ZodOptional; object: z.ZodOptional>; status: z.ZodOptional>; status_details: z.ZodOptional; reason: z.ZodOptional; error: z.ZodOptional; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { code?: string | undefined; type?: string | undefined; }, { code?: string | undefined; type?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { type?: string | undefined; error?: { code?: string | undefined; type?: string | undefined; } | undefined; reason?: string | undefined; }, { type?: string | undefined; error?: { code?: string | undefined; type?: string | undefined; } | undefined; reason?: string | undefined; }>>; output: z.ZodOptional; arguments: z.ZodOptional; type: z.ZodOptional>; status: z.ZodOptional>; role: z.ZodOptional>; content: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional; transcript: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }>, "many">>; formatted: z.ZodObject<{ type: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional, z.ZodTypeDef, Int16Array>>; transcript: z.ZodOptional; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }>; }, "strip", z.ZodTypeAny, { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }, { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }>, "many">>; metadata: z.ZodOptional>; usage: z.ZodObject<{ total_tokens: z.ZodOptional; input_tokens: z.ZodOptional; output_tokens: z.ZodOptional; input_token_details: z.ZodOptional; text_tokens: z.ZodOptional; audio_tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { cached_tokens?: number | undefined; text_tokens?: number | undefined; audio_tokens?: number | undefined; }, { cached_tokens?: number | undefined; text_tokens?: number | undefined; audio_tokens?: number | undefined; }>>; output_token_details: z.ZodOptional; audio_tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { text_tokens?: number | undefined; audio_tokens?: number | undefined; }, { text_tokens?: number | undefined; audio_tokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { total_tokens?: string | undefined; input_tokens?: number | undefined; output_tokens?: number | undefined; input_token_details?: { cached_tokens?: number | undefined; text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; output_token_details?: { text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; }, { total_tokens?: string | undefined; input_tokens?: number | undefined; output_tokens?: number | undefined; input_token_details?: { cached_tokens?: number | undefined; text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; output_token_details?: { text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { usage: { total_tokens?: string | undefined; input_tokens?: number | undefined; output_tokens?: number | undefined; input_token_details?: { cached_tokens?: number | undefined; text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; output_token_details?: { text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; }; object?: "realtime.response" | undefined; id?: string | undefined; status?: "cancelled" | "failed" | "completed" | "incomplete" | undefined; output?: { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }[] | undefined; metadata?: Record | undefined; status_details?: { type?: string | undefined; error?: { code?: string | undefined; type?: string | undefined; } | undefined; reason?: string | undefined; } | undefined; }, { usage: { total_tokens?: string | undefined; input_tokens?: number | undefined; output_tokens?: number | undefined; input_token_details?: { cached_tokens?: number | undefined; text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; output_token_details?: { text_tokens?: number | undefined; audio_tokens?: number | undefined; } | undefined; }; object?: "realtime.response" | undefined; id?: string | undefined; status?: "cancelled" | "failed" | "completed" | "incomplete" | undefined; output?: { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }[] | undefined; metadata?: Record | undefined; status_details?: { type?: string | undefined; error?: { code?: string | undefined; type?: string | undefined; } | undefined; reason?: string | undefined; } | undefined; }>; export type RealtimeCreatedResponseDataType = z.infer; declare const realtimeAudioSchema: z.ZodObject<{ id: z.ZodOptional; type: z.ZodOptional>; audio: z.ZodOptional; audio_start_ms: z.ZodOptional; audio_end_ms: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; type?: "input_audio" | undefined; audio?: string | undefined; audio_start_ms?: number | undefined; audio_end_ms?: number | undefined; }, { id?: string | undefined; type?: "input_audio" | undefined; audio?: string | undefined; audio_start_ms?: number | undefined; audio_end_ms?: number | undefined; }>; export type RealtimeAudioType = z.infer; declare const realtimeTranscriptScehma: z.ZodObject<{ id: z.ZodOptional; type: z.ZodOptional>; transcript: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; type?: "input_audio" | undefined; transcript?: string | undefined; }, { id?: string | undefined; type?: "input_audio" | undefined; transcript?: string | undefined; }>; export type RealtimeTranscriptType = z.infer; declare const realtimeEventCallbackSchema: z.ZodFunction; }, "strip", z.ZodTypeAny, { type: "conversation.item.created" | "conversation.item.truncated" | "conversation.item.deleted" | "conversation.item.input_audio_transcription.completed" | "input_audio_buffer.speech_started" | "input_audio_buffer.speech_stopped" | "response.created" | "response.output_item.added" | "response.output_item.done" | "response.content_part.added" | "response.audio_transcript.delta" | "response.audio.delta" | "response.text.delta" | "response.function_call_arguments.delta"; }, { type: "conversation.item.created" | "conversation.item.truncated" | "conversation.item.deleted" | "conversation.item.input_audio_transcription.completed" | "input_audio_buffer.speech_started" | "input_audio_buffer.speech_stopped" | "response.created" | "response.output_item.added" | "response.output_item.done" | "response.content_part.added" | "response.audio_transcript.delta" | "response.audio.delta" | "response.text.delta" | "response.function_call_arguments.delta"; }>, z.ZodRecord>], z.ZodAny>, z.ZodVoid>; export type RealtimeEventCallbackType = z.infer; declare const realtimeEventCallbackReturnValueSchema: z.ZodObject<{ item: z.ZodUnion<[z.ZodObject<{ id: z.ZodOptional; arguments: z.ZodOptional; type: z.ZodOptional>; status: z.ZodOptional>; role: z.ZodOptional>; content: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional; transcript: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }>, "many">>; formatted: z.ZodObject<{ type: z.ZodOptional>; text: z.ZodOptional; id: z.ZodOptional; audio: z.ZodOptional, z.ZodTypeDef, Int16Array>>; transcript: z.ZodOptional; tool: z.ZodOptional; name: z.ZodString; call_id: z.ZodString; arguments: z.ZodString; handler: z.ZodAny; }, "strip", z.ZodTypeAny, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }, { name: string; type: "function"; call_id: string; arguments: string; handler?: any; }>>; }, "strip", z.ZodTypeAny, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }, { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }>; }, "strip", z.ZodTypeAny, { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }, { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; }>, z.ZodNull]>; delta: z.ZodUnion<[z.ZodAny, z.ZodNull]>; }, "strip", z.ZodTypeAny, { item: { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; } | null; delta?: any; }, { item: { formatted: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; tool?: { name: string; type: "function"; call_id: string; arguments: string; handler?: any; } | undefined; transcript?: string | undefined; audio?: Int16Array | undefined; }; id?: string | undefined; type?: "message" | "function_call" | "function_call_output" | undefined; status?: "completed" | "incomplete" | undefined; role?: "system" | "user" | "assistant" | undefined; content?: { text?: string | undefined; id?: string | undefined; type?: "text" | "input_text" | "input_audio" | "audio" | "item_reference" | undefined; transcript?: string | undefined; audio?: string | undefined; }[] | undefined; arguments?: any; } | null; delta?: any; }>; export type RealtimeEventCallbackReturnValueType = z.infer; declare const countrySchema: z.ZodObject<{ name: z.ZodString; code: z.ZodString; dial_code: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; name: string; dial_code: string; }, { code: string; name: string; dial_code: string; }>; export type Country = z.infer; export declare const countries: Country[]; declare const twilioAccountSchema: z.ZodObject<{ account_sid: z.ZodOptional; account_auth: z.ZodOptional; phone_number: z.ZodOptional; label: z.ZodOptional; country_code: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone_number?: string | undefined; label?: string | undefined; account_sid?: string | undefined; account_auth?: string | undefined; country_code?: string | undefined; }, { phone_number?: string | undefined; label?: string | undefined; account_sid?: string | undefined; account_auth?: string | undefined; country_code?: string | undefined; }>; export type TwilioAccountType = z.infer; export declare const lightLangGraphLLMConfigSchema: z.ZodObject<{ defaultLlmConfig: z.ZodOptional; temperature: z.ZodNumber; maxTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }, { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; }>>; tools: z.ZodOptional>[], z.ZodTypeDef, DynamicStructuredTool>[]>>; provider: z.ZodOptional; apiKey: z.ZodOptional; systemPrompt: z.ZodOptional; messagesHistory: z.ZodOptional; content: z.ZodString; name: z.ZodOptional; tool_call_id: z.ZodOptional; tool_name: z.ZodOptional; tool_calls: z.ZodAny; }, "strip", z.ZodTypeAny, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }, { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }>, "many">>; }, "strip", z.ZodTypeAny, { provider?: string | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; tools?: DynamicStructuredTool>[] | undefined; apiKey?: string | undefined; defaultLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; systemPrompt?: string | undefined; }, { provider?: string | undefined; messagesHistory?: { role: "system" | "user" | "assistant" | "tool"; content: string; name?: string | undefined; tool_call_id?: string | undefined; tool_name?: string | undefined; tool_calls?: any; }[] | undefined; tools?: DynamicStructuredTool>[] | undefined; apiKey?: string | undefined; defaultLlmConfig?: { modelId: "gpt-4o" | "gpt-3.5-turbo-0125" | "gpt-4-1106-preview" | "gpt-4o-mini" | "ft:gpt-4o-mini-2024-07-18:personal:4o-with-tools-t11:A6mByttv" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-8b-instant" | "llama-3.1-70b-versatile" | "llama-3.2-90b-text-preview" | "llama-3.2-11b-text-preview" | "llama-3.3-70b-versatile" | "mixtral-8x7b-32768" | "gemma-7b-it" | "gemma2-9b-it" | "claude-3-5-sonnet-20240620" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-3-5-haiku-20241022" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.0-pro" | "gemini-2.0-flash-exp" | "gemini-2.0-flash-thinking-exp-1219" | "gpt-4-32k" | "gpt-4" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo" | "deepseek-chat"; temperature: number; maxTokens: number; } | undefined; systemPrompt?: string | undefined; }>; export type LightLangGraphLLMConfigType = z.infer; export declare function convertToSafeUserData(userData: WorkspaceModel): WorkspaceModel; export {};