@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
23 lines • 974 B
TypeScript
import { PhoneEndpointObject } from '../interfaces/Endpoint/PhoneEndpointObject';
import { CallEndpoint, NCCOAction } from '../types';
import { OutboundCall } from './OutboundCall';
/**
* Represents an outbound call with NCCO (Nexmo Call Control Object).
*
* @deprecated This class is deprecated. Please update to use the CallWithNCCO type
*/
export 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?: PhoneEndpointObject);
}
//# sourceMappingURL=OutboundCallWithNCCO.d.ts.map