UNPKG

@vonage/voice

Version:

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

31 lines (28 loc) 777 B
import { OutboundCall } from "./chunk-Q6P5XSES.mjs"; // lib/classes/OutboundCallWithNCCO.ts import debug from "debug"; debug("@vonage/voice")( "This class is deprecated. Please update to use the CallWithNCCO type" ); var OutboundCallWithNCCO = class extends OutboundCall { /** * The list of NCCO actions. */ ncco; /** * 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, to, from) { super(to, from); this.ncco = ncco; } }; export { OutboundCallWithNCCO };