/** * A single utterance in a voice session transcript. */ export interface AgentStudioVoiceSessionTranscriptEntryResponseBody { /** Offset from the start of the session at which this utterance ended, in milliseconds. Approximated from the start of the next utterance (or the end of the session for the final utterance). */ endMilliseconds: number; /** Who produced this utterance. Defaults to `unknown` when the speaker cannot be confidently classified. Valid values: `agent`, `driver`, `admin`, `unknown` */ speakerType: AgentStudioVoiceSessionTranscriptEntryResponseBody.SpeakerType; /** Offset from the start of the session at which this utterance began, in milliseconds. */ startMilliseconds: number; /** Transcribed text of the utterance. */ text: string; } export declare namespace AgentStudioVoiceSessionTranscriptEntryResponseBody { /** Who produced this utterance. Defaults to `unknown` when the speaker cannot be confidently classified. Valid values: `agent`, `driver`, `admin`, `unknown` */ const SpeakerType: { readonly Agent: "agent"; readonly Driver: "driver"; readonly Admin: "admin"; readonly Unknown: "unknown"; }; type SpeakerType = (typeof SpeakerType)[keyof typeof SpeakerType]; }