@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
147 lines (127 loc) • 5.56 kB
JavaScript
;
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// lib/interfaces/index.ts
var interfaces_exports = {};
__export(interfaces_exports, {
isNCCOSerializable: () => isNCCOSerializable
});
module.exports = __toCommonJS(interfaces_exports);
// lib/interfaces/Endpoint/CallEndpointObject.ts
var import_debug = __toESM(require("debug"));
(0, import_debug.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the CallEndpoint type"
);
// lib/interfaces/Endpoint/PhoneEndpointObject.ts
var import_debug2 = __toESM(require("debug"));
(0, import_debug2.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the PhoneEndpoint type"
);
// lib/interfaces/Endpoint/SIPEndpointObject.ts
var import_debug3 = __toESM(require("debug"));
(0, import_debug3.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the SIPEndpoint type"
);
// lib/interfaces/Endpoint/WebsocketEndpointObject.ts
var import_debug4 = __toESM(require("debug"));
(0, import_debug4.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the WebsocketEndpoint type"
);
// lib/interfaces/Endpoint/VBCEndpointObject.ts
var import_debug5 = __toESM(require("debug"));
(0, import_debug5.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the VBCEndpoint type"
);
// lib/interfaces/NCCO/ConnectAction.ts
var import_debug6 = __toESM(require("debug"));
(0, import_debug6.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the ConnectActionType type"
);
// lib/interfaces/NCCO/ConversationAction.ts
var import_debug7 = __toESM(require("debug"));
(0, import_debug7.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the ConnectionActionType type"
);
// lib/interfaces/NCCO/DTMFSettings.ts
var import_debug8 = __toESM(require("debug"));
(0, import_debug8.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the DTMFSettingsType type"
);
// lib/interfaces/NCCO/InputAction.ts
var import_debug9 = __toESM(require("debug"));
(0, import_debug9.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the InputActionType type"
);
// lib/interfaces/NCCO/NotifyAction.ts
var import_debug10 = __toESM(require("debug"));
(0, import_debug10.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the NotifyActionType type"
);
// lib/interfaces/NCCO/RecordAction.ts
var import_debug11 = __toESM(require("debug"));
(0, import_debug11.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the RecordActionType type"
);
// lib/interfaces/NCCO/Serializable.ts
function isNCCOSerializable(nccoObject) {
return "serializeToNCCO" in nccoObject;
}
// lib/interfaces/NCCO/SpeechSettings.ts
var import_debug12 = __toESM(require("debug"));
(0, import_debug12.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the SpeechSettingsType type"
);
// lib/interfaces/NCCO/StreamAction.ts
var import_debug13 = __toESM(require("debug"));
(0, import_debug13.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the StreamActionType type"
);
// lib/interfaces/NCCO/TalkAction.ts
var import_debug14 = __toESM(require("debug"));
(0, import_debug14.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the TalkActionType type"
);
// lib/interfaces/OutboundCall.ts
var import_debug15 = __toESM(require("debug"));
(0, import_debug15.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the OutboundCall type"
);
// lib/interfaces/OutboundCallWithAnswerURL.ts
var import_debug16 = __toESM(require("debug"));
(0, import_debug16.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the CallWithAnswerURL type"
);
// lib/interfaces/OutboundCallWithNCCO.ts
var import_debug17 = __toESM(require("debug"));
(0, import_debug17.default)("@vonage/voice")(
"This interface is deprecated. Please update to use the CallWithNCCO type"
);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
isNCCOSerializable
});