@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
35 lines • 1.19 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.VBCEndpoint = void 0;
const debug_1 = __importDefault(require("debug"));
(0, debug_1.default)('@vonage/voice')('This class is deprecated. Please update to use the VBCEndpointType type instead');
/**
* Represents a VBC (Vonage Business Cloud) endpoint for making voice calls.
* @deprecated This class is deprecated. Please update to use the VBCEndpointType type instead.
*/
class VBCEndpoint {
/**
* 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;
}
}
exports.VBCEndpoint = VBCEndpoint;
//# sourceMappingURL=VBCEndpoint.js.map