import * as zod from 'zod'; import { z } from 'zod'; import TypedEmitter from 'typed-emitter'; /** @format */ 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; }>; type AppTranscriptPayload = z.infer; 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; }>; type OnConversationUpdated = z.infer; type WebCallEventsEmitter = { "call-start": () => void; "call-end": () => void; error: (error: unknown) => void; "conversation-update": (payload: OnConversationUpdated) => void; final_transcript: (payload: AppTranscriptPayload) => void; }; declare const TypedWebCall_base: new () => TypedEmitter; declare class TypedWebCall extends TypedWebCall_base { } declare const initEvent: zod.ZodObject; description: zod.ZodOptional; ownerID: zod.ZodOptional; theme: zod.ZodOptional; voiceConfig: zod.ZodOptional; sampleRate: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { format?: string | undefined; sampleRate?: number | undefined; }, { format?: string | undefined; sampleRate?: number | undefined; }>>; modelId: zod.ZodOptional; patienceFactor: zod.ZodOptional; language: zod.ZodOptional; provider: zod.ZodEnum<["deepgram", "gladia", "assemblyai", "speechmatics"]>; randomOptions: zod.ZodOptional; internal: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { debug?: boolean | undefined; inputAudioStream?: any; }, { debug?: boolean | undefined; inputAudioStream?: any; }>>; apiKey: zod.ZodOptional; platformSpecific: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional>; }, "strip", zod.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: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional; modelId: zod.ZodOptional; voiceId: zod.ZodOptional; apiKey: zod.ZodOptional; region: zod.ZodOptional; backgroundNoise: zod.ZodOptional>; punctuationBreaks: zod.ZodOptional>; platformSpecific: zod.ZodOptional; similarityBoost: zod.ZodOptional; style: zod.ZodOptional; useSpeakerBoost: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional>; }, "strip", zod.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: zod.ZodOptional; language: zod.ZodOptional; }, "strip", zod.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; }>, zod.ZodObject<{ internal: zod.ZodOptional>; emitOnComplete: zod.ZodOptional; }, "strip", zod.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", zod.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: zod.ZodOptional>; enableWebCalling: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }, { recordAudio: boolean; backgroundNoise?: "restaurant" | "office" | "street" | "none" | undefined; enableWebCalling?: boolean | undefined; }>>; }, "strip", zod.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: zod.ZodOptional; vectorDb: zod.ZodAny; withRefresh: zod.ZodOptional; agentPlatform: zod.ZodAny; ID: zod.ZodOptional; storageID: zod.ZodOptional; VF_DIALOGUE_API_KEY: zod.ZodOptional; VF_PROJECT_API_KEY: zod.ZodOptional; VF_PROJECT_ID: zod.ZodOptional; VF_KB_API_KEY: zod.ZodOptional; roundedImageURL: zod.ZodOptional; rectangeImageURL: zod.ZodOptional; messageDelayMS: zod.ZodOptional; scrollAnimation: zod.ZodOptional; proactiveMessage: zod.ZodOptional; acceptFileUpload: zod.ZodOptional; recordChatHistory: zod.ZodOptional; chatBgURL: zod.ZodOptional; disableSmoothScroll: zod.ZodOptional; isDeployed: zod.ZodOptional; tokensUsage: zod.ZodOptional; maxTokensUsage: zod.ZodOptional; lastModified: zod.ZodOptional; fontFamily: zod.ZodOptional; branding: zod.ZodOptional; customThemeJSONString: zod.ZodOptional; autoStartWidget: zod.ZodOptional; allTimeTriggers: zod.ZodOptional; syncBrowser: zod.ZodOptional; delayBeforeSubmit: zod.ZodOptional; region: zod.ZodOptional>; listenForUrlChanges: zod.ZodOptional; chatForget: zod.ZodOptional; lang: zod.ZodOptional; enableAudioSupport: zod.ZodOptional; AITranslateTo: zod.ZodOptional; enableAITranslate: zod.ZodOptional; disableNoReplyListener: zod.ZodOptional; disableHumanHandoff: zod.ZodOptional; alwaysShowHandoff: zod.ZodOptional; manualControl: zod.ZodOptional; enableVGHandoff: zod.ZodOptional; enableGeoAnalytics: zod.ZodOptional; fixedHandoffPopup: zod.ZodOptional; buttonsLayout: zod.ZodOptional>; ADVANCED_customCSS: zod.ZodOptional; messagesLimit: zod.ZodOptional; whatsappToken: zod.ZodOptional; whatsappNumberId: zod.ZodOptional; whatsappBusniessId: zod.ZodOptional; waTestNumber: zod.ZodOptional; waVerifyPassed: zod.ZodOptional; waTestPassed: zod.ZodOptional; webhookUrl: zod.ZodOptional; gcloudPrivateKey: zod.ZodOptional; gcloudClientEmail: zod.ZodOptional; smartInit: zod.ZodOptional; UIhandoffTitle: zod.ZodOptional; UIhandoffSubtitle: zod.ZodOptional; igVerified: zod.ZodOptional; igAccessToken: zod.ZodOptional; showHandoffEvenIfOffline: zod.ZodOptional; customButtonJSON_STRING: zod.ZodOptional; vg_initPrompt: zod.ZodOptional; vg_prompt: zod.ZodOptional; vg_initMessages: zod.ZodOptional>; vg_systemPrompt: zod.ZodOptional; vg_temperature: zod.ZodOptional; vg_defaultModel: zod.ZodOptional>; vg_maxTokens: zod.ZodOptional; vg_kbDefaultDimension: zod.ZodOptional; vg_kbTopChunks: zod.ZodOptional; SECRET_API_KEY: zod.ZodOptional; vg_kbCharCount: zod.ZodOptional; vg_kbDocsNum: zod.ZodOptional; vg_enableUIEngine: zod.ZodOptional; vg_enableAboutContext: zod.ZodOptional; vg_kb_llm: zod.ZodOptional, zod.ZodLiteral<"simple">]>>; searchPrompt: zod.ZodOptional; modelId: zod.ZodOptional>; temprature: zod.ZodOptional; maxTokens: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional; ifKnowsThreshold: zod.ZodOptional; avatarImageUrl: zod.ZodOptional; headerImageUrl: zod.ZodOptional; bannerImageUrl: zod.ZodOptional; soundEffectUrl: zod.ZodOptional; soundEffectEnabled: zod.ZodOptional; enableQuickFileUpload: zod.ZodOptional; instagramOptions: zod.ZodOptional; accessToken: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { pageId?: string | undefined; accessToken?: string | undefined; }, { pageId?: string | undefined; accessToken?: string | undefined; }>>; translateUserResponse: zod.ZodOptional; starred: zod.ZodOptional; flowise: zod.ZodOptional; webhookSecret: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }, { webhookUrl?: string | undefined; webhookSecret?: string | undefined; }>>; vfSettings: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { enableIgnoreUrlPaths?: boolean | undefined; }, { enableIgnoreUrlPaths?: boolean | undefined; }>>; vapi: zod.ZodOptional; vapiConfig: zod.ZodOptional; PUBLIC_API_KEY: zod.ZodOptional; PRIVATE_API_KEY: zod.ZodOptional; enableVapiOnWeb: zod.ZodOptional; overrideWithVG: zod.ZodOptional; promptOnWeb: zod.ZodOptional; maxCostMonthly: zod.ZodOptional; maxMinutesMonthly: zod.ZodOptional; useVfProject: zod.ZodOptional; syncTools: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional; showSources: zod.ZodOptional; lightUiEngine: zod.ZodOptional; legacyKb: zod.ZodOptional; maxChunkSize: zod.ZodOptional; handoffTimeout: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional; widgetType: zod.ZodOptional, zod.ZodLiteral<"tabs">]>>; enableFixedFeedbackBtns: zod.ZodOptional; voice: zod.ZodOptional>; }, "strip", zod.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: zod.ZodOptional>; tools: zod.ZodOptional; method: zod.ZodOptional>; id: zod.ZodString; name: zod.ZodString; description: zod.ZodString; serverUrl: zod.ZodOptional; serverUrlSecret: zod.ZodOptional; createdAt: zod.ZodOptional; updatedAt: zod.ZodOptional; disabled: zod.ZodOptional; isVapiTool: zod.ZodOptional; vapiId: zod.ZodOptional; isGlobal: zod.ZodOptional; variablesIds: zod.ZodOptional>; agentId: zod.ZodOptional; userId: zod.ZodOptional; backchannellingPhrases: zod.ZodOptional>; fields: zod.ZodOptional>; value: zod.ZodOptional; defaultValue: zod.ZodOptional; key: zod.ZodOptional; description: zod.ZodOptional; required: zod.ZodOptional; reusable: zod.ZodOptional; isEnv: zod.ZodOptional; isSystem: zod.ZodOptional; isGlobal: zod.ZodOptional; agentId: zod.ZodOptional; userId: zod.ZodOptional; }, "strip", zod.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", zod.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: zod.ZodOptional>; websocketServer: zod.ZodOptional, zod.ZodLiteral<"nodejs">]>>; setOnResponse: zod.ZodOptional; enableSetOnLoad: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional; instaAgentUsername: zod.ZodOptional; convoTags: zod.ZodOptional>; vfConfig: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { alwaysEnableCardButtons?: boolean | undefined; }, { alwaysEnableCardButtons?: boolean | undefined; }>>; discord: zod.ZodOptional>; webhookUrls: zod.ZodOptional>; }, "strip", zod.ZodTypeAny, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }, { channelIds?: string[] | undefined; webhookUrls?: string[] | undefined; }>>; limits: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { maxInteractionsPerUserId?: number | undefined; }, { maxInteractionsPerUserId?: number | undefined; }>>; tabs: zod.ZodOptional>; kbTags: zod.ZodOptional>; kbTagsDataMap: zod.ZodOptional>; nodes: zod.ZodOptional; toolsIds: zod.ZodOptional>; childrenNodes: zod.ZodOptional, "many">>; llmConfig: zod.ZodObject<{ modelId: zod.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: zod.ZodNumber; maxTokens: zod.ZodNumber; }, "strip", zod.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: zod.ZodOptional; temperature: zod.ZodNumber; maxTokens: zod.ZodNumber; }, "strip", zod.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: zod.ZodOptional; autoRerouter: zod.ZodOptional>; type: zod.ZodOptional>; rf: zod.ZodOptional; kb: zod.ZodOptional>; smartSearch: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }, { enabled: boolean; maxChunks: number; tags?: string[] | undefined; smartSearch?: boolean | undefined; }>>; }>, "strip", zod.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: zod.ZodOptional; advanced: zod.ZodOptional; serverUrlSecret: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }, { serverUrl?: string | undefined; serverUrlSecret?: string | undefined; }>>; nodesSettings: zod.ZodOptional; defaultLLmOptions: zod.ZodOptional; temperature: zod.ZodNumber; maxTokens: zod.ZodNumber; }, "strip", zod.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: zod.ZodOptional; }, "strip", zod.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: zod.ZodOptional; }>, "strip", zod.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: zod.ZodOptional; region: zod.ZodEnum<["eu", "na"]>; convoId: zod.ZodOptional; sessionId: zod.ZodOptional; type: zod.ZodLiteral<"init">; }, "type">, "strip", zod.ZodTypeAny, { 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; }, { 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 InitCallEvent = z.infer; declare class WebCall extends TypedWebCall { private agentId; private region; private convoId; private sessionId; private mediaStream; private remoteStream; private audioElement; private peerConnection; private webSocket; private isMuted; private audioContext; private analyser; private volumeAnimationFrame; /** * Initialize the API with the given agent ID. * @param agentId - Your unique agent ID (or any string) */ init(input: InitCallEvent): Promise; /** * Start the WebRTC call flow: * 1) Open a WebSocket to your signaling server * 2) Create a RTCPeerConnection * 3) Get local microphone and attach it * 4) Handle remote track (attach to hidden