@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
16 lines (13 loc) • 658 B
TypeScript
import { PhoneEndpoint } from './PhoneEndpoint.js';
import { SIPEndpoint } from './SIPEndpoint.js';
import { VBCEndpoint } from './VBCEndpoint.js';
import { WebsocketEndpoint } from './WebsocketEndpoint.js';
import { AppEndpoint } from './AppEndpoint.js';
import './WebsocketAuthorization.js';
import '../../enums/Endpoint/WebsocketBitrate.js';
/**
* 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 };