@azure/communication-call-automation
Version:
Azure client library for Azure Communication Call Automation services
288 lines (287 loc) • 8.17 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var parameters_exports = {};
__export(parameters_exports, {
accept: () => accept,
addParticipantRequest: () => addParticipantRequest,
answerCallRequest: () => answerCallRequest,
apiVersion: () => apiVersion,
callConnectionId: () => callConnectionId,
cancelAddParticipantRequest: () => cancelAddParticipantRequest,
connectRequest: () => connectRequest,
contentType: () => contentType,
continuousDtmfRecognitionRequest: () => continuousDtmfRecognitionRequest,
createCallRequest: () => createCallRequest,
endpoint: () => endpoint,
holdRequest: () => holdRequest,
moveParticipantRequest: () => moveParticipantRequest,
muteParticipantsRequest: () => muteParticipantsRequest,
nextLink: () => nextLink,
participantRawId: () => participantRawId,
playRequest: () => playRequest,
recognizeRequest: () => recognizeRequest,
recordingId: () => recordingId,
redirectCallRequest: () => redirectCallRequest,
rejectCallRequest: () => rejectCallRequest,
removeParticipantRequest: () => removeParticipantRequest,
repeatabilityFirstSent: () => repeatabilityFirstSent,
repeatabilityRequestID: () => repeatabilityRequestID,
sendDtmfTonesRequest: () => sendDtmfTonesRequest,
startCallRecording: () => startCallRecording,
startMediaStreamingRequest: () => startMediaStreamingRequest,
startTranscriptionRequest: () => startTranscriptionRequest,
stopMediaStreamingRequest: () => stopMediaStreamingRequest,
stopTranscriptionRequest: () => stopTranscriptionRequest,
transferToParticipantRequest: () => transferToParticipantRequest,
unholdRequest: () => unholdRequest,
updateTranscriptionRequest: () => updateTranscriptionRequest
});
module.exports = __toCommonJS(parameters_exports);
var import_mappers = require("../models/mappers.js");
const contentType = {
parameterPath: ["options", "contentType"],
mapper: {
defaultValue: "application/json",
isConstant: true,
serializedName: "Content-Type",
type: {
name: "String"
}
}
};
const createCallRequest = {
parameterPath: "createCallRequest",
mapper: import_mappers.CreateCallRequest
};
const accept = {
parameterPath: "accept",
mapper: {
defaultValue: "application/json",
isConstant: true,
serializedName: "Accept",
type: {
name: "String"
}
}
};
const endpoint = {
parameterPath: "endpoint",
mapper: {
serializedName: "endpoint",
required: true,
type: {
name: "String"
}
},
skipEncoding: true
};
const apiVersion = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2026-03-12",
isConstant: true,
serializedName: "api-version",
type: {
name: "String"
}
}
};
const repeatabilityRequestID = {
parameterPath: ["options", "repeatabilityRequestID"],
mapper: {
serializedName: "Repeatability-Request-ID",
type: {
name: "Uuid"
}
}
};
const repeatabilityFirstSent = {
parameterPath: ["options", "repeatabilityFirstSent"],
mapper: {
serializedName: "Repeatability-First-Sent",
type: {
name: "DateTimeRfc1123"
}
}
};
const answerCallRequest = {
parameterPath: "answerCallRequest",
mapper: import_mappers.AnswerCallRequest
};
const redirectCallRequest = {
parameterPath: "redirectCallRequest",
mapper: import_mappers.RedirectCallRequest
};
const rejectCallRequest = {
parameterPath: "rejectCallRequest",
mapper: import_mappers.RejectCallRequest
};
const connectRequest = {
parameterPath: "connectRequest",
mapper: import_mappers.ConnectRequest
};
const callConnectionId = {
parameterPath: "callConnectionId",
mapper: {
serializedName: "callConnectionId",
required: true,
type: {
name: "String"
}
}
};
const transferToParticipantRequest = {
parameterPath: "transferToParticipantRequest",
mapper: import_mappers.TransferToParticipantRequest
};
const addParticipantRequest = {
parameterPath: "addParticipantRequest",
mapper: import_mappers.AddParticipantRequest
};
const removeParticipantRequest = {
parameterPath: "removeParticipantRequest",
mapper: import_mappers.RemoveParticipantRequest
};
const muteParticipantsRequest = {
parameterPath: "muteParticipantsRequest",
mapper: import_mappers.MuteParticipantsRequest
};
const cancelAddParticipantRequest = {
parameterPath: "cancelAddParticipantRequest",
mapper: import_mappers.CancelAddParticipantRequest
};
const moveParticipantRequest = {
parameterPath: "moveParticipantRequest",
mapper: import_mappers.MoveParticipantsRequest
};
const participantRawId = {
parameterPath: "participantRawId",
mapper: {
serializedName: "participantRawId",
required: true,
type: {
name: "String"
}
}
};
const nextLink = {
parameterPath: "nextLink",
mapper: {
serializedName: "nextLink",
required: true,
type: {
name: "String"
}
},
skipEncoding: true
};
const playRequest = {
parameterPath: "playRequest",
mapper: import_mappers.PlayRequest
};
const startTranscriptionRequest = {
parameterPath: "startTranscriptionRequest",
mapper: import_mappers.StartTranscriptionRequest
};
const stopTranscriptionRequest = {
parameterPath: "stopTranscriptionRequest",
mapper: import_mappers.StopTranscriptionRequest
};
const updateTranscriptionRequest = {
parameterPath: "updateTranscriptionRequest",
mapper: import_mappers.UpdateTranscriptionRequest
};
const recognizeRequest = {
parameterPath: "recognizeRequest",
mapper: import_mappers.RecognizeRequest
};
const continuousDtmfRecognitionRequest = {
parameterPath: "continuousDtmfRecognitionRequest",
mapper: import_mappers.ContinuousDtmfRecognitionRequest
};
const sendDtmfTonesRequest = {
parameterPath: "sendDtmfTonesRequest",
mapper: import_mappers.SendDtmfTonesRequest
};
const holdRequest = {
parameterPath: "holdRequest",
mapper: import_mappers.HoldRequest
};
const unholdRequest = {
parameterPath: "unholdRequest",
mapper: import_mappers.UnholdRequest
};
const startMediaStreamingRequest = {
parameterPath: "startMediaStreamingRequest",
mapper: import_mappers.StartMediaStreamingRequest
};
const stopMediaStreamingRequest = {
parameterPath: "stopMediaStreamingRequest",
mapper: import_mappers.StopMediaStreamingRequest
};
const startCallRecording = {
parameterPath: "startCallRecording",
mapper: import_mappers.StartCallRecordingRequest
};
const recordingId = {
parameterPath: "recordingId",
mapper: {
serializedName: "recordingId",
required: true,
type: {
name: "String"
}
}
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
accept,
addParticipantRequest,
answerCallRequest,
apiVersion,
callConnectionId,
cancelAddParticipantRequest,
connectRequest,
contentType,
continuousDtmfRecognitionRequest,
createCallRequest,
endpoint,
holdRequest,
moveParticipantRequest,
muteParticipantsRequest,
nextLink,
participantRawId,
playRequest,
recognizeRequest,
recordingId,
redirectCallRequest,
rejectCallRequest,
removeParticipantRequest,
repeatabilityFirstSent,
repeatabilityRequestID,
sendDtmfTonesRequest,
startCallRecording,
startMediaStreamingRequest,
startTranscriptionRequest,
stopMediaStreamingRequest,
stopTranscriptionRequest,
transferToParticipantRequest,
unholdRequest,
updateTranscriptionRequest
});
//# sourceMappingURL=parameters.js.map