UNPKG

@vonage/voice

Version:

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

14 lines (11 loc) 574 B
import { PhoneEndpoint } from './PhoneEndpoint.mjs'; import { SIPEndpoint } from './SIPEndpoint.mjs'; import { VBCEndpoint } from './VBCEndpoint.mjs'; import { WebsocketEndpoint } from './WebsocketEndpoint.mjs'; import { AppEndpoint } from './AppEndpoint.mjs'; /** * Represents a call endpoint, which can be of different types such as Phone, SIP, VBC, or Websocket. * This type can be used to specify the destination for an outbound call. */ type CallEndpoint = WebsocketEndpoint | PhoneEndpoint | SIPEndpoint | AppEndpoint | VBCEndpoint; export type { CallEndpoint };