UNPKG

@azure/communication-call-automation

Version:
353 lines 18.6 kB
"use strict"; /* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.KnownTranscriptionStatusDetails = exports.KnownTranscriptionStatus = exports.KnownMediaStreamingStatusDetails = exports.KnownMediaStreamingStatus = exports.KnownRecognitionType = exports.KnownAudioFormat = exports.KnownRecordingKind = exports.KnownRecordingState = exports.KnownRecordingStorageKind = exports.KnownRecordingFormatType = exports.KnownRecordingChannelType = exports.KnownRecordingContentType = exports.KnownTone = exports.KnownRecognizeInputType = exports.KnownVoiceKind = exports.KnownPlaySourceType = exports.KnownCallLocatorKind = exports.KnownCallRejectReason = exports.KnownTranscriptionResultState = exports.KnownTranscriptionSubscriptionState = exports.KnownMediaStreamingContentType = exports.KnownMediaStreamingSubscriptionState = exports.KnownCallConnectionStateModel = exports.KnownMediaStreamingAudioChannelType = exports.KnownStreamingTransportType = exports.KnownCommunicationCloudEnvironmentModel = exports.KnownCommunicationIdentifierModelKind = void 0; /** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */ var KnownCommunicationIdentifierModelKind; (function (KnownCommunicationIdentifierModelKind) { /** Unknown */ KnownCommunicationIdentifierModelKind["Unknown"] = "unknown"; /** CommunicationUser */ KnownCommunicationIdentifierModelKind["CommunicationUser"] = "communicationUser"; /** PhoneNumber */ KnownCommunicationIdentifierModelKind["PhoneNumber"] = "phoneNumber"; /** MicrosoftTeamsUser */ KnownCommunicationIdentifierModelKind["MicrosoftTeamsUser"] = "microsoftTeamsUser"; /** MicrosoftTeamsApp */ KnownCommunicationIdentifierModelKind["MicrosoftTeamsApp"] = "microsoftTeamsApp"; })(KnownCommunicationIdentifierModelKind || (exports.KnownCommunicationIdentifierModelKind = KnownCommunicationIdentifierModelKind = {})); /** Known values of {@link CommunicationCloudEnvironmentModel} that the service accepts. */ var KnownCommunicationCloudEnvironmentModel; (function (KnownCommunicationCloudEnvironmentModel) { /** Public */ KnownCommunicationCloudEnvironmentModel["Public"] = "public"; /** Dod */ KnownCommunicationCloudEnvironmentModel["Dod"] = "dod"; /** Gcch */ KnownCommunicationCloudEnvironmentModel["Gcch"] = "gcch"; })(KnownCommunicationCloudEnvironmentModel || (exports.KnownCommunicationCloudEnvironmentModel = KnownCommunicationCloudEnvironmentModel = {})); /** Known values of {@link StreamingTransportType} that the service accepts. */ var KnownStreamingTransportType; (function (KnownStreamingTransportType) { /** Websocket */ KnownStreamingTransportType["Websocket"] = "websocket"; })(KnownStreamingTransportType || (exports.KnownStreamingTransportType = KnownStreamingTransportType = {})); /** Known values of {@link MediaStreamingAudioChannelType} that the service accepts. */ var KnownMediaStreamingAudioChannelType; (function (KnownMediaStreamingAudioChannelType) { /** Mixed */ KnownMediaStreamingAudioChannelType["Mixed"] = "mixed"; /** Unmixed */ KnownMediaStreamingAudioChannelType["Unmixed"] = "unmixed"; })(KnownMediaStreamingAudioChannelType || (exports.KnownMediaStreamingAudioChannelType = KnownMediaStreamingAudioChannelType = {})); /** Known values of {@link CallConnectionStateModel} that the service accepts. */ var KnownCallConnectionStateModel; (function (KnownCallConnectionStateModel) { /** Unknown */ KnownCallConnectionStateModel["Unknown"] = "unknown"; /** Connecting */ KnownCallConnectionStateModel["Connecting"] = "connecting"; /** Connected */ KnownCallConnectionStateModel["Connected"] = "connected"; /** Transferring */ KnownCallConnectionStateModel["Transferring"] = "transferring"; /** TransferAccepted */ KnownCallConnectionStateModel["TransferAccepted"] = "transferAccepted"; /** Disconnecting */ KnownCallConnectionStateModel["Disconnecting"] = "disconnecting"; /** Disconnected */ KnownCallConnectionStateModel["Disconnected"] = "disconnected"; })(KnownCallConnectionStateModel || (exports.KnownCallConnectionStateModel = KnownCallConnectionStateModel = {})); /** Known values of {@link MediaStreamingSubscriptionState} that the service accepts. */ var KnownMediaStreamingSubscriptionState; (function (KnownMediaStreamingSubscriptionState) { /** Disabled */ KnownMediaStreamingSubscriptionState["Disabled"] = "disabled"; /** Inactive */ KnownMediaStreamingSubscriptionState["Inactive"] = "inactive"; /** Active */ KnownMediaStreamingSubscriptionState["Active"] = "active"; })(KnownMediaStreamingSubscriptionState || (exports.KnownMediaStreamingSubscriptionState = KnownMediaStreamingSubscriptionState = {})); /** Known values of {@link MediaStreamingContentType} that the service accepts. */ var KnownMediaStreamingContentType; (function (KnownMediaStreamingContentType) { /** Audio */ KnownMediaStreamingContentType["Audio"] = "audio"; })(KnownMediaStreamingContentType || (exports.KnownMediaStreamingContentType = KnownMediaStreamingContentType = {})); /** Known values of {@link TranscriptionSubscriptionState} that the service accepts. */ var KnownTranscriptionSubscriptionState; (function (KnownTranscriptionSubscriptionState) { /** Disabled */ KnownTranscriptionSubscriptionState["Disabled"] = "disabled"; /** Inactive */ KnownTranscriptionSubscriptionState["Inactive"] = "inactive"; /** Active */ KnownTranscriptionSubscriptionState["Active"] = "active"; })(KnownTranscriptionSubscriptionState || (exports.KnownTranscriptionSubscriptionState = KnownTranscriptionSubscriptionState = {})); /** Known values of {@link TranscriptionResultState} that the service accepts. */ var KnownTranscriptionResultState; (function (KnownTranscriptionResultState) { /** Final */ KnownTranscriptionResultState["Final"] = "final"; /** Intermediate */ KnownTranscriptionResultState["Intermediate"] = "intermediate"; })(KnownTranscriptionResultState || (exports.KnownTranscriptionResultState = KnownTranscriptionResultState = {})); /** Known values of {@link CallRejectReason} that the service accepts. */ var KnownCallRejectReason; (function (KnownCallRejectReason) { /** None */ KnownCallRejectReason["None"] = "none"; /** Busy */ KnownCallRejectReason["Busy"] = "busy"; /** Forbidden */ KnownCallRejectReason["Forbidden"] = "forbidden"; })(KnownCallRejectReason || (exports.KnownCallRejectReason = KnownCallRejectReason = {})); /** Known values of {@link CallLocatorKind} that the service accepts. */ var KnownCallLocatorKind; (function (KnownCallLocatorKind) { /** GroupCallLocator */ KnownCallLocatorKind["GroupCallLocator"] = "groupCallLocator"; /** ServerCallLocator */ KnownCallLocatorKind["ServerCallLocator"] = "serverCallLocator"; /** RoomCallLocator */ KnownCallLocatorKind["RoomCallLocator"] = "roomCallLocator"; })(KnownCallLocatorKind || (exports.KnownCallLocatorKind = KnownCallLocatorKind = {})); /** Known values of {@link PlaySourceType} that the service accepts. */ var KnownPlaySourceType; (function (KnownPlaySourceType) { /** File */ KnownPlaySourceType["File"] = "file"; /** Text */ KnownPlaySourceType["Text"] = "text"; /** Ssml */ KnownPlaySourceType["Ssml"] = "ssml"; })(KnownPlaySourceType || (exports.KnownPlaySourceType = KnownPlaySourceType = {})); /** Known values of {@link VoiceKind} that the service accepts. */ var KnownVoiceKind; (function (KnownVoiceKind) { /** Male */ KnownVoiceKind["Male"] = "male"; /** Female */ KnownVoiceKind["Female"] = "female"; })(KnownVoiceKind || (exports.KnownVoiceKind = KnownVoiceKind = {})); /** Known values of {@link RecognizeInputType} that the service accepts. */ var KnownRecognizeInputType; (function (KnownRecognizeInputType) { /** Dtmf */ KnownRecognizeInputType["Dtmf"] = "dtmf"; /** Speech */ KnownRecognizeInputType["Speech"] = "speech"; /** SpeechOrDtmf */ KnownRecognizeInputType["SpeechOrDtmf"] = "speechOrDtmf"; /** Choices */ KnownRecognizeInputType["Choices"] = "choices"; })(KnownRecognizeInputType || (exports.KnownRecognizeInputType = KnownRecognizeInputType = {})); /** Known values of {@link Tone} that the service accepts. */ var KnownTone; (function (KnownTone) { /** Zero */ KnownTone["Zero"] = "zero"; /** One */ KnownTone["One"] = "one"; /** Two */ KnownTone["Two"] = "two"; /** Three */ KnownTone["Three"] = "three"; /** Four */ KnownTone["Four"] = "four"; /** Five */ KnownTone["Five"] = "five"; /** Six */ KnownTone["Six"] = "six"; /** Seven */ KnownTone["Seven"] = "seven"; /** Eight */ KnownTone["Eight"] = "eight"; /** Nine */ KnownTone["Nine"] = "nine"; /** A */ KnownTone["A"] = "a"; /** B */ KnownTone["B"] = "b"; /** C */ KnownTone["C"] = "c"; /** D */ KnownTone["D"] = "d"; /** Pound */ KnownTone["Pound"] = "pound"; /** Asterisk */ KnownTone["Asterisk"] = "asterisk"; })(KnownTone || (exports.KnownTone = KnownTone = {})); /** Known values of {@link RecordingContentType} that the service accepts. */ var KnownRecordingContentType; (function (KnownRecordingContentType) { /** Audio */ KnownRecordingContentType["Audio"] = "audio"; /** AudioVideo */ KnownRecordingContentType["AudioVideo"] = "audioVideo"; })(KnownRecordingContentType || (exports.KnownRecordingContentType = KnownRecordingContentType = {})); /** Known values of {@link RecordingChannelType} that the service accepts. */ var KnownRecordingChannelType; (function (KnownRecordingChannelType) { /** Mixed */ KnownRecordingChannelType["Mixed"] = "mixed"; /** Unmixed */ KnownRecordingChannelType["Unmixed"] = "unmixed"; })(KnownRecordingChannelType || (exports.KnownRecordingChannelType = KnownRecordingChannelType = {})); /** Known values of {@link RecordingFormatType} that the service accepts. */ var KnownRecordingFormatType; (function (KnownRecordingFormatType) { /** Wav */ KnownRecordingFormatType["Wav"] = "wav"; /** Mp3 */ KnownRecordingFormatType["Mp3"] = "mp3"; /** Mp4 */ KnownRecordingFormatType["Mp4"] = "mp4"; })(KnownRecordingFormatType || (exports.KnownRecordingFormatType = KnownRecordingFormatType = {})); /** Known values of {@link RecordingStorageKind} that the service accepts. */ var KnownRecordingStorageKind; (function (KnownRecordingStorageKind) { /** Storage managed by Azure Communication Services */ KnownRecordingStorageKind["AzureCommunicationServices"] = "AzureCommunicationServices"; /** Storage managed by provided Azure blob */ KnownRecordingStorageKind["AzureBlobStorage"] = "AzureBlobStorage"; })(KnownRecordingStorageKind || (exports.KnownRecordingStorageKind = KnownRecordingStorageKind = {})); /** Known values of {@link RecordingState} that the service accepts. */ var KnownRecordingState; (function (KnownRecordingState) { /** Active */ KnownRecordingState["Active"] = "active"; /** Inactive */ KnownRecordingState["Inactive"] = "inactive"; })(KnownRecordingState || (exports.KnownRecordingState = KnownRecordingState = {})); /** Known values of {@link RecordingKind} that the service accepts. */ var KnownRecordingKind; (function (KnownRecordingKind) { /** Recording initiated by Azure Communication Services */ KnownRecordingKind["AzureCommunicationServices"] = "AzureCommunicationServices"; /** Recording initiated by Teams user */ KnownRecordingKind["Teams"] = "Teams"; /** Recording initiated by Teams compliance policy */ KnownRecordingKind["TeamsCompliance"] = "TeamsCompliance"; })(KnownRecordingKind || (exports.KnownRecordingKind = KnownRecordingKind = {})); /** Known values of {@link AudioFormat} that the service accepts. */ var KnownAudioFormat; (function (KnownAudioFormat) { /** Pcm16KMono */ KnownAudioFormat["Pcm16KMono"] = "pcm16KMono"; /** Pcm24KMono */ KnownAudioFormat["Pcm24KMono"] = "pcm24KMono"; })(KnownAudioFormat || (exports.KnownAudioFormat = KnownAudioFormat = {})); /** Known values of {@link RecognitionType} that the service accepts. */ var KnownRecognitionType; (function (KnownRecognitionType) { /** Dtmf */ KnownRecognitionType["Dtmf"] = "dtmf"; /** Speech */ KnownRecognitionType["Speech"] = "speech"; /** Choices */ KnownRecognitionType["Choices"] = "choices"; })(KnownRecognitionType || (exports.KnownRecognitionType = KnownRecognitionType = {})); /** Known values of {@link MediaStreamingStatus} that the service accepts. */ var KnownMediaStreamingStatus; (function (KnownMediaStreamingStatus) { /** MediaStreamingStarted */ KnownMediaStreamingStatus["MediaStreamingStarted"] = "mediaStreamingStarted"; /** MediaStreamingFailed */ KnownMediaStreamingStatus["MediaStreamingFailed"] = "mediaStreamingFailed"; /** MediaStreamingStopped */ KnownMediaStreamingStatus["MediaStreamingStopped"] = "mediaStreamingStopped"; /** UnspecifiedError */ KnownMediaStreamingStatus["UnspecifiedError"] = "unspecifiedError"; })(KnownMediaStreamingStatus || (exports.KnownMediaStreamingStatus = KnownMediaStreamingStatus = {})); /** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */ var KnownMediaStreamingStatusDetails; (function (KnownMediaStreamingStatusDetails) { /** SubscriptionStarted */ KnownMediaStreamingStatusDetails["SubscriptionStarted"] = "subscriptionStarted"; /** StreamConnectionReestablished */ KnownMediaStreamingStatusDetails["StreamConnectionReestablished"] = "streamConnectionReestablished"; /** StreamConnectionUnsuccessful */ KnownMediaStreamingStatusDetails["StreamConnectionUnsuccessful"] = "streamConnectionUnsuccessful"; /** StreamUrlMissing */ KnownMediaStreamingStatusDetails["StreamUrlMissing"] = "streamUrlMissing"; /** ServiceShutdown */ KnownMediaStreamingStatusDetails["ServiceShutdown"] = "serviceShutdown"; /** StreamConnectionInterrupted */ KnownMediaStreamingStatusDetails["StreamConnectionInterrupted"] = "streamConnectionInterrupted"; /** SpeechServicesConnectionError */ KnownMediaStreamingStatusDetails["SpeechServicesConnectionError"] = "speechServicesConnectionError"; /** SubscriptionStopped */ KnownMediaStreamingStatusDetails["SubscriptionStopped"] = "subscriptionStopped"; /** UnspecifiedError */ KnownMediaStreamingStatusDetails["UnspecifiedError"] = "unspecifiedError"; /** AuthenticationFailure */ KnownMediaStreamingStatusDetails["AuthenticationFailure"] = "authenticationFailure"; /** BadRequest */ KnownMediaStreamingStatusDetails["BadRequest"] = "badRequest"; /** TooManyRequests */ KnownMediaStreamingStatusDetails["TooManyRequests"] = "tooManyRequests"; /** Forbidden */ KnownMediaStreamingStatusDetails["Forbidden"] = "forbidden"; /** ServiceTimeout */ KnownMediaStreamingStatusDetails["ServiceTimeout"] = "serviceTimeout"; /** InitialWebSocketConnectionFailed */ KnownMediaStreamingStatusDetails["InitialWebSocketConnectionFailed"] = "initialWebSocketConnectionFailed"; })(KnownMediaStreamingStatusDetails || (exports.KnownMediaStreamingStatusDetails = KnownMediaStreamingStatusDetails = {})); /** Known values of {@link TranscriptionStatus} that the service accepts. */ var KnownTranscriptionStatus; (function (KnownTranscriptionStatus) { /** TranscriptionStarted */ KnownTranscriptionStatus["TranscriptionStarted"] = "transcriptionStarted"; /** TranscriptionFailed */ KnownTranscriptionStatus["TranscriptionFailed"] = "transcriptionFailed"; /** TranscriptionResumed */ KnownTranscriptionStatus["TranscriptionResumed"] = "transcriptionResumed"; /** TranscriptionUpdated */ KnownTranscriptionStatus["TranscriptionUpdated"] = "transcriptionUpdated"; /** TranscriptionStopped */ KnownTranscriptionStatus["TranscriptionStopped"] = "transcriptionStopped"; /** UnspecifiedError */ KnownTranscriptionStatus["UnspecifiedError"] = "unspecifiedError"; })(KnownTranscriptionStatus || (exports.KnownTranscriptionStatus = KnownTranscriptionStatus = {})); /** Known values of {@link TranscriptionStatusDetails} that the service accepts. */ var KnownTranscriptionStatusDetails; (function (KnownTranscriptionStatusDetails) { /** SubscriptionStarted */ KnownTranscriptionStatusDetails["SubscriptionStarted"] = "subscriptionStarted"; /** StreamConnectionReestablished */ KnownTranscriptionStatusDetails["StreamConnectionReestablished"] = "streamConnectionReestablished"; /** StreamConnectionUnsuccessful */ KnownTranscriptionStatusDetails["StreamConnectionUnsuccessful"] = "streamConnectionUnsuccessful"; /** StreamUrlMissing */ KnownTranscriptionStatusDetails["StreamUrlMissing"] = "streamUrlMissing"; /** ServiceShutdown */ KnownTranscriptionStatusDetails["ServiceShutdown"] = "serviceShutdown"; /** StreamConnectionInterrupted */ KnownTranscriptionStatusDetails["StreamConnectionInterrupted"] = "streamConnectionInterrupted"; /** SpeechServicesConnectionError */ KnownTranscriptionStatusDetails["SpeechServicesConnectionError"] = "speechServicesConnectionError"; /** SubscriptionStopped */ KnownTranscriptionStatusDetails["SubscriptionStopped"] = "subscriptionStopped"; /** UnspecifiedError */ KnownTranscriptionStatusDetails["UnspecifiedError"] = "unspecifiedError"; /** AuthenticationFailure */ KnownTranscriptionStatusDetails["AuthenticationFailure"] = "authenticationFailure"; /** BadRequest */ KnownTranscriptionStatusDetails["BadRequest"] = "badRequest"; /** TooManyRequests */ KnownTranscriptionStatusDetails["TooManyRequests"] = "tooManyRequests"; /** Forbidden */ KnownTranscriptionStatusDetails["Forbidden"] = "forbidden"; /** ServiceTimeout */ KnownTranscriptionStatusDetails["ServiceTimeout"] = "serviceTimeout"; /** TranscriptionLocaleUpdated */ KnownTranscriptionStatusDetails["TranscriptionLocaleUpdated"] = "transcriptionLocaleUpdated"; })(KnownTranscriptionStatusDetails || (exports.KnownTranscriptionStatusDetails = KnownTranscriptionStatusDetails = {})); //# sourceMappingURL=index.js.map