import type * as ElevenLabs from "../index"; export interface UpdateSimulationTestRequest { /** Metadata of a conversation this test was created from (if applicable). */ fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput; /** Dynamic variables to replace in the agent config during testing */ dynamicVariables?: Record; chatHistory?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[]; /** Simulate the test as if the conversation originated from this channel. */ conversationInitiationSource?: ElevenLabs.ConversationInitiationSource; /** The environment to resolve environment-specific variable values against when running this test (URL, headers, auth connections). If not provided, defaults to 'production'. For simulation tests, simulation_environment takes precedence when set. */ environment?: string; /** Deprecated legacy single success criterion. Use success_conditions instead. At least one of success_condition or success_conditions is required. */ successCondition?: string; /** List of prompts that evaluate whether the simulation was successful. If provided, all criteria are evaluated and merged into a final result. Capped at the maximum number of evaluation criteria. */ successConditions?: string[]; /** Description of the simulation scenario and user persona for simulation tests. */ simulationScenario?: string; /** Maximum number of conversation turns for simulation tests. */ simulationMaxTurns?: number; /** The environment to use when running this simulation test. If not provided, defaults to 'production'. */ simulationEnvironment?: string; /** Configuration for which tools to mock and fallback behavior. */ toolMockConfig?: ElevenLabs.SimulationToolMockBehaviorConfig; /** Test-specific response mocks, keyed by tool ID. Applied ahead of the tool's shared mocks and only within this test. Only take effect for tools that are mocked (see tool_mock_config). */ toolMockOverrides?: Record; /** LLM model to use for evaluating simulation results. */ evaluationModel?: ElevenLabs.Llm; /** LLM model for the simulated user. */ simulatedUserModel?: ElevenLabs.Llm; name: string; /** The ID of the parent folder. If not provided, the test will be moved to the root level. */ parentFolderId?: string; }