UNPKG

@vonage/voice

Version:

The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.

38 lines (35 loc) 888 B
import { CallStatus } from '../../enums/CallStatus.js'; /** * Represents parameters for retrieving call details. */ type GetCallDetailsParameters = { /** * Optional: The status of the calls to retrieve. */ status?: CallStatus; /** * Optional: The start date for filtering calls. */ dateStart?: string; /** * Optional: The end date for filtering calls. */ dateEnd?: string; /** * Optional: The page size for pagination. */ pageSize?: number; /** * Optional: The record index for pagination. */ recordIndex?: number; /** * Optional: The order in which calls are retrieved (ascending or descending). */ order?: 'asc' | 'desc'; /** * Optional: The conversation UUID for filtering calls. */ conversationUuid?: string; }; export type { GetCallDetailsParameters };