import type * as ElevenLabs from "../index"; export interface ConvAiWebhooks { postCallWebhookId?: string; /** List of event types to send via webhook. Options: transcript, audio, call_initiation_failure, answering_machine_detection, unredacted_transcript, unredacted_audio. */ events?: ElevenLabs.WebhookEventType[]; /** Format for transcript webhooks. */ transcriptFormat?: ElevenLabs.WebhookTranscriptFormat; /** When true, JSON post-call transcription webhooks omit the turn-by-turn transcript. Analysis, metadata, and other conversation fields are still sent. Ignored for OpenTelemetry transcript format. */ excludeTranscript?: boolean; /** DEPRECATED: Use 'events' field instead. Whether to send audio data with post-call webhooks for ConvAI conversations */ sendAudio?: boolean; }