import { AnsweringMachineDetection } from '../../answering-machine-detection'; /** * The request body of a Notify Event. */ export interface NotifyRequest { /** Must have the value `notify`. */ event?: 'notify'; /** The unique ID assigned to this call. */ callid?: string; /** The unique ID assigned to this conference. */ conferenceId?: string; /** The current API version. */ version?: number; /** The type of information communicated in the notification. */ type?: NotifyRequestType; /** An optional parameter containing notification-specific information. */ custom?: string; /** The results of the detection and/or the beep detection. */ amd?: AnsweringMachineDetection; /** The URL where the recording or transcription is available */ destination?: string; } type NotifyRequestType = 'recording_finished' | 'recording_available' | 'transcription_available' | 'amd' | 'amd_beep' | string; export {};