@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
31 lines (29 loc) • 680 B
JavaScript
// lib/classes/Endpoint/VBCEndpoint.ts
import debug from "debug";
debug("@vonage/voice")(
"This class is deprecated. Please update to use the VBCEndpointType type instead"
);
var VBCEndpoint = class {
/**
* The type of the endpoint, which is always 'vbc'.
*/
type;
/**
* The VBC extension associated with this endpoint.
*
* @param {string} extension - The VBC extension for the VBC endpoint.
*/
extension;
/**
* Create a new VBCEndpoint instance.
*
* @param {string} extension - The VBC extension for the VBC endpoint.
*/
constructor(extension) {
this.type = "vbc";
this.extension = extension;
}
};
export {
VBCEndpoint
};