UNPKG

@vonage/voice

Version:

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

20 lines (18 loc) 467 B
/** * Represents a phone endpoint, which can be used as a call destination. */ type PhoneEndpoint = { /** * Specifies the type of endpoint, which is 'phone' for phone numbers. */ type: 'phone'; /** * The phone number associated with the endpoint. */ number: string; /** * Provide DTMF digits to send when the call is answered */ dtmfAnswer?: string; } & Record<string, unknown>; export type { PhoneEndpoint };