@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
26 lines (23 loc) • 829 B
text/typescript
import { CallEndpoint } from './Endpoint/CallEndpoint.mjs';
import { PSTNEndpoint } from './Endpoint/PSTNEndpoint.mjs';
import './Endpoint/PhoneEndpoint.mjs';
import './Endpoint/SIPEndpoint.mjs';
import './Endpoint/VBCEndpoint.mjs';
import './Endpoint/WebsocketEndpoint.mjs';
import './Endpoint/WebsocketAuthorization.mjs';
import '../enums/Endpoint/WebsocketBitrate.mjs';
import './Endpoint/AppEndpoint.mjs';
/**
* Represents common fields for defining an outbound call, including the caller (from) and recipient (to) endpoints.
*/
type CommonCallFields = {
/**
* The caller's endpoint information, excluding DTMF answer details.
*/
from: Omit<PSTNEndpoint, 'dtmfAnswer'>;
/**
* The recipient's endpoint information for the call.
*/
to: CallEndpoint;
};
export type { CommonCallFields };