import type * as ElevenLabs from "../index"; export interface UpdateResponseUnitTestRequest { /** 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[]; /** A prompt that evaluates whether the agent's response is successful. Should return True or False. */ successCondition?: string; /** Non-empty list of example responses that should be considered successful */ successExamples?: ElevenLabs.AgentSuccessfulResponseExample[]; /** Non-empty list of example responses that should be considered failures */ failureExamples?: ElevenLabs.AgentFailureResponseExample[]; name: string; /** The ID of the parent folder. If not provided, the test will be moved to the root level. */ parentFolderId?: string; }