@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
47 lines (44 loc) • 1.83 kB
TypeScript
import { CallEndpoint } from '../types/Endpoint/CallEndpoint.js';
import { PhoneEndpoint } from '../types/Endpoint/PhoneEndpoint.js';
import { NCCOAction } from '../types/NCCO/NCCOActions.js';
import { OutboundCall } from './OutboundCall.js';
import '../types/Endpoint/SIPEndpoint.js';
import '../types/Endpoint/VBCEndpoint.js';
import '../types/Endpoint/WebsocketEndpoint.js';
import '../types/Endpoint/AppEndpoint.js';
import '../types/NCCO/RecordAction.js';
import '../enums/NCCOActions.js';
import '../enums/NCCO/RecordingFormat.js';
import '../types/NCCO/ConversationAction.js';
import '../types/NCCO/ConnectAction.js';
import '../enums/NCCO/ConnectEventType.js';
import '../enums/NCCO/MachineDetection.js';
import '../types/NCCO/TalkAction.js';
import '../enums/TTSLanguages.js';
import '../types/NCCO/StreamAction.js';
import '../types/NCCO/InputAction.js';
import '../types/NCCO/DTMFSettings.js';
import '../types/NCCO/SpeechSettings.js';
import '../types/NCCO/NotifyAction.js';
import '../enums/HttpMethod.js';
import '../enums/MachineDetctionBehavior.js';
/**
* Represents an outbound call with NCCO (Nexmo Call Control Object).
*
* @deprecated This class is deprecated. Please update to use the CallWithNCCO type
*/
declare class OutboundCallWithNCCO extends OutboundCall {
/**
* The list of NCCO actions.
*/
ncco: Array<NCCOAction>;
/**
* Creates a new outbound call with NCCO.
*
* @param {Array<NCCOAction>} ncco - The NCCO actions for the call.
* @param {CallEndpoint} to - The call endpoint to which the outbound call will be made.
* @param {PhoneEndpointObject} [from] - The phone endpoint object representing the caller's information.
*/
constructor(ncco: Array<NCCOAction>, to: CallEndpoint, from?: PhoneEndpoint);
}
export { OutboundCallWithNCCO };